[
  {
    "path": ".gitignore",
    "content": "Pods\n.DS_Store\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Animation Advanced\n//\n//  Created by zhowkevin on 15/8/29.\n//  Copyright © 2015年 zhowkevin. All rights reserved.\n//\n\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate, UISplitViewControllerDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        let splitViewController = self.window!.rootViewController as! UISplitViewController\n        let navigationController = splitViewController.viewControllers[splitViewController.viewControllers.count-1] as! UINavigationController\n        navigationController.topViewController!.navigationItem.leftBarButtonItem = splitViewController.displayModeButtonItem\n        splitViewController.delegate = self\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n    // MARK: - Split view\n\n    func splitViewController(_ splitViewController: UISplitViewController, collapseSecondary secondaryViewController:UIViewController, onto primaryViewController:UIViewController) -> Bool {\n        guard let secondaryAsNavController = secondaryViewController as? UINavigationController else { return false }\n        guard let topAsDetailController = secondaryAsNavController.topViewController as? DetailViewController else { return false }\n        if topAsDetailController.detailItem == nil {\n            // Return true to indicate that we have handled the collapse by doing nothing; the secondary controller will be discarded.\n            return true\n        }\n        return false\n    }\n\n}\n\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced/Assets.xcassets/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced/Assets.xcassets/leaf.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"SVNKLWEYMX.jpg\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"8150\" systemVersion=\"15A204g\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"8122\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"600\" height=\"600\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <animations/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"8187.4\" systemVersion=\"14F27\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" initialViewController=\"H1p-Uh-vWS\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"8151.3\"/>\n    </dependencies>\n    <scenes>\n        <!--Master-->\n        <scene sceneID=\"pY4-Hu-kfo\">\n            <objects>\n                <navigationController title=\"Master\" id=\"RMx-3f-FxP\" sceneMemberID=\"viewController\">\n                    <navigationBar key=\"navigationBar\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" id=\"Pmd-2v-anx\">\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                    </navigationBar>\n                    <connections>\n                        <segue destination=\"7bK-jq-Zjz\" kind=\"relationship\" relationship=\"rootViewController\" id=\"tsl-Nk-0bq\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"8fS-aE-onr\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-38\" y=\"-630\"/>\n        </scene>\n        <!--Detail-->\n        <scene sceneID=\"yUG-lL-AsK\">\n            <objects>\n                <viewController title=\"Detail\" id=\"JEX-9P-axG\" customClass=\"DetailViewController\" customModule=\"Animation_Advanced\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"SYR-Wa-9uf\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"GAO-Cl-Wes\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"svH-Pt-448\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"600\" height=\"600\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <subviews>\n                            <label clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"scaleToFill\" text=\"Detail view content goes here\" textAlignment=\"center\" lineBreakMode=\"tailTruncation\" minimumFontSize=\"10\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"0XM-y9-sOw\">\n                                <rect key=\"frame\" x=\"20\" y=\"292\" width=\"560\" height=\"17\"/>\n                                <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                <fontDescription key=\"fontDescription\" type=\"system\" size=\"system\"/>\n                                <color key=\"textColor\" red=\"0.0\" green=\"0.0\" blue=\"0.0\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n                                <nil key=\"highlightedColor\"/>\n                            </label>\n                        </subviews>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n                        <constraints>\n                            <constraint firstItem=\"0XM-y9-sOw\" firstAttribute=\"leading\" secondItem=\"svH-Pt-448\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"Tsc-yG-G1q\"/>\n                            <constraint firstItem=\"0XM-y9-sOw\" firstAttribute=\"centerY\" secondItem=\"svH-Pt-448\" secondAttribute=\"centerY\" id=\"jWN-iV-94e\"/>\n                            <constraint firstAttribute=\"trailing\" secondItem=\"0XM-y9-sOw\" secondAttribute=\"trailing\" constant=\"20\" symbolic=\"YES\" id=\"tHV-ZD-HQj\"/>\n                        </constraints>\n                    </view>\n                    <toolbarItems/>\n                    <navigationItem key=\"navigationItem\" title=\"Detail\" id=\"mOI-FS-AaM\"/>\n                    <connections>\n                        <outlet property=\"detailDescriptionLabel\" destination=\"0XM-y9-sOw\" id=\"deQ-Na-JPF\"/>\n                    </connections>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"FJe-Yq-33r\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"727\" y=\"129\"/>\n        </scene>\n        <!--Split View Controller-->\n        <scene sceneID=\"Nki-YV-4Qg\">\n            <objects>\n                <splitViewController id=\"H1p-Uh-vWS\" sceneMemberID=\"viewController\">\n                    <toolbarItems/>\n                    <connections>\n                        <segue destination=\"RMx-3f-FxP\" kind=\"relationship\" relationship=\"masterViewController\" id=\"BlO-5A-QYV\"/>\n                        <segue destination=\"vC3-pB-5Vb\" kind=\"relationship\" relationship=\"detailViewController\" id=\"Tll-UG-LXB\"/>\n                    </connections>\n                </splitViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"cZU-Oi-B1e\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-856\" y=\"-330\"/>\n        </scene>\n        <!--Master-->\n        <scene sceneID=\"smW-Zh-WAh\">\n            <objects>\n                <tableViewController title=\"Master\" clearsSelectionOnViewWillAppear=\"NO\" id=\"7bK-jq-Zjz\" customClass=\"MasterViewController\" customModule=\"Animation_Advanced\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <tableView key=\"view\" clipsSubviews=\"YES\" contentMode=\"scaleToFill\" alwaysBounceVertical=\"YES\" dataMode=\"prototypes\" style=\"plain\" separatorStyle=\"default\" rowHeight=\"44\" sectionHeaderHeight=\"22\" sectionFooterHeight=\"22\" id=\"r7i-6Z-zg0\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"600\" height=\"600\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <prototypes>\n                            <tableViewCell contentMode=\"scaleToFill\" selectionStyle=\"blue\" hidesAccessoryWhenEditing=\"NO\" indentationLevel=\"1\" indentationWidth=\"0.0\" reuseIdentifier=\"Cell\" textLabel=\"Arm-wq-HPj\" style=\"IBUITableViewCellStyleDefault\" id=\"WCw-Qf-5nD\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"86\" width=\"600\" height=\"44\"/>\n                                <autoresizingMask key=\"autoresizingMask\"/>\n                                <tableViewCellContentView key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" tableViewCell=\"WCw-Qf-5nD\" id=\"37f-cq-3Eg\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"600\" height=\"43.5\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                    <subviews>\n                                        <label opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" text=\"Title\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" id=\"Arm-wq-HPj\">\n                                            <rect key=\"frame\" x=\"15\" y=\"0.0\" width=\"570\" height=\"43.5\"/>\n                                            <autoresizingMask key=\"autoresizingMask\"/>\n                                            <fontDescription key=\"fontDescription\" type=\"boldSystem\" pointSize=\"20\"/>\n                                            <color key=\"textColor\" red=\"0.0\" green=\"0.0\" blue=\"0.0\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n                                            <color key=\"highlightedColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n                                        </label>\n                                    </subviews>\n                                </tableViewCellContentView>\n                                <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                <connections>\n                                    <segue destination=\"vC3-pB-5Vb\" kind=\"showDetail\" identifier=\"showDetail\" id=\"6S0-TO-JiA\"/>\n                                </connections>\n                            </tableViewCell>\n                        </prototypes>\n                        <sections/>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"7bK-jq-Zjz\" id=\"Gho-Na-rnu\"/>\n                            <outlet property=\"delegate\" destination=\"7bK-jq-Zjz\" id=\"RA6-mI-bju\"/>\n                        </connections>\n                    </tableView>\n                    <navigationItem key=\"navigationItem\" title=\"Animation Advanced\" id=\"Zdf-7t-Un8\"/>\n                </tableViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"Rux-fX-hf1\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"709\" y=\"-630\"/>\n        </scene>\n        <!--Navigation Controller-->\n        <scene sceneID=\"r7l-gg-dq7\">\n            <objects>\n                <navigationController id=\"vC3-pB-5Vb\" sceneMemberID=\"viewController\">\n                    <navigationBar key=\"navigationBar\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" id=\"DjV-YW-jjY\">\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                    </navigationBar>\n                    <connections>\n                        <segue destination=\"JEX-9P-axG\" kind=\"relationship\" relationship=\"rootViewController\" id=\"GKi-kA-LjT\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"SLD-UC-DBI\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-45\" y=\"129\"/>\n        </scene>\n    </scenes>\n    <inferredMetricsTieBreakers>\n        <segue reference=\"6S0-TO-JiA\"/>\n    </inferredMetricsTieBreakers>\n</document>\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced/DetailViewController.swift",
    "content": "//\n//  DetailViewController.swift\n//  Animation Advanced\n//\n//  Created by zhowkevin on 15/8/29.\n//  Copyright © 2015年 zhowkevin. All rights reserved.\n//\n\nimport UIKit\n\nlet color = UIColor(red: 0.225, green: 1.000, blue: 0.743, alpha: 1.000)\n\nclass DetailViewController: UIViewController {\n\n    @IBOutlet weak var detailDescriptionLabel: UILabel!\n\n    let jellyShape = CAShapeLayer()\n    \n    var currentControlPoint: CGFloat = 0\n    \n    var dummyView: UIView?\n    \n    //\n    \n    var box : UIView?\n    \n    var animator:UIDynamicAnimator? = nil\n    \n    var gravity: UIGravityBehavior!\n    \n    var collision: UICollisionBehavior!\n\n    var displayLinkUIDynamic: CADisplayLink?\n    \n    //\n    \n    var imageView = UIImageView(frame: CGRect.zero)\n    \n    var maskView = UIImageView(frame: CGRect.zero)\n\n    var detailItem: AnimationType? {\n        didSet {\n            // Update the view.\n            self.configureView()\n        }\n    }\n\n    func configureView() {\n        // Update the user interface for the detail item.\n        if let detail = self.detailItem {\n            if let label = self.detailDescriptionLabel {\n                label.text = detail.rawValue\n            }\n            \n        }\n    }\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n        self.configureView()\n    }\n    \n    override func viewDidAppear(_ animated: Bool) {\n        super.viewDidAppear(animated)\n        \n        if let detail = self.detailItem {\n            switch detail {\n            case .Bezier:\n                bezierSimple()\n            case .BezierAdvanced:\n                bezierAdvanced()\n            case .BezierUIDynamic:\n                bezierUIDynamic()\n            case .KeyFrame:\n                keyFrame()\n            case .MaskAnimation:\n                maskAnimation()\n            }\n        }\n\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UIStatusBarTintParameters</key>\n\t<dict>\n\t\t<key>UINavigationBar</key>\n\t\t<dict>\n\t\t\t<key>Style</key>\n\t\t\t<string>UIBarStyleDefault</string>\n\t\t\t<key>Translucent</key>\n\t\t\t<false/>\n\t\t</dict>\n\t</dict>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced/MasterViewController.swift",
    "content": "//\n//  MasterViewController.swift\n//  Animation Advanced\n//\n//  Created by zhowkevin on 15/8/29.\n//  Copyright © 2015年 zhowkevin. All rights reserved.\n//\n\nimport UIKit\n\nenum AnimationType: String {\n    case Bezier = \"BezierSimple\"\n    case BezierAdvanced = \"BezierAdvanced\"\n    case BezierUIDynamic = \"BezierUIDynamic\"\n    case KeyFrame = \"KeyFrame\"\n    case MaskAnimation = \"MaskAnimation\"\n}\n\nclass MasterViewController: UITableViewController {\n\n    var detailViewController: DetailViewController? = nil\n    var objects = [AnimationType.Bezier, AnimationType.BezierAdvanced,\n        AnimationType.BezierUIDynamic, AnimationType.KeyFrame, AnimationType.MaskAnimation]\n\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        if let split = self.splitViewController {\n            let controllers = split.viewControllers\n            self.detailViewController = (controllers[controllers.count-1] as! UINavigationController).topViewController as? DetailViewController\n        }\n    }\n\n    override func viewWillAppear(_ animated: Bool) {\n        self.clearsSelectionOnViewWillAppear = self.splitViewController!.isCollapsed\n        super.viewWillAppear(animated)\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n    // MARK: - Segues\n\n    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {\n        if segue.identifier == \"showDetail\" {\n            if let indexPath = self.tableView.indexPathForSelectedRow {\n                let object = objects[(indexPath as NSIndexPath).row]\n                let controller = (segue.destination as! UINavigationController).topViewController as! DetailViewController\n                controller.detailItem = object\n                controller.navigationItem.leftBarButtonItem = self.splitViewController?.displayModeButtonItem\n                controller.navigationItem.leftItemsSupplementBackButton = true\n            }\n        }\n    }\n\n    // MARK: - Table View\n\n    override func numberOfSections(in tableView: UITableView) -> Int {\n        return 1\n    }\n\n    override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {\n        return objects.count\n    }\n\n    override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {\n        let cell = tableView.dequeueReusableCell(withIdentifier: \"Cell\", for: indexPath)\n\n        let object = objects[(indexPath as NSIndexPath).row]\n        cell.textLabel!.text = object.rawValue\n        return cell\n    }\n\n    override func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool {\n        // Return false if you do not want the specified item to be editable.\n        return true\n    }\n\n    override func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath) {\n        if editingStyle == .delete {\n            objects.remove(at: (indexPath as NSIndexPath).row)\n            tableView.deleteRows(at: [indexPath], with: .fade)\n        } else if editingStyle == .insert {\n            // Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view.\n        }\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced/bezierAdvanced.swift",
    "content": "//\n//  bezierAdvanced.swift\n//  Animation Advanced\n//\n//  Created by zhowkevin on 15/9/6.\n//  Copyright © 2015年 zhowkevin. All rights reserved.\n//\n\nimport UIKit\n\nextension DetailViewController {\n    /**\n    For BezierAdvanced\n    */\n    \n    func bezierAdvanced() {\n        \n        let pan = UIPanGestureRecognizer(target: self, action: #selector(DetailViewController.updatePathPan(_:)))\n        \n        view.addGestureRecognizer(pan)\n        //// 绘制多边形\n        let polygonPath = UIBezierPath()\n        polygonPath.move(to: CGPoint(x: 0, y: 0))\n        polygonPath.addQuadCurve(to: CGPoint(x: 0, y: view.frame.height), controlPoint: CGPoint(x: 0, y: view.frame.height/2.0))\n        polygonPath.close()\n        \n        // 绘制 CAShapeLayer\n        \n        jellyShape.drawsAsynchronously = true\n        jellyShape.frame = view.bounds\n        jellyShape.path = polygonPath.cgPath\n        jellyShape.lineWidth = 3.0\n        jellyShape.lineCap = .round\n        jellyShape.lineJoin = .round\n        jellyShape.strokeColor = UIColor.white.cgColor\n        jellyShape.fillColor = color.cgColor\n        view.layer.addSublayer(jellyShape)\n    }\n    \n    @objc func updatePathPan(_ gesture: UIPanGestureRecognizer) {\n        \n        if gesture.state == .ended {\n            \n            let displayLink = CADisplayLink(target: self, selector: #selector(DetailViewController.syncPath))\n            \n            displayLink.add(to: RunLoop.current, forMode: .default)\n            \n            dummyView = UIView(frame: CGRect(x: currentControlPoint, y: view.frame.height/2.0, width: 10, height: 10))\n            \n            view.addSubview(dummyView!)\n            \n            UIView.animate(withDuration: 1.0, delay: 0, usingSpringWithDamping: 0.3, initialSpringVelocity: 50, options: UIView.AnimationOptions(), animations: { () -> Void in\n                \n                self.dummyView!.center = CGPoint(x: 0, y: self.view.frame.height/2.0)\n                \n                }, completion: { finish in\n                    self.currentControlPoint = 0\n                    displayLink.invalidate()\n            })\n            \n            \n            \n        } else if gesture.state == .changed {\n            let translationPoint = gesture.translation(in: view)\n            \n            currentControlPoint = currentControlPoint + translationPoint.x\n            \n            //// 绘制多边形\n            let polygonPath = UIBezierPath()\n            polygonPath.move(to: CGPoint(x: 0, y: 0))\n            polygonPath.addQuadCurve(to: CGPoint(x: 0, y: view.frame.height), controlPoint: CGPoint(x: currentControlPoint, y: view.frame.height/2.0))\n            polygonPath.close()\n            gesture.setTranslation(CGPoint.zero, in: view)\n            \n            jellyShape.path = polygonPath.cgPath\n        }\n        \n    }\n    \n    @objc func syncPath() {\n        \n        if let dummyView = dummyView, let currentLayer = dummyView.layer.presentation() {\n            //// 绘制多边形\n            let polygonPath = UIBezierPath()\n            polygonPath.move(to: CGPoint(x: 0, y: 0))\n            polygonPath.addQuadCurve(to: CGPoint(x: 0, y: view.frame.height), controlPoint: CGPoint(x: currentLayer.frame.origin.x, y: view.frame.height/2.0))\n            polygonPath.close()\n            \n            jellyShape.path = polygonPath.cgPath\n        }\n        \n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced/bezierSimple.swift",
    "content": "//\n//  bezierSimple.swift\n//  Animation Advanced\n//\n//  Created by zhowkevin on 15/9/6.\n//  Copyright © 2015年 zhowkevin. All rights reserved.\n//\n\nimport UIKit\n\nextension DetailViewController {\n    \n    /**\n    For Bezier\n    */\n    \n    \n    func bezierSimple() {\n        \n        \n        //// 绘制多边形\n        let polygonPath = UIBezierPath()\n        polygonPath.move(to: CGPoint(x: 162, y: 93))\n        polygonPath.addLine(to: CGPoint(x: 230.48, y: 142.75))\n        polygonPath.addLine(to: CGPoint(x: 204.32, y: 223.25))\n        polygonPath.addLine(to: CGPoint(x: 119.68, y: 223.25))\n        polygonPath.addLine(to: CGPoint(x: 93.52, y: 142.75))\n        polygonPath.close()\n        \n        \n        //// 绘制五角星\n        let starPath = UIBezierPath()\n        starPath.move(to: CGPoint(x: 162, y: 82))\n        starPath.addLine(to: CGPoint(x: 191.27, y: 124.71))\n        starPath.addLine(to: CGPoint(x: 240.94, y: 139.35))\n        starPath.addLine(to: CGPoint(x: 209.36, y: 180.39))\n        starPath.addLine(to: CGPoint(x: 210.79, y: 232.15))\n        starPath.addLine(to: CGPoint(x: 162, y: 214.8))\n        starPath.addLine(to: CGPoint(x: 113.21, y: 232.15))\n        starPath.addLine(to: CGPoint(x: 114.64, y: 180.39))\n        starPath.addLine(to: CGPoint(x: 83.06, y: 139.35))\n        starPath.addLine(to: CGPoint(x: 132.73, y: 124.71))\n        starPath.close()\n        \n        // 绘制 CAShapeLayer\n        \n        let shape = CAShapeLayer()\n        shape.drawsAsynchronously = true\n        shape.frame = view.bounds\n        shape.path = polygonPath.cgPath\n        shape.lineWidth = 3.0\n        shape.lineCap = .round\n        shape.lineJoin = .round\n        shape.strokeColor = UIColor.white.cgColor\n        shape.fillColor = color.cgColor\n        view.layer.addSublayer(shape)\n        \n        let pathAnimation = CABasicAnimation(keyPath: \"path\")\n        pathAnimation.fromValue = polygonPath.cgPath\n        pathAnimation.toValue = starPath.cgPath\n        pathAnimation.duration = 1.0\n        pathAnimation.autoreverses = false\n        pathAnimation.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut)\n        \n        shape.add(pathAnimation, forKey: \"animationKey\")\n        \n        shape.path = starPath.cgPath\n    }\n}\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced/bezierUIDynamic.swift",
    "content": "//\n//  bezierUIDynamic.swift\n//  Animation Advanced\n//\n//  Created by zhowkevin on 15/9/6.\n//  Copyright © 2015年 zhowkevin. All rights reserved.\n//\n\nimport UIKit\n\nextension DetailViewController {\n    \n    /**\n    For BezierUIDynamic\n    */\n    \n    \n    @objc func updateUIDynamicPathPan(_ gesture: UIPanGestureRecognizer) {\n        \n        if gesture.state == .ended {\n            \n            bezierUIDynamicSetup()\n            \n        } else if gesture.state == .changed {\n            \n            let translationPoint = gesture.translation(in: view)\n            \n            currentControlPoint = currentControlPoint + translationPoint.x\n            \n            //// Polygon Drawing\n            let polygonPath = UIBezierPath()\n            polygonPath.move(to: CGPoint(x: 0, y: 0))\n            polygonPath.addQuadCurve(to: CGPoint(x: 0, y: view.frame.height), controlPoint: CGPoint(x: currentControlPoint, y: view.frame.height/2.0))\n            polygonPath.close()\n            gesture.setTranslation(CGPoint.zero, in: view)\n            \n            jellyShape.path = polygonPath.cgPath\n        } else if gesture.state == .began {\n            \n            displayLinkUIDynamic?.invalidate()\n            currentControlPoint = 0\n            \n        }\n        \n    }\n    \n    \n    func bezierUIDynamic() {\n        \n        let pan = UIPanGestureRecognizer(target: self, action: #selector(DetailViewController.updateUIDynamicPathPan(_:)))\n        \n        view.addGestureRecognizer(pan)\n        //// Polygon Drawing\n        let polygonPath = UIBezierPath()\n        polygonPath.move(to: CGPoint(x: 0, y: 0))\n        polygonPath.addQuadCurve(to: CGPoint(x: 0, y: view.frame.height), controlPoint: CGPoint(x: 0, y: view.frame.height/2.0))\n        polygonPath.close()\n        \n        // 绘制 CAShapeLayer\n        \n        jellyShape.drawsAsynchronously = true\n        jellyShape.frame = view.bounds\n        jellyShape.path = polygonPath.cgPath\n        jellyShape.lineWidth = 3.0\n        jellyShape.lineCap = CAShapeLayerLineCap.round\n        jellyShape.lineJoin = CAShapeLayerLineJoin.round\n        jellyShape.strokeColor = UIColor.white.cgColor\n        jellyShape.fillColor = color.cgColor\n        view.layer.addSublayer(jellyShape)\n    }\n    \n    \n    func bezierUIDynamicSetup() {\n        // 创建物理碰撞盒子\n        box = UIView(frame: CGRect(x: currentControlPoint, y: view.frame.height/2.0, width: 10, height: 10))\n        //        box?.backgroundColor = UIColor.redColor()\n        view.addSubview(box!)\n        \n        // 创建 Animator\n        animator = UIDynamicAnimator(referenceView:self.view)\n        \n        // 给盒子添加重力属性\n        gravity = UIGravityBehavior(items: [box!])\n        \n        // 将重力调整为x轴向左坠落\n        gravity.gravityDirection = CGVector(dx: -10.9, dy: 0)\n        \n        // 给盒子增加碰撞检测\n        collision = UICollisionBehavior(items: [box!])\n        collision.translatesReferenceBoundsIntoBoundary = true\n        \n        // 修改盒子的弹性\n        let itemBehaviour = UIDynamicItemBehavior(items: [box!])\n        itemBehaviour.elasticity = 0.6\n        \n        animator?.addBehavior(itemBehaviour)\n        animator?.addBehavior(collision)\n        animator?.addBehavior(gravity)\n        \n        displayLinkUIDynamic = CADisplayLink(target: self, selector: #selector(DetailViewController.syncUIDynamicPath))\n        \n        displayLinkUIDynamic!.add(to: .current, forMode: .default)\n    }\n    \n    @objc func syncUIDynamicPath() {\n        \n        if let dummyView = box, let currentLayer = dummyView.layer.presentation() {\n            //// Polygon Drawing\n            let polygonPath = UIBezierPath()\n            polygonPath.move(to: CGPoint(x: 0, y: 0))\n            polygonPath.addQuadCurve(to: CGPoint(x: 0, y: view.frame.height), controlPoint: CGPoint(x: currentLayer.frame.origin.x, y: view.frame.height/2.0))\n            polygonPath.close()\n            \n            jellyShape.path = polygonPath.cgPath\n        }\n        \n    }\n    \n    \n}\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced/keyframe.swift",
    "content": "//\n//  keyframe.swift\n//  Animation Advanced\n//\n//  Created by zhowkevin on 15/9/6.\n//  Copyright © 2015年 zhowkevin. All rights reserved.\n//\n\nimport UIKit\n\nextension DetailViewController {\n    func keyFrame() {\n        imageView.image = UIImage(named: \"leaf\")\n        \n        // clipsToBounds使得图片显示不超过imageView的bounds\n        imageView.clipsToBounds = true\n        \n        // ScaleAspectFill避免图片在缩放的时候变形\n        imageView.contentMode = .scaleAspectFill\n        \n        view.window!.addSubview(imageView)\n        imageView.frame = CGRect(x: 0, y: 64, width: view.frame.width, height: 260)\n        startKeyFrameAnimation()\n    }\n    \n    func startKeyFrameAnimation() {\n        // 定义一个总时间为2秒的动画\n        UIView.animateKeyframes(withDuration: 2, delay: 0, options: UIView.KeyframeAnimationOptions.calculationModeCubic, animations: {\n            \n            // 在动画进度为0的时候开始，耗时0.5秒\n            UIView.addKeyframe(withRelativeStartTime: 0.0, relativeDuration: 0.5) {\n                self.imageView.frame = CGRect(x: 0, y: 48, width: self.view.frame.width, height: 0)\n            }\n            \n            // 在动画进度为0.25的时候开始，耗时0.5秒\n            UIView.addKeyframe(withRelativeStartTime: 0.25, relativeDuration: 0.5) {\n                self.imageView.frame = CGRect(x: 0, y: 32, width: self.view.frame.width, height: 260 + self.view.frame.height/4.0)\n            }\n            \n            // 在动画进度为0.5的时候开始，耗时0.5秒\n            UIView.addKeyframe(withRelativeStartTime: 0.5, relativeDuration: 0.5) {\n                self.imageView.frame = CGRect(x: 0, y: 16, width: self.view.frame.width, height: 260 + self.view.frame.height/2.0)\n            }\n            \n            // 在动画进度为0.75的时候开始，耗时0.5秒\n            UIView.addKeyframe(withRelativeStartTime: 0.75, relativeDuration: 0.5) {\n                self.imageView.frame = CGRect(x: 0, y: 0, width: self.view.frame.width, height: self.view.frame.height)\n            }\n            }, completion: nil)\n        \n    }\n}\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced/maskAnimation.swift",
    "content": "//\n//  maskAnimation.swift\n//  Animation Advanced\n//\n//  Created by zhowkevin on 15/9/6.\n//  Copyright © 2015年 zhowkevin. All rights reserved.\n//\n\nimport UIKit\n\nextension DetailViewController {\n    \n    func maskAnimation() {\n        imageView.image = UIImage(named: \"leaf\")\n        imageView.clipsToBounds = true\n        imageView.contentMode = .scaleAspectFill\n        view.window!.addSubview(imageView)\n        imageView.frame = CGRect(x: 0, y: 0, width: view.frame.width, height: view.frame.size\n        .height)\n        \n        maskView.frame = CGRect(x: 0, y: 64, width: 30, height: 30)\n        maskView.layer.cornerRadius = 15.0\n        maskView.layer.masksToBounds = true\n        maskView.backgroundColor = UIColor.black\n        imageView.layer.mask = maskView.layer\n        \n        startMaskAnimation()\n    }\n    \n    func startMaskAnimation() {\n        \n        let screenWidth = view.frame.width\n        let screenHeight = view.frame.height\n        \n        // 针对bounds的变形动画\n        let transformAnim            = CAKeyframeAnimation(keyPath:\"bounds\")\n        \n        // values中定义了各个关键帧真对属性所需要修改的目标数值\n        transformAnim.values         = [NSValue(cgRect:CGRect(x: 0, y: 0, width: 64, height: 64)) ,\n                                        NSValue(cgRect:CGRect(x: 0, y: 0, width: 128, height: 128)) ,\n                                        NSValue(cgRect:CGRect(x: 0, y: 0, width: 256, height: 256)) ,\n                                        NSValue(cgRect:CGRect(x: 0, y: 0, width: view.frame.height*2 , height: view.frame.height*2)) ]\n        \n        // keyTimes和values是一一对应的关系，定义了每个关键帧\n        // 执行时相对于总时间的位置\n        transformAnim.keyTimes       = [0, 0.349, 0.618, 1]\n        \n        // duration为总时间\n        transformAnim.duration       = 1\n        \n        // removedOnCompletion定义了动画完成时是否从Layer上删除\n        transformAnim.isRemovedOnCompletion = false\n        \n        // fillMode定义了动画完成时，对于Layer的属性修改是否保留\n        transformAnim.fillMode = .forwards\n        \n        // 我们这里将removedOnCompletion定义为false，fillMode\n        // 定义为kCAFillModeForwards则可以使得动画结束时，保留\n        // Layer的结束状态，你可以通过注释到这两句，看看其默认效果\n        \n        self.maskView.layer.add(transformAnim, forKey: \"bounds\")\n        \n        // 定义位移动画，因为Core Animation不能操作frame，所以\n        // 需要拆分成position和bounds两个动画\n        \n        let positionAnim            = CAKeyframeAnimation(keyPath:\"position\")\n        positionAnim.values         = [NSValue(cgPoint:CGPoint(x: screenWidth/8.0, y: screenHeight/8.0)) ,\n            NSValue(cgPoint:CGPoint(x: screenWidth/4.0, y: screenHeight/4.0)) ,\n            NSValue(cgPoint:CGPoint(x: screenWidth/2.0, y: screenHeight/2.0)) ,\n            NSValue(cgPoint:CGPoint(x: screenWidth/2.0, y: screenHeight/2.0)) ]\n        positionAnim.keyTimes       = [0, 0.249, 0.618, 1]\n        positionAnim.duration       = 1\n        positionAnim.isRemovedOnCompletion = false\n        positionAnim.fillMode = .forwards\n        self.maskView.layer.add(positionAnim, forKey: \"position\")\n        \n        // 定义修改圆角的动画\n        \n        let radiusAnim            = CAKeyframeAnimation(keyPath:\"cornerRadius\")\n        radiusAnim.values         = [32,64,128,view.frame.height]\n        radiusAnim.keyTimes       = [0, 0.349, 0.618, 1]\n        radiusAnim.duration       = 1\n        radiusAnim.isRemovedOnCompletion = false\n        radiusAnim.fillMode = .forwards\n        self.maskView.layer.add(radiusAnim, forKey: \"cornerRadius\")\n\n        \n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t6A4FDAFA1B9B5C3300C4A33B /* bezierSimple.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A4FDAF91B9B5C3300C4A33B /* bezierSimple.swift */; };\n\t\t6A4FDAFC1B9B5C8700C4A33B /* bezierAdvanced.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A4FDAFB1B9B5C8700C4A33B /* bezierAdvanced.swift */; };\n\t\t6A4FDAFE1B9B5CBB00C4A33B /* bezierUIDynamic.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A4FDAFD1B9B5CBB00C4A33B /* bezierUIDynamic.swift */; };\n\t\t6A4FDB001B9B5E3600C4A33B /* keyframe.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A4FDAFF1B9B5E3600C4A33B /* keyframe.swift */; };\n\t\t6A4FDB021B9B636A00C4A33B /* maskAnimation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A4FDB011B9B636A00C4A33B /* maskAnimation.swift */; };\n\t\t6AC7997C1B92082C00DDFD47 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6AC7997B1B92082C00DDFD47 /* AppDelegate.swift */; };\n\t\t6AC7997E1B92082C00DDFD47 /* MasterViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6AC7997D1B92082C00DDFD47 /* MasterViewController.swift */; };\n\t\t6AC799801B92082C00DDFD47 /* DetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6AC7997F1B92082C00DDFD47 /* DetailViewController.swift */; };\n\t\t6AC799831B92082C00DDFD47 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6AC799811B92082C00DDFD47 /* Main.storyboard */; };\n\t\t6AC799851B92082C00DDFD47 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6AC799841B92082C00DDFD47 /* Assets.xcassets */; };\n\t\t6AC799881B92082C00DDFD47 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6AC799861B92082C00DDFD47 /* LaunchScreen.storyboard */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t6A4FDAF91B9B5C3300C4A33B /* bezierSimple.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = bezierSimple.swift; sourceTree = \"<group>\"; };\n\t\t6A4FDAFB1B9B5C8700C4A33B /* bezierAdvanced.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = bezierAdvanced.swift; sourceTree = \"<group>\"; };\n\t\t6A4FDAFD1B9B5CBB00C4A33B /* bezierUIDynamic.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = bezierUIDynamic.swift; sourceTree = \"<group>\"; };\n\t\t6A4FDAFF1B9B5E3600C4A33B /* keyframe.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = keyframe.swift; sourceTree = \"<group>\"; };\n\t\t6A4FDB011B9B636A00C4A33B /* maskAnimation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = maskAnimation.swift; sourceTree = \"<group>\"; };\n\t\t6AC799781B92082C00DDFD47 /* Animation Advanced.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = \"Animation Advanced.app\"; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t6AC7997B1B92082C00DDFD47 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t6AC7997D1B92082C00DDFD47 /* MasterViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MasterViewController.swift; sourceTree = \"<group>\"; };\n\t\t6AC7997F1B92082C00DDFD47 /* DetailViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DetailViewController.swift; sourceTree = \"<group>\"; };\n\t\t6AC799821B92082C00DDFD47 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t6AC799841B92082C00DDFD47 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t6AC799871B92082C00DDFD47 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t6AC799891B92082C00DDFD47 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t6AC799751B92082C00DDFD47 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t6A4FDB031B9B63C700C4A33B /* Animations */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t6A4FDAFD1B9B5CBB00C4A33B /* bezierUIDynamic.swift */,\n\t\t\t\t6A4FDAFF1B9B5E3600C4A33B /* keyframe.swift */,\n\t\t\t\t6A4FDAFB1B9B5C8700C4A33B /* bezierAdvanced.swift */,\n\t\t\t\t6A4FDAF91B9B5C3300C4A33B /* bezierSimple.swift */,\n\t\t\t\t6A4FDB011B9B636A00C4A33B /* maskAnimation.swift */,\n\t\t\t);\n\t\t\tname = Animations;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t6AC7996F1B92082C00DDFD47 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t6AC7997A1B92082C00DDFD47 /* Animation Advanced */,\n\t\t\t\t6AC799791B92082C00DDFD47 /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t6AC799791B92082C00DDFD47 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t6AC799781B92082C00DDFD47 /* Animation Advanced.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t6AC7997A1B92082C00DDFD47 /* Animation Advanced */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t6AC7997B1B92082C00DDFD47 /* AppDelegate.swift */,\n\t\t\t\t6AC7997D1B92082C00DDFD47 /* MasterViewController.swift */,\n\t\t\t\t6AC7997F1B92082C00DDFD47 /* DetailViewController.swift */,\n\t\t\t\t6A4FDB031B9B63C700C4A33B /* Animations */,\n\t\t\t\t6AC799811B92082C00DDFD47 /* Main.storyboard */,\n\t\t\t\t6AC799841B92082C00DDFD47 /* Assets.xcassets */,\n\t\t\t\t6AC799861B92082C00DDFD47 /* LaunchScreen.storyboard */,\n\t\t\t\t6AC799891B92082C00DDFD47 /* Info.plist */,\n\t\t\t);\n\t\t\tpath = \"Animation Advanced\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t6AC799771B92082C00DDFD47 /* Animation Advanced */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 6AC7998C1B92082C00DDFD47 /* Build configuration list for PBXNativeTarget \"Animation Advanced\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t6AC799741B92082C00DDFD47 /* Sources */,\n\t\t\t\t6AC799751B92082C00DDFD47 /* Frameworks */,\n\t\t\t\t6AC799761B92082C00DDFD47 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = \"Animation Advanced\";\n\t\t\tproductName = \"Animation Advanced\";\n\t\t\tproductReference = 6AC799781B92082C00DDFD47 /* Animation Advanced.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t6AC799701B92082C00DDFD47 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastUpgradeCheck = 0800;\n\t\t\t\tORGANIZATIONNAME = zhowkevin;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t6AC799771B92082C00DDFD47 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 7.0;\n\t\t\t\t\t\tLastSwiftMigration = 0800;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 6AC799731B92082C00DDFD47 /* Build configuration list for PBXProject \"Animation Advanced\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 6AC7996F1B92082C00DDFD47;\n\t\t\tproductRefGroup = 6AC799791B92082C00DDFD47 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t6AC799771B92082C00DDFD47 /* Animation Advanced */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t6AC799761B92082C00DDFD47 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t6AC799881B92082C00DDFD47 /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t6AC799851B92082C00DDFD47 /* Assets.xcassets in Resources */,\n\t\t\t\t6AC799831B92082C00DDFD47 /* Main.storyboard in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t6AC799741B92082C00DDFD47 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t6A4FDAFA1B9B5C3300C4A33B /* bezierSimple.swift in Sources */,\n\t\t\t\t6AC799801B92082C00DDFD47 /* DetailViewController.swift in Sources */,\n\t\t\t\t6A4FDB021B9B636A00C4A33B /* maskAnimation.swift in Sources */,\n\t\t\t\t6A4FDB001B9B5E3600C4A33B /* keyframe.swift in Sources */,\n\t\t\t\t6A4FDAFE1B9B5CBB00C4A33B /* bezierUIDynamic.swift in Sources */,\n\t\t\t\t6AC7997E1B92082C00DDFD47 /* MasterViewController.swift in Sources */,\n\t\t\t\t6AC7997C1B92082C00DDFD47 /* AppDelegate.swift in Sources */,\n\t\t\t\t6A4FDAFC1B9B5C8700C4A33B /* bezierAdvanced.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t6AC799811B92082C00DDFD47 /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t6AC799821B92082C00DDFD47 /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t6AC799861B92082C00DDFD47 /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t6AC799871B92082C00DDFD47 /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t6AC7998A1B92082C00DDFD47 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 9.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t6AC7998B1B92082C00DDFD47 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 9.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t6AC7998D1B92082C00DDFD47 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = \"Animation Advanced/Info.plist\";\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"kevinzhow.Animation-Advanced\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t6AC7998E1B92082C00DDFD47 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = \"Animation Advanced/Info.plist\";\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"kevinzhow.Animation-Advanced\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t6AC799731B92082C00DDFD47 /* Build configuration list for PBXProject \"Animation Advanced\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t6AC7998A1B92082C00DDFD47 /* Debug */,\n\t\t\t\t6AC7998B1B92082C00DDFD47 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t6AC7998C1B92082C00DDFD47 /* Build configuration list for PBXNativeTarget \"Animation Advanced\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t6AC7998D1B92082C00DDFD47 /* Debug */,\n\t\t\t\t6AC7998E1B92082C00DDFD47 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 6AC799701B92082C00DDFD47 /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Animation Advanced.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcschemes/Animation Advanced.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"6AC799771B92082C00DDFD47\"\n               BuildableName = \"Animation Advanced.app\"\n               BlueprintName = \"Animation Advanced\"\n               ReferencedContainer = \"container:Animation Advanced.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6AC799771B92082C00DDFD47\"\n            BuildableName = \"Animation Advanced.app\"\n            BlueprintName = \"Animation Advanced\"\n            ReferencedContainer = \"container:Animation Advanced.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6AC799771B92082C00DDFD47\"\n            BuildableName = \"Animation Advanced.app\"\n            BlueprintName = \"Animation Advanced\"\n            ReferencedContainer = \"container:Animation Advanced.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6AC799771B92082C00DDFD47\"\n            BuildableName = \"Animation Advanced.app\"\n            BlueprintName = \"Animation Advanced\"\n            ReferencedContainer = \"container:Animation Advanced.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Animation Advanced.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>6AC799771B92082C00DDFD47</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Animation Advanced.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bucket\n   type = \"1\"\n   version = \"2.0\">\n</Bucket>\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/Animation Advanced.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0700\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"6AC799771B92082C00DDFD47\"\n               BuildableName = \"Animation Advanced.app\"\n               BlueprintName = \"Animation Advanced\"\n               ReferencedContainer = \"container:Animation Advanced.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6AC799771B92082C00DDFD47\"\n            BuildableName = \"Animation Advanced.app\"\n            BlueprintName = \"Animation Advanced\"\n            ReferencedContainer = \"container:Animation Advanced.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6AC799771B92082C00DDFD47\"\n            BuildableName = \"Animation Advanced.app\"\n            BlueprintName = \"Animation Advanced\"\n            ReferencedContainer = \"container:Animation Advanced.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6AC799771B92082C00DDFD47\"\n            BuildableName = \"Animation Advanced.app\"\n            BlueprintName = \"Animation Advanced\"\n            ReferencedContainer = \"container:Animation Advanced.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Animation Advanced/Animation Advanced.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Animation Advanced.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>6AC799771B92082C00DDFD47</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/Meow/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Meow\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/Meow/Base.lproj/LaunchScreen.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.XIB\" version=\"3.0\" toolsVersion=\"6214\" systemVersion=\"14A314h\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"6207\"/>\n        <capability name=\"Constraints with non-1.0 multipliers\" minToolsVersion=\"5.1\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\"/>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <view contentMode=\"scaleToFill\" id=\"iN0-l3-epB\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"480\" height=\"480\"/>\n            <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n            <subviews>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"  Copyright (c) 2015年 kevinzhow. All rights reserved.\" textAlignment=\"center\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"9\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"8ie-xW-0ye\">\n                    <rect key=\"frame\" x=\"20\" y=\"439\" width=\"441\" height=\"21\"/>\n                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Meow\" textAlignment=\"center\" lineBreakMode=\"middleTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"18\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"kId-c2-rCX\">\n                    <rect key=\"frame\" x=\"20\" y=\"140\" width=\"441\" height=\"43\"/>\n                    <fontDescription key=\"fontDescription\" type=\"boldSystem\" pointSize=\"36\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n            </subviews>\n            <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n            <constraints>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"centerY\" secondItem=\"iN0-l3-epB\" secondAttribute=\"bottom\" multiplier=\"1/3\" constant=\"1\" id=\"5cJ-9S-tgC\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"kId-c2-rCX\" secondAttribute=\"centerX\" id=\"Koa-jz-hwk\"/>\n                <constraint firstAttribute=\"bottom\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"bottom\" constant=\"20\" id=\"Kzo-t9-V3l\"/>\n                <constraint firstItem=\"8ie-xW-0ye\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"MfP-vx-nX0\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"centerX\" id=\"ZEH-qu-HZ9\"/>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"fvb-Df-36g\"/>\n            </constraints>\n            <nil key=\"simulatedStatusBarMetrics\"/>\n            <freeformSimulatedSizeMetrics key=\"simulatedDestinationMetrics\"/>\n            <point key=\"canvasLocation\" x=\"548\" y=\"455\"/>\n        </view>\n    </objects>\n</document>\n"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/Meow/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"14460.31\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"BYZ-38-t0r\">\n    <device id=\"retina4_7\" orientation=\"portrait\">\n        <adaptation id=\"fullscreen\"/>\n    </device>\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"14460.20\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"tne-QT-ifu\">\n            <objects>\n                <viewController id=\"BYZ-38-t0r\" customClass=\"ViewController\" customModule=\"Meow\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"y3c-jy-aDJ\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"wfy-db-euE\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"8bC-Xf-vdC\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <subviews>\n                            <textView clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" textAlignment=\"natural\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"K0c-Lb-ayV\">\n                                <rect key=\"frame\" x=\"20\" y=\"269.5\" width=\"167.5\" height=\"128\"/>\n                                <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"genericGamma22GrayColorSpace\"/>\n                                <constraints>\n                                    <constraint firstAttribute=\"height\" constant=\"128\" id=\"hxV-dL-2Vn\"/>\n                                </constraints>\n                                <string key=\"text\">Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Nam liber te conscient to factor tum poen legum odioque civiuda.</string>\n                                <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"14\"/>\n                                <textInputTraits key=\"textInputTraits\" autocapitalizationType=\"sentences\"/>\n                            </textView>\n                            <textView clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" textAlignment=\"natural\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"6qd-mO-JM4\">\n                                <rect key=\"frame\" x=\"187.5\" y=\"269.5\" width=\"167.5\" height=\"128\"/>\n                                <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"genericGamma22GrayColorSpace\"/>\n                                <constraints>\n                                    <constraint firstAttribute=\"height\" constant=\"128\" id=\"eiy-Fe-nsW\"/>\n                                </constraints>\n                                <string key=\"text\">Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Nam liber te conscient to factor tum poen legum odioque civiuda.</string>\n                                <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"14\"/>\n                                <textInputTraits key=\"textInputTraits\" autocapitalizationType=\"sentences\"/>\n                            </textView>\n                        </subviews>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <constraints>\n                            <constraint firstItem=\"K0c-Lb-ayV\" firstAttribute=\"centerY\" secondItem=\"8bC-Xf-vdC\" secondAttribute=\"centerY\" id=\"7td-6O-A6D\"/>\n                            <constraint firstItem=\"6qd-mO-JM4\" firstAttribute=\"leading\" secondItem=\"K0c-Lb-ayV\" secondAttribute=\"trailing\" id=\"Zqo-Vc-cVv\"/>\n                            <constraint firstItem=\"6qd-mO-JM4\" firstAttribute=\"centerY\" secondItem=\"K0c-Lb-ayV\" secondAttribute=\"centerY\" id=\"ecl-L9-sLL\"/>\n                            <constraint firstAttribute=\"trailing\" secondItem=\"6qd-mO-JM4\" secondAttribute=\"trailing\" constant=\"20\" id=\"pQA-CZ-hNp\"/>\n                            <constraint firstItem=\"6qd-mO-JM4\" firstAttribute=\"width\" secondItem=\"K0c-Lb-ayV\" secondAttribute=\"width\" id=\"yJb-Zb-pGK\"/>\n                            <constraint firstItem=\"K0c-Lb-ayV\" firstAttribute=\"leading\" secondItem=\"8bC-Xf-vdC\" secondAttribute=\"leading\" constant=\"20\" id=\"yc8-Bg-ZTn\"/>\n                        </constraints>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"dkx-z0-nzr\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"136.80000000000001\" y=\"137.18140929535232\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/Meow/Images.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"83.5x83.5\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/Meow/Images.xcassets/cat_cart.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"cat_cart.png\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/Meow/Images.xcassets/cat_eyes.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"cat_eyes.png\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/Meow/Images.xcassets/cat_fat.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"cat_fat.png\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/Meow/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/Meow/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Meow\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/Meow.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0AA102261B2866B500C0B299 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA102251B2866B500C0B299 /* AppDelegate.swift */; };\n\t\t0AA102281B2866B500C0B299 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA102271B2866B500C0B299 /* ViewController.swift */; };\n\t\t0AA1022B1B2866B500C0B299 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0AA102291B2866B500C0B299 /* Main.storyboard */; };\n\t\t0AA1022D1B2866B500C0B299 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0AA1022C1B2866B500C0B299 /* Images.xcassets */; };\n\t\t0AA102301B2866B500C0B299 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 0AA1022E1B2866B500C0B299 /* LaunchScreen.xib */; };\n\t\t0AA1023C1B2866B500C0B299 /* MeowTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA1023B1B2866B500C0B299 /* MeowTests.swift */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\t0AA102361B2866B500C0B299 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 0AA102181B2866B500C0B299 /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 0AA1021F1B2866B500C0B299;\n\t\t\tremoteInfo = Meow;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXFileReference section */\n\t\t0AA102201B2866B500C0B299 /* Meow.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Meow.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0AA102241B2866B500C0B299 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0AA102251B2866B500C0B299 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0AA102271B2866B500C0B299 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0AA1022A1B2866B500C0B299 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0AA1022C1B2866B500C0B299 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = \"<group>\"; };\n\t\t0AA1022F1B2866B500C0B299 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = \"<group>\"; };\n\t\t0AA102351B2866B500C0B299 /* MeowTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MeowTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0AA1023A1B2866B500C0B299 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0AA1023B1B2866B500C0B299 /* MeowTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MeowTests.swift; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0AA1021D1B2866B500C0B299 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA102321B2866B500C0B299 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0AA102171B2866B500C0B299 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102221B2866B500C0B299 /* Meow */,\n\t\t\t\t0AA102381B2866B500C0B299 /* MeowTests */,\n\t\t\t\t0AA102211B2866B500C0B299 /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102211B2866B500C0B299 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102201B2866B500C0B299 /* Meow.app */,\n\t\t\t\t0AA102351B2866B500C0B299 /* MeowTests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102221B2866B500C0B299 /* Meow */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102251B2866B500C0B299 /* AppDelegate.swift */,\n\t\t\t\t0AA102271B2866B500C0B299 /* ViewController.swift */,\n\t\t\t\t0AA102291B2866B500C0B299 /* Main.storyboard */,\n\t\t\t\t0AA1022C1B2866B500C0B299 /* Images.xcassets */,\n\t\t\t\t0AA1022E1B2866B500C0B299 /* LaunchScreen.xib */,\n\t\t\t\t0AA102231B2866B500C0B299 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = Meow;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102231B2866B500C0B299 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102241B2866B500C0B299 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102381B2866B500C0B299 /* MeowTests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1023B1B2866B500C0B299 /* MeowTests.swift */,\n\t\t\t\t0AA102391B2866B500C0B299 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = MeowTests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102391B2866B500C0B299 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1023A1B2866B500C0B299 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0AA1021F1B2866B500C0B299 /* Meow */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0AA1023F1B2866B500C0B299 /* Build configuration list for PBXNativeTarget \"Meow\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0AA1021C1B2866B500C0B299 /* Sources */,\n\t\t\t\t0AA1021D1B2866B500C0B299 /* Frameworks */,\n\t\t\t\t0AA1021E1B2866B500C0B299 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Meow;\n\t\t\tproductName = Meow;\n\t\t\tproductReference = 0AA102201B2866B500C0B299 /* Meow.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n\t\t0AA102341B2866B500C0B299 /* MeowTests */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0AA102421B2866B500C0B299 /* Build configuration list for PBXNativeTarget \"MeowTests\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0AA102311B2866B500C0B299 /* Sources */,\n\t\t\t\t0AA102321B2866B500C0B299 /* Frameworks */,\n\t\t\t\t0AA102331B2866B500C0B299 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\t0AA102371B2866B500C0B299 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = MeowTests;\n\t\t\tproductName = MeowTests;\n\t\t\tproductReference = 0AA102351B2866B500C0B299 /* MeowTests.xctest */;\n\t\t\tproductType = \"com.apple.product-type.bundle.unit-test\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0AA102181B2866B500C0B299 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0700;\n\t\t\t\tLastUpgradeCheck = 0800;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0AA1021F1B2866B500C0B299 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.3.2;\n\t\t\t\t\t\tLastSwiftMigration = 1010;\n\t\t\t\t\t};\n\t\t\t\t\t0AA102341B2866B500C0B299 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.3.2;\n\t\t\t\t\t\tLastSwiftMigration = 1010;\n\t\t\t\t\t\tTestTargetID = 0AA1021F1B2866B500C0B299;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0AA1021B1B2866B500C0B299 /* Build configuration list for PBXProject \"Meow\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0AA102171B2866B500C0B299;\n\t\t\tproductRefGroup = 0AA102211B2866B500C0B299 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0AA1021F1B2866B500C0B299 /* Meow */,\n\t\t\t\t0AA102341B2866B500C0B299 /* MeowTests */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0AA1021E1B2866B500C0B299 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA1022B1B2866B500C0B299 /* Main.storyboard in Resources */,\n\t\t\t\t0AA102301B2866B500C0B299 /* LaunchScreen.xib in Resources */,\n\t\t\t\t0AA1022D1B2866B500C0B299 /* Images.xcassets in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA102331B2866B500C0B299 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0AA1021C1B2866B500C0B299 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA102281B2866B500C0B299 /* ViewController.swift in Sources */,\n\t\t\t\t0AA102261B2866B500C0B299 /* AppDelegate.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA102311B2866B500C0B299 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA1023C1B2866B500C0B299 /* MeowTests.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\t0AA102371B2866B500C0B299 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = 0AA1021F1B2866B500C0B299 /* Meow */;\n\t\t\ttargetProxy = 0AA102361B2866B500C0B299 /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin PBXVariantGroup section */\n\t\t0AA102291B2866B500C0B299 /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1022A1B2866B500C0B299 /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA1022E1B2866B500C0B299 /* LaunchScreen.xib */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1022F1B2866B500C0B299 /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.xib;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0AA1023D1B2866B500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_SYMBOLS_PRIVATE_EXTERN = NO;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.3;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA1023E1B2866B500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.3;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0AA102401B2866B500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Meow/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"kevinzhow.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA102411B2866B500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Meow/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"kevinzhow.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0AA102431B2866B500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = MeowTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"kevinzhow.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/Meow.app/Meow\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA102441B2866B500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = MeowTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"kevinzhow.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/Meow.app/Meow\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0AA1021B1B2866B500C0B299 /* Build configuration list for PBXProject \"Meow\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA1023D1B2866B500C0B299 /* Debug */,\n\t\t\t\t0AA1023E1B2866B500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0AA1023F1B2866B500C0B299 /* Build configuration list for PBXNativeTarget \"Meow\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA102401B2866B500C0B299 /* Debug */,\n\t\t\t\t0AA102411B2866B500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0AA102421B2866B500C0B299 /* Build configuration list for PBXNativeTarget \"MeowTests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA102431B2866B500C0B299 /* Debug */,\n\t\t\t\t0AA102441B2866B500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 0AA102181B2866B500C0B299 /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/Meow.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Meow.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/Meow.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/Meow.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/Meow.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n               BuildableName = \"Meow.app\"\n               BlueprintName = \"Meow\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"NO\"\n            buildForArchiving = \"NO\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102341B2866B500C0B299\"\n               BuildableName = \"MeowTests.xctest\"\n               BlueprintName = \"MeowTests\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102341B2866B500C0B299\"\n               BuildableName = \"MeowTests.xctest\"\n               BlueprintName = \"MeowTests\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/Meow.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Meow.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0AA1021F1B2866B500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t\t<key>0AA102341B2866B500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/Meow.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Meow.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/Meow.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/Meow.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0700\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n               BuildableName = \"Meow.app\"\n               BlueprintName = \"Meow\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102341B2866B500C0B299\"\n               BuildableName = \"MeowTests.xctest\"\n               BlueprintName = \"MeowTests\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/Meow.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Meow.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0AA1021F1B2866B500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t\t<key>0AA102341B2866B500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/MeowTests/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>BNDL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/TextView/MeowTests/MeowTests.swift",
    "content": "//\n//  MeowTests.swift\n//  MeowTests\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport XCTest\n\nclass MeowTests: XCTestCase {\n    \n    override func setUp() {\n        super.setUp()\n        // Put setup code here. This method is called before the invocation of each test method in the class.\n    }\n    \n    override func tearDown() {\n        // Put teardown code here. This method is called after the invocation of each test method in the class.\n        super.tearDown()\n    }\n    \n    func testExample() {\n        // This is an example of a functional test case.\n        XCTAssert(true, \"Pass\")\n    }\n    \n    func testPerformanceExample() {\n        // This is an example of a performance test case.\n        self.measure() {\n            // Put the code you want to measure the time of here.\n        }\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/Meow/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Meow\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/Meow/Base.lproj/LaunchScreen.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.XIB\" version=\"3.0\" toolsVersion=\"6214\" systemVersion=\"14A314h\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"6207\"/>\n        <capability name=\"Constraints with non-1.0 multipliers\" minToolsVersion=\"5.1\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\"/>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <view contentMode=\"scaleToFill\" id=\"iN0-l3-epB\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"480\" height=\"480\"/>\n            <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n            <subviews>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"  Copyright (c) 2015年 kevinzhow. All rights reserved.\" textAlignment=\"center\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"9\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"8ie-xW-0ye\">\n                    <rect key=\"frame\" x=\"20\" y=\"439\" width=\"441\" height=\"21\"/>\n                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Meow\" textAlignment=\"center\" lineBreakMode=\"middleTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"18\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"kId-c2-rCX\">\n                    <rect key=\"frame\" x=\"20\" y=\"140\" width=\"441\" height=\"43\"/>\n                    <fontDescription key=\"fontDescription\" type=\"boldSystem\" pointSize=\"36\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n            </subviews>\n            <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n            <constraints>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"centerY\" secondItem=\"iN0-l3-epB\" secondAttribute=\"bottom\" multiplier=\"1/3\" constant=\"1\" id=\"5cJ-9S-tgC\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"kId-c2-rCX\" secondAttribute=\"centerX\" id=\"Koa-jz-hwk\"/>\n                <constraint firstAttribute=\"bottom\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"bottom\" constant=\"20\" id=\"Kzo-t9-V3l\"/>\n                <constraint firstItem=\"8ie-xW-0ye\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"MfP-vx-nX0\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"centerX\" id=\"ZEH-qu-HZ9\"/>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"fvb-Df-36g\"/>\n            </constraints>\n            <nil key=\"simulatedStatusBarMetrics\"/>\n            <freeformSimulatedSizeMetrics key=\"simulatedDestinationMetrics\"/>\n            <point key=\"canvasLocation\" x=\"548\" y=\"455\"/>\n        </view>\n    </objects>\n</document>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/Meow/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"14460.31\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"BYZ-38-t0r\">\n    <device id=\"retina4_7\" orientation=\"portrait\">\n        <adaptation id=\"fullscreen\"/>\n    </device>\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"14460.20\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"tne-QT-ifu\">\n            <objects>\n                <viewController id=\"BYZ-38-t0r\" customClass=\"ViewController\" customModule=\"Meow\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"y3c-jy-aDJ\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"wfy-db-euE\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"8bC-Xf-vdC\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"dkx-z0-nzr\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/Meow/Images.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/Meow/Images.xcassets/cat_cart.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"cat_cart.png\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/Meow/Images.xcassets/cat_eyes.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"cat_eyes.png\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/Meow/Images.xcassets/cat_fat.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"cat_fat.png\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/Meow/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>kevinzhow.$(PRODUCT_NAME:rfc1034identifier)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/Meow/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Meow\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/Meow.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0AA102261B2866B500C0B299 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA102251B2866B500C0B299 /* AppDelegate.swift */; };\n\t\t0AA102281B2866B500C0B299 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA102271B2866B500C0B299 /* ViewController.swift */; };\n\t\t0AA1022B1B2866B500C0B299 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0AA102291B2866B500C0B299 /* Main.storyboard */; };\n\t\t0AA1022D1B2866B500C0B299 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0AA1022C1B2866B500C0B299 /* Images.xcassets */; };\n\t\t0AA102301B2866B500C0B299 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 0AA1022E1B2866B500C0B299 /* LaunchScreen.xib */; };\n\t\t0AA1023C1B2866B500C0B299 /* MeowTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA1023B1B2866B500C0B299 /* MeowTests.swift */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\t0AA102361B2866B500C0B299 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 0AA102181B2866B500C0B299 /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 0AA1021F1B2866B500C0B299;\n\t\t\tremoteInfo = Meow;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXFileReference section */\n\t\t0AA102201B2866B500C0B299 /* Meow.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Meow.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0AA102241B2866B500C0B299 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0AA102251B2866B500C0B299 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0AA102271B2866B500C0B299 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0AA1022A1B2866B500C0B299 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0AA1022C1B2866B500C0B299 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = \"<group>\"; };\n\t\t0AA1022F1B2866B500C0B299 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = \"<group>\"; };\n\t\t0AA102351B2866B500C0B299 /* MeowTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MeowTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0AA1023A1B2866B500C0B299 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0AA1023B1B2866B500C0B299 /* MeowTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MeowTests.swift; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0AA1021D1B2866B500C0B299 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA102321B2866B500C0B299 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0AA102171B2866B500C0B299 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102221B2866B500C0B299 /* Meow */,\n\t\t\t\t0AA102381B2866B500C0B299 /* MeowTests */,\n\t\t\t\t0AA102211B2866B500C0B299 /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102211B2866B500C0B299 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102201B2866B500C0B299 /* Meow.app */,\n\t\t\t\t0AA102351B2866B500C0B299 /* MeowTests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102221B2866B500C0B299 /* Meow */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102251B2866B500C0B299 /* AppDelegate.swift */,\n\t\t\t\t0AA102271B2866B500C0B299 /* ViewController.swift */,\n\t\t\t\t0AA102291B2866B500C0B299 /* Main.storyboard */,\n\t\t\t\t0AA1022C1B2866B500C0B299 /* Images.xcassets */,\n\t\t\t\t0AA1022E1B2866B500C0B299 /* LaunchScreen.xib */,\n\t\t\t\t0AA102231B2866B500C0B299 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = Meow;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102231B2866B500C0B299 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102241B2866B500C0B299 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102381B2866B500C0B299 /* MeowTests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1023B1B2866B500C0B299 /* MeowTests.swift */,\n\t\t\t\t0AA102391B2866B500C0B299 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = MeowTests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102391B2866B500C0B299 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1023A1B2866B500C0B299 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0AA1021F1B2866B500C0B299 /* Meow */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0AA1023F1B2866B500C0B299 /* Build configuration list for PBXNativeTarget \"Meow\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0AA1021C1B2866B500C0B299 /* Sources */,\n\t\t\t\t0AA1021D1B2866B500C0B299 /* Frameworks */,\n\t\t\t\t0AA1021E1B2866B500C0B299 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Meow;\n\t\t\tproductName = Meow;\n\t\t\tproductReference = 0AA102201B2866B500C0B299 /* Meow.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n\t\t0AA102341B2866B500C0B299 /* MeowTests */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0AA102421B2866B500C0B299 /* Build configuration list for PBXNativeTarget \"MeowTests\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0AA102311B2866B500C0B299 /* Sources */,\n\t\t\t\t0AA102321B2866B500C0B299 /* Frameworks */,\n\t\t\t\t0AA102331B2866B500C0B299 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\t0AA102371B2866B500C0B299 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = MeowTests;\n\t\t\tproductName = MeowTests;\n\t\t\tproductReference = 0AA102351B2866B500C0B299 /* MeowTests.xctest */;\n\t\t\tproductType = \"com.apple.product-type.bundle.unit-test\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0AA102181B2866B500C0B299 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0700;\n\t\t\t\tLastUpgradeCheck = 0630;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0AA1021F1B2866B500C0B299 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.3.2;\n\t\t\t\t\t\tLastSwiftMigration = 1010;\n\t\t\t\t\t};\n\t\t\t\t\t0AA102341B2866B500C0B299 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.3.2;\n\t\t\t\t\t\tLastSwiftMigration = 1010;\n\t\t\t\t\t\tTestTargetID = 0AA1021F1B2866B500C0B299;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0AA1021B1B2866B500C0B299 /* Build configuration list for PBXProject \"Meow\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0AA102171B2866B500C0B299;\n\t\t\tproductRefGroup = 0AA102211B2866B500C0B299 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0AA1021F1B2866B500C0B299 /* Meow */,\n\t\t\t\t0AA102341B2866B500C0B299 /* MeowTests */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0AA1021E1B2866B500C0B299 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA1022B1B2866B500C0B299 /* Main.storyboard in Resources */,\n\t\t\t\t0AA102301B2866B500C0B299 /* LaunchScreen.xib in Resources */,\n\t\t\t\t0AA1022D1B2866B500C0B299 /* Images.xcassets in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA102331B2866B500C0B299 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0AA1021C1B2866B500C0B299 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA102281B2866B500C0B299 /* ViewController.swift in Sources */,\n\t\t\t\t0AA102261B2866B500C0B299 /* AppDelegate.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA102311B2866B500C0B299 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA1023C1B2866B500C0B299 /* MeowTests.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\t0AA102371B2866B500C0B299 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = 0AA1021F1B2866B500C0B299 /* Meow */;\n\t\t\ttargetProxy = 0AA102361B2866B500C0B299 /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin PBXVariantGroup section */\n\t\t0AA102291B2866B500C0B299 /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1022A1B2866B500C0B299 /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA1022E1B2866B500C0B299 /* LaunchScreen.xib */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1022F1B2866B500C0B299 /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.xib;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0AA1023D1B2866B500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_SYMBOLS_PRIVATE_EXTERN = NO;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.3;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA1023E1B2866B500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.3;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0AA102401B2866B500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Meow/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA102411B2866B500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Meow/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0AA102431B2866B500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = MeowTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/Meow.app/Meow\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA102441B2866B500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = MeowTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/Meow.app/Meow\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0AA1021B1B2866B500C0B299 /* Build configuration list for PBXProject \"Meow\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA1023D1B2866B500C0B299 /* Debug */,\n\t\t\t\t0AA1023E1B2866B500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0AA1023F1B2866B500C0B299 /* Build configuration list for PBXNativeTarget \"Meow\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA102401B2866B500C0B299 /* Debug */,\n\t\t\t\t0AA102411B2866B500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0AA102421B2866B500C0B299 /* Build configuration list for PBXNativeTarget \"MeowTests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA102431B2866B500C0B299 /* Debug */,\n\t\t\t\t0AA102441B2866B500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 0AA102181B2866B500C0B299 /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/Meow.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Meow.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/Meow.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/Meow.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/Meow.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0630\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n               BuildableName = \"Meow.app\"\n               BlueprintName = \"Meow\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"NO\"\n            buildForArchiving = \"NO\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102341B2866B500C0B299\"\n               BuildableName = \"MeowTests.xctest\"\n               BlueprintName = \"MeowTests\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      buildConfiguration = \"Debug\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102341B2866B500C0B299\"\n               BuildableName = \"MeowTests.xctest\"\n               BlueprintName = \"MeowTests\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n   </TestAction>\n   <LaunchAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Debug\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Release\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/Meow.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Meow.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0AA1021F1B2866B500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t\t<key>0AA102341B2866B500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/Meow.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Meow.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/Meow.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/Meow.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0700\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n               BuildableName = \"Meow.app\"\n               BlueprintName = \"Meow\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102341B2866B500C0B299\"\n               BuildableName = \"MeowTests.xctest\"\n               BlueprintName = \"MeowTests\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/Meow.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Meow.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0AA1021F1B2866B500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t\t<key>0AA102341B2866B500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/MeowTests/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>kevinzhow.$(PRODUCT_NAME:rfc1034identifier)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>BNDL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_0/MeowTests/MeowTests.swift",
    "content": "//\n//  MeowTests.swift\n//  MeowTests\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport XCTest\n\nclass MeowTests: XCTestCase {\n    \n    override func setUp() {\n        super.setUp()\n        // Put setup code here. This method is called before the invocation of each test method in the class.\n    }\n    \n    override func tearDown() {\n        // Put teardown code here. This method is called after the invocation of each test method in the class.\n        super.tearDown()\n    }\n    \n    func testExample() {\n        // This is an example of a functional test case.\n        XCTAssert(true, \"Pass\")\n    }\n    \n    func testPerformanceExample() {\n        // This is an example of a performance test case.\n        self.measure() {\n            // Put the code you want to measure the time of here.\n        }\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/Meow/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Meow\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/Meow/Base.lproj/LaunchScreen.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"Constraints with non-1.0 multipliers\" minToolsVersion=\"5.1\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\"/>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <view contentMode=\"scaleToFill\" id=\"iN0-l3-epB\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"480\" height=\"480\"/>\n            <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n            <subviews>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"  Copyright (c) 2015年 kevinzhow. All rights reserved.\" textAlignment=\"center\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"9\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"8ie-xW-0ye\">\n                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Meow\" textAlignment=\"center\" lineBreakMode=\"middleTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"18\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"kId-c2-rCX\">\n                    <fontDescription key=\"fontDescription\" type=\"boldSystem\" pointSize=\"36\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n            </subviews>\n            <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n            <constraints>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"centerY\" secondItem=\"iN0-l3-epB\" secondAttribute=\"bottom\" multiplier=\"1/3\" constant=\"1\" id=\"5cJ-9S-tgC\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"kId-c2-rCX\" secondAttribute=\"centerX\" id=\"Koa-jz-hwk\"/>\n                <constraint firstAttribute=\"bottom\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"bottom\" constant=\"20\" id=\"Kzo-t9-V3l\"/>\n                <constraint firstItem=\"8ie-xW-0ye\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"MfP-vx-nX0\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"centerX\" id=\"ZEH-qu-HZ9\"/>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"fvb-Df-36g\"/>\n            </constraints>\n            <nil key=\"simulatedStatusBarMetrics\"/>\n            <freeformSimulatedSizeMetrics key=\"simulatedDestinationMetrics\"/>\n            <point key=\"canvasLocation\" x=\"548\" y=\"455\"/>\n        </view>\n    </objects>\n</document>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/Meow/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"BYZ-38-t0r\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"tne-QT-ifu\">\n            <objects>\n                <viewController id=\"BYZ-38-t0r\" customClass=\"ViewController\" customModule=\"Meow\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"y3c-jy-aDJ\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"wfy-db-euE\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"8bC-Xf-vdC\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"414\" height=\"736\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <subviews>\n                            <imageView userInteractionEnabled=\"NO\" contentMode=\"scaleToFill\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" image=\"cat_cart\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"l11-PT-MD9\"/>\n                        </subviews>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <constraints>\n                            <constraint firstItem=\"l11-PT-MD9\" firstAttribute=\"centerY\" secondItem=\"8bC-Xf-vdC\" secondAttribute=\"centerY\" id=\"7gx-MJ-usC\"/>\n                            <constraint firstItem=\"l11-PT-MD9\" firstAttribute=\"centerX\" secondItem=\"8bC-Xf-vdC\" secondAttribute=\"centerX\" id=\"skf-yT-qbR\"/>\n                        </constraints>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"dkx-z0-nzr\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n        </scene>\n    </scenes>\n    <resources>\n        <image name=\"cat_cart\" width=\"128\" height=\"128\"/>\n    </resources>\n</document>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/Meow/Images.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/Meow/Images.xcassets/cat_cart.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"cat_cart.png\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/Meow/Images.xcassets/cat_eyes.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"cat_eyes.png\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/Meow/Images.xcassets/cat_fat.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"cat_fat.png\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/Meow/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>kevinzhow.$(PRODUCT_NAME:rfc1034identifier)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/Meow/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Meow\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/Meow.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0AA102261B2866B500C0B299 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA102251B2866B500C0B299 /* AppDelegate.swift */; };\n\t\t0AA102281B2866B500C0B299 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA102271B2866B500C0B299 /* ViewController.swift */; };\n\t\t0AA1022B1B2866B500C0B299 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0AA102291B2866B500C0B299 /* Main.storyboard */; };\n\t\t0AA1022D1B2866B500C0B299 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0AA1022C1B2866B500C0B299 /* Images.xcassets */; };\n\t\t0AA102301B2866B500C0B299 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 0AA1022E1B2866B500C0B299 /* LaunchScreen.xib */; };\n\t\t0AA1023C1B2866B500C0B299 /* MeowTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA1023B1B2866B500C0B299 /* MeowTests.swift */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\t0AA102361B2866B500C0B299 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 0AA102181B2866B500C0B299 /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 0AA1021F1B2866B500C0B299;\n\t\t\tremoteInfo = Meow;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXFileReference section */\n\t\t0AA102201B2866B500C0B299 /* Meow.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Meow.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0AA102241B2866B500C0B299 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0AA102251B2866B500C0B299 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0AA102271B2866B500C0B299 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0AA1022A1B2866B500C0B299 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0AA1022C1B2866B500C0B299 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = \"<group>\"; };\n\t\t0AA1022F1B2866B500C0B299 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = \"<group>\"; };\n\t\t0AA102351B2866B500C0B299 /* MeowTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MeowTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0AA1023A1B2866B500C0B299 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0AA1023B1B2866B500C0B299 /* MeowTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MeowTests.swift; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0AA1021D1B2866B500C0B299 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA102321B2866B500C0B299 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0AA102171B2866B500C0B299 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102221B2866B500C0B299 /* Meow */,\n\t\t\t\t0AA102381B2866B500C0B299 /* MeowTests */,\n\t\t\t\t0AA102211B2866B500C0B299 /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102211B2866B500C0B299 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102201B2866B500C0B299 /* Meow.app */,\n\t\t\t\t0AA102351B2866B500C0B299 /* MeowTests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102221B2866B500C0B299 /* Meow */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102251B2866B500C0B299 /* AppDelegate.swift */,\n\t\t\t\t0AA102271B2866B500C0B299 /* ViewController.swift */,\n\t\t\t\t0AA102291B2866B500C0B299 /* Main.storyboard */,\n\t\t\t\t0AA1022C1B2866B500C0B299 /* Images.xcassets */,\n\t\t\t\t0AA1022E1B2866B500C0B299 /* LaunchScreen.xib */,\n\t\t\t\t0AA102231B2866B500C0B299 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = Meow;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102231B2866B500C0B299 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102241B2866B500C0B299 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102381B2866B500C0B299 /* MeowTests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1023B1B2866B500C0B299 /* MeowTests.swift */,\n\t\t\t\t0AA102391B2866B500C0B299 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = MeowTests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102391B2866B500C0B299 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1023A1B2866B500C0B299 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0AA1021F1B2866B500C0B299 /* Meow */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0AA1023F1B2866B500C0B299 /* Build configuration list for PBXNativeTarget \"Meow\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0AA1021C1B2866B500C0B299 /* Sources */,\n\t\t\t\t0AA1021D1B2866B500C0B299 /* Frameworks */,\n\t\t\t\t0AA1021E1B2866B500C0B299 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Meow;\n\t\t\tproductName = Meow;\n\t\t\tproductReference = 0AA102201B2866B500C0B299 /* Meow.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n\t\t0AA102341B2866B500C0B299 /* MeowTests */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0AA102421B2866B500C0B299 /* Build configuration list for PBXNativeTarget \"MeowTests\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0AA102311B2866B500C0B299 /* Sources */,\n\t\t\t\t0AA102321B2866B500C0B299 /* Frameworks */,\n\t\t\t\t0AA102331B2866B500C0B299 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\t0AA102371B2866B500C0B299 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = MeowTests;\n\t\t\tproductName = MeowTests;\n\t\t\tproductReference = 0AA102351B2866B500C0B299 /* MeowTests.xctest */;\n\t\t\tproductType = \"com.apple.product-type.bundle.unit-test\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0AA102181B2866B500C0B299 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0700;\n\t\t\t\tLastUpgradeCheck = 0630;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0AA1021F1B2866B500C0B299 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.3.2;\n\t\t\t\t\t\tLastSwiftMigration = 1010;\n\t\t\t\t\t};\n\t\t\t\t\t0AA102341B2866B500C0B299 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.3.2;\n\t\t\t\t\t\tLastSwiftMigration = 1010;\n\t\t\t\t\t\tTestTargetID = 0AA1021F1B2866B500C0B299;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0AA1021B1B2866B500C0B299 /* Build configuration list for PBXProject \"Meow\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0AA102171B2866B500C0B299;\n\t\t\tproductRefGroup = 0AA102211B2866B500C0B299 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0AA1021F1B2866B500C0B299 /* Meow */,\n\t\t\t\t0AA102341B2866B500C0B299 /* MeowTests */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0AA1021E1B2866B500C0B299 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA1022B1B2866B500C0B299 /* Main.storyboard in Resources */,\n\t\t\t\t0AA102301B2866B500C0B299 /* LaunchScreen.xib in Resources */,\n\t\t\t\t0AA1022D1B2866B500C0B299 /* Images.xcassets in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA102331B2866B500C0B299 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0AA1021C1B2866B500C0B299 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA102281B2866B500C0B299 /* ViewController.swift in Sources */,\n\t\t\t\t0AA102261B2866B500C0B299 /* AppDelegate.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA102311B2866B500C0B299 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA1023C1B2866B500C0B299 /* MeowTests.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\t0AA102371B2866B500C0B299 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = 0AA1021F1B2866B500C0B299 /* Meow */;\n\t\t\ttargetProxy = 0AA102361B2866B500C0B299 /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin PBXVariantGroup section */\n\t\t0AA102291B2866B500C0B299 /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1022A1B2866B500C0B299 /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA1022E1B2866B500C0B299 /* LaunchScreen.xib */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1022F1B2866B500C0B299 /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.xib;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0AA1023D1B2866B500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_SYMBOLS_PRIVATE_EXTERN = NO;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.3;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA1023E1B2866B500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.3;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0AA102401B2866B500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Meow/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA102411B2866B500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Meow/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0AA102431B2866B500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = MeowTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/Meow.app/Meow\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA102441B2866B500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = MeowTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/Meow.app/Meow\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0AA1021B1B2866B500C0B299 /* Build configuration list for PBXProject \"Meow\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA1023D1B2866B500C0B299 /* Debug */,\n\t\t\t\t0AA1023E1B2866B500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0AA1023F1B2866B500C0B299 /* Build configuration list for PBXNativeTarget \"Meow\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA102401B2866B500C0B299 /* Debug */,\n\t\t\t\t0AA102411B2866B500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0AA102421B2866B500C0B299 /* Build configuration list for PBXNativeTarget \"MeowTests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA102431B2866B500C0B299 /* Debug */,\n\t\t\t\t0AA102441B2866B500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 0AA102181B2866B500C0B299 /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/Meow.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Meow.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/Meow.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/Meow.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/Meow.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0630\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n               BuildableName = \"Meow.app\"\n               BlueprintName = \"Meow\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"NO\"\n            buildForArchiving = \"NO\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102341B2866B500C0B299\"\n               BuildableName = \"MeowTests.xctest\"\n               BlueprintName = \"MeowTests\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      buildConfiguration = \"Debug\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102341B2866B500C0B299\"\n               BuildableName = \"MeowTests.xctest\"\n               BlueprintName = \"MeowTests\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n   </TestAction>\n   <LaunchAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Debug\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Release\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/Meow.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Meow.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0AA1021F1B2866B500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t\t<key>0AA102341B2866B500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/Meow.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Meow.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/Meow.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/Meow.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0700\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n               BuildableName = \"Meow.app\"\n               BlueprintName = \"Meow\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102341B2866B500C0B299\"\n               BuildableName = \"MeowTests.xctest\"\n               BlueprintName = \"MeowTests\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/Meow.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Meow.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0AA1021F1B2866B500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t\t<key>0AA102341B2866B500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/MeowTests/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>kevinzhow.$(PRODUCT_NAME:rfc1034identifier)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>BNDL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_1/MeowTests/MeowTests.swift",
    "content": "//\n//  MeowTests.swift\n//  MeowTests\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport XCTest\n\nclass MeowTests: XCTestCase {\n    \n    override func setUp() {\n        super.setUp()\n        // Put setup code here. This method is called before the invocation of each test method in the class.\n    }\n    \n    override func tearDown() {\n        // Put teardown code here. This method is called after the invocation of each test method in the class.\n        super.tearDown()\n    }\n    \n    func testExample() {\n        // This is an example of a functional test case.\n        XCTAssert(true, \"Pass\")\n    }\n    \n    func testPerformanceExample() {\n        // This is an example of a performance test case.\n        self.measure() {\n            // Put the code you want to measure the time of here.\n        }\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/Meow/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Meow\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/Meow/Base.lproj/LaunchScreen.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"Constraints with non-1.0 multipliers\" minToolsVersion=\"5.1\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\"/>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <view contentMode=\"scaleToFill\" id=\"iN0-l3-epB\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"480\" height=\"480\"/>\n            <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n            <subviews>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"  Copyright (c) 2015年 kevinzhow. All rights reserved.\" textAlignment=\"center\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"9\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"8ie-xW-0ye\">\n                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Meow\" textAlignment=\"center\" lineBreakMode=\"middleTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"18\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"kId-c2-rCX\">\n                    <fontDescription key=\"fontDescription\" type=\"boldSystem\" pointSize=\"36\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n            </subviews>\n            <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n            <constraints>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"centerY\" secondItem=\"iN0-l3-epB\" secondAttribute=\"bottom\" multiplier=\"1/3\" constant=\"1\" id=\"5cJ-9S-tgC\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"kId-c2-rCX\" secondAttribute=\"centerX\" id=\"Koa-jz-hwk\"/>\n                <constraint firstAttribute=\"bottom\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"bottom\" constant=\"20\" id=\"Kzo-t9-V3l\"/>\n                <constraint firstItem=\"8ie-xW-0ye\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"MfP-vx-nX0\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"centerX\" id=\"ZEH-qu-HZ9\"/>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"fvb-Df-36g\"/>\n            </constraints>\n            <nil key=\"simulatedStatusBarMetrics\"/>\n            <freeformSimulatedSizeMetrics key=\"simulatedDestinationMetrics\"/>\n            <point key=\"canvasLocation\" x=\"548\" y=\"455\"/>\n        </view>\n    </objects>\n</document>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/Meow/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"BYZ-38-t0r\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"tne-QT-ifu\">\n            <objects>\n                <viewController id=\"BYZ-38-t0r\" customClass=\"ViewController\" customModule=\"Meow\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"y3c-jy-aDJ\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"wfy-db-euE\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"8bC-Xf-vdC\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <subviews>\n                            <imageView userInteractionEnabled=\"NO\" contentMode=\"scaleToFill\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" image=\"cat_cart\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"l11-PT-MD9\"/>\n                            <imageView userInteractionEnabled=\"NO\" contentMode=\"scaleToFill\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" image=\"cat_eyes\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"LEJ-wm-Mbf\"/>\n                            <imageView userInteractionEnabled=\"NO\" contentMode=\"scaleToFill\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" fixedFrame=\"YES\" image=\"cat_fat\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"dRY-a5-LPi\">\n                                <frame key=\"frameInset\" minX=\"16\" minY=\"20\" width=\"128\" height=\"128\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                            </imageView>\n                        </subviews>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <constraints>\n                            <constraint firstItem=\"LEJ-wm-Mbf\" firstAttribute=\"top\" secondItem=\"l11-PT-MD9\" secondAttribute=\"bottom\" constant=\"36.5\" id=\"415-8b-CXh\"/>\n                            <constraint firstItem=\"l11-PT-MD9\" firstAttribute=\"centerY\" secondItem=\"8bC-Xf-vdC\" secondAttribute=\"centerY\" id=\"7gx-MJ-usC\"/>\n                            <constraint firstItem=\"l11-PT-MD9\" firstAttribute=\"centerX\" secondItem=\"8bC-Xf-vdC\" secondAttribute=\"centerX\" id=\"skf-yT-qbR\"/>\n                            <constraint firstItem=\"l11-PT-MD9\" firstAttribute=\"leading\" secondItem=\"LEJ-wm-Mbf\" secondAttribute=\"trailing\" constant=\"-127.5\" id=\"vSX-Cs-Mnn\"/>\n                        </constraints>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"dkx-z0-nzr\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n        </scene>\n    </scenes>\n    <resources>\n        <image name=\"cat_cart\" width=\"128\" height=\"128\"/>\n        <image name=\"cat_eyes\" width=\"128\" height=\"128\"/>\n        <image name=\"cat_fat\" width=\"128\" height=\"128\"/>\n    </resources>\n</document>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/Meow/Images.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/Meow/Images.xcassets/cat_cart.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"cat_cart.png\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/Meow/Images.xcassets/cat_eyes.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"cat_eyes.png\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/Meow/Images.xcassets/cat_fat.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"2x\",\n      \"filename\" : \"cat_fat.png\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/Meow/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/Meow/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Meow\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/Meow.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0AA102261B2866B500C0B299 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA102251B2866B500C0B299 /* AppDelegate.swift */; };\n\t\t0AA102281B2866B500C0B299 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA102271B2866B500C0B299 /* ViewController.swift */; };\n\t\t0AA1022B1B2866B500C0B299 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0AA102291B2866B500C0B299 /* Main.storyboard */; };\n\t\t0AA1022D1B2866B500C0B299 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0AA1022C1B2866B500C0B299 /* Images.xcassets */; };\n\t\t0AA102301B2866B500C0B299 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 0AA1022E1B2866B500C0B299 /* LaunchScreen.xib */; };\n\t\t0AA1023C1B2866B500C0B299 /* MeowTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA1023B1B2866B500C0B299 /* MeowTests.swift */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\t0AA102361B2866B500C0B299 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 0AA102181B2866B500C0B299 /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 0AA1021F1B2866B500C0B299;\n\t\t\tremoteInfo = Meow;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXFileReference section */\n\t\t0AA102201B2866B500C0B299 /* Meow.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Meow.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0AA102241B2866B500C0B299 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0AA102251B2866B500C0B299 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0AA102271B2866B500C0B299 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0AA1022A1B2866B500C0B299 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0AA1022C1B2866B500C0B299 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = \"<group>\"; };\n\t\t0AA1022F1B2866B500C0B299 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = \"<group>\"; };\n\t\t0AA102351B2866B500C0B299 /* MeowTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MeowTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0AA1023A1B2866B500C0B299 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0AA1023B1B2866B500C0B299 /* MeowTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MeowTests.swift; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0AA1021D1B2866B500C0B299 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA102321B2866B500C0B299 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0AA102171B2866B500C0B299 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102221B2866B500C0B299 /* Meow */,\n\t\t\t\t0AA102381B2866B500C0B299 /* MeowTests */,\n\t\t\t\t0AA102211B2866B500C0B299 /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102211B2866B500C0B299 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102201B2866B500C0B299 /* Meow.app */,\n\t\t\t\t0AA102351B2866B500C0B299 /* MeowTests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102221B2866B500C0B299 /* Meow */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102251B2866B500C0B299 /* AppDelegate.swift */,\n\t\t\t\t0AA102271B2866B500C0B299 /* ViewController.swift */,\n\t\t\t\t0AA102291B2866B500C0B299 /* Main.storyboard */,\n\t\t\t\t0AA1022C1B2866B500C0B299 /* Images.xcassets */,\n\t\t\t\t0AA1022E1B2866B500C0B299 /* LaunchScreen.xib */,\n\t\t\t\t0AA102231B2866B500C0B299 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = Meow;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102231B2866B500C0B299 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102241B2866B500C0B299 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102381B2866B500C0B299 /* MeowTests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1023B1B2866B500C0B299 /* MeowTests.swift */,\n\t\t\t\t0AA102391B2866B500C0B299 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = MeowTests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102391B2866B500C0B299 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1023A1B2866B500C0B299 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0AA1021F1B2866B500C0B299 /* Meow */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0AA1023F1B2866B500C0B299 /* Build configuration list for PBXNativeTarget \"Meow\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0AA1021C1B2866B500C0B299 /* Sources */,\n\t\t\t\t0AA1021D1B2866B500C0B299 /* Frameworks */,\n\t\t\t\t0AA1021E1B2866B500C0B299 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Meow;\n\t\t\tproductName = Meow;\n\t\t\tproductReference = 0AA102201B2866B500C0B299 /* Meow.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n\t\t0AA102341B2866B500C0B299 /* MeowTests */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0AA102421B2866B500C0B299 /* Build configuration list for PBXNativeTarget \"MeowTests\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0AA102311B2866B500C0B299 /* Sources */,\n\t\t\t\t0AA102321B2866B500C0B299 /* Frameworks */,\n\t\t\t\t0AA102331B2866B500C0B299 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\t0AA102371B2866B500C0B299 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = MeowTests;\n\t\t\tproductName = MeowTests;\n\t\t\tproductReference = 0AA102351B2866B500C0B299 /* MeowTests.xctest */;\n\t\t\tproductType = \"com.apple.product-type.bundle.unit-test\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0AA102181B2866B500C0B299 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0700;\n\t\t\t\tLastUpgradeCheck = 1010;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0AA1021F1B2866B500C0B299 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.3.2;\n\t\t\t\t\t\tLastSwiftMigration = 1010;\n\t\t\t\t\t};\n\t\t\t\t\t0AA102341B2866B500C0B299 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.3.2;\n\t\t\t\t\t\tLastSwiftMigration = 1010;\n\t\t\t\t\t\tTestTargetID = 0AA1021F1B2866B500C0B299;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0AA1021B1B2866B500C0B299 /* Build configuration list for PBXProject \"Meow\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0AA102171B2866B500C0B299;\n\t\t\tproductRefGroup = 0AA102211B2866B500C0B299 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0AA1021F1B2866B500C0B299 /* Meow */,\n\t\t\t\t0AA102341B2866B500C0B299 /* MeowTests */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0AA1021E1B2866B500C0B299 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA1022B1B2866B500C0B299 /* Main.storyboard in Resources */,\n\t\t\t\t0AA102301B2866B500C0B299 /* LaunchScreen.xib in Resources */,\n\t\t\t\t0AA1022D1B2866B500C0B299 /* Images.xcassets in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA102331B2866B500C0B299 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0AA1021C1B2866B500C0B299 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA102281B2866B500C0B299 /* ViewController.swift in Sources */,\n\t\t\t\t0AA102261B2866B500C0B299 /* AppDelegate.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA102311B2866B500C0B299 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA1023C1B2866B500C0B299 /* MeowTests.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\t0AA102371B2866B500C0B299 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = 0AA1021F1B2866B500C0B299 /* Meow */;\n\t\t\ttargetProxy = 0AA102361B2866B500C0B299 /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin PBXVariantGroup section */\n\t\t0AA102291B2866B500C0B299 /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1022A1B2866B500C0B299 /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA1022E1B2866B500C0B299 /* LaunchScreen.xib */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1022F1B2866B500C0B299 /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.xib;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0AA1023D1B2866B500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_SYMBOLS_PRIVATE_EXTERN = NO;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.3;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA1023E1B2866B500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.3;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_COMPILATION_MODE = wholemodule;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0AA102401B2866B500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Meow/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"kevinzhow.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA102411B2866B500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Meow/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"kevinzhow.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0AA102431B2866B500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = MeowTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"kevinzhow.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/Meow.app/Meow\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA102441B2866B500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = MeowTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"kevinzhow.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/Meow.app/Meow\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0AA1021B1B2866B500C0B299 /* Build configuration list for PBXProject \"Meow\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA1023D1B2866B500C0B299 /* Debug */,\n\t\t\t\t0AA1023E1B2866B500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0AA1023F1B2866B500C0B299 /* Build configuration list for PBXNativeTarget \"Meow\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA102401B2866B500C0B299 /* Debug */,\n\t\t\t\t0AA102411B2866B500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0AA102421B2866B500C0B299 /* Build configuration list for PBXNativeTarget \"MeowTests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA102431B2866B500C0B299 /* Debug */,\n\t\t\t\t0AA102441B2866B500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 0AA102181B2866B500C0B299 /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/Meow.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Meow.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/Meow.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/Meow.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/Meow.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0630\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n               BuildableName = \"Meow.app\"\n               BlueprintName = \"Meow\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"NO\"\n            buildForArchiving = \"NO\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102341B2866B500C0B299\"\n               BuildableName = \"MeowTests.xctest\"\n               BlueprintName = \"MeowTests\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      buildConfiguration = \"Debug\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102341B2866B500C0B299\"\n               BuildableName = \"MeowTests.xctest\"\n               BlueprintName = \"MeowTests\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n   </TestAction>\n   <LaunchAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Debug\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Release\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/Meow.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Meow.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0AA1021F1B2866B500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t\t<key>0AA102341B2866B500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/Meow.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Meow.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/Meow.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/Meow.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0700\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n               BuildableName = \"Meow.app\"\n               BlueprintName = \"Meow\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102341B2866B500C0B299\"\n               BuildableName = \"MeowTests.xctest\"\n               BlueprintName = \"MeowTests\"\n               ReferencedContainer = \"container:Meow.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1021F1B2866B500C0B299\"\n            BuildableName = \"Meow.app\"\n            BlueprintName = \"Meow\"\n            ReferencedContainer = \"container:Meow.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/Meow.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Meow.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0AA1021F1B2866B500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t\t<key>0AA102341B2866B500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/MeowTests/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>BNDL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/AutoLayout/meow_2/MeowTests/MeowTests.swift",
    "content": "//\n//  MeowTests.swift\n//  MeowTests\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport XCTest\n\nclass MeowTests: XCTestCase {\n    \n    override func setUp() {\n        super.setUp()\n        // Put setup code here. This method is called before the invocation of each test method in the class.\n    }\n    \n    override func tearDown() {\n        // Put teardown code here. This method is called after the invocation of each test method in the class.\n        super.tearDown()\n    }\n    \n    func testExample() {\n        // This is an example of a functional test case.\n        XCTAssert(true, \"Pass\")\n    }\n    \n    func testPerformanceExample() {\n        // This is an example of a performance test case.\n        self.measure() {\n            // Put the code you want to measure the time of here.\n        }\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_0/Diary/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_0/Diary/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_0/Diary/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11134\" systemVersion=\"15F34\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11106\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_0/Diary/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11134\" systemVersion=\"15F34\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"BYZ-38-t0r\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11106\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"tne-QT-ifu\">\n            <objects>\n                <viewController id=\"BYZ-38-t0r\" customClass=\"ViewController\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"y3c-jy-aDJ\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"wfy-db-euE\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"8bC-Xf-vdC\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"dkx-z0-nzr\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_0/Diary/DiaryLabel.swift",
    "content": "//\n//  DiaryLabel.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nfunc sizeHeightWithText(labelText: String,\n                        fontSize: CGFloat,\n                        textAttributes: [NSAttributedString.Key: AnyObject]) -> CGRect {\n    \n    return labelText.boundingRect(\n        with: CGSize(width:fontSize, height:480),\n        options: NSStringDrawingOptions.usesLineFragmentOrigin,\n        attributes: textAttributes, context: nil)\n}\n\nclass DiaryLabel: UILabel {\n    \n    var textAttributes: [NSAttributedString.Key: AnyObject]!\n    \n    convenience init(fontname:String,\n                     labelText:String,\n                     fontSize : CGFloat,\n                     lineHeight: CGFloat){\n        \n        self.init(frame: CGRect(x:0, y:0, width:0, height:0))\n        \n        let font = UIFont(name: fontname,\n                          size: fontSize)\n        \n        let paragraphStyle = NSMutableParagraphStyle()\n        paragraphStyle.lineSpacing = lineHeight\n        \n        textAttributes = [NSAttributedString.Key.font: font!,\n                          NSAttributedString.Key.paragraphStyle: paragraphStyle]\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: fontSize ,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x: 0, y: 0, width: labelSize.width,\n                            height: labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n        self.lineBreakMode = NSLineBreakMode.byCharWrapping\n        self.numberOfLines = 0\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_0/Diary/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_0/Diary/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_0/Diary.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */; };\n\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7381DB2B0F500B4665B /* ViewController.swift */; };\n\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73A1DB2B0F500B4665B /* Main.storyboard */; };\n\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */; };\n\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */; };\n\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Diary.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA73B1DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t0A5EA7401DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLabel.swift; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0A5EA72A1DB2B0F500B4665B = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7351DB2B0F500B4665B /* Diary */,\n\t\t\t\t0A5EA7341DB2B0F500B4665B /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7341DB2B0F500B4665B /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7351DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */,\n\t\t\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */,\n\t\t\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */,\n\t\t\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */,\n\t\t\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */,\n\t\t\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */,\n\t\t\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */,\n\t\t\t);\n\t\t\tpath = Diary;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0A5EA7321DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0A5EA72F1DB2B0F500B4665B /* Sources */,\n\t\t\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */,\n\t\t\t\t0A5EA7311DB2B0F500B4665B /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Diary;\n\t\t\tproductName = Diary;\n\t\t\tproductReference = 0A5EA7331DB2B0F500B4665B /* Diary.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0A5EA72B1DB2B0F500B4665B /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0800;\n\t\t\t\tLastUpgradeCheck = 0800;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0A5EA7321DB2B0F500B4665B = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 8.0;\n\t\t\t\t\t\tProvisioningStyle = Automatic;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0A5EA72A1DB2B0F500B4665B;\n\t\t\tproductRefGroup = 0A5EA7341DB2B0F500B4665B /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0A5EA7321DB2B0F500B4665B /* Diary */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0A5EA7311DB2B0F500B4665B /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */,\n\t\t\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0A5EA72F1DB2B0F500B4665B /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */,\n\t\t\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */,\n\t\t\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA73B1DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7401DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0A5EA7431DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7441DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0A5EA7461DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7471DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7431DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7441DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7461DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7471DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 0A5EA72B1DB2B0F500B4665B /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_0/Diary.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Diary.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_0/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_0/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_1/Diary/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_1/Diary/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_1/Diary/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11134\" systemVersion=\"15F34\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11106\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_1/Diary/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"BYZ-38-t0r\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"tne-QT-ifu\">\n            <objects>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"dkx-z0-nzr\" sceneMemberID=\"firstResponder\"/>\n                <viewController id=\"BYZ-38-t0r\" customClass=\"ViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"y3c-jy-aDJ\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"wfy-db-euE\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"8bC-Xf-vdC\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n            </objects>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_1/Diary/DiaryLabel.swift",
    "content": "//\n//  DiaryLabel.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nfunc sizeHeightWithText(labelText: String,\n                        fontSize: CGFloat,\n                        textAttributes: [NSAttributedString.Key: AnyObject]) -> CGRect {\n    \n    return labelText.boundingRect(\n        with: CGSize(width:fontSize, height:480),\n        options: NSStringDrawingOptions.usesLineFragmentOrigin,\n        attributes: textAttributes, context: nil)\n}\n\nclass DiaryLabel: UILabel {\n    \n    var textAttributes: [NSAttributedString.Key: AnyObject]!\n    \n    convenience init(fontname:String,\n                     labelText:String,\n                     fontSize : CGFloat,\n                     lineHeight: CGFloat){\n        \n        self.init(frame: CGRect(x:0, y:0, width:0, height:0))\n        \n        let font = UIFont(name: fontname,\n                          size: fontSize)\n        \n        let paragraphStyle = NSMutableParagraphStyle()\n        paragraphStyle.lineSpacing = lineHeight\n        \n        textAttributes = [NSAttributedString.Key.font: font!,\n                          NSAttributedString.Key.paragraphStyle: paragraphStyle]\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: fontSize ,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x: 0, y: 0, width: labelSize.width,\n                            height: labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n        self.lineBreakMode = NSLineBreakMode.byCharWrapping\n        self.numberOfLines = 0\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_1/Diary/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UIAppFonts</key>\n\t<array>\n\t\t<string>Wyue-GutiFangsong-NC_deliverable.otf</string>\n\t\t<string>TpldKhangXiDictTrial.otf</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_1/Diary/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_1/Diary.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */; };\n\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7381DB2B0F500B4665B /* ViewController.swift */; };\n\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73A1DB2B0F500B4665B /* Main.storyboard */; };\n\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */; };\n\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */; };\n\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Diary.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA73B1DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t0A5EA7401DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLabel.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = TpldKhangXiDictTrial.otf; sourceTree = \"<group>\"; };\n\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = \"Wyue-GutiFangsong-NC_deliverable.otf\"; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0A5EA72A1DB2B0F500B4665B = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7351DB2B0F500B4665B /* Diary */,\n\t\t\t\t0A5EA7341DB2B0F500B4665B /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7341DB2B0F500B4665B /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7351DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */,\n\t\t\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */,\n\t\t\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */,\n\t\t\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */,\n\t\t\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */,\n\t\t\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */,\n\t\t\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */,\n\t\t\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */,\n\t\t\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */,\n\t\t\t);\n\t\t\tpath = Diary;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0A5EA7321DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0A5EA72F1DB2B0F500B4665B /* Sources */,\n\t\t\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */,\n\t\t\t\t0A5EA7311DB2B0F500B4665B /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Diary;\n\t\t\tproductName = Diary;\n\t\t\tproductReference = 0A5EA7331DB2B0F500B4665B /* Diary.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0A5EA72B1DB2B0F500B4665B /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0800;\n\t\t\t\tLastUpgradeCheck = 0800;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0A5EA7321DB2B0F500B4665B = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 8.0;\n\t\t\t\t\t\tProvisioningStyle = Automatic;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0A5EA72A1DB2B0F500B4665B;\n\t\t\tproductRefGroup = 0A5EA7341DB2B0F500B4665B /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0A5EA7321DB2B0F500B4665B /* Diary */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0A5EA7311DB2B0F500B4665B /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */,\n\t\t\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0A5EA72F1DB2B0F500B4665B /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */,\n\t\t\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */,\n\t\t\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA73B1DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7401DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0A5EA7431DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7441DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0A5EA7461DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7471DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7431DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7441DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7461DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7471DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 0A5EA72B1DB2B0F500B4665B /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_1/Diary.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Diary.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_1/Diary.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_1/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_1/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_1/Diary.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\n// Coredata\nlet appDelegate = UIApplication.shared.delegate as! AppDelegate\n\nlet managedContext = appDelegate.managedObjectContext!\n\nlet itemHeight: CGFloat = 150.0\n// Cell的高度\n\nlet itemWidth: CGFloat = 60\n// Cell的宽度\n\nlet collectionViewWidth = itemWidth * 3\n// 同时显示3个Cell时候\n\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    lazy var managedObjectModel: NSManagedObjectModel = {\n        // 描述数据模型描述文件存储位置\n        let modelURL = Bundle.main.url(forResource: \"Diary\", withExtension: \"momd\")!\n        return NSManagedObjectModel(contentsOf: modelURL)!\n    }()\n    \n    lazy var applicationDocumentsDirectory: URL = {\n        // 数据库文件的存放文件夹\n        let urls = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)\n        return urls[urls.count-1]\n    }()\n\n    lazy var persistentStoreCoordinator: NSPersistentStoreCoordinator? = {\n            // 通过 managedObjectModel 创建持久化管理\n            var coordinator: NSPersistentStoreCoordinator? =\n                NSPersistentStoreCoordinator(managedObjectModel:\n                    self.managedObjectModel)\n            \n            let url = self.applicationDocumentsDirectory.appendingPathComponent(\"Diary.sqlite\")\n            // 设定数据库存储位置\n            \n            var error: NSError? = nil\n            var failureReason = \"载入程序存储的数据出错.\"\n            \n            do {\n                try coordinator!.addPersistentStore(\n                    ofType: NSSQLiteStoreType, configurationName: nil,\n                    at: url, options: nil)\n                // 创建NSSQLiteStoreType类型持久化存储\n            } catch var error1 as NSError {\n                error = error1\n                coordinator = nil\n                // 报告错误\n                var dict = [String: AnyObject]()\n                dict[NSLocalizedDescriptionKey] = \"无法初始化程序存储的数据\" as AnyObject?\n                dict[NSLocalizedFailureReasonErrorKey] = failureReason as AnyObject?\n                dict[NSUnderlyingErrorKey] = error\n                error = NSError(domain: \"YOUR_ERROR_DOMAIN\", code: 9999, userInfo: dict)\n                NSLog(\"发现错误 \\(error), \\(error!.userInfo)\")\n                abort()\n            } catch {\n                fatalError()\n            }\n            \n            return coordinator\n    }()\n    \n    lazy var managedObjectContext: NSManagedObjectContext? = {\n        let coordinator = self.persistentStoreCoordinator\n        if coordinator == nil {\n            return nil\n        }\n        var managedObjectContext = NSManagedObjectContext(concurrencyType: .privateQueueConcurrencyType)\n        managedObjectContext.persistentStoreCoordinator = coordinator\n        return managedObjectContext\n    }()\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"83.5x83.5\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/Assets.xcassets/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/Assets.xcassets/Oval.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/Assets.xcassets/Oval_pressed.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11134\" systemVersion=\"15F34\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11106\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"kL8-Co-z9D\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Navigation Controller-->\n        <scene sceneID=\"nDa-SJ-xz8\">\n            <objects>\n                <navigationController navigationBarHidden=\"YES\" id=\"kL8-Co-z9D\" sceneMemberID=\"viewController\">\n                    <navigationBar key=\"navigationBar\" contentMode=\"scaleToFill\" id=\"4V2-cI-zED\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"44\"/>\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                    </navigationBar>\n                    <connections>\n                        <segue destination=\"jaX-ox-NO1\" kind=\"relationship\" relationship=\"rootViewController\" id=\"0CX-Bs-aYm\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"1ry-uh-1gv\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-842\" y=\"152\"/>\n        </scene>\n        <!--Home Collection View Controller-->\n        <scene sceneID=\"xp1-EX-i1t\">\n            <objects>\n                <collectionViewController id=\"jaX-ox-NO1\" customClass=\"HomeCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" dataMode=\"prototypes\" id=\"jrI-Dn-xWe\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"uYL-dk-pKl\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"HomeYearCollectionViewCell\" id=\"X1f-9B-ji3\" customClass=\"HomeYearCollectionViewCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                                <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"jaX-ox-NO1\" id=\"tJv-Ng-uBS\"/>\n                            <outlet property=\"delegate\" destination=\"jaX-ox-NO1\" id=\"pGg-Wa-sLv\"/>\n                        </connections>\n                    </collectionView>\n                    <navigationItem key=\"navigationItem\" id=\"DQv-Sc-DbJ\"/>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"5jE-Hq-jF5\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"138\" y=\"152\"/>\n        </scene>\n        <!--Diary Compose View Controller-->\n        <scene sceneID=\"30A-tU-xe3\">\n            <objects>\n                <viewController storyboardIdentifier=\"DiaryComposeViewController\" id=\"Lw3-Dp-s4h\" customClass=\"DiaryComposeViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"lty-ru-RuT\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"o7k-nX-8BY\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"tH5-OA-VDh\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"ZP3-Oz-N2G\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"1040\" y=\"150\"/>\n        </scene>\n        <!--Diary Year Collection View Controller-->\n        <scene sceneID=\"F2G-6G-oBr\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryYearCollectionViewController\" id=\"elp-wf-O6L\" customClass=\"DiaryYearCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" dataMode=\"prototypes\" id=\"asJ-Z6-Zee\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"nGJ-sA-rbK\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"0Z6-TY-W0M\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"elp-wf-O6L\" id=\"EFu-fn-B84\"/>\n                            <outlet property=\"delegate\" destination=\"elp-wf-O6L\" id=\"7hi-JI-sT1\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"BPC-13-fQY\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"149\" y=\"821\"/>\n        </scene>\n        <!--Diary View Controller-->\n        <scene sceneID=\"BjS-7b-Eyl\">\n            <objects>\n                <viewController storyboardIdentifier=\"DiaryViewController\" id=\"QKX-Fb-wxn\" customClass=\"DiaryViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"AAU-SN-0d6\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"tWJ-A9-fhk\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"v0x-Hm-WjW\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"w4w-Lh-gqk\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"1063\" y=\"855\"/>\n        </scene>\n        <!--Diary Month Collection View Controller-->\n        <scene sceneID=\"Esa-e4-hlZ\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryMonthCollectionViewController\" id=\"9xo-Dc-H11\" customClass=\"DiaryMonthCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" dataMode=\"prototypes\" id=\"3bk-qG-x6G\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"8hv-Df-784\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"n44-bA-yeZ\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"9xo-Dc-H11\" id=\"Le6-7L-8hY\"/>\n                            <outlet property=\"delegate\" destination=\"9xo-Dc-H11\" id=\"HvU-i0-eXq\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"fEk-Yk-ztQ\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"162\" y=\"1504\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/Diary.xcdatamodeld/Diary.xcdatamodel/contents",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<model type=\"com.apple.IDECoreDataModeler.DataModel\" documentVersion=\"1.0\" lastSavedToolsVersion=\"14460.32\" systemVersion=\"18D42\" minimumToolsVersion=\"Automatic\" sourceLanguage=\"Swift\" userDefinedModelVersionIdentifier=\"\">\n    <entity name=\"Diary\" representedClassName=\"Diary\" syncable=\"YES\" codeGenerationType=\"class\">\n        <attribute name=\"content\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"created_at\" optional=\"YES\" attributeType=\"Date\" usesScalarValueType=\"NO\" syncable=\"YES\"/>\n        <attribute name=\"location\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"month\" optional=\"YES\" attributeType=\"Integer 32\" defaultValueString=\"0\" usesScalarValueType=\"YES\" syncable=\"YES\"/>\n        <attribute name=\"title\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"year\" optional=\"YES\" attributeType=\"Integer 32\" defaultValueString=\"0\" usesScalarValueType=\"YES\" syncable=\"YES\"/>\n    </entity>\n    <elements>\n        <element name=\"Diary\" positionX=\"-63\" positionY=\"-18\" width=\"128\" height=\"135\"/>\n    </elements>\n</model>"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/DiaryAnimator.swift",
    "content": "//\n//  DiaryAnimator.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryAnimator: NSObject, UIViewControllerAnimatedTransitioning {\n    \n    var operation: UINavigationController.Operation!\n    \n    // 转场时长\n    \n    func transitionDuration(using transitionContext:\n        UIViewControllerContextTransitioning?) -> TimeInterval {\n        return 0.4\n    }\n    \n    func animateTransition(using transitionContext:\n        UIViewControllerContextTransitioning)\n    {\n        \n        // 获取转场舞台\n        let containerView = transitionContext.containerView\n        \n        let fromVC = transitionContext.viewController(\n            forKey: UITransitionContextViewControllerKey.from)\n        \n        // 获取从哪个场景开始转\n        let fromView = fromVC!.view\n        \n        let toVC = transitionContext.viewController(\n            forKey: UITransitionContextViewControllerKey.to)\n        \n        // 获取要转去哪个场景\n        let toView = toVC!.view\n        \n        // 设置新场景透明度\n        toView?.alpha = 0.0\n        \n        // UINavigationControllerOperation.Pop用来判断是转入还是转出\n        if operation ==  UINavigationController.Operation.pop {\n            // 如果是返回旧场景，那么设置要转入的场景初始缩放为原始大小\n            toView?.transform = CGAffineTransform(scaleX: 1.0,y: 1.0)\n        }else{\n            // 如果是转到新场景，设置新场景初始缩放为0.3\n            toView?.transform = CGAffineTransform(scaleX: 0.3,y: 0.3);\n        }\n        \n        // 在舞台上插入场景\n        containerView.insertSubview(toView!, aboveSubview: fromView!)\n        \n        UIView.animate(\n            withDuration: transitionDuration(using: transitionContext),\n            delay: 0,\n            options: UIView.AnimationOptions.curveEaseInOut,\n            animations:\n            {\n                if self.operation ==  UINavigationController.Operation.pop {\n                    // 放大要转出的场景\n                    fromView?.transform = CGAffineTransform(scaleX: 3.3,y: 3.3)\n                } else {\n                    // 设置新场景为原始大小\n                    toView?.transform = CGAffineTransform(scaleX: 1.0,y: 1.0)\n                }\n                \n                toView?.alpha = 1.0\n                \n        }, completion: { finished in\n            \n            // 通知NavigationController已经完成转场\n            transitionContext.completeTransition(true)\n            \n        })\n        \n        \n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/DiaryCell.swift",
    "content": "//\n//  DiaryCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/DiaryComposeViewController.swift",
    "content": "//\n//  DiaryComposeViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nlet titleTextViewHeight:CGFloat = 30.0\nlet contentMargin:CGFloat = 20.0\n\nvar defaultFont = \"Wyue-GutiFangsong-NC\"\nlet DiaryFont = UIFont(name: defaultFont, size: 18)!\nlet DiaryLocationFont = UIFont(name: defaultFont, size: 16)!\nlet DiaryTitleFont = UIFont(name: defaultFont, size: 18)!\n\nclass DiaryComposeViewController: UIViewController {\n    var diary: Diary?\n    var composeView:UITextView!\n    var locationTextView:UITextView!\n    var titleTextView:UITextView!\n    var finishButton:UIButton!\n    var keyboardSize:CGSize = CGSize(width: 0, height: 0)\n    var locationHelper: DiaryLocationHelper = DiaryLocationHelper()\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        // 创建正文输入框\n        composeView = UITextView(frame: CGRect(x: 0, y: contentMargin + titleTextViewHeight, width: screenSize.width, height: screenSize.height))\n        composeView.font = DiaryFont\n        composeView.isEditable = true\n        composeView.isUserInteractionEnabled = true\n        composeView.textContainerInset = UIEdgeInsets(top: contentMargin, left: contentMargin, bottom: contentMargin, right: contentMargin)\n        \n        // 创建地址输入框\n        locationTextView = UITextView(frame: CGRect(x: 0, y: composeView.frame.size.height - 30.0, width: screenSize.width - 60.0, height: 30.0))\n        locationTextView.font = DiaryLocationFont\n        locationTextView.isEditable = true\n        locationTextView.isUserInteractionEnabled = true\n        locationTextView.bounces = false\n        \n        // 创建标题输入框\n        \n        titleTextView = UITextView(frame: CGRect(x: contentMargin, y: contentMargin/2, width: screenSize.width - 60.0, height: titleTextViewHeight))\n        titleTextView.font = DiaryTitleFont\n        titleTextView.isEditable = true\n        titleTextView.isUserInteractionEnabled = true\n        titleTextView.bounces = false\n\n        self.view.addSubview(composeView)\n        \n        self.view.addSubview(locationTextView)\n        \n        self.view.addSubview(titleTextView)\n        \n        if let diary = diary {\n            composeView.text = diary.content\n\n            locationTextView.text = diary.location\n            if let title = diary.title {\n                titleTextView.text = title\n            }\n        }\n\n        \n        // 创建完成按钮\n        finishButton = diaryButtonWith(text: \"完\",  fontSize: 18.0,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        finishButton.center = CGPoint(x: screenSize.width - 20, y: screenSize.height - 30)\n        \n        self.view.addSubview(finishButton)\n        \n        \n        self.finishButton.center = CGPoint(x: self.view.frame.width - self.finishButton.frame.size.height/2.0 - 10, y: self.view.frame.height  - self.finishButton.frame.size.height/2.0 - 10)\n        \n        self.finishButton.addTarget(self, action: #selector(finishCompose(_:)), for: UIControl.Event.touchUpInside)\n        \n        self.locationTextView.center = CGPoint(x: self.locationTextView.frame.size.width/2.0 + 20.0, y: self.finishButton.center.y)\n        \n        // 监听键盘事件\n        \n        NotificationCenter.default.addObserver(self, selector: #selector(keyboardDidShow(_:)), name: UIWindow.keyboardDidShowNotification, object: nil)\n        \n        NotificationCenter.default.addObserver(self, selector: #selector(updateAddress(_:)), name: NSNotification.Name(rawValue: \"DiaryLocationUpdated\"), object: nil)\n\n    }\n    \n    @objc func finishCompose(_ button: UIButton) {\n        // 取消输入框的编辑状态，收起键盘\n        \n        self.composeView.endEditing(true)\n        self.locationTextView.endEditing(true)\n        \n        // 确保有文字内容才保存\n        if (composeView.text.lengthOfBytes(using: String.Encoding.utf8) > 1){\n            \n            // 如果是修改 Diary，则保存到原日记中\n            if let diary = diary {\n                \n                diary.content = composeView.text\n                diary.location = locationTextView.text\n                diary.title = titleTextView.text\n                \n                \n            }else{\n                \n                let entity =  NSEntityDescription.entity(forEntityName: \"Diary\", in: managedContext)\n                \n                let newdiary = Diary(entity: entity!,\n                                     insertInto:managedContext)\n                newdiary.content = composeView.text\n                \n                if let address  = locationHelper.address {\n                    newdiary.location = address\n                }\n                \n                if let title = titleTextView.text {\n                    newdiary.title = title\n                }\n                \n                \n                newdiary.updateTimeWithDate(Date())\n            }\n            \n            do {\n                try managedContext.save()\n            } catch let error as NSError {\n                print(\"Could not save \\(error.description)\")\n            }\n            \n        }\n        \n        self.dismiss(animated: true, completion: nil)\n    }\n\n    \n    @objc func updateAddress(_ notification: Notification) {\n        \n        if let address = notification.object as? String {\n            \n            locationTextView.text = \"于 \\(address)\"\n            \n            locationHelper.locationManager.stopUpdatingLocation()\n        }\n        \n    }\n    \n    @objc func keyboardDidShow(_ notification: Notification) {\n        // 取出键盘的高度\n        if let rectValue = (notification as NSNotification).userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? NSValue {\n            keyboardSize = rectValue.cgRectValue.size\n            \n            //更新完成按钮和地址输入框的位置\n            updateTextViewSizeForKeyboardHeight(keyboardSize.height)\n        }\n    }\n    \n    \n    func updateTextViewSizeForKeyboardHeight(_ keyboardHeight: CGFloat) {\n        \n        let newKeyboardHeight = keyboardHeight\n        \n        UIView.animate(withDuration: 1.0, delay: 0, options: UIView.AnimationOptions(), animations:\n            {\n                if (self.locationTextView.text == nil) {\n                    self.composeView.frame = CGRect(x: 0, y: 0, width: self.view.frame.width, height: self.view.frame.height - newKeyboardHeight)\n                }else{\n                    self.composeView.frame = CGRect(x: 0, y: contentMargin + titleTextViewHeight, width: self.composeView.frame.size.width,  height: self.view.frame.height - newKeyboardHeight - 40.0 - self.finishButton.frame.size.height/2.0 - (contentMargin + titleTextViewHeight))\n                }\n                \n                self.finishButton.center = CGPoint(x: self.view.frame.width - self.finishButton.frame.size.height/2.0 - 10, y: self.view.frame.height - newKeyboardHeight - self.finishButton.frame.size.height/2.0 - 10)\n                \n                \n                self.locationTextView.center = CGPoint(x: self.locationTextView.frame.size.width/2.0 + 20.0, y: self.finishButton.center.y)\n                \n            }, completion: nil)\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/DiaryLabel.swift",
    "content": "//\n//  DiaryLabel.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nfunc sizeHeightWithText(labelText: String,\n                        fontSize: CGFloat,\n                        textAttributes: [NSAttributedString.Key: AnyObject]) -> CGRect {\n    \n    return labelText.boundingRect(\n        with: CGSize(width:fontSize, height:480),\n        options: NSStringDrawingOptions.usesLineFragmentOrigin,\n        attributes: textAttributes, context: nil)\n}\n\nclass DiaryLabel: UILabel {\n    \n    var textAttributes: [NSAttributedString.Key: AnyObject]!\n    \n    convenience init(fontname:String,\n                     labelText:String,\n                     fontSize : CGFloat,\n                     lineHeight: CGFloat,\n                     color: UIColor){\n        \n        self.init(frame: CGRect(x:0, y:0, width:0, height:0))\n        \n        let font = UIFont(name: fontname,\n                          size: fontSize)\n        \n        let paragraphStyle = NSMutableParagraphStyle()\n        paragraphStyle.lineSpacing = lineHeight\n        \n        textAttributes = [NSAttributedString.Key.font: font!,\n                          NSAttributedString.Key.foregroundColor: color,\n                          NSAttributedString.Key.paragraphStyle: paragraphStyle]\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: fontSize ,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x: 0, y: 0, width: labelSize.width,\n                            height: labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n        self.lineBreakMode = NSLineBreakMode.byCharWrapping\n        self.numberOfLines = 0\n    }\n    \n    func updateText(labelText: String) {\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: self.font.pointSize,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x:0,y: 0, width:labelSize.width,\n                            height:labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/DiaryLayout.swift",
    "content": "//\n//  DiaryLayout.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nlet screenSize = UIWindow().screen.bounds\n\nclass DiaryLayout: UICollectionViewFlowLayout {\n    override func prepare() {\n        super.prepare() //准备布局\n        // Cell 大小\n        let itemSize = CGSize(width: itemWidth,height: itemHeight)\n        self.itemSize = itemSize\n        // Cell 左右间距\n        self.minimumInteritemSpacing = 0.0\n        // Cell 行间距\n        self.minimumLineSpacing = 0\n        // 增加内嵌\n        self.sectionInset = UIEdgeInsets(top: (screenSize.height/2.0) - (itemHeight/2.0), left: (screenSize.width/2.0) - (itemWidth/2.0), bottom: (screenSize.height/2.0) - (itemHeight/2.0), right: (screenSize.height/2.0) - (itemHeight/2.0))\n        \n        // 滚动方向\n        scrollDirection = UICollectionView.ScrollDirection.horizontal\n    }\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/DiaryLocationHelper.swift",
    "content": "//\n//  DiaryLocationHelper.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport CoreLocation\n\nclass DiaryLocationHelper: NSObject, CLLocationManagerDelegate {\n    \n    var locationManager:CLLocationManager = CLLocationManager()\n    var currentLocation:CLLocation?\n    var address:String?\n    var geocoder = CLGeocoder()\n    \n    override init() {\n        super.init()\n        // 设置委托\n        locationManager.delegate = self\n        // 请求位置授权\n        locationManager.requestWhenInUseAuthorization()\n        if (CLLocationManager.locationServicesEnabled()){\n            //开始获取位置\n            locationManager.startUpdatingLocation()\n        }\n    }\n    \n    func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {\n        // 根据经纬度查询位置名称\n        geocoder.reverseGeocodeLocation(locations[0], completionHandler: { (placemarks, error) in\n            \n            if let error = error {\n                print(\"查询失败: \\(error.localizedDescription)\")\n            }\n            \n            // placemarks里包括了位置的国家、省份、地区等信息\n            if let pm = placemarks {\n                if pm.count > 0 {\n                    \n                    let placemark = pm.first\n                    \n                    self.address = placemark?.locality\n                    \n                    // 广播位置信息\n                    NotificationCenter.default.post(name: Notification.Name(rawValue: \"DiaryLocationUpdated\"), object: self.address)\n                }\n            }\n            \n        })\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/DiaryMonthCollectionViewController.swift",
    "content": "//\n//  DiaryMonthCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nlet DiaryRed = UIColor(red: 192.0/255.0, green: 23/255.0, blue: 48.0/255.0, alpha: 1)\n\nclass DiaryMonthCollectionViewController: UICollectionViewController {\n    var year: Int!\n    var month: Int!\n    var yearLabel: DiaryLabel!\n    var monthLabel: DiaryLabel!\n    var fetchedResultsController : NSFetchedResultsController<Diary>!\n    var diarys = [Diary]()\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n        \n        yearLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: \"二零一五年\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n\n        yearLabel.frame = CGRect(x: screenSize.width - yearLabel.frame.size.width - 20, y: 20, width: yearLabel.frame.size.width, height: yearLabel.frame.size.height)\n        \n        self.view.addSubview(yearLabel)\n        \n        monthLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: \"三月\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: DiaryRed)\n\n        monthLabel.frame = CGRect(x: screenSize.width - monthLabel.frame.size.width - 20, y: screenSize.height/2.0 - monthLabel.frame.size.height/2.0, width: monthLabel.frame.size.width, height: monthLabel.frame.size.height)\n        \n        self.view.addSubview(monthLabel)\n        \n        \n        // 添加按钮\n        \n        let composeButton = diaryButtonWith(text: \"撰\",\n                                            fontSize: 14.0,\n                                            width: 40.0,\n                                            normalImageName: \"Oval\",\n                                            highlightedImageName: \"Oval_pressed\")\n        \n        composeButton.center = CGPoint(x: yearLabel.center.x,\n                                       y: 38 + yearLabel.frame.size.height + 26.0/2.0)\n        \n        composeButton.addTarget(self, action: #selector(newCompose),\n                                for: UIControl.Event.touchUpInside)\n        \n        self.view.addSubview(composeButton)\n        \n        // 查询数据\n        \n        do {\n            // 新建查询\n            let fetchRequest = NSFetchRequest<Diary>(entityName:\"Diary\")\n            \n            // 增加过滤条件\n            fetchRequest.predicate = NSPredicate(format:\"year = \\(year!) AND month = \\(month!)\")\n            \n            // 排序方式\n            fetchRequest.sortDescriptors = [NSSortDescriptor(key: \"created_at\", ascending: true)]\n            \n            fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest,\n                                                                  managedObjectContext: managedContext, sectionNameKeyPath: nil,\n                                                                  cacheName: nil)\n            \n            // 建立委托关系\n            fetchedResultsController.delegate = self\n            \n            // 尝试查询\n            try self.fetchedResultsController.performFetch()\n            \n            \n            if (fetchedResultsController.fetchedObjects!.count == 0){\n                print(\"没有存储结果\")\n            }else{\n                diarys = fetchedResultsController.fetchedObjects!\n            }\n            \n        } catch let error as NSError {\n            NSLog(\"发现错误 \\(error.localizedDescription)\")\n        }\n    \n    }\n    \n    @objc func newCompose() {\n        \n        let identifier = \"DiaryComposeViewController\"\n        \n        let composeViewController = self.storyboard?.instantiateViewController(withIdentifier: identifier)\n            as! DiaryComposeViewController\n        \n        self.present(composeViewController,\n                                   animated: true,\n                                   completion: nil)\n        \n    }\n\n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return 1\n    }\n    \n    \n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return diarys.count\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        let diary = diarys[indexPath.row]\n        \n        cell.labelText = diary.title!\n        \n        return cell\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: \"DiaryViewController\") as! DiaryViewController\n        \n        dvc.diary = diarys[indexPath.row]\n        \n        self.navigationController!.pushViewController(dvc, animated: true)\n        \n    }\n    \n}\n\nextension DiaryMonthCollectionViewController: NSFetchedResultsControllerDelegate {\n    \n    // 响应数据变化\n    func controller(_ controller: NSFetchedResultsController<NSFetchRequestResult>, didChange anObject: Any, at indexPath: IndexPath?, for type: NSFetchedResultsChangeType, newIndexPath: IndexPath?) {\n        \n        // 重置数据源\n        diarys = controller.fetchedObjects! as! [Diary]\n        // 重载数据\n        self.collectionView?.reloadData()\n        // 更新布局\n        self.collectionView?.setCollectionViewLayout(DiaryLayout(), animated: false)\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/DiaryTemplate.html",
    "content": "<!DOCTYPE html>\n<html>\n  <head>\n    <meta charset=\"utf-8\">\n    <meta name=\"viewport\" content=\"width=device-width; initial-scale=1.0; maximum-scale=1.0;\">\n    <title></title>\n    <style>\n        body { padding: 0px; background-color: white;}\n      * {\n        -webkit-text-size-adjust: 100%;\n        margin:0;\n        font-family: '#fontStr#';\n        -webkit-writing-mode: vertical-rl;\n        letter-spacing: 3px;\n        }\n    .content { min-width: #minWidth#px; margin-right: #contentMargin#px;}\n      .content p { font-size: 12pt; line-height: 24pt;}\n      .title {\n        font-size: 12pt;\n        font-weight:bold;\n        line-height: 24pt;\n        margin-right: #titleMarginRight#px;\n        padding-left: 20px;\n        }\n      .extra{\n        font-size:12pt;\n        line-height: 24pt;\n        margin-right:30px;\n      }\n      .container {\n        padding:25px 10px 25px 25px;\n      }\n\n      .stamp {\n        width:24px;\n        height:auto;\n        position:fixed;\n        bottom:20px;\n      }\n\n    </style>\n  </head>\n   <body>\n     <div class=\"container\">\n         #title#\n       <div class=\"content\">\n           <p>#newDiaryString#</p>\n       </div>\n       <div class=\"extra\">\n           #location#<br>#timeString#\n       </div>\n     </div>\n   </body>\n   </html>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/DiaryViewController.swift",
    "content": "//\n//  DiaryViewController.swift\n//  Diary\n//\n//  Created by kevinzhow on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryViewController: UIViewController {\n    var diary:Diary!\n    \n    var webview: UIWebView!\n    \n    var saveButton:UIButton!\n    \n    var deleteButton:UIButton!\n    \n    var editButton:UIButton!\n    \n    var buttonsView:UIView!\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        setupUI()\n        showButtons()\n        \n    }\n    \n    func setupUI() {\n        webview = UIWebView(frame: CGRect(x: 0,y: 0, width: self.view.frame.size.width, height: self.view.frame.size.height))\n        \n        webview.scrollView.bounces = true\n        \n        webview.backgroundColor = UIColor.white\n        \n        self.view.addSubview(self.webview)\n        \n        // 读取模板的内容\n        let mainHTML = Bundle.main.url(forResource: \"DiaryTemplate\", withExtension:\"html\")\n        var contents: NSString = \"\"\n        \n        do {\n            contents = try NSString(contentsOfFile: mainHTML!.path, encoding: String.Encoding.utf8.rawValue)\n        } catch let error as NSError {\n            print(error)\n        }\n        \n        // 生成年的整数类型\n        let year = (Calendar.current as NSCalendar).component(NSCalendar.Unit.year, from: diary.created_at!)\n        \n        // 生成月的整数类型\n        let month = (Calendar.current as NSCalendar).component(NSCalendar.Unit.month, from: diary.created_at!)\n        \n        // 生成日的整数类型\n        let day = (Calendar.current as NSCalendar).component(NSCalendar.Unit.day, from: diary.created_at!)\n        \n        let timeString = \"\\(numberToChinese(year))年 \\(numberToChineseWithUnit(month))月 \\(numberToChineseWithUnit(day))日\"\n        \n        // 替换字符串\n        contents = contents.replacingOccurrences(of: \"#timeString#\", with: timeString) as NSString\n        \n        let newDiaryString = diary.content?.replacingOccurrences(of: \"\\n\", with: \"<br>\", options: NSString.CompareOptions.literal, range: nil)\n        \n        contents = contents.replacingOccurrences(of: \"#newDiaryString#\", with: newDiaryString!) as NSString\n        \n        var title = \"\"\n        var contentWidthOffset = 140\n        var contentMargin:CGFloat = 10\n        \n        if let titleStr = diary?.title {\n            let parsedTime = \"\\(numberToChineseWithUnit((Calendar.current as NSCalendar).component(NSCalendar.Unit.day, from: diary.created_at!))) 日\"\n            if titleStr != parsedTime {\n                title = titleStr\n                contentWidthOffset = 205\n                contentMargin = 10\n                title = \"<div class='title'>\\(title)</div>\"\n            }\n        }\n        \n        contents = contents.replacingOccurrences(of: \"#contentMargin#\", with: \"\\(contentMargin)\") as NSString\n        \n        contents = contents.replacingOccurrences(of: \"#title#\", with: title) as NSString\n        \n        let minWidth = self.view.frame.size.width - CGFloat(contentWidthOffset)\n        \n        contents = contents.replacingOccurrences(of: \"#minWidth#\", with: \"\\(minWidth)\") as NSString\n        \n        let fontStr = defaultFont\n        \n        contents = contents.replacingOccurrences(of: \"#fontStr#\", with: fontStr) as NSString\n        \n        let titleMarginRight:CGFloat = 15\n        \n        contents = contents.replacingOccurrences(of: \"#titleMarginRight#\", with: \"\\(titleMarginRight)\") as NSString\n        \n        if let location = diary.location {\n            contents = contents.replacingOccurrences(of: \"#location#\", with: location) as NSString\n        } else {\n            contents = contents.replacingOccurrences(of: \"#location#\", with: \"\") as NSString\n        }\n        \n        \n        webview.loadHTMLString(contents as String, baseURL: nil)\n        \n        // 添加存改删按钮\n        \n        buttonsView = UIView(frame: CGRect(x: 0, y: screenSize.height, width: screenSize.width, height: 80.0))\n        buttonsView.backgroundColor = UIColor.clear\n        buttonsView.alpha = 0.0\n        \n        let buttonFontSize:CGFloat = 18.0\n        \n        saveButton = diaryButtonWith(text: \"存\",  fontSize: buttonFontSize,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        saveButton.center = CGPoint(x: buttonsView.frame.width/2.0, y: buttonsView.frame.height/2.0)\n        \n        saveButton.addTarget(self, action: #selector(saveToRoll), for: UIControl.Event.touchUpInside)\n        \n        buttonsView.addSubview(saveButton)\n        \n        \n        editButton = diaryButtonWith(text: \"改\",  fontSize: buttonFontSize,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        editButton.center = CGPoint(x: saveButton.center.x - 56.0, y: saveButton.center.y)\n        \n        editButton.addTarget(self, action: #selector(editDiary), for: UIControl.Event.touchUpInside)\n        \n        buttonsView.addSubview(editButton)\n        \n        deleteButton = diaryButtonWith(text: \"刪\",  fontSize: buttonFontSize,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        deleteButton.center = CGPoint(x: saveButton.center.x + 56.0, y: saveButton.center.y)\n        \n        deleteButton.addTarget(self, action: #selector(deleteThisDiary), for: UIControl.Event.touchUpInside)\n        \n        buttonsView.addSubview(deleteButton)\n        \n        self.view.addSubview(buttonsView)\n        \n        // 切换按钮的显示状态\n        let mTapUpRecognizer = UITapGestureRecognizer(target: self, action: #selector(showButtons))\n        mTapUpRecognizer.numberOfTapsRequired = 1\n        mTapUpRecognizer.delegate = self\n        self.webview.addGestureRecognizer(mTapUpRecognizer)\n\n        \n    }\n    \n    @objc func showButtons() {\n        \n        if(buttonsView.alpha == 0.0) {\n            UIView.animate(withDuration: 0.2, delay: 0, options: UIView.AnimationOptions(), animations:\n                {\n                    self.buttonsView.center = CGPoint(x: self.buttonsView.center.x, y: screenSize.height - self.buttonsView.frame.size.height/2.0)\n                    self.buttonsView.alpha = 1.0\n                    \n                }, completion: nil)\n            \n        }else{\n            \n            UIView.animate(withDuration: 0.1, delay: 0, options: UIView.AnimationOptions(), animations:\n                {\n                    self.buttonsView.center = CGPoint(x: self.buttonsView.center.x, y: screenSize.height + self.buttonsView.frame.size.height/2.0)\n                    self.buttonsView.alpha = 0.0\n                }, completion: nil)\n            \n        }\n    }\n    \n    @objc func editDiary() {\n        let composeViewController = self.storyboard?.instantiateViewController(withIdentifier: \"DiaryComposeViewController\") as! DiaryComposeViewController\n        \n        if let diary = diary {\n            \n            composeViewController.diary = diary\n        }\n        \n        self.present(composeViewController, animated: true, completion: nil)\n    }\n    \n    @objc func saveToRoll() {\n        \n        let offset = self.webview.scrollView.contentOffset.x\n        \n        // 针对 WebView 截图\n        let image =  webview.captureView()\n        \n        self.webview.scrollView.contentOffset.x = offset\n        \n        // 创建分享对象\n        var sharingItems = [AnyObject]()\n        \n        // 给分享对象插入图片\n        sharingItems.append(image)\n        \n        // 初始化分享组件\n        let activityViewController = UIActivityViewController(activityItems: sharingItems, applicationActivities: nil)\n        activityViewController.popoverPresentationController?.sourceView = self.saveButton\n        \n        // 现实分享组件\n        self.present(activityViewController, animated: true, completion: nil)\n        \n    }\n    \n    \n    @objc func deleteThisDiary() {\n        managedContext.delete(diary)\n        do {\n            try managedContext.save()\n        } catch _ {\n        }\n        hideDiary()\n    }\n    \n    func hideDiary() {\n        self.navigationController?.popViewController(animated: true)\n    }\n    \n}\n\nextension DiaryViewController: UIGestureRecognizerDelegate {\n    func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {\n        \n        return true\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/DiaryYearCollectionViewController.swift",
    "content": "//\n//  DiaryYearCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nclass DiaryYearCollectionViewController: UICollectionViewController {\n    var year: Int!\n    var diarys = [Diary]()\n    var fetchedResultsController : NSFetchedResultsController<Diary>!\n    var monthCount: Int = 1\n    var sectionsCount: Int = 0\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n        \n        do {\n            // 新建查询\n            let fetchRequest = NSFetchRequest<Diary>(entityName:\"Diary\")\n            \n            // 增加过滤条件\n            fetchRequest.predicate = NSPredicate(format:\"year = \\(year!)\")\n            \n            // 排序方式\n            fetchRequest.sortDescriptors = [NSSortDescriptor(key: \"created_at\", ascending: true)]\n            \n            fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest,\n                                                                  managedObjectContext: managedContext, sectionNameKeyPath: \"month\",\n                                                                  cacheName: nil)\n            \n            // 尝试查询\n            try self.fetchedResultsController.performFetch()\n            \n            if (fetchedResultsController.fetchedObjects!.count == 0){\n                print(\"没有存储结果\")\n            }else{\n                \n                if let sectionsCount = fetchedResultsController.sections?.count {\n                    \n                    monthCount = sectionsCount\n                    diarys = fetchedResultsController.fetchedObjects!\n                    \n                }else {\n                    sectionsCount = 0\n                    monthCount = 1\n                }\n            }\n            \n        } catch let error as NSError {\n            NSLog(\"发现错误 \\(error.localizedDescription)\")\n        }\n\n    }\n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return monthCount\n    }\n\n\n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        // 获取当前月份\n        let components = Calendar.current.component(Calendar.Component.month, from: Date())\n        var month = components\n        \n        if sectionsCount > 0 {\n            // 如果程序内有保存的日记，就使用保存的日记的月份\n            let sectionInfo = fetchedResultsController.sections![indexPath.section]\n            print(\"分组信息 \\(sectionInfo.name)\")\n            month = Int(sectionInfo.name)!\n        }\n        \n        cell.textInt = month\n        cell.labelText = \"\\(numberToChinese(cell.textInt)) 月\"\n        \n        // Configure the cell\n        \n        return cell\n\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryMonthCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryMonthCollectionViewController // 获取 DiaryMonthCollectionViewController\n        \n        // 获取当前月份\n        let components = Calendar.current.component(Calendar.Component.month, from: Date())\n        var month = components\n        \n        if sectionsCount > 0 {\n            // 如果程序内有保存的日记，就使用保存的日记的月份\n            let sectionInfo = fetchedResultsController.sections![indexPath.section]\n            print(\"分组信息 \\(sectionInfo.name)\")\n            month = Int(sectionInfo.name)!\n        }\n        // 指定是 2015 年的 1 月份\n        dvc.month = month\n        dvc.year = year\n        \n        // 页面跳转\n        self.navigationController!.pushViewController(dvc, animated: true)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/Helper.swift",
    "content": "//\n//  Helper.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nextension Diary {\n    \n    func updateTimeWithDate(_ date: Date){\n        self.created_at = date\n        self.year = Int32(Calendar.current.component(Calendar.Component.year, from: date))\n        self.month = Int32(Calendar.current.component(Calendar.Component.month, from: date))\n    }\n    \n}\n\nextension UIWebView {\n    \n    func captureView() -> UIImage{\n        \n        // 存储初始大小\n        let tmpFrame = self.frame\n        \n        // 新的 Frame\n        \n        var aFrame = self.frame\n        \n        aFrame.size.width = self.sizeThatFits(UIScreen.main.bounds.size).width\n        \n        // 展开 Frame\n        self.frame = aFrame\n        \n        // 初始化 ImageContext\n        UIGraphicsBeginImageContextWithOptions(\n            self.sizeThatFits(UIScreen.main.bounds.size),\n            false,\n            UIScreen.main.scale)\n        \n        // 创建新的 Context\n        \n        let resizedContext = UIGraphicsGetCurrentContext()\n        self.layer.render(in: resizedContext!)\n        \n        // 重新渲染到新的 resizedContext\n        let image = UIGraphicsGetImageFromCurrentImageContext()\n        UIGraphicsEndImageContext()\n        \n        // 还原 Frame\n        self.frame = tmpFrame\n        return image!\n    }\n}\n\n\nfunc diaryButtonWith(text: String,\n                     fontSize: CGFloat,\n                     width: CGFloat,\n                     normalImageName: String,\n                     highlightedImageName: String) -> UIButton {\n    \n    // 创建自定义按钮\n    let button = UIButton(type: UIButton.ButtonType.custom)\n    \n    // 设定按钮的大小\n    button.frame = CGRect(x: 0, y: 0, width: width, height: width)\n    \n    let font = UIFont(name: \"Wyue-GutiFangsong-NC\", size: fontSize)\n    \n    let textAttributes: [NSAttributedString.Key: AnyObject] = [\n        NSAttributedString.Key.font: font!,\n        NSAttributedString.Key.foregroundColor: UIColor.white]\n    \n    // 设置按钮的字体\n    let attributedText = NSAttributedString(string: text, attributes: textAttributes)\n    button.setAttributedTitle(attributedText, for: UIControl.State.normal)\n    \n    // 设置默认按钮的样式\n    button.setBackgroundImage(UIImage(\n        named: normalImageName),\n                              for: UIControl.State.normal)\n    \n    // 设置按钮被按下时的样式\n    button.setBackgroundImage(UIImage(\n        named: highlightedImageName),\n                              for: UIControl.State.highlighted)\n    \n    return button\n}\n\nfunc singleNumberToChinese(_ number:Character) -> String {\n    switch number {\n    case \"0\":\n        return \"零\"\n    case \"1\":\n        return \"一\"\n    case \"2\":\n        return \"二\"\n    case \"3\":\n        return \"三\"\n    case \"4\":\n        return \"四\"\n    case \"5\":\n        return \"五\"\n    case \"6\":\n        return \"六\"\n    case \"7\":\n        return \"七\"\n    case \"8\":\n        return \"八\"\n    case \"9\":\n        return \"九\"\n    default:\n        return \"\"\n    }\n}\n\n\nfunc numberToChinese(_ number:Int) -> String {\n    let numbers = String(number)\n    var finalString = \"\"\n    for singleNumber in numbers {\n        let string = singleNumberToChinese(singleNumber)\n        finalString = \"\\(finalString)\\(string)\"\n    }\n    return finalString\n}\n\nfunc numberToChineseWithUnit(_ number:Int) -> String {\n    let numbers = String(number)\n    var units = unitParser(numbers.count)\n    var finalString = \"\"\n    \n    for (index, singleNumber) in numbers.enumerated() {\n        let string = singleNumberToChinese(singleNumber)\n        if (!(string == \"零\" && (index+1) == numbers.count)){\n            finalString = \"\\(finalString)\\(string)\\(units[index])\"\n        }\n    }\n    \n    return finalString\n}\n\nfunc unitParser(_ unit:Int) -> [String] {\n    \n    var units = Array([\"万\",\"千\",\"百\",\"十\",\"\"].reversed())\n    let parsedUnits = units[0..<(unit)].reversed()\n    let slicedUnits: ArraySlice<String> = ArraySlice(parsedUnits)\n    let final: [String] = Array(slicedUnits)\n    return final\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/HomeCollectionViewController.swift",
    "content": "//\n//  HomeCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nclass HomeCollectionViewController: UICollectionViewController {\n    var diarys = [Diary]()\n    var fetchedResultsController : NSFetchedResultsController<Diary>!\n    var yearsCount: Int = 1\n    var sectionsCount: Int = 0\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        let yearLayout = DiaryLayout()\n        \n        yearLayout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(yearLayout, animated: false)\n\n        self.navigationController!.delegate = self\n        \n        do {\n            // 新建查询\n            let fetchRequest = NSFetchRequest<Diary>(entityName:\"Diary\")\n            \n            // 排序方式\n            fetchRequest.sortDescriptors = [NSSortDescriptor(key: \"created_at\", ascending: true)]\n            \n            fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest,\n                                                                  managedObjectContext: managedContext, sectionNameKeyPath: \"year\",\n                                                                  cacheName: nil)\n            \n            // 尝试查询\n            try self.fetchedResultsController.performFetch()\n            \n            if (fetchedResultsController.fetchedObjects!.count == 0){\n                print(\"没有存储结果\")\n            }else{\n                \n                if let sectionsCount = fetchedResultsController.sections?.count {\n                    \n                    yearsCount = sectionsCount\n                    diarys = fetchedResultsController.fetchedObjects!\n                    \n                }else {\n                    sectionsCount = 0\n                    yearsCount = 1\n                }\n            }\n            \n        } catch let error as NSError {\n            NSLog(\"发现错误 \\(error.localizedDescription)\")\n        }\n    }\n\n  \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return yearsCount\n    }\n\n\n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"HomeYearCollectionViewCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! HomeYearCollectionViewCell\n        \n        // 获取当前月份\n        let components = Calendar.current.component(Calendar.Component.year, from: Date())\n        var year = components\n        \n        if sectionsCount > 0 {\n            // 如果程序内有保存的日记，就使用保存的日记的年份\n            let sectionInfo = fetchedResultsController.sections![indexPath.section]\n            print(\"分组信息 \\(sectionInfo.name)\")\n            year = Int(sectionInfo.name)!\n        }\n        \n        cell.textInt = year\n        cell.labelText = \"\\(numberToChinese(cell.textInt)) 年\"\n        \n        // Configure the cell\n        \n        return cell\n\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryYearCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryYearCollectionViewController // 获取 DiaryYearCollectionViewController\n        \n        let components = Calendar.current.component(Calendar.Component.year, from: Date())\n        var year = components\n        if sectionsCount > 0 {\n            let sectionInfo = fetchedResultsController.sections![(indexPath as NSIndexPath).row]\n            print(\"Section info \\(sectionInfo.name)\")\n            year = Int(sectionInfo.name)!\n        }\n\n        dvc.year = year\n\n        self.navigationController!.pushViewController(dvc, animated: true)\n        \n    }\n    \n}\n\nextension HomeCollectionViewController: UINavigationControllerDelegate {\n    func navigationController(_ navigationController:\n        UINavigationController,\n                              animationControllerFor operation:\n        UINavigationController.Operation,\n                              from fromVC: UIViewController,\n                              to toVC: UIViewController) ->\n        UIViewControllerAnimatedTransitioning? {\n            \n            let animator = DiaryAnimator()\n            animator.operation = operation\n            return animator\n    }\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/HomeYearCollectionViewCell.swift",
    "content": "//\n//  HomeYearCollectionViewCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass HomeYearCollectionViewCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UIAppFonts</key>\n\t<array>\n\t\t<string>Wyue-GutiFangsong-NC_deliverable.otf</string>\n\t\t<string>TpldKhangXiDictTrial.otf</string>\n\t</array>\n\t<key>NSLocationWhenInUseUsageDescription</key>\n\t<string>在撰写日志的时候自动添加位置</string>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */; };\n\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7381DB2B0F500B4665B /* ViewController.swift */; };\n\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73A1DB2B0F500B4665B /* Main.storyboard */; };\n\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */; };\n\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */; };\n\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */; };\n\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */; };\n\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */; };\n\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */; };\n\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */; };\n\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */; };\n\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */; };\n\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */; };\n\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7601DB2EDDC00B4665B /* Helper.swift */; };\n\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */; };\n\t\t0A5EA7651DB2F82E00B4665B /* DiaryAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */; };\n\t\t0A5EA7671DB30D2000B4665B /* DiaryComposeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */; };\n\t\t0A5EA7691DB3131E00B4665B /* DiaryLocationHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */; };\n\t\t0A5EA76F1DB31A8500B4665B /* Diary.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */; };\n\t\t9F74CDB71DB3A69300DD10E3 /* DiaryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9F74CDB61DB3A69300DD10E3 /* DiaryViewController.swift */; };\n\t\t9F74CDB91DB3A80700DD10E3 /* DiaryTemplate.html in Resources */ = {isa = PBXBuildFile; fileRef = 9F74CDB81DB3A80700DD10E3 /* DiaryTemplate.html */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Diary.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA73B1DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t0A5EA7401DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLabel.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = TpldKhangXiDictTrial.otf; sourceTree = \"<group>\"; };\n\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = \"Wyue-GutiFangsong-NC_deliverable.otf\"; sourceTree = \"<group>\"; };\n\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeYearCollectionViewCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLayout.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryYearCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Helper.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryMonthCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryAnimator.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryComposeViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLocationHelper.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Diary.xcdatamodel; sourceTree = \"<group>\"; };\n\t\t9F74CDB61DB3A69300DD10E3 /* DiaryViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryViewController.swift; sourceTree = \"<group>\"; };\n\t\t9F74CDB81DB3A80700DD10E3 /* DiaryTemplate.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = DiaryTemplate.html; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0A5EA72A1DB2B0F500B4665B = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7351DB2B0F500B4665B /* Diary */,\n\t\t\t\t0A5EA7341DB2B0F500B4665B /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7341DB2B0F500B4665B /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7351DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t9F74CDB81DB3A80700DD10E3 /* DiaryTemplate.html */,\n\t\t\t\t9F74CDB61DB3A69300DD10E3 /* DiaryViewController.swift */,\n\t\t\t\t0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */,\n\t\t\t\t0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */,\n\t\t\t\t0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */,\n\t\t\t\t0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */,\n\t\t\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */,\n\t\t\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */,\n\t\t\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */,\n\t\t\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */,\n\t\t\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */,\n\t\t\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */,\n\t\t\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */,\n\t\t\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */,\n\t\t\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */,\n\t\t\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */,\n\t\t\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */,\n\t\t\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */,\n\t\t\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */,\n\t\t\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */,\n\t\t\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */,\n\t\t\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */,\n\t\t\t);\n\t\t\tpath = Diary;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0A5EA7321DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0A5EA72F1DB2B0F500B4665B /* Sources */,\n\t\t\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */,\n\t\t\t\t0A5EA7311DB2B0F500B4665B /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Diary;\n\t\t\tproductName = Diary;\n\t\t\tproductReference = 0A5EA7331DB2B0F500B4665B /* Diary.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0A5EA72B1DB2B0F500B4665B /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0800;\n\t\t\t\tLastUpgradeCheck = 0800;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0A5EA7321DB2B0F500B4665B = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 8.0;\n\t\t\t\t\t\tProvisioningStyle = Automatic;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0A5EA72A1DB2B0F500B4665B;\n\t\t\tproductRefGroup = 0A5EA7341DB2B0F500B4665B /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0A5EA7321DB2B0F500B4665B /* Diary */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0A5EA7311DB2B0F500B4665B /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */,\n\t\t\t\t9F74CDB91DB3A80700DD10E3 /* DiaryTemplate.html in Resources */,\n\t\t\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */,\n\t\t\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */,\n\t\t\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0A5EA72F1DB2B0F500B4665B /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */,\n\t\t\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA7691DB3131E00B4665B /* DiaryLocationHelper.swift in Sources */,\n\t\t\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */,\n\t\t\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */,\n\t\t\t\t0A5EA7671DB30D2000B4665B /* DiaryComposeViewController.swift in Sources */,\n\t\t\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */,\n\t\t\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */,\n\t\t\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */,\n\t\t\t\t9F74CDB71DB3A69300DD10E3 /* DiaryViewController.swift in Sources */,\n\t\t\t\t0A5EA76F1DB31A8500B4665B /* Diary.xcdatamodeld in Sources */,\n\t\t\t\t0A5EA7651DB2F82E00B4665B /* DiaryAnimator.swift in Sources */,\n\t\t\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA73B1DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7401DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0A5EA7431DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7441DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0A5EA7461DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7471DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7431DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7441DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7461DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7471DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\n/* Begin XCVersionGroup section */\n\t\t0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */ = {\n\t\t\tisa = XCVersionGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */,\n\t\t\t);\n\t\t\tcurrentVersion = 0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */;\n\t\t\tpath = Diary.xcdatamodeld;\n\t\t\tsourceTree = \"<group>\";\n\t\t\tversionGroupType = wrapper.xcdatamodel;\n\t\t};\n/* End XCVersionGroup section */\n\t};\n\trootObject = 0A5EA72B1DB2B0F500B4665B /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Diary.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bucket\n   type = \"1\"\n   version = \"2.0\">\n</Bucket>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bucket\n   type = \"1\"\n   version = \"2.0\">\n</Bucket>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_10/Diary.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\n// Coredata\nlet appDelegate = UIApplication.shared.delegate as! AppDelegate\n\nlet managedContext = appDelegate.managedObjectContext!\n\nlet itemHeight: CGFloat = 150.0\n// Cell的高度\n\nlet itemWidth: CGFloat = 60\n// Cell的宽度\n\nlet collectionViewWidth = itemWidth * 3\n// 同时显示3个Cell时候\n\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    lazy var managedObjectModel: NSManagedObjectModel = {\n        // 描述数据模型描述文件存储位置\n        let modelURL = Bundle.main.url(forResource: \"Diary\", withExtension: \"momd\")!\n        return NSManagedObjectModel(contentsOf: modelURL)!\n    }()\n    \n    lazy var applicationDocumentsDirectory: URL = {\n        // 数据库文件的存放文件夹\n        let urls = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)\n        return urls[urls.count-1]\n    }()\n\n    lazy var persistentStoreCoordinator: NSPersistentStoreCoordinator? = {\n            // 通过 managedObjectModel 创建持久化管理\n            var coordinator: NSPersistentStoreCoordinator? =\n                NSPersistentStoreCoordinator(managedObjectModel:\n                    self.managedObjectModel)\n            \n            let url = self.applicationDocumentsDirectory.appendingPathComponent(\"Diary.sqlite\")\n            // 设定数据库存储位置\n            \n            var error: NSError? = nil\n            var failureReason = \"载入程序存储的数据出错.\"\n            \n            do {\n                try coordinator!.addPersistentStore(\n                    ofType: NSSQLiteStoreType, configurationName: nil,\n                    at: url, options: nil)\n                // 创建NSSQLiteStoreType类型持久化存储\n            } catch var error1 as NSError {\n                error = error1\n                coordinator = nil\n                // 报告错误\n                var dict = [String: AnyObject]()\n                dict[NSLocalizedDescriptionKey] = \"无法初始化程序存储的数据\" as AnyObject?\n                dict[NSLocalizedFailureReasonErrorKey] = failureReason as AnyObject?\n                dict[NSUnderlyingErrorKey] = error\n                error = NSError(domain: \"YOUR_ERROR_DOMAIN\", code: 9999, userInfo: dict)\n                NSLog(\"发现错误 \\(error), \\(error!.userInfo)\")\n                abort()\n            } catch {\n                fatalError()\n            }\n            \n            return coordinator\n    }()\n    \n    lazy var managedObjectContext: NSManagedObjectContext? = {\n        let coordinator = self.persistentStoreCoordinator\n        if coordinator == nil {\n            return nil\n        }\n        var managedObjectContext = NSManagedObjectContext(concurrencyType: .privateQueueConcurrencyType)\n        managedObjectContext.persistentStoreCoordinator = coordinator\n        return managedObjectContext\n    }()\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"83.5x83.5\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/Assets.xcassets/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/Assets.xcassets/Oval.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/Assets.xcassets/Oval_pressed.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11134\" systemVersion=\"15F34\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11106\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"kL8-Co-z9D\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Navigation Controller-->\n        <scene sceneID=\"nDa-SJ-xz8\">\n            <objects>\n                <navigationController navigationBarHidden=\"YES\" id=\"kL8-Co-z9D\" sceneMemberID=\"viewController\">\n                    <navigationBar key=\"navigationBar\" contentMode=\"scaleToFill\" id=\"4V2-cI-zED\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"44\"/>\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                    </navigationBar>\n                    <connections>\n                        <segue destination=\"jaX-ox-NO1\" kind=\"relationship\" relationship=\"rootViewController\" id=\"0CX-Bs-aYm\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"1ry-uh-1gv\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-842\" y=\"152\"/>\n        </scene>\n        <!--Home Collection View Controller-->\n        <scene sceneID=\"xp1-EX-i1t\">\n            <objects>\n                <collectionViewController id=\"jaX-ox-NO1\" customClass=\"HomeCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" dataMode=\"prototypes\" id=\"jrI-Dn-xWe\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"uYL-dk-pKl\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"HomeYearCollectionViewCell\" id=\"X1f-9B-ji3\" customClass=\"HomeYearCollectionViewCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                                <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"jaX-ox-NO1\" id=\"tJv-Ng-uBS\"/>\n                            <outlet property=\"delegate\" destination=\"jaX-ox-NO1\" id=\"pGg-Wa-sLv\"/>\n                        </connections>\n                    </collectionView>\n                    <navigationItem key=\"navigationItem\" id=\"DQv-Sc-DbJ\"/>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"5jE-Hq-jF5\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"138\" y=\"152\"/>\n        </scene>\n        <!--Diary Compose View Controller-->\n        <scene sceneID=\"30A-tU-xe3\">\n            <objects>\n                <viewController storyboardIdentifier=\"DiaryComposeViewController\" id=\"Lw3-Dp-s4h\" customClass=\"DiaryComposeViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"lty-ru-RuT\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"o7k-nX-8BY\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"tH5-OA-VDh\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"ZP3-Oz-N2G\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"1040\" y=\"150\"/>\n        </scene>\n        <!--Diary Year Collection View Controller-->\n        <scene sceneID=\"F2G-6G-oBr\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryYearCollectionViewController\" id=\"elp-wf-O6L\" customClass=\"DiaryYearCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" dataMode=\"prototypes\" id=\"asJ-Z6-Zee\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"nGJ-sA-rbK\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"0Z6-TY-W0M\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"elp-wf-O6L\" id=\"EFu-fn-B84\"/>\n                            <outlet property=\"delegate\" destination=\"elp-wf-O6L\" id=\"7hi-JI-sT1\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"BPC-13-fQY\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"149\" y=\"821\"/>\n        </scene>\n        <!--Diary View Controller-->\n        <scene sceneID=\"BjS-7b-Eyl\">\n            <objects>\n                <viewController storyboardIdentifier=\"DiaryViewController\" id=\"QKX-Fb-wxn\" customClass=\"DiaryViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"AAU-SN-0d6\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"tWJ-A9-fhk\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"v0x-Hm-WjW\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"w4w-Lh-gqk\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"1063\" y=\"855\"/>\n        </scene>\n        <!--Diary Month Collection View Controller-->\n        <scene sceneID=\"Esa-e4-hlZ\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryMonthCollectionViewController\" id=\"9xo-Dc-H11\" customClass=\"DiaryMonthCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" dataMode=\"prototypes\" id=\"3bk-qG-x6G\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"8hv-Df-784\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"n44-bA-yeZ\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"9xo-Dc-H11\" id=\"Le6-7L-8hY\"/>\n                            <outlet property=\"delegate\" destination=\"9xo-Dc-H11\" id=\"HvU-i0-eXq\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"fEk-Yk-ztQ\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"162\" y=\"1504\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/Diary.xcdatamodeld/Diary.xcdatamodel/contents",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<model type=\"com.apple.IDECoreDataModeler.DataModel\" documentVersion=\"1.0\" lastSavedToolsVersion=\"14460.32\" systemVersion=\"18D42\" minimumToolsVersion=\"Automatic\" sourceLanguage=\"Swift\" userDefinedModelVersionIdentifier=\"\">\n    <entity name=\"Diary\" representedClassName=\"Diary\" syncable=\"YES\" codeGenerationType=\"class\">\n        <attribute name=\"content\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"created_at\" optional=\"YES\" attributeType=\"Date\" usesScalarValueType=\"NO\" syncable=\"YES\"/>\n        <attribute name=\"location\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"month\" optional=\"YES\" attributeType=\"Integer 32\" defaultValueString=\"0\" usesScalarValueType=\"YES\" syncable=\"YES\"/>\n        <attribute name=\"title\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"year\" optional=\"YES\" attributeType=\"Integer 32\" defaultValueString=\"0\" usesScalarValueType=\"YES\" syncable=\"YES\"/>\n    </entity>\n    <elements>\n        <element name=\"Diary\" positionX=\"-63\" positionY=\"-18\" width=\"128\" height=\"135\"/>\n    </elements>\n</model>"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/DiaryAnimator.swift",
    "content": "//\n//  DiaryAnimator.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryAnimator: NSObject, UIViewControllerAnimatedTransitioning {\n    \n    var operation: UINavigationController.Operation!\n    \n    // 转场时长\n    \n    func transitionDuration(using transitionContext:\n        UIViewControllerContextTransitioning?) -> TimeInterval {\n        return 0.4\n    }\n    \n    func animateTransition(using transitionContext:\n        UIViewControllerContextTransitioning)\n    {\n        \n        // 获取转场舞台\n        let containerView = transitionContext.containerView\n        \n        let fromVC = transitionContext.viewController(\n            forKey: UITransitionContextViewControllerKey.from)\n        \n        // 获取从哪个场景开始转\n        let fromView = fromVC!.view\n        \n        let toVC = transitionContext.viewController(\n            forKey: UITransitionContextViewControllerKey.to)\n        \n        // 获取要转去哪个场景\n        let toView = toVC!.view\n        \n        // 设置新场景透明度\n        toView?.alpha = 0.0\n        \n        // UINavigationControllerOperation.Pop用来判断是转入还是转出\n        if operation ==  UINavigationController.Operation.pop {\n            // 如果是返回旧场景，那么设置要转入的场景初始缩放为原始大小\n            toView?.transform = CGAffineTransform(scaleX: 1.0,y: 1.0)\n        }else{\n            // 如果是转到新场景，设置新场景初始缩放为0.3\n            toView?.transform = CGAffineTransform(scaleX: 0.3,y: 0.3);\n        }\n        \n        // 在舞台上插入场景\n        containerView.insertSubview(toView!, aboveSubview: fromView!)\n        \n        UIView.animate(\n            withDuration: transitionDuration(using: transitionContext),\n            delay: 0,\n            options: UIView.AnimationOptions.curveEaseInOut,\n            animations:\n            {\n                if self.operation ==  UINavigationController.Operation.pop {\n                    // 放大要转出的场景\n                    fromView?.transform = CGAffineTransform(scaleX: 3.3,y: 3.3)\n                } else {\n                    // 设置新场景为原始大小\n                    toView?.transform = CGAffineTransform(scaleX: 1.0,y: 1.0)\n                }\n                \n                toView?.alpha = 1.0\n                \n        }, completion: { finished in\n            \n            // 通知NavigationController已经完成转场\n            transitionContext.completeTransition(true)\n            \n        })\n        \n        \n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/DiaryCell.swift",
    "content": "//\n//  DiaryCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/DiaryComposeViewController.swift",
    "content": "//\n//  DiaryComposeViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nlet titleTextViewHeight:CGFloat = 30.0\nlet contentMargin:CGFloat = 20.0\n\nvar defaultFont = \"Wyue-GutiFangsong-NC\"\nlet DiaryFont = UIFont(name: defaultFont, size: 18)!\nlet DiaryLocationFont = UIFont(name: defaultFont, size: 16)!\nlet DiaryTitleFont = UIFont(name: defaultFont, size: 18)!\n\nclass DiaryComposeViewController: UIViewController {\n    var diary: Diary?\n    var composeView:UITextView!\n    var locationTextView:UITextView!\n    var titleTextView:UITextView!\n    var finishButton:UIButton!\n    var keyboardSize:CGSize = CGSize(width: 0, height: 0)\n    var locationHelper: DiaryLocationHelper = DiaryLocationHelper()\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        // 创建正文输入框\n        composeView = UITextView(frame: CGRect(x: 0, y: contentMargin + titleTextViewHeight, width: screenSize.width, height: screenSize.height))\n        composeView.font = DiaryFont\n        composeView.isEditable = true\n        composeView.isUserInteractionEnabled = true\n        composeView.textContainerInset = UIEdgeInsets(top: contentMargin, left: contentMargin, bottom: contentMargin, right: contentMargin)\n        \n        // 创建地址输入框\n        locationTextView = UITextView(frame: CGRect(x: 0, y: composeView.frame.size.height - 30.0, width: screenSize.width - 60.0, height: 30.0))\n        locationTextView.font = DiaryLocationFont\n        locationTextView.isEditable = true\n        locationTextView.isUserInteractionEnabled = true\n        locationTextView.bounces = false\n        \n        // 创建标题输入框\n        \n        titleTextView = UITextView(frame: CGRect(x: contentMargin, y: contentMargin/2, width: screenSize.width - 60.0, height: titleTextViewHeight))\n        titleTextView.font = DiaryTitleFont\n        titleTextView.isEditable = true\n        titleTextView.isUserInteractionEnabled = true\n        titleTextView.bounces = false\n        \n        self.view.addSubview(composeView)\n        \n        self.view.addSubview(locationTextView)\n        \n        self.view.addSubview(titleTextView)\n        \n        if let diary = diary {\n            composeView.text = diary.content\n            \n            locationTextView.text = diary.location\n            if let title = diary.title {\n                titleTextView.text = title\n            }\n        }\n        \n        \n        // 创建完成按钮\n        finishButton = diaryButtonWith(text: \"完\",  fontSize: 18.0,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        finishButton.center = CGPoint(x: screenSize.width - 20, y: screenSize.height - 30)\n        \n        self.view.addSubview(finishButton)\n        \n        \n        self.finishButton.center = CGPoint(x: self.view.frame.width - self.finishButton.frame.size.height/2.0 - 10, y: self.view.frame.height  - self.finishButton.frame.size.height/2.0 - 10)\n        \n        self.finishButton.addTarget(self, action: #selector(finishCompose(_:)), for: UIControl.Event.touchUpInside)\n        \n        self.locationTextView.center = CGPoint(x: self.locationTextView.frame.size.width/2.0 + 20.0, y: self.finishButton.center.y)\n        \n        // 监听键盘事件\n        \n        NotificationCenter.default.addObserver(self, selector: #selector(keyboardDidShow(_:)), name: UIWindow.keyboardDidShowNotification, object: nil)\n        \n        NotificationCenter.default.addObserver(self, selector: #selector(updateAddress(_:)), name: NSNotification.Name(rawValue: \"DiaryLocationUpdated\"), object: nil)\n        \n    }\n    \n    @objc func finishCompose(_ button: UIButton) {\n        // 取消输入框的编辑状态，收起键盘\n        \n        self.composeView.endEditing(true)\n        self.locationTextView.endEditing(true)\n        \n        // 确保有文字内容才保存\n        if (composeView.text.lengthOfBytes(using: String.Encoding.utf8) > 1){\n            \n            // 如果是修改 Diary，则保存到原日记中\n            if let diary = diary {\n                \n                diary.content = composeView.text\n                diary.location = locationTextView.text\n                diary.title = titleTextView.text\n                \n                \n            }else{\n                \n                let entity =  NSEntityDescription.entity(forEntityName: \"Diary\", in: managedContext)\n                \n                let newdiary = Diary(entity: entity!,\n                                     insertInto:managedContext)\n                newdiary.content = composeView.text\n                \n                if let address  = locationHelper.address {\n                    newdiary.location = address\n                }\n                \n                if let title = titleTextView.text {\n                    newdiary.title = title\n                }\n                \n                \n                newdiary.updateTimeWithDate(Date())\n            }\n            \n            do {\n                try managedContext.save()\n            } catch let error as NSError {\n                print(\"Could not save \\(error.description)\")\n            }\n            \n        }\n        \n        self.dismiss(animated: true, completion: nil)\n    }\n    \n    \n    @objc func updateAddress(_ notification: Notification) {\n        \n        if let address = notification.object as? String {\n            \n            locationTextView.text = \"于 \\(address)\"\n            \n            locationHelper.locationManager.stopUpdatingLocation()\n        }\n        \n    }\n    \n    @objc func keyboardDidShow(_ notification: Notification) {\n        // 取出键盘的高度\n        if let rectValue = (notification as NSNotification).userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? NSValue {\n            keyboardSize = rectValue.cgRectValue.size\n            \n            //更新完成按钮和地址输入框的位置\n            updateTextViewSizeForKeyboardHeight(keyboardSize.height)\n        }\n    }\n    \n    \n    func updateTextViewSizeForKeyboardHeight(_ keyboardHeight: CGFloat) {\n        \n        let newKeyboardHeight = keyboardHeight\n        \n        UIView.animate(withDuration: 1.0, delay: 0, options: UIView.AnimationOptions(), animations:\n            {\n                if (self.locationTextView.text == nil) {\n                    self.composeView.frame = CGRect(x: 0, y: 0, width: self.view.frame.width, height: self.view.frame.height - newKeyboardHeight)\n                }else{\n                    self.composeView.frame = CGRect(x: 0, y: contentMargin + titleTextViewHeight, width: self.composeView.frame.size.width,  height: self.view.frame.height - newKeyboardHeight - 40.0 - self.finishButton.frame.size.height/2.0 - (contentMargin + titleTextViewHeight))\n                }\n                \n                self.finishButton.center = CGPoint(x: self.view.frame.width - self.finishButton.frame.size.height/2.0 - 10, y: self.view.frame.height - newKeyboardHeight - self.finishButton.frame.size.height/2.0 - 10)\n                \n                \n                self.locationTextView.center = CGPoint(x: self.locationTextView.frame.size.width/2.0 + 20.0, y: self.finishButton.center.y)\n                \n        }, completion: nil)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/DiaryLabel.swift",
    "content": "//\n//  DiaryLabel.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nfunc sizeHeightWithText(labelText: String,\n                        fontSize: CGFloat,\n                        textAttributes: [NSAttributedString.Key: AnyObject]) -> CGRect {\n    \n    return labelText.boundingRect(\n        with: CGSize(width:fontSize, height:480),\n        options: NSStringDrawingOptions.usesLineFragmentOrigin,\n        attributes: textAttributes, context: nil)\n}\n\nclass DiaryLabel: UILabel {\n    \n    var textAttributes: [NSAttributedString.Key: AnyObject]!\n    \n    convenience init(fontname:String,\n                     labelText:String,\n                     fontSize : CGFloat,\n                     lineHeight: CGFloat,\n                     color: UIColor){\n        \n        self.init(frame: CGRect(x:0, y:0, width:0, height:0))\n        \n        let font = UIFont(name: fontname,\n                          size: fontSize)\n        \n        let paragraphStyle = NSMutableParagraphStyle()\n        paragraphStyle.lineSpacing = lineHeight\n        \n        textAttributes = [NSAttributedString.Key.font: font!,\n                          NSAttributedString.Key.foregroundColor: color,\n                          NSAttributedString.Key.paragraphStyle: paragraphStyle]\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: fontSize ,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x: 0, y: 0, width: labelSize.width,\n                            height: labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n        self.lineBreakMode = NSLineBreakMode.byCharWrapping\n        self.numberOfLines = 0\n    }\n    \n    func updateText(labelText: String) {\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: self.font.pointSize,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x:0,y: 0, width:labelSize.width,\n                            height:labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/DiaryLayout.swift",
    "content": "//\n//  DiaryLayout.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nlet screenSize = UIWindow().screen.bounds\n\nclass DiaryLayout: UICollectionViewFlowLayout {\n    \n    var edgeInsets = (screenSize.width - itemWidth)/2.0\n    \n    override func prepare() {\n        super.prepare() //准备布局\n        // Cell 大小\n        let itemSize = CGSize(width: itemWidth,height: itemHeight)\n        self.itemSize = itemSize\n        // Cell 左右间距\n        self.minimumInteritemSpacing = 0.0\n        // Cell 行间距\n        self.minimumLineSpacing = 0\n        // 增加内嵌\n        self.sectionInset = UIEdgeInsets(top: (screenSize.height/2.0) - (itemHeight/2.0), left: edgeInsets, bottom: (screenSize.height/2.0) - (itemHeight/2.0), right: 0)\n        \n        // 滚动方向\n        scrollDirection = UICollectionView.ScrollDirection.horizontal\n    }\n    \n    // 每次Cell的位置发生变化的时候都会执行\n    // layoutAttributesForElementsInRect询问Cell应该放在什么位置\n    override func layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]? {\n        \n        let layoutAttributes = super.layoutAttributesForElements(in: rect)\n        // 获取所有需要显示的Cell的位置信息\n        \n        let contentOffset = collectionView!.contentOffset\n        // 获取collectionView的滑动情况\n        \n        for attributes in layoutAttributes! {\n            \n            let center = attributes.center\n            \n            let cellPositinOnScreen = (center.x - itemWidth/2.0) - contentOffset.x\n            \n            if cellPositinOnScreen >= (edgeInsets - itemWidth/2.0)\n                && cellPositinOnScreen < (edgeInsets\n                    + collectionViewWidth ) {\n                \n                // 计算Cell是不是在应该显示的区域\n                attributes.alpha = 1\n                \n            } else {\n                attributes.alpha = 0\n            }\n        }\n        \n        return layoutAttributes\n    }\n    \n    override func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool {\n        return true\n    }\n    \n}\n\nfunc calInsets(numberOfCells: Int) -> UIEdgeInsets {\n    \n    let insetLeft = (screenSize.width - collectionViewWidth)/2.0\n    \n    var edgeInsets: CGFloat = 0\n    \n    if (numberOfCells >= 3) {\n        \n        edgeInsets = insetLeft\n        \n    } else {\n        edgeInsets = insetLeft + (collectionViewWidth - (CGFloat(numberOfCells)*itemWidth))/2.0\n    }\n    \n    return UIEdgeInsets(top: (screenSize.height/2.0) - (itemHeight/2.0), left: edgeInsets, bottom: (screenSize.height/2.0) - (itemHeight/2.0), right: 0)\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/DiaryLocationHelper.swift",
    "content": "//\n//  DiaryLocationHelper.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport CoreLocation\n\nclass DiaryLocationHelper: NSObject, CLLocationManagerDelegate {\n    \n    var locationManager:CLLocationManager = CLLocationManager()\n    var currentLocation:CLLocation?\n    var address:String?\n    var geocoder = CLGeocoder()\n    \n    override init() {\n        super.init()\n        // 设置委托\n        locationManager.delegate = self\n        // 请求位置授权\n        locationManager.requestWhenInUseAuthorization()\n        if (CLLocationManager.locationServicesEnabled()){\n            //开始获取位置\n            locationManager.startUpdatingLocation()\n        }\n    }\n    \n    func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {\n        // 根据经纬度查询位置名称\n        geocoder.reverseGeocodeLocation(locations[0], completionHandler: { (placemarks, error) in\n            \n            if let error = error {\n                print(\"查询失败: \\(error.localizedDescription)\")\n            }\n            \n            // placemarks里包括了位置的国家、省份、地区等信息\n            if let pm = placemarks {\n                if pm.count > 0 {\n                    \n                    let placemark = pm.first\n                    \n                    self.address = placemark?.locality\n                    \n                    // 广播位置信息\n                    NotificationCenter.default.post(name: Notification.Name(rawValue: \"DiaryLocationUpdated\"), object: self.address)\n                }\n            }\n            \n        })\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/DiaryMonthCollectionViewController.swift",
    "content": "//\n//  DiaryMonthCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nlet DiaryRed = UIColor(red: 192.0/255.0, green: 23/255.0, blue: 48.0/255.0, alpha: 1)\n\nclass DiaryMonthCollectionViewController: UICollectionViewController {\n    var year: Int!\n    var month: Int!\n    var yearLabel: DiaryLabel!\n    var monthLabel: DiaryLabel!\n    var fetchedResultsController : NSFetchedResultsController<Diary>!\n    var diarys = [Diary]()\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n        \n        yearLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: \"二零一五年\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        \n        yearLabel.frame = CGRect(x: screenSize.width - yearLabel.frame.size.width - 20, y: 20, width: yearLabel.frame.size.width, height: yearLabel.frame.size.height)\n        \n        self.view.addSubview(yearLabel)\n        \n        monthLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: \"三月\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: DiaryRed)\n        \n        monthLabel.frame = CGRect(x: screenSize.width - monthLabel.frame.size.width - 20, y: screenSize.height/2.0 - monthLabel.frame.size.height/2.0, width: monthLabel.frame.size.width, height: monthLabel.frame.size.height)\n        \n        self.view.addSubview(monthLabel)\n        \n        \n        // 添加按钮\n        \n        let composeButton = diaryButtonWith(text: \"撰\",\n                                            fontSize: 14.0,\n                                            width: 40.0,\n                                            normalImageName: \"Oval\",\n                                            highlightedImageName: \"Oval_pressed\")\n        \n        composeButton.center = CGPoint(x: yearLabel.center.x,\n                                       y: 38 + yearLabel.frame.size.height + 26.0/2.0)\n        \n        composeButton.addTarget(self, action: #selector(newCompose),\n                                for: UIControl.Event.touchUpInside)\n        \n        self.view.addSubview(composeButton)\n        \n        // 查询数据\n        \n        do {\n            // 新建查询\n            let fetchRequest = NSFetchRequest<Diary>(entityName:\"Diary\")\n            \n            // 增加过滤条件\n            fetchRequest.predicate = NSPredicate(format:\"year = \\(year!) AND month = \\(month!)\")\n            \n            // 排序方式\n            fetchRequest.sortDescriptors = [NSSortDescriptor(key: \"created_at\", ascending: true)]\n            \n            fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest,\n                                                                  managedObjectContext: managedContext, sectionNameKeyPath: nil,\n                                                                  cacheName: nil)\n            \n            // 建立委托关系\n            fetchedResultsController.delegate = self\n            \n            // 尝试查询\n            try self.fetchedResultsController.performFetch()\n            \n            \n            if (fetchedResultsController.fetchedObjects!.count == 0){\n                print(\"没有存储结果\")\n            }else{\n                diarys = fetchedResultsController.fetchedObjects!\n            }\n            \n        } catch let error as NSError {\n            NSLog(\"发现错误 \\(error.localizedDescription)\")\n        }\n        \n        resetCollectionView()\n    }\n    \n    func resetCollectionView() {\n        \n        let edgeInsets = calInsets(numberOfCells: diarys.count)\n        \n        if let layout = collectionView!.collectionViewLayout as? DiaryLayout {\n            layout.edgeInsets = edgeInsets.left\n        }\n        \n        self.collectionView!.contentOffset = CGPoint(x: -edgeInsets.left, y: 0)\n        \n        self.collectionView!.reloadData()\n        \n        view.layoutIfNeeded()\n    }\n    \n    @objc func newCompose() {\n        \n        let identifier = \"DiaryComposeViewController\"\n        \n        let composeViewController = self.storyboard?.instantiateViewController(withIdentifier: identifier)\n            as! DiaryComposeViewController\n        \n        self.present(composeViewController,\n                     animated: true,\n                     completion: nil)\n        \n    }\n    \n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return 1\n    }\n    \n    \n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return diarys.count\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        let diary = diarys[indexPath.row]\n        \n        cell.labelText = diary.title!\n        \n        return cell\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: \"DiaryViewController\") as! DiaryViewController\n        \n        dvc.diary = diarys[indexPath.row]\n        \n        self.navigationController!.pushViewController(dvc, animated: true)\n        \n    }\n    \n}\n\nextension DiaryMonthCollectionViewController: NSFetchedResultsControllerDelegate {\n    \n    // 响应数据变化\n    func controller(_ controller: NSFetchedResultsController<NSFetchRequestResult>, didChange anObject: Any, at indexPath: IndexPath?, for type: NSFetchedResultsChangeType, newIndexPath: IndexPath?) {\n        \n        // 重置数据源\n        diarys = controller.fetchedObjects! as! [Diary]\n        // 重载数据\n        self.collectionView?.reloadData()\n        // 更新布局\n        self.collectionView?.setCollectionViewLayout(DiaryLayout(), animated: false)\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/DiaryTemplate.html",
    "content": "<!DOCTYPE html>\n<html>\n  <head>\n    <meta charset=\"utf-8\">\n    <meta name=\"viewport\" content=\"width=device-width; initial-scale=1.0; maximum-scale=1.0;\">\n    <title></title>\n    <style>\n        body { padding: 0px; background-color: white;}\n      * {\n        -webkit-text-size-adjust: 100%;\n        margin:0;\n        font-family: '#fontStr#';\n        -webkit-writing-mode: vertical-rl;\n        letter-spacing: 3px;\n        }\n    .content { min-width: #minWidth#px; margin-right: #contentMargin#px;}\n      .content p { font-size: 12pt; line-height: 24pt;}\n      .title {\n        font-size: 12pt;\n        font-weight:bold;\n        line-height: 24pt;\n        margin-right: #titleMarginRight#px;\n        padding-left: 20px;\n        }\n      .extra{\n        font-size:12pt;\n        line-height: 24pt;\n        margin-right:30px;\n      }\n      .container {\n        padding:25px 10px 25px 25px;\n      }\n\n      .stamp {\n        width:24px;\n        height:auto;\n        position:fixed;\n        bottom:20px;\n      }\n\n    </style>\n  </head>\n   <body>\n     <div class=\"container\">\n         #title#\n       <div class=\"content\">\n           <p>#newDiaryString#</p>\n       </div>\n       <div class=\"extra\">\n           #location#<br>#timeString#\n       </div>\n     </div>\n   </body>\n   </html>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/DiaryViewController.swift",
    "content": "//\n//  DiaryViewController.swift\n//  Diary\n//\n//  Created by kevinzhow on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryViewController: UIViewController {\n    var diary:Diary!\n    \n    var webview: UIWebView!\n    \n    var saveButton:UIButton!\n    \n    var deleteButton:UIButton!\n    \n    var editButton:UIButton!\n    \n    var buttonsView:UIView!\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        setupUI()\n        showButtons()\n        \n    }\n    \n    func setupUI() {\n        webview = UIWebView(frame: CGRect(x: 0,y: 0, width: self.view.frame.size.width, height: self.view.frame.size.height))\n        \n        webview.scrollView.bounces = true\n        \n        webview.backgroundColor = UIColor.white\n        \n        self.view.addSubview(self.webview)\n        \n        // 读取模板的内容\n        let mainHTML = Bundle.main.url(forResource: \"DiaryTemplate\", withExtension:\"html\")\n        var contents: NSString = \"\"\n        \n        do {\n            contents = try NSString(contentsOfFile: mainHTML!.path, encoding: String.Encoding.utf8.rawValue)\n        } catch let error as NSError {\n            print(error)\n        }\n        \n        // 生成年的整数类型\n        let year = (Calendar.current as NSCalendar).component(NSCalendar.Unit.year, from: diary.created_at!)\n        \n        // 生成月的整数类型\n        let month = (Calendar.current as NSCalendar).component(NSCalendar.Unit.month, from: diary.created_at!)\n        \n        // 生成日的整数类型\n        let day = (Calendar.current as NSCalendar).component(NSCalendar.Unit.day, from: diary.created_at!)\n        \n        let timeString = \"\\(numberToChinese(year))年 \\(numberToChineseWithUnit(month))月 \\(numberToChineseWithUnit(day))日\"\n        \n        // 替换字符串\n        contents = contents.replacingOccurrences(of: \"#timeString#\", with: timeString) as NSString\n        \n        let newDiaryString = diary.content?.replacingOccurrences(of: \"\\n\", with: \"<br>\", options: NSString.CompareOptions.literal, range: nil)\n        \n        contents = contents.replacingOccurrences(of: \"#newDiaryString#\", with: newDiaryString!) as NSString\n        \n        var title = \"\"\n        var contentWidthOffset = 140\n        var contentMargin:CGFloat = 10\n        \n        if let titleStr = diary?.title {\n            let parsedTime = \"\\(numberToChineseWithUnit((Calendar.current as NSCalendar).component(NSCalendar.Unit.day, from: diary.created_at!))) 日\"\n            if titleStr != parsedTime {\n                title = titleStr\n                contentWidthOffset = 205\n                contentMargin = 10\n                title = \"<div class='title'>\\(title)</div>\"\n            }\n        }\n        \n        contents = contents.replacingOccurrences(of: \"#contentMargin#\", with: \"\\(contentMargin)\") as NSString\n        \n        contents = contents.replacingOccurrences(of: \"#title#\", with: title) as NSString\n        \n        let minWidth = self.view.frame.size.width - CGFloat(contentWidthOffset)\n        \n        contents = contents.replacingOccurrences(of: \"#minWidth#\", with: \"\\(minWidth)\") as NSString\n        \n        let fontStr = defaultFont\n        \n        contents = contents.replacingOccurrences(of: \"#fontStr#\", with: fontStr) as NSString\n        \n        let titleMarginRight:CGFloat = 15\n        \n        contents = contents.replacingOccurrences(of: \"#titleMarginRight#\", with: \"\\(titleMarginRight)\") as NSString\n        \n        if let location = diary.location {\n            contents = contents.replacingOccurrences(of: \"#location#\", with: location) as NSString\n        } else {\n            contents = contents.replacingOccurrences(of: \"#location#\", with: \"\") as NSString\n        }\n        \n        \n        webview.loadHTMLString(contents as String, baseURL: nil)\n        \n        // 添加存改删按钮\n        \n        buttonsView = UIView(frame: CGRect(x: 0, y: screenSize.height, width: screenSize.width, height: 80.0))\n        buttonsView.backgroundColor = UIColor.clear\n        buttonsView.alpha = 0.0\n        \n        let buttonFontSize:CGFloat = 18.0\n        \n        saveButton = diaryButtonWith(text: \"存\",  fontSize: buttonFontSize,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        saveButton.center = CGPoint(x: buttonsView.frame.width/2.0, y: buttonsView.frame.height/2.0)\n        \n        saveButton.addTarget(self, action: #selector(saveToRoll), for: UIControl.Event.touchUpInside)\n        \n        buttonsView.addSubview(saveButton)\n        \n        \n        editButton = diaryButtonWith(text: \"改\",  fontSize: buttonFontSize,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        editButton.center = CGPoint(x: saveButton.center.x - 56.0, y: saveButton.center.y)\n        \n        editButton.addTarget(self, action: #selector(editDiary), for: UIControl.Event.touchUpInside)\n        \n        buttonsView.addSubview(editButton)\n        \n        deleteButton = diaryButtonWith(text: \"刪\",  fontSize: buttonFontSize,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        deleteButton.center = CGPoint(x: saveButton.center.x + 56.0, y: saveButton.center.y)\n        \n        deleteButton.addTarget(self, action: #selector(deleteThisDiary), for: UIControl.Event.touchUpInside)\n        \n        buttonsView.addSubview(deleteButton)\n        \n        self.view.addSubview(buttonsView)\n        \n        // 切换按钮的显示状态\n        let mTapUpRecognizer = UITapGestureRecognizer(target: self, action: #selector(showButtons))\n        mTapUpRecognizer.numberOfTapsRequired = 1\n        mTapUpRecognizer.delegate = self\n        self.webview.addGestureRecognizer(mTapUpRecognizer)\n        \n        \n    }\n    \n    @objc func showButtons() {\n        \n        if(buttonsView.alpha == 0.0) {\n            UIView.animate(withDuration: 0.2, delay: 0, options: UIView.AnimationOptions(), animations:\n                {\n                    self.buttonsView.center = CGPoint(x: self.buttonsView.center.x, y: screenSize.height - self.buttonsView.frame.size.height/2.0)\n                    self.buttonsView.alpha = 1.0\n                    \n            }, completion: nil)\n            \n        }else{\n            \n            UIView.animate(withDuration: 0.1, delay: 0, options: UIView.AnimationOptions(), animations:\n                {\n                    self.buttonsView.center = CGPoint(x: self.buttonsView.center.x, y: screenSize.height + self.buttonsView.frame.size.height/2.0)\n                    self.buttonsView.alpha = 0.0\n            }, completion: nil)\n            \n        }\n    }\n    \n    @objc func editDiary() {\n        let composeViewController = self.storyboard?.instantiateViewController(withIdentifier: \"DiaryComposeViewController\") as! DiaryComposeViewController\n        \n        if let diary = diary {\n            \n            composeViewController.diary = diary\n        }\n        \n        self.present(composeViewController, animated: true, completion: nil)\n    }\n    \n    @objc func saveToRoll() {\n        \n        let offset = self.webview.scrollView.contentOffset.x\n        \n        // 针对 WebView 截图\n        let image =  webview.captureView()\n        \n        self.webview.scrollView.contentOffset.x = offset\n        \n        // 创建分享对象\n        var sharingItems = [AnyObject]()\n        \n        // 给分享对象插入图片\n        sharingItems.append(image)\n        \n        // 初始化分享组件\n        let activityViewController = UIActivityViewController(activityItems: sharingItems, applicationActivities: nil)\n        activityViewController.popoverPresentationController?.sourceView = self.saveButton\n        \n        // 现实分享组件\n        self.present(activityViewController, animated: true, completion: nil)\n        \n    }\n    \n    \n    @objc func deleteThisDiary() {\n        managedContext.delete(diary)\n        do {\n            try managedContext.save()\n        } catch _ {\n        }\n        hideDiary()\n    }\n    \n    func hideDiary() {\n        self.navigationController?.popViewController(animated: true)\n    }\n    \n}\n\nextension DiaryViewController: UIGestureRecognizerDelegate {\n    func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {\n        \n        return true\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/DiaryYearCollectionViewController.swift",
    "content": "//\n//  DiaryYearCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nclass DiaryYearCollectionViewController: UICollectionViewController {\n    var year: Int!\n    var diarys = [Diary]()\n    var fetchedResultsController : NSFetchedResultsController<Diary>!\n    var monthCount: Int = 1\n    var sectionsCount: Int = 0\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n        \n        do {\n            // 新建查询\n            let fetchRequest = NSFetchRequest<Diary>(entityName:\"Diary\")\n            \n            // 增加过滤条件\n            fetchRequest.predicate = NSPredicate(format:\"year = \\(year!)\")\n            \n            // 排序方式\n            fetchRequest.sortDescriptors = [NSSortDescriptor(key: \"created_at\", ascending: true)]\n            \n            fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest,\n                                                                  managedObjectContext: managedContext, sectionNameKeyPath: \"month\",\n                                                                  cacheName: nil)\n            \n            // 尝试查询\n            try self.fetchedResultsController.performFetch()\n            \n            if (fetchedResultsController.fetchedObjects!.count == 0){\n                print(\"没有存储结果\")\n            }else{\n                \n                if let sectionsCount = fetchedResultsController.sections?.count {\n                    \n                    monthCount = sectionsCount\n                    diarys = fetchedResultsController.fetchedObjects!\n                    \n                }else {\n                    sectionsCount = 0\n                    monthCount = 1\n                }\n            }\n            \n        } catch let error as NSError {\n            NSLog(\"发现错误 \\(error.localizedDescription)\")\n        }\n        \n    }\n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return monthCount\n    }\n    \n    \n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        // 获取当前月份\n        let components = Calendar.current.component(Calendar.Component.month, from: Date())\n        var month = components\n        \n        if sectionsCount > 0 {\n            // 如果程序内有保存的日记，就使用保存的日记的月份\n            let sectionInfo = fetchedResultsController.sections![indexPath.section]\n            print(\"分组信息 \\(sectionInfo.name)\")\n            month = Int(sectionInfo.name)!\n        }\n        \n        cell.textInt = month\n        cell.labelText = \"\\(numberToChinese(cell.textInt)) 月\"\n        \n        // Configure the cell\n        \n        return cell\n        \n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryMonthCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryMonthCollectionViewController // 获取 DiaryMonthCollectionViewController\n        \n        // 获取当前月份\n        let components = Calendar.current.component(Calendar.Component.month, from: Date())\n        var month = components\n        \n        if sectionsCount > 0 {\n            // 如果程序内有保存的日记，就使用保存的日记的月份\n            let sectionInfo = fetchedResultsController.sections![indexPath.section]\n            print(\"分组信息 \\(sectionInfo.name)\")\n            month = Int(sectionInfo.name)!\n        }\n        // 指定是 2015 年的 1 月份\n        dvc.month = month\n        dvc.year = year\n        \n        // 页面跳转\n        self.navigationController!.pushViewController(dvc, animated: true)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/Helper.swift",
    "content": "//\n//  Helper.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nextension Diary {\n    \n    func updateTimeWithDate(_ date: Date){\n        self.created_at = date\n        self.year = Int32(Calendar.current.component(Calendar.Component.year, from: date))\n        self.month = Int32(Calendar.current.component(Calendar.Component.month, from: date))\n    }\n    \n}\n\nextension UIWebView {\n    \n    func captureView() -> UIImage{\n        \n        // 存储初始大小\n        let tmpFrame = self.frame\n        \n        // 新的 Frame\n        \n        var aFrame = self.frame\n        \n        aFrame.size.width = self.sizeThatFits(UIScreen.main.bounds.size).width\n        \n        // 展开 Frame\n        self.frame = aFrame\n        \n        // 初始化 ImageContext\n        UIGraphicsBeginImageContextWithOptions(\n            self.sizeThatFits(UIScreen.main.bounds.size),\n            false,\n            UIScreen.main.scale)\n        \n        // 创建新的 Context\n        \n        let resizedContext = UIGraphicsGetCurrentContext()\n        self.layer.render(in: resizedContext!)\n        \n        // 重新渲染到新的 resizedContext\n        let image = UIGraphicsGetImageFromCurrentImageContext()\n        UIGraphicsEndImageContext()\n        \n        // 还原 Frame\n        self.frame = tmpFrame\n        return image!\n    }\n}\n\n\nfunc diaryButtonWith(text: String,\n                     fontSize: CGFloat,\n                     width: CGFloat,\n                     normalImageName: String,\n                     highlightedImageName: String) -> UIButton {\n    \n    // 创建自定义按钮\n    let button = UIButton(type: UIButton.ButtonType.custom)\n    \n    // 设定按钮的大小\n    button.frame = CGRect(x: 0, y: 0, width: width, height: width)\n    \n    let font = UIFont(name: \"Wyue-GutiFangsong-NC\", size: fontSize)\n    \n    let textAttributes: [NSAttributedString.Key: AnyObject] = [\n        NSAttributedString.Key.font: font!,\n        NSAttributedString.Key.foregroundColor: UIColor.white]\n    \n    // 设置按钮的字体\n    let attributedText = NSAttributedString(string: text, attributes: textAttributes)\n    button.setAttributedTitle(attributedText, for: UIControl.State.normal)\n    \n    // 设置默认按钮的样式\n    button.setBackgroundImage(UIImage(\n        named: normalImageName),\n                              for: UIControl.State.normal)\n    \n    // 设置按钮被按下时的样式\n    button.setBackgroundImage(UIImage(\n        named: highlightedImageName),\n                              for: UIControl.State.highlighted)\n    \n    return button\n}\n\nfunc singleNumberToChinese(_ number:Character) -> String {\n    switch number {\n    case \"0\":\n        return \"零\"\n    case \"1\":\n        return \"一\"\n    case \"2\":\n        return \"二\"\n    case \"3\":\n        return \"三\"\n    case \"4\":\n        return \"四\"\n    case \"5\":\n        return \"五\"\n    case \"6\":\n        return \"六\"\n    case \"7\":\n        return \"七\"\n    case \"8\":\n        return \"八\"\n    case \"9\":\n        return \"九\"\n    default:\n        return \"\"\n    }\n}\n\n\nfunc numberToChinese(_ number:Int) -> String {\n    let numbers = String(number)\n    var finalString = \"\"\n    for singleNumber in numbers {\n        let string = singleNumberToChinese(singleNumber)\n        finalString = \"\\(finalString)\\(string)\"\n    }\n    return finalString\n}\n\nfunc numberToChineseWithUnit(_ number:Int) -> String {\n    let numbers = String(number)\n    var units = unitParser(numbers.count)\n    var finalString = \"\"\n    \n    for (index, singleNumber) in numbers.enumerated() {\n        let string = singleNumberToChinese(singleNumber)\n        if (!(string == \"零\" && (index+1) == numbers.count)){\n            finalString = \"\\(finalString)\\(string)\\(units[index])\"\n        }\n    }\n    \n    return finalString\n}\n\nfunc unitParser(_ unit:Int) -> [String] {\n    \n    var units = Array([\"万\",\"千\",\"百\",\"十\",\"\"].reversed())\n    let parsedUnits = units[0..<(unit)].reversed()\n    let slicedUnits: ArraySlice<String> = ArraySlice(parsedUnits)\n    let final: [String] = Array(slicedUnits)\n    return final\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/HomeCollectionViewController.swift",
    "content": "//\n//  HomeCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nclass HomeCollectionViewController: UICollectionViewController {\n    var diarys = [Diary]()\n    var fetchedResultsController : NSFetchedResultsController<Diary>!\n    var yearsCount: Int = 1\n    var sectionsCount: Int = 0\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let yearLayout = DiaryLayout()\n        \n        yearLayout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(yearLayout, animated: false)\n        \n        self.navigationController!.delegate = self\n        \n        do {\n            // 新建查询\n            let fetchRequest = NSFetchRequest<Diary>(entityName:\"Diary\")\n            \n            // 排序方式\n            fetchRequest.sortDescriptors = [NSSortDescriptor(key: \"created_at\", ascending: true)]\n            \n            fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest,\n                                                                  managedObjectContext: managedContext, sectionNameKeyPath: \"year\",\n                                                                  cacheName: nil)\n            \n            // 尝试查询\n            try self.fetchedResultsController.performFetch()\n            \n            if (fetchedResultsController.fetchedObjects!.count == 0){\n                print(\"没有存储结果\")\n            }else{\n                \n                if let sectionsCount = fetchedResultsController.sections?.count {\n                    \n                    yearsCount = sectionsCount\n                    diarys = fetchedResultsController.fetchedObjects!\n                    \n                }else {\n                    sectionsCount = 0\n                    yearsCount = 1\n                }\n            }\n            \n        } catch let error as NSError {\n            NSLog(\"发现错误 \\(error.localizedDescription)\")\n        }\n    }\n    \n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return yearsCount\n    }\n    \n    \n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"HomeYearCollectionViewCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! HomeYearCollectionViewCell\n        \n        // 获取当前月份\n        let components = Calendar.current.component(Calendar.Component.year, from: Date())\n        var year = components\n        \n        if sectionsCount > 0 {\n            // 如果程序内有保存的日记，就使用保存的日记的年份\n            let sectionInfo = fetchedResultsController.sections![indexPath.section]\n            print(\"分组信息 \\(sectionInfo.name)\")\n            year = Int(sectionInfo.name)!\n        }\n        \n        cell.textInt = year\n        cell.labelText = \"\\(numberToChinese(cell.textInt)) 年\"\n        \n        // Configure the cell\n        \n        return cell\n        \n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryYearCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryYearCollectionViewController // 获取 DiaryYearCollectionViewController\n        \n        let components = Calendar.current.component(Calendar.Component.year, from: Date())\n        var year = components\n        if sectionsCount > 0 {\n            let sectionInfo = fetchedResultsController.sections![(indexPath as NSIndexPath).row]\n            print(\"Section info \\(sectionInfo.name)\")\n            year = Int(sectionInfo.name)!\n        }\n        \n        dvc.year = year\n        \n        self.navigationController!.pushViewController(dvc, animated: true)\n        \n    }\n    \n}\n\nextension HomeCollectionViewController: UINavigationControllerDelegate {\n    func navigationController(_ navigationController:\n        UINavigationController,\n                              animationControllerFor operation:\n        UINavigationController.Operation,\n                              from fromVC: UIViewController,\n                              to toVC: UIViewController) ->\n        UIViewControllerAnimatedTransitioning? {\n            \n            let animator = DiaryAnimator()\n            animator.operation = operation\n            return animator\n    }\n    \n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/HomeYearCollectionViewCell.swift",
    "content": "//\n//  HomeYearCollectionViewCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass HomeYearCollectionViewCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UIAppFonts</key>\n\t<array>\n\t\t<string>Wyue-GutiFangsong-NC_deliverable.otf</string>\n\t\t<string>TpldKhangXiDictTrial.otf</string>\n\t</array>\n\t<key>NSLocationWhenInUseUsageDescription</key>\n\t<string>在撰写日志的时候自动添加位置</string>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */; };\n\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7381DB2B0F500B4665B /* ViewController.swift */; };\n\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73A1DB2B0F500B4665B /* Main.storyboard */; };\n\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */; };\n\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */; };\n\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */; };\n\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */; };\n\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */; };\n\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */; };\n\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */; };\n\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */; };\n\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */; };\n\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */; };\n\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7601DB2EDDC00B4665B /* Helper.swift */; };\n\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */; };\n\t\t0A5EA7651DB2F82E00B4665B /* DiaryAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */; };\n\t\t0A5EA7671DB30D2000B4665B /* DiaryComposeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */; };\n\t\t0A5EA7691DB3131E00B4665B /* DiaryLocationHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */; };\n\t\t0A5EA76F1DB31A8500B4665B /* Diary.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */; };\n\t\t9F74CDB71DB3A69300DD10E3 /* DiaryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9F74CDB61DB3A69300DD10E3 /* DiaryViewController.swift */; };\n\t\t9F74CDB91DB3A80700DD10E3 /* DiaryTemplate.html in Resources */ = {isa = PBXBuildFile; fileRef = 9F74CDB81DB3A80700DD10E3 /* DiaryTemplate.html */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Diary.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA73B1DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t0A5EA7401DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLabel.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = TpldKhangXiDictTrial.otf; sourceTree = \"<group>\"; };\n\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = \"Wyue-GutiFangsong-NC_deliverable.otf\"; sourceTree = \"<group>\"; };\n\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeYearCollectionViewCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLayout.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryYearCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Helper.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryMonthCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryAnimator.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryComposeViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLocationHelper.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Diary.xcdatamodel; sourceTree = \"<group>\"; };\n\t\t9F74CDB61DB3A69300DD10E3 /* DiaryViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryViewController.swift; sourceTree = \"<group>\"; };\n\t\t9F74CDB81DB3A80700DD10E3 /* DiaryTemplate.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = DiaryTemplate.html; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0A5EA72A1DB2B0F500B4665B = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7351DB2B0F500B4665B /* Diary */,\n\t\t\t\t0A5EA7341DB2B0F500B4665B /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7341DB2B0F500B4665B /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7351DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t9F74CDB81DB3A80700DD10E3 /* DiaryTemplate.html */,\n\t\t\t\t9F74CDB61DB3A69300DD10E3 /* DiaryViewController.swift */,\n\t\t\t\t0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */,\n\t\t\t\t0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */,\n\t\t\t\t0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */,\n\t\t\t\t0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */,\n\t\t\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */,\n\t\t\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */,\n\t\t\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */,\n\t\t\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */,\n\t\t\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */,\n\t\t\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */,\n\t\t\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */,\n\t\t\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */,\n\t\t\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */,\n\t\t\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */,\n\t\t\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */,\n\t\t\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */,\n\t\t\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */,\n\t\t\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */,\n\t\t\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */,\n\t\t\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */,\n\t\t\t);\n\t\t\tpath = Diary;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0A5EA7321DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0A5EA72F1DB2B0F500B4665B /* Sources */,\n\t\t\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */,\n\t\t\t\t0A5EA7311DB2B0F500B4665B /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Diary;\n\t\t\tproductName = Diary;\n\t\t\tproductReference = 0A5EA7331DB2B0F500B4665B /* Diary.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0A5EA72B1DB2B0F500B4665B /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0800;\n\t\t\t\tLastUpgradeCheck = 0800;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0A5EA7321DB2B0F500B4665B = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 8.0;\n\t\t\t\t\t\tProvisioningStyle = Automatic;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0A5EA72A1DB2B0F500B4665B;\n\t\t\tproductRefGroup = 0A5EA7341DB2B0F500B4665B /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0A5EA7321DB2B0F500B4665B /* Diary */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0A5EA7311DB2B0F500B4665B /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */,\n\t\t\t\t9F74CDB91DB3A80700DD10E3 /* DiaryTemplate.html in Resources */,\n\t\t\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */,\n\t\t\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */,\n\t\t\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0A5EA72F1DB2B0F500B4665B /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */,\n\t\t\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA7691DB3131E00B4665B /* DiaryLocationHelper.swift in Sources */,\n\t\t\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */,\n\t\t\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */,\n\t\t\t\t0A5EA7671DB30D2000B4665B /* DiaryComposeViewController.swift in Sources */,\n\t\t\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */,\n\t\t\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */,\n\t\t\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */,\n\t\t\t\t9F74CDB71DB3A69300DD10E3 /* DiaryViewController.swift in Sources */,\n\t\t\t\t0A5EA76F1DB31A8500B4665B /* Diary.xcdatamodeld in Sources */,\n\t\t\t\t0A5EA7651DB2F82E00B4665B /* DiaryAnimator.swift in Sources */,\n\t\t\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA73B1DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7401DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0A5EA7431DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7441DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0A5EA7461DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7471DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7431DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7441DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7461DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7471DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\n/* Begin XCVersionGroup section */\n\t\t0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */ = {\n\t\t\tisa = XCVersionGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */,\n\t\t\t);\n\t\t\tcurrentVersion = 0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */;\n\t\t\tpath = Diary.xcdatamodeld;\n\t\t\tsourceTree = \"<group>\";\n\t\t\tversionGroupType = wrapper.xcdatamodel;\n\t\t};\n/* End XCVersionGroup section */\n\t};\n\trootObject = 0A5EA72B1DB2B0F500B4665B /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Diary.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bucket\n   type = \"1\"\n   version = \"2.0\">\n</Bucket>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bucket\n   type = \"1\"\n   version = \"2.0\">\n</Bucket>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_11/Diary.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\n// Coredata\nlet appDelegate = UIApplication.shared.delegate as! AppDelegate\n\nlet managedContext = appDelegate.managedObjectContext!\n\nlet itemHeight: CGFloat = 150.0\n// Cell的高度\n\nlet itemWidth: CGFloat = 60\n// Cell的宽度\n\nlet collectionViewWidth = itemWidth * 3\n// 同时显示3个Cell时候\n\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    lazy var managedObjectModel: NSManagedObjectModel = {\n        // 描述数据模型描述文件存储位置\n        let modelURL = Bundle.main.url(forResource: \"Diary\", withExtension: \"momd\")!\n        return NSManagedObjectModel(contentsOf: modelURL)!\n    }()\n    \n    lazy var applicationDocumentsDirectory: URL = {\n        // 数据库文件的存放文件夹\n        let urls = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)\n        return urls[urls.count-1]\n    }()\n\n    lazy var persistentStoreCoordinator: NSPersistentStoreCoordinator? = {\n            // 通过 managedObjectModel 创建持久化管理\n            var coordinator: NSPersistentStoreCoordinator? =\n                NSPersistentStoreCoordinator(managedObjectModel:\n                    self.managedObjectModel)\n            \n            let url = self.applicationDocumentsDirectory.appendingPathComponent(\"Diary.sqlite\")\n            // 设定数据库存储位置\n            \n            var error: NSError? = nil\n            var failureReason = \"载入程序存储的数据出错.\"\n            \n            do {\n                try coordinator!.addPersistentStore(\n                    ofType: NSSQLiteStoreType, configurationName: nil,\n                    at: url, options: nil)\n                // 创建NSSQLiteStoreType类型持久化存储\n            } catch var error1 as NSError {\n                error = error1\n                coordinator = nil\n                // 报告错误\n                var dict = [String: AnyObject]()\n                dict[NSLocalizedDescriptionKey] = \"无法初始化程序存储的数据\" as AnyObject?\n                dict[NSLocalizedFailureReasonErrorKey] = failureReason as AnyObject?\n                dict[NSUnderlyingErrorKey] = error\n                error = NSError(domain: \"YOUR_ERROR_DOMAIN\", code: 9999, userInfo: dict)\n                NSLog(\"发现错误 \\(error), \\(error!.userInfo)\")\n                abort()\n            } catch {\n                fatalError()\n            }\n            \n            return coordinator\n    }()\n    \n    lazy var managedObjectContext: NSManagedObjectContext? = {\n        let coordinator = self.persistentStoreCoordinator\n        if coordinator == nil {\n            return nil\n        }\n        var managedObjectContext = NSManagedObjectContext(concurrencyType: .privateQueueConcurrencyType)\n        managedObjectContext.persistentStoreCoordinator = coordinator\n        return managedObjectContext\n    }()\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"83.5x83.5\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/Assets.xcassets/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/Assets.xcassets/Oval.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/Assets.xcassets/Oval_pressed.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11134\" systemVersion=\"15F34\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11106\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"kL8-Co-z9D\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Navigation Controller-->\n        <scene sceneID=\"nDa-SJ-xz8\">\n            <objects>\n                <navigationController navigationBarHidden=\"YES\" id=\"kL8-Co-z9D\" sceneMemberID=\"viewController\">\n                    <navigationBar key=\"navigationBar\" contentMode=\"scaleToFill\" id=\"4V2-cI-zED\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"44\"/>\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                    </navigationBar>\n                    <connections>\n                        <segue destination=\"jaX-ox-NO1\" kind=\"relationship\" relationship=\"rootViewController\" id=\"0CX-Bs-aYm\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"1ry-uh-1gv\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-842\" y=\"152\"/>\n        </scene>\n        <!--Home Collection View Controller-->\n        <scene sceneID=\"xp1-EX-i1t\">\n            <objects>\n                <collectionViewController id=\"jaX-ox-NO1\" customClass=\"HomeCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" dataMode=\"prototypes\" id=\"jrI-Dn-xWe\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"uYL-dk-pKl\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"HomeYearCollectionViewCell\" id=\"X1f-9B-ji3\" customClass=\"HomeYearCollectionViewCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                                <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"jaX-ox-NO1\" id=\"tJv-Ng-uBS\"/>\n                            <outlet property=\"delegate\" destination=\"jaX-ox-NO1\" id=\"pGg-Wa-sLv\"/>\n                        </connections>\n                    </collectionView>\n                    <navigationItem key=\"navigationItem\" id=\"DQv-Sc-DbJ\"/>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"5jE-Hq-jF5\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"138\" y=\"152\"/>\n        </scene>\n        <!--Diary Compose View Controller-->\n        <scene sceneID=\"30A-tU-xe3\">\n            <objects>\n                <viewController storyboardIdentifier=\"DiaryComposeViewController\" id=\"Lw3-Dp-s4h\" customClass=\"DiaryComposeViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"lty-ru-RuT\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"o7k-nX-8BY\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"tH5-OA-VDh\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"ZP3-Oz-N2G\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"1040\" y=\"150\"/>\n        </scene>\n        <!--Diary Year Collection View Controller-->\n        <scene sceneID=\"F2G-6G-oBr\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryYearCollectionViewController\" id=\"elp-wf-O6L\" customClass=\"DiaryYearCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" dataMode=\"prototypes\" id=\"asJ-Z6-Zee\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"nGJ-sA-rbK\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"0Z6-TY-W0M\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"elp-wf-O6L\" id=\"EFu-fn-B84\"/>\n                            <outlet property=\"delegate\" destination=\"elp-wf-O6L\" id=\"7hi-JI-sT1\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"BPC-13-fQY\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"149\" y=\"821\"/>\n        </scene>\n        <!--Diary View Controller-->\n        <scene sceneID=\"BjS-7b-Eyl\">\n            <objects>\n                <viewController storyboardIdentifier=\"DiaryViewController\" id=\"QKX-Fb-wxn\" customClass=\"DiaryViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"AAU-SN-0d6\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"tWJ-A9-fhk\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"v0x-Hm-WjW\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"w4w-Lh-gqk\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"1063\" y=\"855\"/>\n        </scene>\n        <!--Diary Month Collection View Controller-->\n        <scene sceneID=\"Esa-e4-hlZ\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryMonthCollectionViewController\" id=\"9xo-Dc-H11\" customClass=\"DiaryMonthCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" dataMode=\"prototypes\" id=\"3bk-qG-x6G\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"8hv-Df-784\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"n44-bA-yeZ\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"9xo-Dc-H11\" id=\"Le6-7L-8hY\"/>\n                            <outlet property=\"delegate\" destination=\"9xo-Dc-H11\" id=\"HvU-i0-eXq\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"fEk-Yk-ztQ\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"162\" y=\"1504\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/Diary.xcdatamodeld/Diary.xcdatamodel/contents",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<model type=\"com.apple.IDECoreDataModeler.DataModel\" documentVersion=\"1.0\" lastSavedToolsVersion=\"14460.32\" systemVersion=\"18D42\" minimumToolsVersion=\"Automatic\" sourceLanguage=\"Swift\" userDefinedModelVersionIdentifier=\"\">\n    <entity name=\"Diary\" representedClassName=\"Diary\" syncable=\"YES\" codeGenerationType=\"class\">\n        <attribute name=\"content\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"created_at\" optional=\"YES\" attributeType=\"Date\" usesScalarValueType=\"NO\" syncable=\"YES\"/>\n        <attribute name=\"location\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"month\" optional=\"YES\" attributeType=\"Integer 32\" defaultValueString=\"0\" usesScalarValueType=\"YES\" syncable=\"YES\"/>\n        <attribute name=\"title\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"year\" optional=\"YES\" attributeType=\"Integer 32\" defaultValueString=\"0\" usesScalarValueType=\"YES\" syncable=\"YES\"/>\n    </entity>\n    <elements>\n        <element name=\"Diary\" positionX=\"-63\" positionY=\"-18\" width=\"128\" height=\"135\"/>\n    </elements>\n</model>"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/DiaryAnimator.swift",
    "content": "//\n//  DiaryAnimator.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryAnimator: NSObject, UIViewControllerAnimatedTransitioning {\n    \n    var operation: UINavigationController.Operation!\n    \n    // 转场时长\n    \n    func transitionDuration(using transitionContext:\n        UIViewControllerContextTransitioning?) -> TimeInterval {\n        return 0.4\n    }\n    \n    func animateTransition(using transitionContext:\n        UIViewControllerContextTransitioning)\n    {\n        \n        // 获取转场舞台\n        let containerView = transitionContext.containerView\n        \n        let fromVC = transitionContext.viewController(\n            forKey: UITransitionContextViewControllerKey.from)\n        \n        // 获取从哪个场景开始转\n        let fromView = fromVC!.view\n        \n        let toVC = transitionContext.viewController(\n            forKey: UITransitionContextViewControllerKey.to)\n        \n        // 获取要转去哪个场景\n        let toView = toVC!.view\n        \n        // 设置新场景透明度\n        toView?.alpha = 0.0\n        \n        // UINavigationControllerOperation.Pop用来判断是转入还是转出\n        if operation ==  UINavigationController.Operation.pop {\n            // 如果是返回旧场景，那么设置要转入的场景初始缩放为原始大小\n            toView?.transform = CGAffineTransform(scaleX: 1.0,y: 1.0)\n        }else{\n            // 如果是转到新场景，设置新场景初始缩放为0.3\n            toView?.transform = CGAffineTransform(scaleX: 0.3,y: 0.3);\n        }\n        \n        // 在舞台上插入场景\n        containerView.insertSubview(toView!, aboveSubview: fromView!)\n        \n        UIView.animate(\n            withDuration: transitionDuration(using: transitionContext),\n            delay: 0,\n            options: UIView.AnimationOptions.curveEaseInOut,\n            animations:\n            {\n                if self.operation ==  UINavigationController.Operation.pop {\n                    // 放大要转出的场景\n                    fromView?.transform = CGAffineTransform(scaleX: 3.3,y: 3.3)\n                } else {\n                    // 设置新场景为原始大小\n                    toView?.transform = CGAffineTransform(scaleX: 1.0,y: 1.0)\n                }\n                \n                toView?.alpha = 1.0\n                \n        }, completion: { finished in\n            \n            // 通知NavigationController已经完成转场\n            transitionContext.completeTransition(true)\n            \n        })\n        \n        \n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/DiaryCell.swift",
    "content": "//\n//  DiaryCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/DiaryComposeViewController.swift",
    "content": "//\n//  DiaryComposeViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nlet titleTextViewHeight:CGFloat = 30.0\nlet contentMargin:CGFloat = 20.0\n\nvar defaultFont = \"Wyue-GutiFangsong-NC\"\nlet DiaryFont = UIFont(name: defaultFont, size: 18)!\nlet DiaryLocationFont = UIFont(name: defaultFont, size: 16)!\nlet DiaryTitleFont = UIFont(name: defaultFont, size: 18)!\n\nclass DiaryComposeViewController: UIViewController {\n    var diary: Diary?\n    var composeView:UITextView!\n    var locationTextView:UITextView!\n    var titleTextView:UITextView!\n    var finishButton:UIButton!\n    var keyboardSize:CGSize = CGSize(width: 0, height: 0)\n    var locationHelper: DiaryLocationHelper = DiaryLocationHelper()\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        // 创建正文输入框\n        composeView = UITextView(frame: CGRect(x: 0, y: contentMargin + titleTextViewHeight, width: screenSize.width, height: screenSize.height))\n        composeView.font = DiaryFont\n        composeView.isEditable = true\n        composeView.isUserInteractionEnabled = true\n        composeView.textContainerInset = UIEdgeInsets(top: contentMargin, left: contentMargin, bottom: contentMargin, right: contentMargin)\n        \n        // 创建地址输入框\n        locationTextView = UITextView(frame: CGRect(x: 0, y: composeView.frame.size.height - 30.0, width: screenSize.width - 60.0, height: 30.0))\n        locationTextView.font = DiaryLocationFont\n        locationTextView.isEditable = true\n        locationTextView.isUserInteractionEnabled = true\n        locationTextView.bounces = false\n        \n        // 创建标题输入框\n        \n        titleTextView = UITextView(frame: CGRect(x: contentMargin, y: contentMargin/2, width: screenSize.width - 60.0, height: titleTextViewHeight))\n        titleTextView.font = DiaryTitleFont\n        titleTextView.isEditable = true\n        titleTextView.isUserInteractionEnabled = true\n        titleTextView.bounces = false\n        \n        self.view.addSubview(composeView)\n        \n        self.view.addSubview(locationTextView)\n        \n        self.view.addSubview(titleTextView)\n        \n        if let diary = diary {\n            composeView.text = diary.content\n            \n            locationTextView.text = diary.location\n            if let title = diary.title {\n                titleTextView.text = title\n            }\n        }\n        \n        \n        // 创建完成按钮\n        finishButton = diaryButtonWith(text: \"完\",  fontSize: 18.0,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        finishButton.center = CGPoint(x: screenSize.width - 20, y: screenSize.height - 30)\n        \n        self.view.addSubview(finishButton)\n        \n        \n        self.finishButton.center = CGPoint(x: self.view.frame.width - self.finishButton.frame.size.height/2.0 - 10, y: self.view.frame.height  - self.finishButton.frame.size.height/2.0 - 10)\n        \n        self.finishButton.addTarget(self, action: #selector(finishCompose(_:)), for: UIControl.Event.touchUpInside)\n        \n        self.locationTextView.center = CGPoint(x: self.locationTextView.frame.size.width/2.0 + 20.0, y: self.finishButton.center.y)\n        \n        // 监听键盘事件\n        \n        NotificationCenter.default.addObserver(self, selector: #selector(keyboardDidShow(_:)), name: UIWindow.keyboardDidShowNotification, object: nil)\n        \n        NotificationCenter.default.addObserver(self, selector: #selector(updateAddress(_:)), name: NSNotification.Name(rawValue: \"DiaryLocationUpdated\"), object: nil)\n        \n    }\n    \n    @objc func finishCompose(_ button: UIButton) {\n        // 取消输入框的编辑状态，收起键盘\n        \n        self.composeView.endEditing(true)\n        self.locationTextView.endEditing(true)\n        \n        // 确保有文字内容才保存\n        if (composeView.text.lengthOfBytes(using: String.Encoding.utf8) > 1){\n            \n            // 如果是修改 Diary，则保存到原日记中\n            if let diary = diary {\n                \n                diary.content = composeView.text\n                diary.location = locationTextView.text\n                diary.title = titleTextView.text\n                \n                \n            }else{\n                \n                let entity =  NSEntityDescription.entity(forEntityName: \"Diary\", in: managedContext)\n                \n                let newdiary = Diary(entity: entity!,\n                                     insertInto:managedContext)\n                newdiary.content = composeView.text\n                \n                if let address  = locationHelper.address {\n                    newdiary.location = address\n                }\n                \n                if let title = titleTextView.text {\n                    newdiary.title = title\n                }\n                \n                \n                newdiary.updateTimeWithDate(Date())\n            }\n            \n            do {\n                try managedContext.save()\n            } catch let error as NSError {\n                print(\"Could not save \\(error.description)\")\n            }\n            \n        }\n        \n        self.dismiss(animated: true, completion: nil)\n    }\n    \n    \n    @objc func updateAddress(_ notification: Notification) {\n        \n        if let address = notification.object as? String {\n            \n            locationTextView.text = \"于 \\(address)\"\n            \n            locationHelper.locationManager.stopUpdatingLocation()\n        }\n        \n    }\n    \n    @objc func keyboardDidShow(_ notification: Notification) {\n        // 取出键盘的高度\n        if let rectValue = (notification as NSNotification).userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? NSValue {\n            keyboardSize = rectValue.cgRectValue.size\n            \n            //更新完成按钮和地址输入框的位置\n            updateTextViewSizeForKeyboardHeight(keyboardSize.height)\n        }\n    }\n    \n    \n    func updateTextViewSizeForKeyboardHeight(_ keyboardHeight: CGFloat) {\n        \n        let newKeyboardHeight = keyboardHeight\n        \n        UIView.animate(withDuration: 1.0, delay: 0, options: UIView.AnimationOptions(), animations:\n            {\n                if (self.locationTextView.text == nil) {\n                    self.composeView.frame = CGRect(x: 0, y: 0, width: self.view.frame.width, height: self.view.frame.height - newKeyboardHeight)\n                }else{\n                    self.composeView.frame = CGRect(x: 0, y: contentMargin + titleTextViewHeight, width: self.composeView.frame.size.width,  height: self.view.frame.height - newKeyboardHeight - 40.0 - self.finishButton.frame.size.height/2.0 - (contentMargin + titleTextViewHeight))\n                }\n                \n                self.finishButton.center = CGPoint(x: self.view.frame.width - self.finishButton.frame.size.height/2.0 - 10, y: self.view.frame.height - newKeyboardHeight - self.finishButton.frame.size.height/2.0 - 10)\n                \n                \n                self.locationTextView.center = CGPoint(x: self.locationTextView.frame.size.width/2.0 + 20.0, y: self.finishButton.center.y)\n                \n        }, completion: nil)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/DiaryLabel.swift",
    "content": "//\n//  DiaryLabel.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nfunc sizeHeightWithText(labelText: String,\n                        fontSize: CGFloat,\n                        textAttributes: [NSAttributedString.Key: AnyObject]) -> CGRect {\n    \n    return labelText.boundingRect(\n        with: CGSize(width:fontSize, height:480),\n        options: NSStringDrawingOptions.usesLineFragmentOrigin,\n        attributes: textAttributes, context: nil)\n}\n\nclass DiaryLabel: UILabel {\n    \n    var textAttributes: [NSAttributedString.Key: AnyObject]!\n    \n    convenience init(fontname:String,\n                     labelText:String,\n                     fontSize : CGFloat,\n                     lineHeight: CGFloat,\n                     color: UIColor){\n        \n        self.init(frame: CGRect(x:0, y:0, width:0, height:0))\n        \n        let font = UIFont(name: fontname,\n                          size: fontSize)\n        \n        let paragraphStyle = NSMutableParagraphStyle()\n        paragraphStyle.lineSpacing = lineHeight\n        \n        textAttributes = [NSAttributedString.Key.font: font!,\n                          NSAttributedString.Key.foregroundColor: color,\n                          NSAttributedString.Key.paragraphStyle: paragraphStyle]\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: fontSize ,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x: 0, y: 0, width: labelSize.width,\n                            height: labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n        self.lineBreakMode = NSLineBreakMode.byCharWrapping\n        self.numberOfLines = 0\n        self.isUserInteractionEnabled = true\n    }\n    \n    func updateText(labelText: String) {\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: self.font.pointSize,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x:0,y: 0, width:labelSize.width,\n                            height:labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n    }\n    \n    override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {\n        UIView.animate(withDuration: 0.3, delay: 0, options: UIView.AnimationOptions(), animations: {\n            \n             self.transform = CGAffineTransform(scaleX: 0.9, y: 0.9)\n\n        }, completion: nil)\n        super.touchesBegan(touches, with: event)\n    }\n    \n    override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {\n        UIView.animate(withDuration: 0.3, delay: 0, options: UIView.AnimationOptions(), animations: {\n            \n            self.transform = CGAffineTransform(scaleX: 1.0, y: 1.0)\n            \n        }, completion: nil)\n        super.touchesEnded(touches, with: event)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/DiaryLayout.swift",
    "content": "//\n//  DiaryLayout.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nlet screenSize = UIWindow().screen.bounds\n\nclass DiaryLayout: UICollectionViewFlowLayout {\n    \n    var edgeInsets = (screenSize.width - itemWidth)/2.0\n    \n    override func prepare() {\n        super.prepare() //准备布局\n        // Cell 大小\n        let itemSize = CGSize(width: itemWidth,height: itemHeight)\n        self.itemSize = itemSize\n        // Cell 左右间距\n        self.minimumInteritemSpacing = 0.0\n        // Cell 行间距\n        self.minimumLineSpacing = 0\n        // 增加内嵌\n        self.sectionInset = UIEdgeInsets(top: (screenSize.height/2.0) - (itemHeight/2.0), left: edgeInsets, bottom: (screenSize.height/2.0) - (itemHeight/2.0), right: 0)\n        \n        // 滚动方向\n        scrollDirection = UICollectionView.ScrollDirection.horizontal\n    }\n    \n    // 每次Cell的位置发生变化的时候都会执行\n    // layoutAttributesForElementsInRect询问Cell应该放在什么位置\n    override func layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]? {\n        \n        let layoutAttributes = super.layoutAttributesForElements(in: rect)\n        // 获取所有需要显示的Cell的位置信息\n        \n        let contentOffset = collectionView!.contentOffset\n        // 获取collectionView的滑动情况\n        \n        for attributes in layoutAttributes! {\n            \n            let center = attributes.center\n            \n            let cellPositinOnScreen = (center.x - itemWidth/2.0) - contentOffset.x\n            \n            if cellPositinOnScreen >= (edgeInsets - itemWidth/2.0)\n                && cellPositinOnScreen < (edgeInsets\n                    + collectionViewWidth ) {\n                \n                // 计算Cell是不是在应该显示的区域\n                attributes.alpha = 1\n                \n            } else {\n                attributes.alpha = 0\n            }\n        }\n        \n        return layoutAttributes\n    }\n    \n    override func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool {\n        return true\n    }\n    \n}\n\nfunc calInsets(numberOfCells: Int) -> UIEdgeInsets {\n    \n    let insetLeft = (screenSize.width - collectionViewWidth)/2.0\n    \n    var edgeInsets: CGFloat = 0\n    \n    if (numberOfCells >= 3) {\n        \n        edgeInsets = insetLeft\n        \n    } else {\n        edgeInsets = insetLeft + (collectionViewWidth - (CGFloat(numberOfCells)*itemWidth))/2.0\n    }\n    \n    return UIEdgeInsets(top: (screenSize.height/2.0) - (itemHeight/2.0), left: edgeInsets, bottom: (screenSize.height/2.0) - (itemHeight/2.0), right: 0)\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/DiaryLocationHelper.swift",
    "content": "//\n//  DiaryLocationHelper.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport CoreLocation\n\nclass DiaryLocationHelper: NSObject, CLLocationManagerDelegate {\n    \n    var locationManager:CLLocationManager = CLLocationManager()\n    var currentLocation:CLLocation?\n    var address:String?\n    var geocoder = CLGeocoder()\n    \n    override init() {\n        super.init()\n        // 设置委托\n        locationManager.delegate = self\n        // 请求位置授权\n        locationManager.requestWhenInUseAuthorization()\n        if (CLLocationManager.locationServicesEnabled()){\n            //开始获取位置\n            locationManager.startUpdatingLocation()\n        }\n    }\n    \n    func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {\n        // 根据经纬度查询位置名称\n        geocoder.reverseGeocodeLocation(locations[0], completionHandler: { (placemarks, error) in\n            \n            if let error = error {\n                print(\"查询失败: \\(error.localizedDescription)\")\n            }\n            \n            // placemarks里包括了位置的国家、省份、地区等信息\n            if let pm = placemarks {\n                if pm.count > 0 {\n                    \n                    let placemark = pm.first\n                    \n                    self.address = placemark?.locality\n                    \n                    // 广播位置信息\n                    NotificationCenter.default.post(name: Notification.Name(rawValue: \"DiaryLocationUpdated\"), object: self.address)\n                }\n            }\n            \n        })\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/DiaryMonthCollectionViewController.swift",
    "content": "//\n//  DiaryMonthCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nlet DiaryRed = UIColor(red: 192.0/255.0, green: 23/255.0, blue: 48.0/255.0, alpha: 1)\n\nclass DiaryMonthCollectionViewController: UICollectionViewController {\n    var year: Int!\n    var month: Int!\n    var yearLabel: DiaryLabel!\n    var monthLabel: DiaryLabel!\n    var fetchedResultsController : NSFetchedResultsController<Diary>!\n    var diarys = [Diary]()\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n        \n        yearLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: \"二零一五年\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        \n        yearLabel.frame = CGRect(x: screenSize.width - yearLabel.frame.size.width - 20, y: 20, width: yearLabel.frame.size.width, height: yearLabel.frame.size.height)\n        \n        self.view.addSubview(yearLabel)\n        \n        monthLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: \"三月\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: DiaryRed)\n        \n        monthLabel.frame = CGRect(x: screenSize.width - monthLabel.frame.size.width - 20, y: screenSize.height/2.0 - monthLabel.frame.size.height/2.0, width: monthLabel.frame.size.width, height: monthLabel.frame.size.height)\n        \n        self.view.addSubview(monthLabel)\n        \n        \n        // 添加按钮\n        \n        let composeButton = diaryButtonWith(text: \"撰\",\n                                            fontSize: 14.0,\n                                            width: 40.0,\n                                            normalImageName: \"Oval\",\n                                            highlightedImageName: \"Oval_pressed\")\n        \n        composeButton.center = CGPoint(x: yearLabel.center.x,\n                                       y: 38 + yearLabel.frame.size.height + 26.0/2.0)\n        \n        composeButton.addTarget(self, action: #selector(newCompose),\n                                for: UIControl.Event.touchUpInside)\n        \n        self.view.addSubview(composeButton)\n        \n        // 查询数据\n        \n        do {\n            // 新建查询\n            let fetchRequest = NSFetchRequest<Diary>(entityName:\"Diary\")\n            \n            // 增加过滤条件\n            fetchRequest.predicate = NSPredicate(format:\"year = \\(year!) AND month = \\(month!)\")\n            \n            // 排序方式\n            fetchRequest.sortDescriptors = [NSSortDescriptor(key: \"created_at\", ascending: true)]\n            \n            fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest,\n                                                                  managedObjectContext: managedContext, sectionNameKeyPath: nil,\n                                                                  cacheName: nil)\n            \n            // 建立委托关系\n            fetchedResultsController.delegate = self\n            \n            // 尝试查询\n            try self.fetchedResultsController.performFetch()\n            \n            \n            if (fetchedResultsController.fetchedObjects!.count == 0){\n                print(\"没有存储结果\")\n            }else{\n                diarys = fetchedResultsController.fetchedObjects!\n            }\n            \n        } catch let error as NSError {\n            NSLog(\"发现错误 \\(error.localizedDescription)\")\n        }\n        \n        resetCollectionView()\n    }\n    \n    func resetCollectionView() {\n        \n        let edgeInsets = calInsets(numberOfCells: diarys.count)\n        \n        if let layout = collectionView!.collectionViewLayout as? DiaryLayout {\n            layout.edgeInsets = edgeInsets.left\n        }\n        \n        self.collectionView!.contentOffset = CGPoint(x: -edgeInsets.left, y: 0)\n        \n        self.collectionView!.reloadData()\n        \n        view.layoutIfNeeded()\n    }\n    \n    @objc func newCompose() {\n        \n        let identifier = \"DiaryComposeViewController\"\n        \n        let composeViewController = self.storyboard?.instantiateViewController(withIdentifier: identifier)\n            as! DiaryComposeViewController\n        \n        self.present(composeViewController,\n                     animated: true,\n                     completion: nil)\n        \n    }\n    \n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return 1\n    }\n    \n    \n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return diarys.count\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        let diary = diarys[indexPath.row]\n        \n        cell.labelText = diary.title!\n        \n        return cell\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: \"DiaryViewController\") as! DiaryViewController\n        \n        dvc.diary = diarys[indexPath.row]\n        \n        self.navigationController!.pushViewController(dvc, animated: true)\n        \n    }\n    \n}\n\nextension DiaryMonthCollectionViewController: NSFetchedResultsControllerDelegate {\n    \n    // 响应数据变化\n    func controller(_ controller: NSFetchedResultsController<NSFetchRequestResult>, didChange anObject: Any, at indexPath: IndexPath?, for type: NSFetchedResultsChangeType, newIndexPath: IndexPath?) {\n        \n        // 重置数据源\n        diarys = controller.fetchedObjects! as! [Diary]\n        // 重载数据\n        self.collectionView?.reloadData()\n        // 更新布局\n        self.collectionView?.setCollectionViewLayout(DiaryLayout(), animated: false)\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/DiaryTemplate.html",
    "content": "<!DOCTYPE html>\n<html>\n  <head>\n    <meta charset=\"utf-8\">\n    <meta name=\"viewport\" content=\"width=device-width; initial-scale=1.0; maximum-scale=1.0;\">\n    <title></title>\n    <style>\n        body { padding: 0px; background-color: white;}\n      * {\n        -webkit-text-size-adjust: 100%;\n        margin:0;\n        font-family: '#fontStr#';\n        -webkit-writing-mode: vertical-rl;\n        letter-spacing: 3px;\n        }\n    .content { min-width: #minWidth#px; margin-right: #contentMargin#px;}\n      .content p { font-size: 12pt; line-height: 24pt;}\n      .title {\n        font-size: 12pt;\n        font-weight:bold;\n        line-height: 24pt;\n        margin-right: #titleMarginRight#px;\n        padding-left: 20px;\n        }\n      .extra{\n        font-size:12pt;\n        line-height: 24pt;\n        margin-right:30px;\n      }\n      .container {\n        padding:25px 10px 25px 25px;\n      }\n\n      .stamp {\n        width:24px;\n        height:auto;\n        position:fixed;\n        bottom:20px;\n      }\n\n    </style>\n  </head>\n   <body>\n     <div class=\"container\">\n         #title#\n       <div class=\"content\">\n           <p>#newDiaryString#</p>\n       </div>\n       <div class=\"extra\">\n           #location#<br>#timeString#\n       </div>\n     </div>\n   </body>\n   </html>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/DiaryViewController.swift",
    "content": "//\n//  DiaryViewController.swift\n//  Diary\n//\n//  Created by kevinzhow on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryViewController: UIViewController {\n    var diary:Diary!\n    \n    var webview: UIWebView!\n    \n    var saveButton:UIButton!\n    \n    var deleteButton:UIButton!\n    \n    var editButton:UIButton!\n    \n    var buttonsView:UIView!\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        setupUI()\n        showButtons()\n        \n    }\n    \n    func setupUI() {\n        webview = UIWebView(frame: CGRect(x: 0,y: 0, width: self.view.frame.size.width, height: self.view.frame.size.height))\n        \n        webview.scrollView.bounces = true\n        \n        webview.backgroundColor = UIColor.white\n        \n        self.view.addSubview(self.webview)\n        \n        // 读取模板的内容\n        let mainHTML = Bundle.main.url(forResource: \"DiaryTemplate\", withExtension:\"html\")\n        var contents: NSString = \"\"\n        \n        do {\n            contents = try NSString(contentsOfFile: mainHTML!.path, encoding: String.Encoding.utf8.rawValue)\n        } catch let error as NSError {\n            print(error)\n        }\n        \n        // 生成年的整数类型\n        let year = (Calendar.current as NSCalendar).component(NSCalendar.Unit.year, from: diary.created_at!)\n        \n        // 生成月的整数类型\n        let month = (Calendar.current as NSCalendar).component(NSCalendar.Unit.month, from: diary.created_at!)\n        \n        // 生成日的整数类型\n        let day = (Calendar.current as NSCalendar).component(NSCalendar.Unit.day, from: diary.created_at!)\n        \n        let timeString = \"\\(numberToChinese(year))年 \\(numberToChineseWithUnit(month))月 \\(numberToChineseWithUnit(day))日\"\n        \n        // 替换字符串\n        contents = contents.replacingOccurrences(of: \"#timeString#\", with: timeString) as NSString\n        \n        let newDiaryString = diary.content?.replacingOccurrences(of: \"\\n\", with: \"<br>\", options: NSString.CompareOptions.literal, range: nil)\n        \n        contents = contents.replacingOccurrences(of: \"#newDiaryString#\", with: newDiaryString!) as NSString\n        \n        var title = \"\"\n        var contentWidthOffset = 140\n        var contentMargin:CGFloat = 10\n        \n        if let titleStr = diary?.title {\n            let parsedTime = \"\\(numberToChineseWithUnit((Calendar.current as NSCalendar).component(NSCalendar.Unit.day, from: diary.created_at!))) 日\"\n            if titleStr != parsedTime {\n                title = titleStr\n                contentWidthOffset = 205\n                contentMargin = 10\n                title = \"<div class='title'>\\(title)</div>\"\n            }\n        }\n        \n        contents = contents.replacingOccurrences(of: \"#contentMargin#\", with: \"\\(contentMargin)\") as NSString\n        \n        contents = contents.replacingOccurrences(of: \"#title#\", with: title) as NSString\n        \n        let minWidth = self.view.frame.size.width - CGFloat(contentWidthOffset)\n        \n        contents = contents.replacingOccurrences(of: \"#minWidth#\", with: \"\\(minWidth)\") as NSString\n        \n        let fontStr = defaultFont\n        \n        contents = contents.replacingOccurrences(of: \"#fontStr#\", with: fontStr) as NSString\n        \n        let titleMarginRight:CGFloat = 15\n        \n        contents = contents.replacingOccurrences(of: \"#titleMarginRight#\", with: \"\\(titleMarginRight)\") as NSString\n        \n        if let location = diary.location {\n            contents = contents.replacingOccurrences(of: \"#location#\", with: location) as NSString\n        } else {\n            contents = contents.replacingOccurrences(of: \"#location#\", with: \"\") as NSString\n        }\n        \n        \n        webview.loadHTMLString(contents as String, baseURL: nil)\n        \n        // 添加存改删按钮\n        \n        buttonsView = UIView(frame: CGRect(x: 0, y: screenSize.height, width: screenSize.width, height: 80.0))\n        buttonsView.backgroundColor = UIColor.clear\n        buttonsView.alpha = 0.0\n        \n        let buttonFontSize:CGFloat = 18.0\n        \n        saveButton = diaryButtonWith(text: \"存\",  fontSize: buttonFontSize,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        saveButton.center = CGPoint(x: buttonsView.frame.width/2.0, y: buttonsView.frame.height/2.0)\n        \n        saveButton.addTarget(self, action: #selector(saveToRoll), for: UIControl.Event.touchUpInside)\n        \n        buttonsView.addSubview(saveButton)\n        \n        \n        editButton = diaryButtonWith(text: \"改\",  fontSize: buttonFontSize,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        editButton.center = CGPoint(x: saveButton.center.x - 56.0, y: saveButton.center.y)\n        \n        editButton.addTarget(self, action: #selector(editDiary), for: UIControl.Event.touchUpInside)\n        \n        buttonsView.addSubview(editButton)\n        \n        deleteButton = diaryButtonWith(text: \"刪\",  fontSize: buttonFontSize,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        deleteButton.center = CGPoint(x: saveButton.center.x + 56.0, y: saveButton.center.y)\n        \n        deleteButton.addTarget(self, action: #selector(deleteThisDiary), for: UIControl.Event.touchUpInside)\n        \n        buttonsView.addSubview(deleteButton)\n        \n        self.view.addSubview(buttonsView)\n        \n        // 切换按钮的显示状态\n        let mTapUpRecognizer = UITapGestureRecognizer(target: self, action: #selector(showButtons))\n        mTapUpRecognizer.numberOfTapsRequired = 1\n        mTapUpRecognizer.delegate = self\n        self.webview.addGestureRecognizer(mTapUpRecognizer)\n        \n        \n    }\n    \n    @objc func showButtons() {\n        \n        if(buttonsView.alpha == 0.0) {\n            UIView.animate(withDuration: 0.2, delay: 0, options: UIView.AnimationOptions(), animations:\n                {\n                    self.buttonsView.center = CGPoint(x: self.buttonsView.center.x, y: screenSize.height - self.buttonsView.frame.size.height/2.0)\n                    self.buttonsView.alpha = 1.0\n                    \n            }, completion: nil)\n            \n        }else{\n            \n            UIView.animate(withDuration: 0.1, delay: 0, options: UIView.AnimationOptions(), animations:\n                {\n                    self.buttonsView.center = CGPoint(x: self.buttonsView.center.x, y: screenSize.height + self.buttonsView.frame.size.height/2.0)\n                    self.buttonsView.alpha = 0.0\n            }, completion: nil)\n            \n        }\n    }\n    \n    @objc func editDiary() {\n        let composeViewController = self.storyboard?.instantiateViewController(withIdentifier: \"DiaryComposeViewController\") as! DiaryComposeViewController\n        \n        if let diary = diary {\n            \n            composeViewController.diary = diary\n        }\n        \n        self.present(composeViewController, animated: true, completion: nil)\n    }\n    \n    @objc func saveToRoll() {\n        \n        let offset = self.webview.scrollView.contentOffset.x\n        \n        // 针对 WebView 截图\n        let image =  webview.captureView()\n        \n        self.webview.scrollView.contentOffset.x = offset\n        \n        // 创建分享对象\n        var sharingItems = [AnyObject]()\n        \n        // 给分享对象插入图片\n        sharingItems.append(image)\n        \n        // 初始化分享组件\n        let activityViewController = UIActivityViewController(activityItems: sharingItems, applicationActivities: nil)\n        activityViewController.popoverPresentationController?.sourceView = self.saveButton\n        \n        // 现实分享组件\n        self.present(activityViewController, animated: true, completion: nil)\n        \n    }\n    \n    \n    @objc func deleteThisDiary() {\n        managedContext.delete(diary)\n        do {\n            try managedContext.save()\n        } catch _ {\n        }\n        hideDiary()\n    }\n    \n    func hideDiary() {\n        self.navigationController?.popViewController(animated: true)\n    }\n    \n}\n\nextension DiaryViewController: UIGestureRecognizerDelegate {\n    func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {\n        \n        return true\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/DiaryYearCollectionViewController.swift",
    "content": "//\n//  DiaryYearCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nclass DiaryYearCollectionViewController: UICollectionViewController {\n    var year: Int!\n    var diarys = [Diary]()\n    var fetchedResultsController : NSFetchedResultsController<Diary>!\n    var monthCount: Int = 1\n    var sectionsCount: Int = 0\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n        \n        do {\n            // 新建查询\n            let fetchRequest = NSFetchRequest<Diary>(entityName:\"Diary\")\n            \n            // 增加过滤条件\n            fetchRequest.predicate = NSPredicate(format:\"year = \\(year!)\")\n            \n            // 排序方式\n            fetchRequest.sortDescriptors = [NSSortDescriptor(key: \"created_at\", ascending: true)]\n            \n            fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest,\n                                                                  managedObjectContext: managedContext, sectionNameKeyPath: \"month\",\n                                                                  cacheName: nil)\n            \n            // 尝试查询\n            try self.fetchedResultsController.performFetch()\n            \n            if (fetchedResultsController.fetchedObjects!.count == 0){\n                print(\"没有存储结果\")\n            }else{\n                \n                if let sectionsCount = fetchedResultsController.sections?.count {\n                    \n                    monthCount = sectionsCount\n                    diarys = fetchedResultsController.fetchedObjects!\n                    \n                }else {\n                    sectionsCount = 0\n                    monthCount = 1\n                }\n            }\n            \n        } catch let error as NSError {\n            NSLog(\"发现错误 \\(error.localizedDescription)\")\n        }\n        \n    }\n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return monthCount\n    }\n    \n    \n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        // 获取当前月份\n        let components = Calendar.current.component(Calendar.Component.month, from: Date())\n        var month = components\n        \n        if sectionsCount > 0 {\n            // 如果程序内有保存的日记，就使用保存的日记的月份\n            let sectionInfo = fetchedResultsController.sections![indexPath.section]\n            print(\"分组信息 \\(sectionInfo.name)\")\n            month = Int(sectionInfo.name)!\n        }\n        \n        cell.textInt = month\n        cell.labelText = \"\\(numberToChinese(cell.textInt)) 月\"\n        \n        // Configure the cell\n        \n        return cell\n        \n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryMonthCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryMonthCollectionViewController // 获取 DiaryMonthCollectionViewController\n        \n        // 获取当前月份\n        let components = Calendar.current.component(Calendar.Component.month, from: Date())\n        var month = components\n        \n        if sectionsCount > 0 {\n            // 如果程序内有保存的日记，就使用保存的日记的月份\n            let sectionInfo = fetchedResultsController.sections![indexPath.section]\n            print(\"分组信息 \\(sectionInfo.name)\")\n            month = Int(sectionInfo.name)!\n        }\n        // 指定是 2015 年的 1 月份\n        dvc.month = month\n        dvc.year = year\n        \n        // 页面跳转\n        self.navigationController!.pushViewController(dvc, animated: true)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/Helper.swift",
    "content": "//\n//  Helper.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nextension Diary {\n    \n    func updateTimeWithDate(_ date: Date){\n        self.created_at = date\n        self.year = Int32(Calendar.current.component(Calendar.Component.year, from: date))\n        self.month = Int32(Calendar.current.component(Calendar.Component.month, from: date))\n    }\n    \n}\n\nextension UIWebView {\n    \n    func captureView() -> UIImage{\n        \n        // 存储初始大小\n        let tmpFrame = self.frame\n        \n        // 新的 Frame\n        \n        var aFrame = self.frame\n        \n        aFrame.size.width = self.sizeThatFits(UIScreen.main.bounds.size).width\n        \n        // 展开 Frame\n        self.frame = aFrame\n        \n        // 初始化 ImageContext\n        UIGraphicsBeginImageContextWithOptions(\n            self.sizeThatFits(UIScreen.main.bounds.size),\n            false,\n            UIScreen.main.scale)\n        \n        // 创建新的 Context\n        \n        let resizedContext = UIGraphicsGetCurrentContext()\n        self.layer.render(in: resizedContext!)\n        \n        // 重新渲染到新的 resizedContext\n        let image = UIGraphicsGetImageFromCurrentImageContext()\n        UIGraphicsEndImageContext()\n        \n        // 还原 Frame\n        self.frame = tmpFrame\n        return image!\n    }\n}\n\n\nfunc diaryButtonWith(text: String,\n                     fontSize: CGFloat,\n                     width: CGFloat,\n                     normalImageName: String,\n                     highlightedImageName: String) -> UIButton {\n    \n    // 创建自定义按钮\n    let button = UIButton(type: UIButton.ButtonType.custom)\n    \n    // 设定按钮的大小\n    button.frame = CGRect(x: 0, y: 0, width: width, height: width)\n    \n    let font = UIFont(name: \"Wyue-GutiFangsong-NC\", size: fontSize)\n    \n    let textAttributes: [NSAttributedString.Key: AnyObject] = [\n        NSAttributedString.Key.font: font!,\n        NSAttributedString.Key.foregroundColor: UIColor.white]\n    \n    // 设置按钮的字体\n    let attributedText = NSAttributedString(string: text, attributes: textAttributes)\n    button.setAttributedTitle(attributedText, for: UIControl.State.normal)\n    \n    // 设置默认按钮的样式\n    button.setBackgroundImage(UIImage(\n        named: normalImageName),\n                              for: UIControl.State.normal)\n    \n    // 设置按钮被按下时的样式\n    button.setBackgroundImage(UIImage(\n        named: highlightedImageName),\n                              for: UIControl.State.highlighted)\n    \n    return button\n}\n\nfunc singleNumberToChinese(_ number:Character) -> String {\n    switch number {\n    case \"0\":\n        return \"零\"\n    case \"1\":\n        return \"一\"\n    case \"2\":\n        return \"二\"\n    case \"3\":\n        return \"三\"\n    case \"4\":\n        return \"四\"\n    case \"5\":\n        return \"五\"\n    case \"6\":\n        return \"六\"\n    case \"7\":\n        return \"七\"\n    case \"8\":\n        return \"八\"\n    case \"9\":\n        return \"九\"\n    default:\n        return \"\"\n    }\n}\n\n\nfunc numberToChinese(_ number:Int) -> String {\n    let numbers = String(number)\n    var finalString = \"\"\n    for singleNumber in numbers {\n        let string = singleNumberToChinese(singleNumber)\n        finalString = \"\\(finalString)\\(string)\"\n    }\n    return finalString\n}\n\nfunc numberToChineseWithUnit(_ number:Int) -> String {\n    let numbers = String(number)\n    var units = unitParser(numbers.count)\n    var finalString = \"\"\n    \n    for (index, singleNumber) in numbers.enumerated() {\n        let string = singleNumberToChinese(singleNumber)\n        if (!(string == \"零\" && (index+1) == numbers.count)){\n            finalString = \"\\(finalString)\\(string)\\(units[index])\"\n        }\n    }\n    \n    return finalString\n}\n\nfunc unitParser(_ unit:Int) -> [String] {\n    \n    var units = Array([\"万\",\"千\",\"百\",\"十\",\"\"].reversed())\n    let parsedUnits = units[0..<(unit)].reversed()\n    let slicedUnits: ArraySlice<String> = ArraySlice(parsedUnits)\n    let final: [String] = Array(slicedUnits)\n    return final\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/HomeCollectionViewController.swift",
    "content": "//\n//  HomeCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nclass HomeCollectionViewController: UICollectionViewController {\n    var diarys = [Diary]()\n    var fetchedResultsController : NSFetchedResultsController<Diary>!\n    var yearsCount: Int = 1\n    var sectionsCount: Int = 0\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let yearLayout = DiaryLayout()\n        \n        yearLayout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(yearLayout, animated: false)\n        \n        self.navigationController!.delegate = self\n        \n        do {\n            // 新建查询\n            let fetchRequest = NSFetchRequest<Diary>(entityName:\"Diary\")\n            \n            // 排序方式\n            fetchRequest.sortDescriptors = [NSSortDescriptor(key: \"created_at\", ascending: true)]\n            \n            fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest,\n                                                                  managedObjectContext: managedContext, sectionNameKeyPath: \"year\",\n                                                                  cacheName: nil)\n            \n            // 尝试查询\n            try self.fetchedResultsController.performFetch()\n            \n            if (fetchedResultsController.fetchedObjects!.count == 0){\n                print(\"没有存储结果\")\n            }else{\n                \n                if let sectionsCount = fetchedResultsController.sections?.count {\n                    \n                    yearsCount = sectionsCount\n                    diarys = fetchedResultsController.fetchedObjects!\n                    \n                }else {\n                    sectionsCount = 0\n                    yearsCount = 1\n                }\n            }\n            \n        } catch let error as NSError {\n            NSLog(\"发现错误 \\(error.localizedDescription)\")\n        }\n    }\n    \n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return yearsCount\n    }\n    \n    \n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"HomeYearCollectionViewCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! HomeYearCollectionViewCell\n        \n        // 获取当前月份\n        let components = Calendar.current.component(Calendar.Component.year, from: Date())\n        var year = components\n        \n        if sectionsCount > 0 {\n            // 如果程序内有保存的日记，就使用保存的日记的年份\n            let sectionInfo = fetchedResultsController.sections![indexPath.section]\n            print(\"分组信息 \\(sectionInfo.name)\")\n            year = Int(sectionInfo.name)!\n        }\n        \n        cell.textInt = year\n        cell.labelText = \"\\(numberToChinese(cell.textInt)) 年\"\n        \n        // Configure the cell\n        \n        return cell\n        \n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryYearCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryYearCollectionViewController // 获取 DiaryYearCollectionViewController\n        \n        let components = Calendar.current.component(Calendar.Component.year, from: Date())\n        var year = components\n        if sectionsCount > 0 {\n            let sectionInfo = fetchedResultsController.sections![(indexPath as NSIndexPath).row]\n            print(\"Section info \\(sectionInfo.name)\")\n            year = Int(sectionInfo.name)!\n        }\n        \n        dvc.year = year\n        \n        self.navigationController!.pushViewController(dvc, animated: true)\n        \n    }\n    \n}\n\nextension HomeCollectionViewController: UINavigationControllerDelegate {\n    func navigationController(_ navigationController:\n        UINavigationController,\n                              animationControllerFor operation:\n        UINavigationController.Operation,\n                              from fromVC: UIViewController,\n                              to toVC: UIViewController) ->\n        UIViewControllerAnimatedTransitioning? {\n            \n            let animator = DiaryAnimator()\n            animator.operation = operation\n            return animator\n    }\n    \n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/HomeYearCollectionViewCell.swift",
    "content": "//\n//  HomeYearCollectionViewCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass HomeYearCollectionViewCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UIAppFonts</key>\n\t<array>\n\t\t<string>Wyue-GutiFangsong-NC_deliverable.otf</string>\n\t\t<string>TpldKhangXiDictTrial.otf</string>\n\t</array>\n\t<key>NSLocationWhenInUseUsageDescription</key>\n\t<string>在撰写日志的时候自动添加位置</string>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */; };\n\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7381DB2B0F500B4665B /* ViewController.swift */; };\n\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73A1DB2B0F500B4665B /* Main.storyboard */; };\n\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */; };\n\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */; };\n\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */; };\n\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */; };\n\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */; };\n\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */; };\n\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */; };\n\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */; };\n\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */; };\n\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */; };\n\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7601DB2EDDC00B4665B /* Helper.swift */; };\n\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */; };\n\t\t0A5EA7651DB2F82E00B4665B /* DiaryAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */; };\n\t\t0A5EA7671DB30D2000B4665B /* DiaryComposeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */; };\n\t\t0A5EA7691DB3131E00B4665B /* DiaryLocationHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */; };\n\t\t0A5EA76F1DB31A8500B4665B /* Diary.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */; };\n\t\t9F74CDB71DB3A69300DD10E3 /* DiaryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9F74CDB61DB3A69300DD10E3 /* DiaryViewController.swift */; };\n\t\t9F74CDB91DB3A80700DD10E3 /* DiaryTemplate.html in Resources */ = {isa = PBXBuildFile; fileRef = 9F74CDB81DB3A80700DD10E3 /* DiaryTemplate.html */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Diary.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA73B1DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t0A5EA7401DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLabel.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = TpldKhangXiDictTrial.otf; sourceTree = \"<group>\"; };\n\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = \"Wyue-GutiFangsong-NC_deliverable.otf\"; sourceTree = \"<group>\"; };\n\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeYearCollectionViewCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLayout.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryYearCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Helper.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryMonthCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryAnimator.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryComposeViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLocationHelper.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Diary.xcdatamodel; sourceTree = \"<group>\"; };\n\t\t9F74CDB61DB3A69300DD10E3 /* DiaryViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryViewController.swift; sourceTree = \"<group>\"; };\n\t\t9F74CDB81DB3A80700DD10E3 /* DiaryTemplate.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = DiaryTemplate.html; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0A5EA72A1DB2B0F500B4665B = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7351DB2B0F500B4665B /* Diary */,\n\t\t\t\t0A5EA7341DB2B0F500B4665B /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7341DB2B0F500B4665B /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7351DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t9F74CDB81DB3A80700DD10E3 /* DiaryTemplate.html */,\n\t\t\t\t9F74CDB61DB3A69300DD10E3 /* DiaryViewController.swift */,\n\t\t\t\t0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */,\n\t\t\t\t0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */,\n\t\t\t\t0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */,\n\t\t\t\t0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */,\n\t\t\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */,\n\t\t\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */,\n\t\t\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */,\n\t\t\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */,\n\t\t\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */,\n\t\t\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */,\n\t\t\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */,\n\t\t\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */,\n\t\t\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */,\n\t\t\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */,\n\t\t\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */,\n\t\t\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */,\n\t\t\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */,\n\t\t\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */,\n\t\t\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */,\n\t\t\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */,\n\t\t\t);\n\t\t\tpath = Diary;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0A5EA7321DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0A5EA72F1DB2B0F500B4665B /* Sources */,\n\t\t\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */,\n\t\t\t\t0A5EA7311DB2B0F500B4665B /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Diary;\n\t\t\tproductName = Diary;\n\t\t\tproductReference = 0A5EA7331DB2B0F500B4665B /* Diary.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0A5EA72B1DB2B0F500B4665B /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0800;\n\t\t\t\tLastUpgradeCheck = 0800;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0A5EA7321DB2B0F500B4665B = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 8.0;\n\t\t\t\t\t\tProvisioningStyle = Automatic;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0A5EA72A1DB2B0F500B4665B;\n\t\t\tproductRefGroup = 0A5EA7341DB2B0F500B4665B /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0A5EA7321DB2B0F500B4665B /* Diary */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0A5EA7311DB2B0F500B4665B /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */,\n\t\t\t\t9F74CDB91DB3A80700DD10E3 /* DiaryTemplate.html in Resources */,\n\t\t\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */,\n\t\t\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */,\n\t\t\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0A5EA72F1DB2B0F500B4665B /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */,\n\t\t\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA7691DB3131E00B4665B /* DiaryLocationHelper.swift in Sources */,\n\t\t\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */,\n\t\t\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */,\n\t\t\t\t0A5EA7671DB30D2000B4665B /* DiaryComposeViewController.swift in Sources */,\n\t\t\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */,\n\t\t\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */,\n\t\t\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */,\n\t\t\t\t9F74CDB71DB3A69300DD10E3 /* DiaryViewController.swift in Sources */,\n\t\t\t\t0A5EA76F1DB31A8500B4665B /* Diary.xcdatamodeld in Sources */,\n\t\t\t\t0A5EA7651DB2F82E00B4665B /* DiaryAnimator.swift in Sources */,\n\t\t\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA73B1DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7401DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0A5EA7431DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7441DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0A5EA7461DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7471DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7431DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7441DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7461DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7471DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\n/* Begin XCVersionGroup section */\n\t\t0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */ = {\n\t\t\tisa = XCVersionGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */,\n\t\t\t);\n\t\t\tcurrentVersion = 0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */;\n\t\t\tpath = Diary.xcdatamodeld;\n\t\t\tsourceTree = \"<group>\";\n\t\t\tversionGroupType = wrapper.xcdatamodel;\n\t\t};\n/* End XCVersionGroup section */\n\t};\n\trootObject = 0A5EA72B1DB2B0F500B4665B /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Diary.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bucket\n   type = \"1\"\n   version = \"2.0\">\n</Bucket>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bucket\n   type = \"1\"\n   version = \"2.0\">\n</Bucket>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bucket\n   type = \"1\"\n   version = \"2.0\">\n</Bucket>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_12/Diary.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\n// Coredata\nlet appDelegate = UIApplication.shared.delegate as! AppDelegate\n\nlet managedContext = appDelegate.managedObjectContext!\n\nlet itemHeight: CGFloat = 150.0\n// Cell的高度\n\nlet itemWidth: CGFloat = 60\n// Cell的宽度\n\nlet collectionViewWidth = itemWidth * 3\n// 同时显示3个Cell时候\n\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    lazy var managedObjectModel: NSManagedObjectModel = {\n        // 描述数据模型描述文件存储位置\n        let modelURL = Bundle.main.url(forResource: \"Diary\", withExtension: \"momd\")!\n        return NSManagedObjectModel(contentsOf: modelURL)!\n    }()\n    \n    lazy var applicationDocumentsDirectory: URL = {\n        // 数据库文件的存放文件夹\n        let urls = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)\n        return urls[urls.count-1]\n    }()\n\n    lazy var persistentStoreCoordinator: NSPersistentStoreCoordinator? = {\n            // 通过 managedObjectModel 创建持久化管理\n            var coordinator: NSPersistentStoreCoordinator? =\n                NSPersistentStoreCoordinator(managedObjectModel:\n                    self.managedObjectModel)\n            \n            let url = self.applicationDocumentsDirectory.appendingPathComponent(\"Diary.sqlite\")\n            // 设定数据库存储位置\n            \n            var error: NSError? = nil\n            var failureReason = \"载入程序存储的数据出错.\"\n            \n            do {\n                try coordinator!.addPersistentStore(\n                    ofType: NSSQLiteStoreType, configurationName: nil,\n                    at: url, options: nil)\n                // 创建NSSQLiteStoreType类型持久化存储\n            } catch var error1 as NSError {\n                error = error1\n                coordinator = nil\n                // 报告错误\n                var dict = [String: AnyObject]()\n                dict[NSLocalizedDescriptionKey] = \"无法初始化程序存储的数据\" as AnyObject?\n                dict[NSLocalizedFailureReasonErrorKey] = failureReason as AnyObject?\n                dict[NSUnderlyingErrorKey] = error\n                error = NSError(domain: \"YOUR_ERROR_DOMAIN\", code: 9999, userInfo: dict)\n                NSLog(\"发现错误 \\(error), \\(error!.userInfo)\")\n                abort()\n            } catch {\n                fatalError()\n            }\n            \n            return coordinator\n    }()\n    \n    lazy var managedObjectContext: NSManagedObjectContext? = {\n        let coordinator = self.persistentStoreCoordinator\n        if coordinator == nil {\n            return nil\n        }\n        var managedObjectContext = NSManagedObjectContext(concurrencyType: .privateQueueConcurrencyType)\n        managedObjectContext.persistentStoreCoordinator = coordinator\n        return managedObjectContext\n    }()\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"83.5x83.5\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/Assets.xcassets/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/Assets.xcassets/Oval.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/Assets.xcassets/Oval_pressed.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11134\" systemVersion=\"15F34\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11106\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"kL8-Co-z9D\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Navigation Controller-->\n        <scene sceneID=\"nDa-SJ-xz8\">\n            <objects>\n                <navigationController navigationBarHidden=\"YES\" id=\"kL8-Co-z9D\" sceneMemberID=\"viewController\">\n                    <navigationBar key=\"navigationBar\" contentMode=\"scaleToFill\" id=\"4V2-cI-zED\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"44\"/>\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                    </navigationBar>\n                    <connections>\n                        <segue destination=\"jaX-ox-NO1\" kind=\"relationship\" relationship=\"rootViewController\" id=\"0CX-Bs-aYm\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"1ry-uh-1gv\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-842\" y=\"152\"/>\n        </scene>\n        <!--Home Collection View Controller-->\n        <scene sceneID=\"xp1-EX-i1t\">\n            <objects>\n                <collectionViewController id=\"jaX-ox-NO1\" customClass=\"HomeCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" dataMode=\"prototypes\" id=\"jrI-Dn-xWe\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"uYL-dk-pKl\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"HomeYearCollectionViewCell\" id=\"X1f-9B-ji3\" customClass=\"HomeYearCollectionViewCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                                <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"jaX-ox-NO1\" id=\"tJv-Ng-uBS\"/>\n                            <outlet property=\"delegate\" destination=\"jaX-ox-NO1\" id=\"pGg-Wa-sLv\"/>\n                        </connections>\n                    </collectionView>\n                    <navigationItem key=\"navigationItem\" id=\"DQv-Sc-DbJ\"/>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"5jE-Hq-jF5\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"138\" y=\"152\"/>\n        </scene>\n        <!--Diary Compose View Controller-->\n        <scene sceneID=\"30A-tU-xe3\">\n            <objects>\n                <viewController storyboardIdentifier=\"DiaryComposeViewController\" id=\"Lw3-Dp-s4h\" customClass=\"DiaryComposeViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"lty-ru-RuT\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"o7k-nX-8BY\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"tH5-OA-VDh\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"ZP3-Oz-N2G\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"1040\" y=\"150\"/>\n        </scene>\n        <!--Diary Year Collection View Controller-->\n        <scene sceneID=\"F2G-6G-oBr\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryYearCollectionViewController\" id=\"elp-wf-O6L\" customClass=\"DiaryYearCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" dataMode=\"prototypes\" id=\"asJ-Z6-Zee\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"nGJ-sA-rbK\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"0Z6-TY-W0M\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"elp-wf-O6L\" id=\"EFu-fn-B84\"/>\n                            <outlet property=\"delegate\" destination=\"elp-wf-O6L\" id=\"7hi-JI-sT1\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"BPC-13-fQY\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"149\" y=\"821\"/>\n        </scene>\n        <!--Diary View Controller-->\n        <scene sceneID=\"BjS-7b-Eyl\">\n            <objects>\n                <viewController storyboardIdentifier=\"DiaryViewController\" id=\"QKX-Fb-wxn\" customClass=\"DiaryViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"AAU-SN-0d6\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"tWJ-A9-fhk\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"v0x-Hm-WjW\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"w4w-Lh-gqk\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"1063\" y=\"855\"/>\n        </scene>\n        <!--Diary Month Collection View Controller-->\n        <scene sceneID=\"Esa-e4-hlZ\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryMonthCollectionViewController\" id=\"9xo-Dc-H11\" customClass=\"DiaryMonthCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" dataMode=\"prototypes\" id=\"3bk-qG-x6G\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"8hv-Df-784\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"n44-bA-yeZ\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"9xo-Dc-H11\" id=\"Le6-7L-8hY\"/>\n                            <outlet property=\"delegate\" destination=\"9xo-Dc-H11\" id=\"HvU-i0-eXq\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"fEk-Yk-ztQ\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"162\" y=\"1504\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/Diary.xcdatamodeld/Diary.xcdatamodel/contents",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<model type=\"com.apple.IDECoreDataModeler.DataModel\" documentVersion=\"1.0\" lastSavedToolsVersion=\"14460.32\" systemVersion=\"18D42\" minimumToolsVersion=\"Automatic\" sourceLanguage=\"Swift\" userDefinedModelVersionIdentifier=\"\">\n    <entity name=\"Diary\" representedClassName=\"Diary\" syncable=\"YES\" codeGenerationType=\"class\">\n        <attribute name=\"content\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"created_at\" optional=\"YES\" attributeType=\"Date\" usesScalarValueType=\"NO\" syncable=\"YES\"/>\n        <attribute name=\"location\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"month\" optional=\"YES\" attributeType=\"Integer 32\" defaultValueString=\"0\" usesScalarValueType=\"YES\" syncable=\"YES\"/>\n        <attribute name=\"title\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"year\" optional=\"YES\" attributeType=\"Integer 32\" defaultValueString=\"0\" usesScalarValueType=\"YES\" syncable=\"YES\"/>\n    </entity>\n    <elements>\n        <element name=\"Diary\" positionX=\"-63\" positionY=\"-18\" width=\"128\" height=\"135\"/>\n    </elements>\n</model>"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/DiaryAnimator.swift",
    "content": "//\n//  DiaryAnimator.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryAnimator: NSObject, UIViewControllerAnimatedTransitioning {\n    \n    var operation: UINavigationController.Operation!\n    \n    // 转场时长\n    \n    func transitionDuration(using transitionContext:\n        UIViewControllerContextTransitioning?) -> TimeInterval {\n        return 0.4\n    }\n    \n    func animateTransition(using transitionContext:\n        UIViewControllerContextTransitioning)\n    {\n        \n        // 获取转场舞台\n        let containerView = transitionContext.containerView\n        \n        let fromVC = transitionContext.viewController(\n            forKey: UITransitionContextViewControllerKey.from)\n        \n        // 获取从哪个场景开始转\n        let fromView = fromVC!.view\n        \n        let toVC = transitionContext.viewController(\n            forKey: UITransitionContextViewControllerKey.to)\n        \n        // 获取要转去哪个场景\n        let toView = toVC!.view\n        \n        // 设置新场景透明度\n        toView?.alpha = 0.0\n        \n        // UINavigationControllerOperation.Pop用来判断是转入还是转出\n        if operation ==  UINavigationController.Operation.pop {\n            // 如果是返回旧场景，那么设置要转入的场景初始缩放为原始大小\n            toView?.transform = CGAffineTransform(scaleX: 1.0,y: 1.0)\n        }else{\n            // 如果是转到新场景，设置新场景初始缩放为0.3\n            toView?.transform = CGAffineTransform(scaleX: 0.3,y: 0.3);\n        }\n        \n        // 在舞台上插入场景\n        containerView.insertSubview(toView!, aboveSubview: fromView!)\n        \n        UIView.animate(\n            withDuration: transitionDuration(using: transitionContext),\n            delay: 0,\n            options: UIView.AnimationOptions.curveEaseInOut,\n            animations:\n            {\n                if self.operation ==  UINavigationController.Operation.pop {\n                    // 放大要转出的场景\n                    fromView?.transform = CGAffineTransform(scaleX: 3.3,y: 3.3)\n                } else {\n                    // 设置新场景为原始大小\n                    toView?.transform = CGAffineTransform(scaleX: 1.0,y: 1.0)\n                }\n                \n                toView?.alpha = 1.0\n                \n        }, completion: { finished in\n            \n            // 通知NavigationController已经完成转场\n            transitionContext.completeTransition(true)\n            \n        })\n        \n        \n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/DiaryCell.swift",
    "content": "//\n//  DiaryCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/DiaryComposeViewController.swift",
    "content": "//\n//  DiaryComposeViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nlet titleTextViewHeight:CGFloat = 30.0\nlet contentMargin:CGFloat = 20.0\n\nvar defaultFont = \"Wyue-GutiFangsong-NC\"\nlet DiaryFont = UIFont(name: defaultFont, size: 18)!\nlet DiaryLocationFont = UIFont(name: defaultFont, size: 16)!\nlet DiaryTitleFont = UIFont(name: defaultFont, size: 18)!\n\nclass DiaryComposeViewController: UIViewController {\n    var diary: Diary?\n    var composeView:UITextView!\n    var locationTextView:UITextView!\n    var titleTextView:UITextView!\n    var finishButton:UIButton!\n    var keyboardSize:CGSize = CGSize(width: 0, height: 0)\n    var locationHelper: DiaryLocationHelper = DiaryLocationHelper()\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        // 创建正文输入框\n        composeView = UITextView(frame: CGRect(x: 0, y: contentMargin + titleTextViewHeight, width: screenSize.width, height: screenSize.height))\n        composeView.font = DiaryFont\n        composeView.isEditable = true\n        composeView.isUserInteractionEnabled = true\n        composeView.textContainerInset = UIEdgeInsets(top: contentMargin, left: contentMargin, bottom: contentMargin, right: contentMargin)\n        \n        // 创建地址输入框\n        locationTextView = UITextView(frame: CGRect(x: 0, y: composeView.frame.size.height - 30.0, width: screenSize.width - 60.0, height: 30.0))\n        locationTextView.font = DiaryLocationFont\n        locationTextView.isEditable = true\n        locationTextView.isUserInteractionEnabled = true\n        locationTextView.bounces = false\n        \n        // 创建标题输入框\n        \n        titleTextView = UITextView(frame: CGRect(x: contentMargin, y: contentMargin/2, width: screenSize.width - 60.0, height: titleTextViewHeight))\n        titleTextView.font = DiaryTitleFont\n        titleTextView.isEditable = true\n        titleTextView.isUserInteractionEnabled = true\n        titleTextView.bounces = false\n        \n        self.view.addSubview(composeView)\n        \n        self.view.addSubview(locationTextView)\n        \n        self.view.addSubview(titleTextView)\n        \n        if let diary = diary {\n            composeView.text = diary.content\n            \n            locationTextView.text = diary.location\n            if let title = diary.title {\n                titleTextView.text = title\n            }\n        }\n        \n        \n        // 创建完成按钮\n        finishButton = diaryButtonWith(text: \"完\",  fontSize: 18.0,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        finishButton.center = CGPoint(x: screenSize.width - 20, y: screenSize.height - 30)\n        \n        self.view.addSubview(finishButton)\n        \n        \n        self.finishButton.center = CGPoint(x: self.view.frame.width - self.finishButton.frame.size.height/2.0 - 10, y: self.view.frame.height  - self.finishButton.frame.size.height/2.0 - 10)\n        \n        self.finishButton.addTarget(self, action: #selector(finishCompose(_:)), for: UIControl.Event.touchUpInside)\n        \n        self.locationTextView.center = CGPoint(x: self.locationTextView.frame.size.width/2.0 + 20.0, y: self.finishButton.center.y)\n        \n        // 监听键盘事件\n        \n        NotificationCenter.default.addObserver(self, selector: #selector(keyboardDidShow(_:)), name: UIWindow.keyboardDidShowNotification, object: nil)\n        \n        NotificationCenter.default.addObserver(self, selector: #selector(updateAddress(_:)), name: NSNotification.Name(rawValue: \"DiaryLocationUpdated\"), object: nil)\n        \n    }\n    \n    @objc func finishCompose(_ button: UIButton) {\n        // 取消输入框的编辑状态，收起键盘\n        \n        self.composeView.endEditing(true)\n        self.locationTextView.endEditing(true)\n        \n        // 确保有文字内容才保存\n        if (composeView.text.lengthOfBytes(using: String.Encoding.utf8) > 1){\n            \n            // 如果是修改 Diary，则保存到原日记中\n            if let diary = diary {\n                \n                diary.content = composeView.text\n                diary.location = locationTextView.text\n                diary.title = titleTextView.text\n                \n                \n            }else{\n                \n                let entity =  NSEntityDescription.entity(forEntityName: \"Diary\", in: managedContext)\n                \n                let newdiary = Diary(entity: entity!,\n                                     insertInto:managedContext)\n                newdiary.content = composeView.text\n                \n                if let address  = locationHelper.address {\n                    newdiary.location = address\n                }\n                \n                if let title = titleTextView.text {\n                    newdiary.title = title\n                }\n                \n                \n                newdiary.updateTimeWithDate(Date())\n            }\n            \n            do {\n                try managedContext.save()\n            } catch let error as NSError {\n                print(\"Could not save \\(error.description)\")\n            }\n            \n        }\n        \n        self.dismiss(animated: true, completion: nil)\n    }\n    \n    \n    @objc func updateAddress(_ notification: Notification) {\n        \n        if let address = notification.object as? String {\n            \n            locationTextView.text = \"于 \\(address)\"\n            \n            locationHelper.locationManager.stopUpdatingLocation()\n        }\n        \n    }\n    \n    @objc func keyboardDidShow(_ notification: Notification) {\n        // 取出键盘的高度\n        if let rectValue = (notification as NSNotification).userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? NSValue {\n            keyboardSize = rectValue.cgRectValue.size\n            \n            //更新完成按钮和地址输入框的位置\n            updateTextViewSizeForKeyboardHeight(keyboardSize.height)\n        }\n    }\n    \n    \n    func updateTextViewSizeForKeyboardHeight(_ keyboardHeight: CGFloat) {\n        \n        let newKeyboardHeight = keyboardHeight\n        \n        UIView.animate(withDuration: 1.0, delay: 0, options: UIView.AnimationOptions(), animations:\n            {\n                if (self.locationTextView.text == nil) {\n                    self.composeView.frame = CGRect(x: 0, y: 0, width: self.view.frame.width, height: self.view.frame.height - newKeyboardHeight)\n                }else{\n                    self.composeView.frame = CGRect(x: 0, y: contentMargin + titleTextViewHeight, width: self.composeView.frame.size.width,  height: self.view.frame.height - newKeyboardHeight - 40.0 - self.finishButton.frame.size.height/2.0 - (contentMargin + titleTextViewHeight))\n                }\n                \n                self.finishButton.center = CGPoint(x: self.view.frame.width - self.finishButton.frame.size.height/2.0 - 10, y: self.view.frame.height - newKeyboardHeight - self.finishButton.frame.size.height/2.0 - 10)\n                \n                \n                self.locationTextView.center = CGPoint(x: self.locationTextView.frame.size.width/2.0 + 20.0, y: self.finishButton.center.y)\n                \n        }, completion: nil)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/DiaryLabel.swift",
    "content": "//\n//  DiaryLabel.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport pop\n\nfunc sizeHeightWithText(labelText: String,\n                        fontSize: CGFloat,\n                        textAttributes: [NSAttributedString.Key: AnyObject]) -> CGRect {\n    \n    return labelText.boundingRect(\n        with: CGSize(width:fontSize, height:480),\n        options: NSStringDrawingOptions.usesLineFragmentOrigin,\n        attributes: textAttributes, context: nil)\n}\n\nclass DiaryLabel: UILabel {\n    \n    var textAttributes: [NSAttributedString.Key: AnyObject]!\n    \n    convenience init(fontname:String,\n                     labelText:String,\n                     fontSize : CGFloat,\n                     lineHeight: CGFloat,\n                     color: UIColor){\n        \n        self.init(frame: CGRect(x:0, y:0, width:0, height:0))\n        \n        let font = UIFont(name: fontname,\n                          size: fontSize)\n        \n        let paragraphStyle = NSMutableParagraphStyle()\n        paragraphStyle.lineSpacing = lineHeight\n        \n        textAttributes = [NSAttributedString.Key.font: font!,\n                          NSAttributedString.Key.foregroundColor: color,\n                          NSAttributedString.Key.paragraphStyle: paragraphStyle]\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: fontSize ,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x: 0, y: 0, width: labelSize.width,\n                            height: labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n        self.lineBreakMode = NSLineBreakMode.byCharWrapping\n        self.numberOfLines = 0\n        self.isUserInteractionEnabled = true\n    }\n    \n    func updateText(labelText: String) {\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: self.font.pointSize,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x:0,y: 0, width:labelSize.width,\n                            height:labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n    }\n    \n    \n    override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {\n        // 使用Pop对其进行缩放\n        let anim = POPSpringAnimation(propertyNamed: kPOPLayerScaleXY)\n        anim?.springBounciness = 10\n        anim?.springSpeed = 15\n        anim?.fromValue = NSValue(cgPoint: CGPoint(x: 1.0, y: 1.0))\n        anim?.toValue = NSValue(cgPoint: CGPoint(x: 0.9, y: 0.9))\n        self.layer.pop_add(anim, forKey: \"PopScale\")\n        \n        super.touchesBegan(touches, with: event)\n    }\n    \n    override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {\n        // 使用Pop对其进行缩放\n        let anim = POPSpringAnimation(propertyNamed: kPOPLayerScaleXY)\n        anim?.springBounciness = 10\n        anim?.springSpeed = 15\n        anim?.fromValue = NSValue(cgPoint: CGPoint(x: 0.9, y: 0.9))\n        anim?.toValue = NSValue(cgPoint: CGPoint(x: 1.0, y: 1.0))\n        self.layer.pop_add(anim, forKey: \"PopScale\")\n        \n        super.touchesEnded(touches, with: event)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/DiaryLayout.swift",
    "content": "//\n//  DiaryLayout.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nlet screenSize = UIWindow().screen.bounds\n\nclass DiaryLayout: UICollectionViewFlowLayout {\n    \n    var edgeInsets = (screenSize.width - itemWidth)/2.0\n    \n    override func prepare() {\n        super.prepare() //准备布局\n        // Cell 大小\n        let itemSize = CGSize(width: itemWidth,height: itemHeight)\n        self.itemSize = itemSize\n        // Cell 左右间距\n        self.minimumInteritemSpacing = 0.0\n        // Cell 行间距\n        self.minimumLineSpacing = 0\n        // 增加内嵌\n        self.sectionInset = UIEdgeInsets(top: (screenSize.height/2.0) - (itemHeight/2.0), left: edgeInsets, bottom: (screenSize.height/2.0) - (itemHeight/2.0), right: 0)\n        \n        // 滚动方向\n        scrollDirection = UICollectionView.ScrollDirection.horizontal\n    }\n    \n    // 每次Cell的位置发生变化的时候都会执行\n    // layoutAttributesForElementsInRect询问Cell应该放在什么位置\n    override func layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]? {\n        \n        let layoutAttributes = super.layoutAttributesForElements(in: rect)\n        // 获取所有需要显示的Cell的位置信息\n        \n        let contentOffset = collectionView!.contentOffset\n        // 获取collectionView的滑动情况\n        \n        for attributes in layoutAttributes! {\n            \n            let center = attributes.center\n            \n            let cellPositinOnScreen = (center.x - itemWidth/2.0) - contentOffset.x\n            \n            if cellPositinOnScreen >= (edgeInsets - itemWidth/2.0)\n                && cellPositinOnScreen < (edgeInsets\n                    + collectionViewWidth ) {\n                \n                // 计算Cell是不是在应该显示的区域\n                attributes.alpha = 1\n                \n            } else {\n                attributes.alpha = 0\n            }\n        }\n        \n        return layoutAttributes\n    }\n    \n    override func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool {\n        return true\n    }\n    \n}\n\nfunc calInsets(numberOfCells: Int) -> UIEdgeInsets {\n    \n    let insetLeft = (screenSize.width - collectionViewWidth)/2.0\n    \n    var edgeInsets: CGFloat = 0\n    \n    if (numberOfCells >= 3) {\n        \n        edgeInsets = insetLeft\n        \n    } else {\n        edgeInsets = insetLeft + (collectionViewWidth - (CGFloat(numberOfCells)*itemWidth))/2.0\n    }\n    \n    return UIEdgeInsets(top: (screenSize.height/2.0) - (itemHeight/2.0), left: edgeInsets, bottom: (screenSize.height/2.0) - (itemHeight/2.0), right: 0)\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/DiaryLocationHelper.swift",
    "content": "//\n//  DiaryLocationHelper.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport CoreLocation\n\nclass DiaryLocationHelper: NSObject, CLLocationManagerDelegate {\n    \n    var locationManager:CLLocationManager = CLLocationManager()\n    var currentLocation:CLLocation?\n    var address:String?\n    var geocoder = CLGeocoder()\n    \n    override init() {\n        super.init()\n        // 设置委托\n        locationManager.delegate = self\n        // 请求位置授权\n        locationManager.requestWhenInUseAuthorization()\n        if (CLLocationManager.locationServicesEnabled()){\n            //开始获取位置\n            locationManager.startUpdatingLocation()\n        }\n    }\n    \n    func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {\n        // 根据经纬度查询位置名称\n        geocoder.reverseGeocodeLocation(locations[0], completionHandler: { (placemarks, error) in\n            \n            if let error = error {\n                print(\"查询失败: \\(error.localizedDescription)\")\n            }\n            \n            // placemarks里包括了位置的国家、省份、地区等信息\n            if let pm = placemarks {\n                if pm.count > 0 {\n                    \n                    let placemark = pm.first\n                    \n                    self.address = placemark?.locality\n                    \n                    // 广播位置信息\n                    NotificationCenter.default.post(name: Notification.Name(rawValue: \"DiaryLocationUpdated\"), object: self.address)\n                }\n            }\n            \n        })\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/DiaryMonthCollectionViewController.swift",
    "content": "//\n//  DiaryMonthCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nlet DiaryRed = UIColor(red: 192.0/255.0, green: 23/255.0, blue: 48.0/255.0, alpha: 1)\n\nclass DiaryMonthCollectionViewController: UICollectionViewController {\n    var year: Int!\n    var month: Int!\n    var yearLabel: DiaryLabel!\n    var monthLabel: DiaryLabel!\n    var fetchedResultsController : NSFetchedResultsController<Diary>!\n    var diarys = [Diary]()\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n        \n        yearLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: \"二零一五年\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        \n        yearLabel.frame = CGRect(x: screenSize.width - yearLabel.frame.size.width - 20, y: 20, width: yearLabel.frame.size.width, height: yearLabel.frame.size.height)\n        \n        self.view.addSubview(yearLabel)\n        \n        monthLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: \"三月\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: DiaryRed)\n        \n        monthLabel.frame = CGRect(x: screenSize.width - monthLabel.frame.size.width - 20, y: screenSize.height/2.0 - monthLabel.frame.size.height/2.0, width: monthLabel.frame.size.width, height: monthLabel.frame.size.height)\n        \n        self.view.addSubview(monthLabel)\n        \n        \n        // 添加按钮\n        \n        let composeButton = diaryButtonWith(text: \"撰\",\n                                            fontSize: 14.0,\n                                            width: 40.0,\n                                            normalImageName: \"Oval\",\n                                            highlightedImageName: \"Oval_pressed\")\n        \n        composeButton.center = CGPoint(x: yearLabel.center.x,\n                                       y: 38 + yearLabel.frame.size.height + 26.0/2.0)\n        \n        composeButton.addTarget(self, action: #selector(newCompose),\n                                for: UIControl.Event.touchUpInside)\n        \n        self.view.addSubview(composeButton)\n        \n        // 查询数据\n        \n        do {\n            // 新建查询\n            let fetchRequest = NSFetchRequest<Diary>(entityName:\"Diary\")\n            \n            // 增加过滤条件\n            fetchRequest.predicate = NSPredicate(format:\"year = \\(year!) AND month = \\(month!)\")\n            \n            // 排序方式\n            fetchRequest.sortDescriptors = [NSSortDescriptor(key: \"created_at\", ascending: true)]\n            \n            fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest,\n                                                                  managedObjectContext: managedContext, sectionNameKeyPath: nil,\n                                                                  cacheName: nil)\n            \n            // 建立委托关系\n            fetchedResultsController.delegate = self\n            \n            // 尝试查询\n            try self.fetchedResultsController.performFetch()\n            \n            \n            if (fetchedResultsController.fetchedObjects!.count == 0){\n                print(\"没有存储结果\")\n            }else{\n                diarys = fetchedResultsController.fetchedObjects!\n            }\n            \n        } catch let error as NSError {\n            NSLog(\"发现错误 \\(error.localizedDescription)\")\n        }\n        \n        resetCollectionView()\n    }\n    \n    func resetCollectionView() {\n        \n        let edgeInsets = calInsets(numberOfCells: diarys.count)\n        \n        if let layout = collectionView!.collectionViewLayout as? DiaryLayout {\n            layout.edgeInsets = edgeInsets.left\n        }\n        \n        self.collectionView!.contentOffset = CGPoint(x: -edgeInsets.left, y: 0)\n        \n        self.collectionView!.reloadData()\n        \n        view.layoutIfNeeded()\n    }\n    \n    @objc func newCompose() {\n        \n        let identifier = \"DiaryComposeViewController\"\n        \n        let composeViewController = self.storyboard?.instantiateViewController(withIdentifier: identifier)\n            as! DiaryComposeViewController\n        \n        self.present(composeViewController,\n                     animated: true,\n                     completion: nil)\n        \n    }\n    \n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return 1\n    }\n    \n    \n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return diarys.count\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        let diary = diarys[indexPath.row]\n        \n        cell.labelText = diary.title!\n        \n        return cell\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: \"DiaryViewController\") as! DiaryViewController\n        \n        dvc.diary = diarys[indexPath.row]\n        \n        self.navigationController!.pushViewController(dvc, animated: true)\n        \n    }\n    \n}\n\nextension DiaryMonthCollectionViewController: NSFetchedResultsControllerDelegate {\n    \n    // 响应数据变化\n    func controller(_ controller: NSFetchedResultsController<NSFetchRequestResult>, didChange anObject: Any, at indexPath: IndexPath?, for type: NSFetchedResultsChangeType, newIndexPath: IndexPath?) {\n        \n        // 重置数据源\n        diarys = controller.fetchedObjects! as! [Diary]\n        // 重载数据\n        self.collectionView?.reloadData()\n        // 更新布局\n        self.collectionView?.setCollectionViewLayout(DiaryLayout(), animated: false)\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/DiaryTemplate.html",
    "content": "<!DOCTYPE html>\n<html>\n  <head>\n    <meta charset=\"utf-8\">\n    <meta name=\"viewport\" content=\"width=device-width; initial-scale=1.0; maximum-scale=1.0;\">\n    <title></title>\n    <style>\n        body { padding: 0px; background-color: white;}\n      * {\n        -webkit-text-size-adjust: 100%;\n        margin:0;\n        font-family: '#fontStr#';\n        -webkit-writing-mode: vertical-rl;\n        letter-spacing: 3px;\n        }\n    .content { min-width: #minWidth#px; margin-right: #contentMargin#px;}\n      .content p { font-size: 12pt; line-height: 24pt;}\n      .title {\n        font-size: 12pt;\n        font-weight:bold;\n        line-height: 24pt;\n        margin-right: #titleMarginRight#px;\n        padding-left: 20px;\n        }\n      .extra{\n        font-size:12pt;\n        line-height: 24pt;\n        margin-right:30px;\n      }\n      .container {\n        padding:25px 10px 25px 25px;\n      }\n\n      .stamp {\n        width:24px;\n        height:auto;\n        position:fixed;\n        bottom:20px;\n      }\n\n    </style>\n  </head>\n   <body>\n     <div class=\"container\">\n         #title#\n       <div class=\"content\">\n           <p>#newDiaryString#</p>\n       </div>\n       <div class=\"extra\">\n           #location#<br>#timeString#\n       </div>\n     </div>\n   </body>\n   </html>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/DiaryViewController.swift",
    "content": "//\n//  DiaryViewController.swift\n//  Diary\n//\n//  Created by kevinzhow on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryViewController: UIViewController {\n    var diary:Diary!\n    \n    var webview: UIWebView!\n    \n    var saveButton:UIButton!\n    \n    var deleteButton:UIButton!\n    \n    var editButton:UIButton!\n    \n    var buttonsView:UIView!\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        setupUI()\n        showButtons()\n        \n    }\n    \n    func setupUI() {\n        webview = UIWebView(frame: CGRect(x: 0,y: 0, width: self.view.frame.size.width, height: self.view.frame.size.height))\n        \n        webview.scrollView.bounces = true\n        \n        webview.backgroundColor = UIColor.white\n        \n        self.view.addSubview(self.webview)\n        \n        // 读取模板的内容\n        let mainHTML = Bundle.main.url(forResource: \"DiaryTemplate\", withExtension:\"html\")\n        var contents: NSString = \"\"\n        \n        do {\n            contents = try NSString(contentsOfFile: mainHTML!.path, encoding: String.Encoding.utf8.rawValue)\n        } catch let error as NSError {\n            print(error)\n        }\n        \n        // 生成年的整数类型\n        let year = (Calendar.current as NSCalendar).component(NSCalendar.Unit.year, from: diary.created_at!)\n        \n        // 生成月的整数类型\n        let month = (Calendar.current as NSCalendar).component(NSCalendar.Unit.month, from: diary.created_at!)\n        \n        // 生成日的整数类型\n        let day = (Calendar.current as NSCalendar).component(NSCalendar.Unit.day, from: diary.created_at!)\n        \n        let timeString = \"\\(numberToChinese(year))年 \\(numberToChineseWithUnit(month))月 \\(numberToChineseWithUnit(day))日\"\n        \n        // 替换字符串\n        contents = contents.replacingOccurrences(of: \"#timeString#\", with: timeString) as NSString\n        \n        let newDiaryString = diary.content?.replacingOccurrences(of: \"\\n\", with: \"<br>\", options: NSString.CompareOptions.literal, range: nil)\n        \n        contents = contents.replacingOccurrences(of: \"#newDiaryString#\", with: newDiaryString!) as NSString\n        \n        var title = \"\"\n        var contentWidthOffset = 140\n        var contentMargin:CGFloat = 10\n        \n        if let titleStr = diary?.title {\n            let parsedTime = \"\\(numberToChineseWithUnit((Calendar.current as NSCalendar).component(NSCalendar.Unit.day, from: diary.created_at!))) 日\"\n            if titleStr != parsedTime {\n                title = titleStr\n                contentWidthOffset = 205\n                contentMargin = 10\n                title = \"<div class='title'>\\(title)</div>\"\n            }\n        }\n        \n        contents = contents.replacingOccurrences(of: \"#contentMargin#\", with: \"\\(contentMargin)\") as NSString\n        \n        contents = contents.replacingOccurrences(of: \"#title#\", with: title) as NSString\n        \n        let minWidth = self.view.frame.size.width - CGFloat(contentWidthOffset)\n        \n        contents = contents.replacingOccurrences(of: \"#minWidth#\", with: \"\\(minWidth)\") as NSString\n        \n        let fontStr = defaultFont\n        \n        contents = contents.replacingOccurrences(of: \"#fontStr#\", with: fontStr) as NSString\n        \n        let titleMarginRight:CGFloat = 15\n        \n        contents = contents.replacingOccurrences(of: \"#titleMarginRight#\", with: \"\\(titleMarginRight)\") as NSString\n        \n        if let location = diary.location {\n            contents = contents.replacingOccurrences(of: \"#location#\", with: location) as NSString\n        } else {\n            contents = contents.replacingOccurrences(of: \"#location#\", with: \"\") as NSString\n        }\n        \n        \n        webview.loadHTMLString(contents as String, baseURL: nil)\n        \n        // 添加存改删按钮\n        \n        buttonsView = UIView(frame: CGRect(x: 0, y: screenSize.height, width: screenSize.width, height: 80.0))\n        buttonsView.backgroundColor = UIColor.clear\n        buttonsView.alpha = 0.0\n        \n        let buttonFontSize:CGFloat = 18.0\n        \n        saveButton = diaryButtonWith(text: \"存\",  fontSize: buttonFontSize,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        saveButton.center = CGPoint(x: buttonsView.frame.width/2.0, y: buttonsView.frame.height/2.0)\n        \n        saveButton.addTarget(self, action: #selector(saveToRoll), for: UIControl.Event.touchUpInside)\n        \n        buttonsView.addSubview(saveButton)\n        \n        \n        editButton = diaryButtonWith(text: \"改\",  fontSize: buttonFontSize,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        editButton.center = CGPoint(x: saveButton.center.x - 56.0, y: saveButton.center.y)\n        \n        editButton.addTarget(self, action: #selector(editDiary), for: UIControl.Event.touchUpInside)\n        \n        buttonsView.addSubview(editButton)\n        \n        deleteButton = diaryButtonWith(text: \"刪\",  fontSize: buttonFontSize,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        deleteButton.center = CGPoint(x: saveButton.center.x + 56.0, y: saveButton.center.y)\n        \n        deleteButton.addTarget(self, action: #selector(deleteThisDiary), for: UIControl.Event.touchUpInside)\n        \n        buttonsView.addSubview(deleteButton)\n        \n        self.view.addSubview(buttonsView)\n        \n        // 切换按钮的显示状态\n        let mTapUpRecognizer = UITapGestureRecognizer(target: self, action: #selector(showButtons))\n        mTapUpRecognizer.numberOfTapsRequired = 1\n        mTapUpRecognizer.delegate = self\n        self.webview.addGestureRecognizer(mTapUpRecognizer)\n        \n        \n    }\n    \n    @objc func showButtons() {\n        \n        if(buttonsView.alpha == 0.0) {\n            UIView.animate(withDuration: 0.2, delay: 0, options: UIView.AnimationOptions(), animations:\n                {\n                    self.buttonsView.center = CGPoint(x: self.buttonsView.center.x, y: screenSize.height - self.buttonsView.frame.size.height/2.0)\n                    self.buttonsView.alpha = 1.0\n                    \n            }, completion: nil)\n            \n        }else{\n            \n            UIView.animate(withDuration: 0.1, delay: 0, options: UIView.AnimationOptions(), animations:\n                {\n                    self.buttonsView.center = CGPoint(x: self.buttonsView.center.x, y: screenSize.height + self.buttonsView.frame.size.height/2.0)\n                    self.buttonsView.alpha = 0.0\n            }, completion: nil)\n            \n        }\n    }\n    \n    @objc func editDiary() {\n        let composeViewController = self.storyboard?.instantiateViewController(withIdentifier: \"DiaryComposeViewController\") as! DiaryComposeViewController\n        \n        if let diary = diary {\n            \n            composeViewController.diary = diary\n        }\n        \n        self.present(composeViewController, animated: true, completion: nil)\n    }\n    \n    @objc func saveToRoll() {\n        \n        let offset = self.webview.scrollView.contentOffset.x\n        \n        // 针对 WebView 截图\n        let image =  webview.captureView()\n        \n        self.webview.scrollView.contentOffset.x = offset\n        \n        // 创建分享对象\n        var sharingItems = [AnyObject]()\n        \n        // 给分享对象插入图片\n        sharingItems.append(image)\n        \n        // 初始化分享组件\n        let activityViewController = UIActivityViewController(activityItems: sharingItems, applicationActivities: nil)\n        activityViewController.popoverPresentationController?.sourceView = self.saveButton\n        \n        // 现实分享组件\n        self.present(activityViewController, animated: true, completion: nil)\n        \n    }\n    \n    \n    @objc func deleteThisDiary() {\n        managedContext.delete(diary)\n        do {\n            try managedContext.save()\n        } catch _ {\n        }\n        hideDiary()\n    }\n    \n    func hideDiary() {\n        self.navigationController?.popViewController(animated: true)\n    }\n    \n}\n\nextension DiaryViewController: UIGestureRecognizerDelegate {\n    func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {\n        \n        return true\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/DiaryYearCollectionViewController.swift",
    "content": "//\n//  DiaryYearCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nclass DiaryYearCollectionViewController: UICollectionViewController {\n    var year: Int!\n    var diarys = [Diary]()\n    var fetchedResultsController : NSFetchedResultsController<Diary>!\n    var monthCount: Int = 1\n    var sectionsCount: Int = 0\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n        \n        do {\n            // 新建查询\n            let fetchRequest = NSFetchRequest<Diary>(entityName:\"Diary\")\n            \n            // 增加过滤条件\n            fetchRequest.predicate = NSPredicate(format:\"year = \\(year!)\")\n            \n            // 排序方式\n            fetchRequest.sortDescriptors = [NSSortDescriptor(key: \"created_at\", ascending: true)]\n            \n            fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest,\n                                                                  managedObjectContext: managedContext, sectionNameKeyPath: \"month\",\n                                                                  cacheName: nil)\n            \n            // 尝试查询\n            try self.fetchedResultsController.performFetch()\n            \n            if (fetchedResultsController.fetchedObjects!.count == 0){\n                print(\"没有存储结果\")\n            }else{\n                \n                if let sectionsCount = fetchedResultsController.sections?.count {\n                    \n                    monthCount = sectionsCount\n                    diarys = fetchedResultsController.fetchedObjects!\n                    \n                }else {\n                    sectionsCount = 0\n                    monthCount = 1\n                }\n            }\n            \n        } catch let error as NSError {\n            NSLog(\"发现错误 \\(error.localizedDescription)\")\n        }\n        \n    }\n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return monthCount\n    }\n    \n    \n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        // 获取当前月份\n        let components = Calendar.current.component(Calendar.Component.month, from: Date())\n        var month = components\n        \n        if sectionsCount > 0 {\n            // 如果程序内有保存的日记，就使用保存的日记的月份\n            let sectionInfo = fetchedResultsController.sections![indexPath.section]\n            print(\"分组信息 \\(sectionInfo.name)\")\n            month = Int(sectionInfo.name)!\n        }\n        \n        cell.textInt = month\n        cell.labelText = \"\\(numberToChinese(cell.textInt)) 月\"\n        \n        // Configure the cell\n        \n        return cell\n        \n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryMonthCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryMonthCollectionViewController // 获取 DiaryMonthCollectionViewController\n        \n        // 获取当前月份\n        let components = Calendar.current.component(Calendar.Component.month, from: Date())\n        var month = components\n        \n        if sectionsCount > 0 {\n            // 如果程序内有保存的日记，就使用保存的日记的月份\n            let sectionInfo = fetchedResultsController.sections![indexPath.section]\n            print(\"分组信息 \\(sectionInfo.name)\")\n            month = Int(sectionInfo.name)!\n        }\n        // 指定是 2015 年的 1 月份\n        dvc.month = month\n        dvc.year = year\n        \n        // 页面跳转\n        self.navigationController!.pushViewController(dvc, animated: true)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/Helper.swift",
    "content": "//\n//  Helper.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nextension Diary {\n    \n    func updateTimeWithDate(_ date: Date){\n        self.created_at = date\n        self.year = Int32(Calendar.current.component(Calendar.Component.year, from: date))\n        self.month = Int32(Calendar.current.component(Calendar.Component.month, from: date))\n    }\n    \n}\n\nextension UIWebView {\n    \n    func captureView() -> UIImage{\n        \n        // 存储初始大小\n        let tmpFrame = self.frame\n        \n        // 新的 Frame\n        \n        var aFrame = self.frame\n        \n        aFrame.size.width = self.sizeThatFits(UIScreen.main.bounds.size).width\n        \n        // 展开 Frame\n        self.frame = aFrame\n        \n        // 初始化 ImageContext\n        UIGraphicsBeginImageContextWithOptions(\n            self.sizeThatFits(UIScreen.main.bounds.size),\n            false,\n            UIScreen.main.scale)\n        \n        // 创建新的 Context\n        \n        let resizedContext = UIGraphicsGetCurrentContext()\n        self.layer.render(in: resizedContext!)\n        \n        // 重新渲染到新的 resizedContext\n        let image = UIGraphicsGetImageFromCurrentImageContext()\n        UIGraphicsEndImageContext()\n        \n        // 还原 Frame\n        self.frame = tmpFrame\n        return image!\n    }\n}\n\n\nfunc diaryButtonWith(text: String,\n                     fontSize: CGFloat,\n                     width: CGFloat,\n                     normalImageName: String,\n                     highlightedImageName: String) -> UIButton {\n    \n    // 创建自定义按钮\n    let button = UIButton(type: UIButton.ButtonType.custom)\n    \n    // 设定按钮的大小\n    button.frame = CGRect(x: 0, y: 0, width: width, height: width)\n    \n    let font = UIFont(name: \"Wyue-GutiFangsong-NC\", size: fontSize)\n    \n    let textAttributes: [NSAttributedString.Key: AnyObject] = [\n        NSAttributedString.Key.font: font!,\n        NSAttributedString.Key.foregroundColor: UIColor.white]\n    \n    // 设置按钮的字体\n    let attributedText = NSAttributedString(string: text, attributes: textAttributes)\n    button.setAttributedTitle(attributedText, for: UIControl.State.normal)\n    \n    // 设置默认按钮的样式\n    button.setBackgroundImage(UIImage(\n        named: normalImageName),\n                              for: UIControl.State.normal)\n    \n    // 设置按钮被按下时的样式\n    button.setBackgroundImage(UIImage(\n        named: highlightedImageName),\n                              for: UIControl.State.highlighted)\n    \n    return button\n}\n\nfunc singleNumberToChinese(_ number:Character) -> String {\n    switch number {\n    case \"0\":\n        return \"零\"\n    case \"1\":\n        return \"一\"\n    case \"2\":\n        return \"二\"\n    case \"3\":\n        return \"三\"\n    case \"4\":\n        return \"四\"\n    case \"5\":\n        return \"五\"\n    case \"6\":\n        return \"六\"\n    case \"7\":\n        return \"七\"\n    case \"8\":\n        return \"八\"\n    case \"9\":\n        return \"九\"\n    default:\n        return \"\"\n    }\n}\n\n\nfunc numberToChinese(_ number:Int) -> String {\n    let numbers = String(number)\n    var finalString = \"\"\n    for singleNumber in numbers {\n        let string = singleNumberToChinese(singleNumber)\n        finalString = \"\\(finalString)\\(string)\"\n    }\n    return finalString\n}\n\nfunc numberToChineseWithUnit(_ number:Int) -> String {\n    let numbers = String(number)\n    var units = unitParser(numbers.count)\n    var finalString = \"\"\n    \n    for (index, singleNumber) in numbers.enumerated() {\n        let string = singleNumberToChinese(singleNumber)\n        if (!(string == \"零\" && (index+1) == numbers.count)){\n            finalString = \"\\(finalString)\\(string)\\(units[index])\"\n        }\n    }\n    \n    return finalString\n}\n\nfunc unitParser(_ unit:Int) -> [String] {\n    \n    var units = Array([\"万\",\"千\",\"百\",\"十\",\"\"].reversed())\n    let parsedUnits = units[0..<(unit)].reversed()\n    let slicedUnits: ArraySlice<String> = ArraySlice(parsedUnits)\n    let final: [String] = Array(slicedUnits)\n    return final\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/HomeCollectionViewController.swift",
    "content": "//\n//  HomeCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nclass HomeCollectionViewController: UICollectionViewController {\n    var diarys = [Diary]()\n    var fetchedResultsController : NSFetchedResultsController<Diary>!\n    var yearsCount: Int = 1\n    var sectionsCount: Int = 0\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let yearLayout = DiaryLayout()\n        \n        yearLayout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(yearLayout, animated: false)\n        \n        self.navigationController!.delegate = self\n        \n        do {\n            // 新建查询\n            let fetchRequest = NSFetchRequest<Diary>(entityName:\"Diary\")\n            \n            // 排序方式\n            fetchRequest.sortDescriptors = [NSSortDescriptor(key: \"created_at\", ascending: true)]\n            \n            fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest,\n                                                                  managedObjectContext: managedContext, sectionNameKeyPath: \"year\",\n                                                                  cacheName: nil)\n            \n            // 尝试查询\n            try self.fetchedResultsController.performFetch()\n            \n            if (fetchedResultsController.fetchedObjects!.count == 0){\n                print(\"没有存储结果\")\n            }else{\n                \n                if let sectionsCount = fetchedResultsController.sections?.count {\n                    \n                    yearsCount = sectionsCount\n                    diarys = fetchedResultsController.fetchedObjects!\n                    \n                }else {\n                    sectionsCount = 0\n                    yearsCount = 1\n                }\n            }\n            \n        } catch let error as NSError {\n            NSLog(\"发现错误 \\(error.localizedDescription)\")\n        }\n    }\n    \n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return yearsCount\n    }\n    \n    \n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"HomeYearCollectionViewCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! HomeYearCollectionViewCell\n        \n        // 获取当前月份\n        let components = Calendar.current.component(Calendar.Component.year, from: Date())\n        var year = components\n        \n        if sectionsCount > 0 {\n            // 如果程序内有保存的日记，就使用保存的日记的年份\n            let sectionInfo = fetchedResultsController.sections![indexPath.section]\n            print(\"分组信息 \\(sectionInfo.name)\")\n            year = Int(sectionInfo.name)!\n        }\n        \n        cell.textInt = year\n        cell.labelText = \"\\(numberToChinese(cell.textInt)) 年\"\n        \n        // Configure the cell\n        \n        return cell\n        \n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryYearCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryYearCollectionViewController // 获取 DiaryYearCollectionViewController\n        \n        let components = Calendar.current.component(Calendar.Component.year, from: Date())\n        var year = components\n        if sectionsCount > 0 {\n            let sectionInfo = fetchedResultsController.sections![(indexPath as NSIndexPath).row]\n            print(\"Section info \\(sectionInfo.name)\")\n            year = Int(sectionInfo.name)!\n        }\n        \n        dvc.year = year\n        \n        self.navigationController!.pushViewController(dvc, animated: true)\n        \n    }\n    \n}\n\nextension HomeCollectionViewController: UINavigationControllerDelegate {\n    func navigationController(_ navigationController:\n        UINavigationController,\n                              animationControllerFor operation:\n        UINavigationController.Operation,\n                              from fromVC: UIViewController,\n                              to toVC: UIViewController) ->\n        UIViewControllerAnimatedTransitioning? {\n            \n            let animator = DiaryAnimator()\n            animator.operation = operation\n            return animator\n    }\n    \n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/HomeYearCollectionViewCell.swift",
    "content": "//\n//  HomeYearCollectionViewCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass HomeYearCollectionViewCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UIAppFonts</key>\n\t<array>\n\t\t<string>Wyue-GutiFangsong-NC_deliverable.otf</string>\n\t\t<string>TpldKhangXiDictTrial.otf</string>\n\t</array>\n\t<key>NSLocationWhenInUseUsageDescription</key>\n\t<string>在撰写日志的时候自动添加位置</string>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */; };\n\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7381DB2B0F500B4665B /* ViewController.swift */; };\n\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73A1DB2B0F500B4665B /* Main.storyboard */; };\n\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */; };\n\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */; };\n\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */; };\n\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */; };\n\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */; };\n\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */; };\n\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */; };\n\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */; };\n\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */; };\n\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */; };\n\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7601DB2EDDC00B4665B /* Helper.swift */; };\n\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */; };\n\t\t0A5EA7651DB2F82E00B4665B /* DiaryAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */; };\n\t\t0A5EA7671DB30D2000B4665B /* DiaryComposeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */; };\n\t\t0A5EA7691DB3131E00B4665B /* DiaryLocationHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */; };\n\t\t0A5EA76F1DB31A8500B4665B /* Diary.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */; };\n\t\t152AD5CEB9F39CA5BCD1741E /* Pods_Diary.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D089038386BD762E4D5B302A /* Pods_Diary.framework */; };\n\t\t9F74CDB71DB3A69300DD10E3 /* DiaryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9F74CDB61DB3A69300DD10E3 /* DiaryViewController.swift */; };\n\t\t9F74CDB91DB3A80700DD10E3 /* DiaryTemplate.html in Resources */ = {isa = PBXBuildFile; fileRef = 9F74CDB81DB3A80700DD10E3 /* DiaryTemplate.html */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Diary.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA73B1DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t0A5EA7401DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLabel.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = TpldKhangXiDictTrial.otf; sourceTree = \"<group>\"; };\n\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = \"Wyue-GutiFangsong-NC_deliverable.otf\"; sourceTree = \"<group>\"; };\n\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeYearCollectionViewCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLayout.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryYearCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Helper.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryMonthCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryAnimator.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryComposeViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLocationHelper.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Diary.xcdatamodel; sourceTree = \"<group>\"; };\n\t\t34DBE8E96D1A285A248E3CD7 /* Pods-Diary.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-Diary.debug.xcconfig\"; path = \"Target Support Files/Pods-Diary/Pods-Diary.debug.xcconfig\"; sourceTree = \"<group>\"; };\n\t\t9F74CDB61DB3A69300DD10E3 /* DiaryViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryViewController.swift; sourceTree = \"<group>\"; };\n\t\t9F74CDB81DB3A80700DD10E3 /* DiaryTemplate.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = DiaryTemplate.html; sourceTree = \"<group>\"; };\n\t\tD089038386BD762E4D5B302A /* Pods_Diary.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Diary.framework; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\tF5DE54E1347D7E1B1C9D99DF /* Pods-Diary.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-Diary.release.xcconfig\"; path = \"Target Support Files/Pods-Diary/Pods-Diary.release.xcconfig\"; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t152AD5CEB9F39CA5BCD1741E /* Pods_Diary.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0A5EA72A1DB2B0F500B4665B = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7351DB2B0F500B4665B /* Diary */,\n\t\t\t\t0A5EA7341DB2B0F500B4665B /* Products */,\n\t\t\t\t7CD61015506E8489957E690F /* Pods */,\n\t\t\t\tE825C8D9466500F7A7F83C86 /* Frameworks */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7341DB2B0F500B4665B /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7351DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t9F74CDB81DB3A80700DD10E3 /* DiaryTemplate.html */,\n\t\t\t\t9F74CDB61DB3A69300DD10E3 /* DiaryViewController.swift */,\n\t\t\t\t0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */,\n\t\t\t\t0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */,\n\t\t\t\t0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */,\n\t\t\t\t0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */,\n\t\t\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */,\n\t\t\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */,\n\t\t\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */,\n\t\t\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */,\n\t\t\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */,\n\t\t\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */,\n\t\t\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */,\n\t\t\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */,\n\t\t\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */,\n\t\t\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */,\n\t\t\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */,\n\t\t\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */,\n\t\t\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */,\n\t\t\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */,\n\t\t\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */,\n\t\t\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */,\n\t\t\t);\n\t\t\tpath = Diary;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t7CD61015506E8489957E690F /* Pods */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t34DBE8E96D1A285A248E3CD7 /* Pods-Diary.debug.xcconfig */,\n\t\t\t\tF5DE54E1347D7E1B1C9D99DF /* Pods-Diary.release.xcconfig */,\n\t\t\t);\n\t\t\tname = Pods;\n\t\t\tpath = Pods;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tE825C8D9466500F7A7F83C86 /* Frameworks */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tD089038386BD762E4D5B302A /* Pods_Diary.framework */,\n\t\t\t);\n\t\t\tname = Frameworks;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0A5EA7321DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tA9CF31D0599B0FBB44265CE6 /* [CP] Check Pods Manifest.lock */,\n\t\t\t\t0A5EA72F1DB2B0F500B4665B /* Sources */,\n\t\t\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */,\n\t\t\t\t0A5EA7311DB2B0F500B4665B /* Resources */,\n\t\t\t\t2BC69B823F44E7864D8FB9CB /* [CP] Embed Pods Frameworks */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Diary;\n\t\t\tproductName = Diary;\n\t\t\tproductReference = 0A5EA7331DB2B0F500B4665B /* Diary.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0A5EA72B1DB2B0F500B4665B /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0800;\n\t\t\t\tLastUpgradeCheck = 0800;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0A5EA7321DB2B0F500B4665B = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 8.0;\n\t\t\t\t\t\tProvisioningStyle = Automatic;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0A5EA72A1DB2B0F500B4665B;\n\t\t\tproductRefGroup = 0A5EA7341DB2B0F500B4665B /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0A5EA7321DB2B0F500B4665B /* Diary */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0A5EA7311DB2B0F500B4665B /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */,\n\t\t\t\t9F74CDB91DB3A80700DD10E3 /* DiaryTemplate.html in Resources */,\n\t\t\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */,\n\t\t\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */,\n\t\t\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXShellScriptBuildPhase section */\n\t\t2BC69B823F44E7864D8FB9CB /* [CP] Embed Pods Frameworks */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputFileListPaths = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t\t\"${PODS_ROOT}/Target Support Files/Pods-Diary/Pods-Diary-frameworks.sh\",\n\t\t\t\t\"${BUILT_PRODUCTS_DIR}/pop/pop.framework\",\n\t\t\t);\n\t\t\tname = \"[CP] Embed Pods Frameworks\";\n\t\t\toutputFileListPaths = (\n\t\t\t);\n\t\t\toutputPaths = (\n\t\t\t\t\"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/pop.framework\",\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"\\\"${PODS_ROOT}/Target Support Files/Pods-Diary/Pods-Diary-frameworks.sh\\\"\\n\";\n\t\t\tshowEnvVarsInLog = 0;\n\t\t};\n\t\tA9CF31D0599B0FBB44265CE6 /* [CP] Check Pods Manifest.lock */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputFileListPaths = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t\t\"${PODS_PODFILE_DIR_PATH}/Podfile.lock\",\n\t\t\t\t\"${PODS_ROOT}/Manifest.lock\",\n\t\t\t);\n\t\t\tname = \"[CP] Check Pods Manifest.lock\";\n\t\t\toutputFileListPaths = (\n\t\t\t);\n\t\t\toutputPaths = (\n\t\t\t\t\"$(DERIVED_FILE_DIR)/Pods-Diary-checkManifestLockResult.txt\",\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"diff \\\"${PODS_PODFILE_DIR_PATH}/Podfile.lock\\\" \\\"${PODS_ROOT}/Manifest.lock\\\" > /dev/null\\nif [ $? != 0 ] ; then\\n    # print error to STDERR\\n    echo \\\"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\\\" >&2\\n    exit 1\\nfi\\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\\necho \\\"SUCCESS\\\" > \\\"${SCRIPT_OUTPUT_FILE_0}\\\"\\n\";\n\t\t\tshowEnvVarsInLog = 0;\n\t\t};\n/* End PBXShellScriptBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0A5EA72F1DB2B0F500B4665B /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */,\n\t\t\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA7691DB3131E00B4665B /* DiaryLocationHelper.swift in Sources */,\n\t\t\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */,\n\t\t\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */,\n\t\t\t\t0A5EA7671DB30D2000B4665B /* DiaryComposeViewController.swift in Sources */,\n\t\t\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */,\n\t\t\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */,\n\t\t\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */,\n\t\t\t\t9F74CDB71DB3A69300DD10E3 /* DiaryViewController.swift in Sources */,\n\t\t\t\t0A5EA76F1DB31A8500B4665B /* Diary.xcdatamodeld in Sources */,\n\t\t\t\t0A5EA7651DB2F82E00B4665B /* DiaryAnimator.swift in Sources */,\n\t\t\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA73B1DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7401DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0A5EA7431DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7441DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0A5EA7461DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 34DBE8E96D1A285A248E3CD7 /* Pods-Diary.debug.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7471DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = F5DE54E1347D7E1B1C9D99DF /* Pods-Diary.release.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7431DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7441DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7461DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7471DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\n/* Begin XCVersionGroup section */\n\t\t0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */ = {\n\t\t\tisa = XCVersionGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */,\n\t\t\t);\n\t\t\tcurrentVersion = 0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */;\n\t\t\tpath = Diary.xcdatamodeld;\n\t\t\tsourceTree = \"<group>\";\n\t\t\tversionGroupType = wrapper.xcdatamodel;\n\t\t};\n/* End XCVersionGroup section */\n\t};\n\trootObject = 0A5EA72B1DB2B0F500B4665B /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Diary.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bucket\n   type = \"1\"\n   version = \"2.0\">\n</Bucket>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bucket\n   type = \"1\"\n   version = \"2.0\">\n</Bucket>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bucket\n   type = \"1\"\n   version = \"2.0\">\n</Bucket>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>2</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"group:Diary.xcodeproj\">\n   </FileRef>\n   <FileRef\n      location = \"group:Pods/Pods.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Diary.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_13/Podfile",
    "content": "# Uncomment the next line to define a global platform for your project\n# platform :ios, '9.0'\n\ntarget 'Diary' do\n  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks\n  use_frameworks!\n  pod 'pop'\n  # Pods for Diary\n\nend\n"
  },
  {
    "path": "Example Codes/Diary/Diary_2/Diary/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nlet itemHeight: CGFloat = 150.0\n// Cell的高度\n\nlet itemWidth: CGFloat = 60\n// Cell的宽度\n\nlet collectionViewWidth = itemWidth * 3\n// 同时显示3个Cell时候\n\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_2/Diary/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_2/Diary/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11134\" systemVersion=\"15F34\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11106\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_2/Diary/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"jaX-ox-NO1\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Home Collection View Controller-->\n        <scene sceneID=\"xp1-EX-i1t\">\n            <objects>\n                <collectionViewController id=\"jaX-ox-NO1\" customClass=\"HomeCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" misplaced=\"YES\" dataMode=\"prototypes\" id=\"jrI-Dn-xWe\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"uYL-dk-pKl\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"HomeYearCollectionViewCell\" id=\"X1f-9B-ji3\" customClass=\"HomeYearCollectionViewCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                                <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"jaX-ox-NO1\" id=\"tJv-Ng-uBS\"/>\n                            <outlet property=\"delegate\" destination=\"jaX-ox-NO1\" id=\"pGg-Wa-sLv\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"5jE-Hq-jF5\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"138\" y=\"152\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_2/Diary/DiaryLabel.swift",
    "content": "//\n//  DiaryLabel.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nfunc sizeHeightWithText(labelText: String,\n                        fontSize: CGFloat,\n                        textAttributes: [NSAttributedString.Key: AnyObject]) -> CGRect {\n    \n    return labelText.boundingRect(\n        with: CGSize(width:fontSize, height:480),\n        options: NSStringDrawingOptions.usesLineFragmentOrigin,\n        attributes: textAttributes, context: nil)\n}\n\nclass DiaryLabel: UILabel {\n    \n    var textAttributes: [NSAttributedString.Key: AnyObject]!\n    \n    convenience init(fontname:String,\n                     labelText:String,\n                     fontSize : CGFloat,\n                     lineHeight: CGFloat){\n        \n        self.init(frame: CGRect(x:0, y:0, width:0, height:0))\n        \n        let font = UIFont(name: fontname,\n                          size: fontSize)\n        \n        let paragraphStyle = NSMutableParagraphStyle()\n        paragraphStyle.lineSpacing = lineHeight\n        \n        textAttributes = [NSAttributedString.Key.font: font!,\n                          NSAttributedString.Key.paragraphStyle: paragraphStyle]\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: fontSize ,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x: 0, y: 0, width: labelSize.width,\n                            height: labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n        self.lineBreakMode = NSLineBreakMode.byCharWrapping\n        self.numberOfLines = 0\n    }\n    \n    func updateText(labelText: String) {\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: self.font.pointSize,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x:0,y: 0, width:labelSize.width,\n                            height:labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_2/Diary/DiaryLayout.swift",
    "content": "//\n//  DiaryLayout.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nlet screenSize = UIWindow().screen.bounds\n\nclass DiaryLayout: UICollectionViewFlowLayout {\n    override func prepare() {\n        super.prepare() //准备布局\n        let itemSize = CGSize(width: itemWidth,height: itemHeight)\n        self.itemSize = itemSize\n        self.minimumInteritemSpacing = 0.0\n        self.minimumLineSpacing = 0\n        self.sectionInset = UIEdgeInsets(top: (screenSize.height/2.0) - (itemHeight/2.0), left: (screenSize.width/2.0) - (itemWidth/2.0), bottom: (screenSize.height/2.0) - (itemHeight/2.0), right: (screenSize.height/2.0) - (itemHeight/2.0))\n    }\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_2/Diary/HomeCollectionViewController.swift",
    "content": "//\n//  HomeCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass HomeCollectionViewController: UICollectionViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        // Uncomment the following line to preserve selection between presentations\n        // self.clearsSelectionOnViewWillAppear = false\n        let yearLayout = DiaryLayout()\n        \n        yearLayout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(yearLayout, animated: false)\n\n        // Do any additional setup after loading the view.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n    /*\n    // MARK: - Navigation\n\n    // In a storyboard-based application, you will often want to do a little preparation before navigation\n    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {\n        // Get the new view controller using [segue destinationViewController].\n        // Pass the selected object to the new view controller.\n    }\n    */\n\n\n    // MARK: UICollectionViewDataSource\n\n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        // #warning Incomplete implementation, return the number of sections\n        return 1\n    }\n\n\n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"HomeYearCollectionViewCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! HomeYearCollectionViewCell\n        \n        cell.textInt = 2015\n        cell.labelText = \"二零一五 年\"\n        \n        return cell\n\n    }\n\n    // MARK: UICollectionViewDelegate\n\n    /*\n    // Uncomment this method to specify if the specified item should be highlighted during tracking\n    override func collectionView(_ collectionView: UICollectionView, shouldHighlightItemAt indexPath: IndexPath) -> Bool {\n        return true\n    }\n    */\n\n    /*\n    // Uncomment this method to specify if the specified item should be selected\n    override func collectionView(_ collectionView: UICollectionView, shouldSelectItemAt indexPath: IndexPath) -> Bool {\n        return true\n    }\n    */\n\n    /*\n    // Uncomment these methods to specify if an action menu should be displayed for the specified item, and react to actions performed on the item\n    override func collectionView(_ collectionView: UICollectionView, shouldShowMenuForItemAt indexPath: IndexPath) -> Bool {\n        return false\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, canPerformAction action: Selector, forItemAt indexPath: IndexPath, withSender sender: Any?) -> Bool {\n        return false\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, performAction action: Selector, forItemAt indexPath: IndexPath, withSender sender: Any?) {\n    \n    }\n    */\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_2/Diary/HomeYearCollectionViewCell.swift",
    "content": "//\n//  HomeYearCollectionViewCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass HomeYearCollectionViewCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_2/Diary/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UIAppFonts</key>\n\t<array>\n\t\t<string>Wyue-GutiFangsong-NC_deliverable.otf</string>\n\t\t<string>TpldKhangXiDictTrial.otf</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_2/Diary/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_2/Diary.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */; };\n\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7381DB2B0F500B4665B /* ViewController.swift */; };\n\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73A1DB2B0F500B4665B /* Main.storyboard */; };\n\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */; };\n\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */; };\n\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */; };\n\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */; };\n\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */; };\n\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */; };\n\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */; };\n\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Diary.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA73B1DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t0A5EA7401DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLabel.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = TpldKhangXiDictTrial.otf; sourceTree = \"<group>\"; };\n\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = \"Wyue-GutiFangsong-NC_deliverable.otf\"; sourceTree = \"<group>\"; };\n\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeYearCollectionViewCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLayout.swift; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0A5EA72A1DB2B0F500B4665B = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7351DB2B0F500B4665B /* Diary */,\n\t\t\t\t0A5EA7341DB2B0F500B4665B /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7341DB2B0F500B4665B /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7351DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */,\n\t\t\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */,\n\t\t\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */,\n\t\t\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */,\n\t\t\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */,\n\t\t\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */,\n\t\t\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */,\n\t\t\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */,\n\t\t\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */,\n\t\t\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */,\n\t\t\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */,\n\t\t\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */,\n\t\t\t);\n\t\t\tpath = Diary;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0A5EA7321DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0A5EA72F1DB2B0F500B4665B /* Sources */,\n\t\t\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */,\n\t\t\t\t0A5EA7311DB2B0F500B4665B /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Diary;\n\t\t\tproductName = Diary;\n\t\t\tproductReference = 0A5EA7331DB2B0F500B4665B /* Diary.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0A5EA72B1DB2B0F500B4665B /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0800;\n\t\t\t\tLastUpgradeCheck = 0800;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0A5EA7321DB2B0F500B4665B = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 8.0;\n\t\t\t\t\t\tProvisioningStyle = Automatic;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0A5EA72A1DB2B0F500B4665B;\n\t\t\tproductRefGroup = 0A5EA7341DB2B0F500B4665B /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0A5EA7321DB2B0F500B4665B /* Diary */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0A5EA7311DB2B0F500B4665B /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */,\n\t\t\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */,\n\t\t\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */,\n\t\t\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0A5EA72F1DB2B0F500B4665B /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */,\n\t\t\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */,\n\t\t\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */,\n\t\t\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */,\n\t\t\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA73B1DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7401DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0A5EA7431DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7441DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0A5EA7461DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7471DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7431DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7441DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7461DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7471DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 0A5EA72B1DB2B0F500B4665B /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_2/Diary.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Diary.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_2/Diary.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_2/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_2/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_2/Diary.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_3/Diary/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nlet itemHeight: CGFloat = 150.0\n// Cell的高度\n\nlet itemWidth: CGFloat = 60\n// Cell的宽度\n\nlet collectionViewWidth = itemWidth * 3\n// 同时显示3个Cell时候\n\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_3/Diary/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"83.5x83.5\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_3/Diary/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11134\" systemVersion=\"15F34\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11106\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_3/Diary/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"kL8-Co-z9D\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Navigation Controller-->\n        <scene sceneID=\"nDa-SJ-xz8\">\n            <objects>\n                <navigationController navigationBarHidden=\"YES\" id=\"kL8-Co-z9D\" sceneMemberID=\"viewController\">\n                    <navigationBar key=\"navigationBar\" contentMode=\"scaleToFill\" misplaced=\"YES\" id=\"4V2-cI-zED\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"44\"/>\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                    </navigationBar>\n                    <connections>\n                        <segue destination=\"jaX-ox-NO1\" kind=\"relationship\" relationship=\"rootViewController\" id=\"0CX-Bs-aYm\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"1ry-uh-1gv\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-842\" y=\"152\"/>\n        </scene>\n        <!--Home Collection View Controller-->\n        <scene sceneID=\"xp1-EX-i1t\">\n            <objects>\n                <collectionViewController id=\"jaX-ox-NO1\" customClass=\"HomeCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" misplaced=\"YES\" dataMode=\"prototypes\" id=\"jrI-Dn-xWe\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"uYL-dk-pKl\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"HomeYearCollectionViewCell\" id=\"X1f-9B-ji3\" customClass=\"HomeYearCollectionViewCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                                <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"jaX-ox-NO1\" id=\"tJv-Ng-uBS\"/>\n                            <outlet property=\"delegate\" destination=\"jaX-ox-NO1\" id=\"pGg-Wa-sLv\"/>\n                        </connections>\n                    </collectionView>\n                    <navigationItem key=\"navigationItem\" id=\"DQv-Sc-DbJ\"/>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"5jE-Hq-jF5\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"138\" y=\"152\"/>\n        </scene>\n        <!--Diary Year Collection View Controller-->\n        <scene sceneID=\"F2G-6G-oBr\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryYearCollectionViewController\" id=\"elp-wf-O6L\" customClass=\"DiaryYearCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" misplaced=\"YES\" dataMode=\"prototypes\" id=\"asJ-Z6-Zee\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"nGJ-sA-rbK\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"0Z6-TY-W0M\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"elp-wf-O6L\" id=\"EFu-fn-B84\"/>\n                            <outlet property=\"delegate\" destination=\"elp-wf-O6L\" id=\"7hi-JI-sT1\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"BPC-13-fQY\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"149\" y=\"821\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_3/Diary/DiaryCell.swift",
    "content": "//\n//  DiaryCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_3/Diary/DiaryLabel.swift",
    "content": "//\n//  DiaryLabel.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nfunc sizeHeightWithText(labelText: String,\n                        fontSize: CGFloat,\n                        textAttributes: [NSAttributedString.Key: AnyObject]) -> CGRect {\n    \n    return labelText.boundingRect(\n        with: CGSize(width:fontSize, height:480),\n        options: NSStringDrawingOptions.usesLineFragmentOrigin,\n        attributes: textAttributes, context: nil)\n}\n\nclass DiaryLabel: UILabel {\n    \n    var textAttributes: [NSAttributedString.Key: AnyObject]!\n    \n    convenience init(fontname:String,\n                     labelText:String,\n                     fontSize : CGFloat,\n                     lineHeight: CGFloat){\n        \n        self.init(frame: CGRect(x:0, y:0, width:0, height:0))\n        \n        let font = UIFont(name: fontname,\n                          size: fontSize)\n        \n        let paragraphStyle = NSMutableParagraphStyle()\n        paragraphStyle.lineSpacing = lineHeight\n        \n        textAttributes = [NSAttributedString.Key.font: font!,\n                          NSAttributedString.Key.paragraphStyle: paragraphStyle]\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: fontSize ,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x: 0, y: 0, width: labelSize.width,\n                            height: labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n        self.lineBreakMode = NSLineBreakMode.byCharWrapping\n        self.numberOfLines = 0\n    }\n    \n    func updateText(labelText: String) {\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: self.font.pointSize,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x:0,y: 0, width:labelSize.width,\n                            height:labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_3/Diary/DiaryLayout.swift",
    "content": "//\n//  DiaryLayout.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nlet screenSize = UIWindow().screen.bounds\n\nclass DiaryLayout: UICollectionViewFlowLayout {\n    override func prepare() {\n        super.prepare() //准备布局\n        let itemSize = CGSize(width: itemWidth,height: itemHeight)\n        self.itemSize = itemSize\n        self.minimumInteritemSpacing = 0.0\n        self.minimumLineSpacing = 0\n        self.sectionInset = UIEdgeInsets(top: (screenSize.height/2.0) - (itemHeight/2.0), left: (screenSize.width/2.0) - (itemWidth/2.0), bottom: (screenSize.height/2.0) - (itemHeight/2.0), right: (screenSize.height/2.0) - (itemHeight/2.0))\n    }\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_3/Diary/DiaryYearCollectionViewController.swift",
    "content": "//\n//  DiaryYearCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryYearCollectionViewController: UICollectionViewController {\n    var year: Int!\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n\n    }\n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return 1\n    }\n\n\n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        cell.textInt = 1\n        cell.labelText = \"一月\"\n\n        return cell\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_3/Diary/HomeCollectionViewController.swift",
    "content": "//\n//  HomeCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass HomeCollectionViewController: UICollectionViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        // Uncomment the following line to preserve selection between presentations\n        // self.clearsSelectionOnViewWillAppear = false\n        let yearLayout = DiaryLayout()\n        \n        yearLayout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(yearLayout, animated: false)\n\n        // Do any additional setup after loading the view.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n    /*\n    // MARK: - Navigation\n\n    // In a storyboard-based application, you will often want to do a little preparation before navigation\n    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {\n        // Get the new view controller using [segue destinationViewController].\n        // Pass the selected object to the new view controller.\n    }\n    */\n\n\n    // MARK: UICollectionViewDataSource\n\n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        // #warning Incomplete implementation, return the number of sections\n        return 1\n    }\n\n\n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"HomeYearCollectionViewCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! HomeYearCollectionViewCell\n        \n        cell.textInt = 2015\n        cell.labelText = \"二零一五 年\"\n        \n        return cell\n\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryYearCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryYearCollectionViewController // 获取 DiaryYearCollectionViewController\n        \n        // 指定是 2015 年的月份\n        dvc.year = 2015\n        \n        // 页面跳转\n        self.navigationController!.pushViewController(dvc, animated: true)\n    }\n    \n\n\n    // MARK: UICollectionViewDelegate\n\n    /*\n    // Uncomment this method to specify if the specified item should be highlighted during tracking\n    override func collectionView(_ collectionView: UICollectionView, shouldHighlightItemAt indexPath: IndexPath) -> Bool {\n        return true\n    }\n    */\n\n    /*\n    // Uncomment this method to specify if the specified item should be selected\n    override func collectionView(_ collectionView: UICollectionView, shouldSelectItemAt indexPath: IndexPath) -> Bool {\n        return true\n    }\n    */\n\n    /*\n    // Uncomment these methods to specify if an action menu should be displayed for the specified item, and react to actions performed on the item\n    override func collectionView(_ collectionView: UICollectionView, shouldShowMenuForItemAt indexPath: IndexPath) -> Bool {\n        return false\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, canPerformAction action: Selector, forItemAt indexPath: IndexPath, withSender sender: Any?) -> Bool {\n        return false\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, performAction action: Selector, forItemAt indexPath: IndexPath, withSender sender: Any?) {\n    \n    }\n    */\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_3/Diary/HomeYearCollectionViewCell.swift",
    "content": "//\n//  HomeYearCollectionViewCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass HomeYearCollectionViewCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_3/Diary/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UIAppFonts</key>\n\t<array>\n\t\t<string>Wyue-GutiFangsong-NC_deliverable.otf</string>\n\t\t<string>TpldKhangXiDictTrial.otf</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_3/Diary/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_3/Diary.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */; };\n\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7381DB2B0F500B4665B /* ViewController.swift */; };\n\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73A1DB2B0F500B4665B /* Main.storyboard */; };\n\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */; };\n\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */; };\n\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */; };\n\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */; };\n\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */; };\n\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */; };\n\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */; };\n\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */; };\n\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */; };\n\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Diary.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA73B1DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t0A5EA7401DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLabel.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = TpldKhangXiDictTrial.otf; sourceTree = \"<group>\"; };\n\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = \"Wyue-GutiFangsong-NC_deliverable.otf\"; sourceTree = \"<group>\"; };\n\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeYearCollectionViewCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLayout.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryYearCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryCell.swift; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0A5EA72A1DB2B0F500B4665B = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7351DB2B0F500B4665B /* Diary */,\n\t\t\t\t0A5EA7341DB2B0F500B4665B /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7341DB2B0F500B4665B /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7351DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */,\n\t\t\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */,\n\t\t\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */,\n\t\t\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */,\n\t\t\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */,\n\t\t\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */,\n\t\t\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */,\n\t\t\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */,\n\t\t\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */,\n\t\t\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */,\n\t\t\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */,\n\t\t\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */,\n\t\t\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */,\n\t\t\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */,\n\t\t\t);\n\t\t\tpath = Diary;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0A5EA7321DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0A5EA72F1DB2B0F500B4665B /* Sources */,\n\t\t\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */,\n\t\t\t\t0A5EA7311DB2B0F500B4665B /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Diary;\n\t\t\tproductName = Diary;\n\t\t\tproductReference = 0A5EA7331DB2B0F500B4665B /* Diary.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0A5EA72B1DB2B0F500B4665B /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0800;\n\t\t\t\tLastUpgradeCheck = 0800;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0A5EA7321DB2B0F500B4665B = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 8.0;\n\t\t\t\t\t\tProvisioningStyle = Automatic;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0A5EA72A1DB2B0F500B4665B;\n\t\t\tproductRefGroup = 0A5EA7341DB2B0F500B4665B /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0A5EA7321DB2B0F500B4665B /* Diary */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0A5EA7311DB2B0F500B4665B /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */,\n\t\t\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */,\n\t\t\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */,\n\t\t\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0A5EA72F1DB2B0F500B4665B /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */,\n\t\t\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */,\n\t\t\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */,\n\t\t\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */,\n\t\t\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */,\n\t\t\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA73B1DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7401DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0A5EA7431DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7441DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0A5EA7461DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7471DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7431DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7441DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7461DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7471DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 0A5EA72B1DB2B0F500B4665B /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_3/Diary.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Diary.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_3/Diary.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_3/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_3/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_3/Diary.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nlet itemHeight: CGFloat = 150.0\n// Cell的高度\n\nlet itemWidth: CGFloat = 60\n// Cell的宽度\n\nlet collectionViewWidth = itemWidth * 3\n// 同时显示3个Cell时候\n\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"83.5x83.5\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary/Assets.xcassets/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary/Assets.xcassets/Oval.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary/Assets.xcassets/Oval_pressed.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11134\" systemVersion=\"15F34\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11106\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"kL8-Co-z9D\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Navigation Controller-->\n        <scene sceneID=\"nDa-SJ-xz8\">\n            <objects>\n                <navigationController navigationBarHidden=\"YES\" id=\"kL8-Co-z9D\" sceneMemberID=\"viewController\">\n                    <navigationBar key=\"navigationBar\" contentMode=\"scaleToFill\" misplaced=\"YES\" id=\"4V2-cI-zED\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"44\"/>\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                    </navigationBar>\n                    <connections>\n                        <segue destination=\"jaX-ox-NO1\" kind=\"relationship\" relationship=\"rootViewController\" id=\"0CX-Bs-aYm\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"1ry-uh-1gv\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-842\" y=\"152\"/>\n        </scene>\n        <!--Home Collection View Controller-->\n        <scene sceneID=\"xp1-EX-i1t\">\n            <objects>\n                <collectionViewController id=\"jaX-ox-NO1\" customClass=\"HomeCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" misplaced=\"YES\" dataMode=\"prototypes\" id=\"jrI-Dn-xWe\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"uYL-dk-pKl\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"HomeYearCollectionViewCell\" id=\"X1f-9B-ji3\" customClass=\"HomeYearCollectionViewCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                                <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"jaX-ox-NO1\" id=\"tJv-Ng-uBS\"/>\n                            <outlet property=\"delegate\" destination=\"jaX-ox-NO1\" id=\"pGg-Wa-sLv\"/>\n                        </connections>\n                    </collectionView>\n                    <navigationItem key=\"navigationItem\" id=\"DQv-Sc-DbJ\"/>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"5jE-Hq-jF5\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"138\" y=\"152\"/>\n        </scene>\n        <!--Diary Year Collection View Controller-->\n        <scene sceneID=\"F2G-6G-oBr\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryYearCollectionViewController\" id=\"elp-wf-O6L\" customClass=\"DiaryYearCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" misplaced=\"YES\" dataMode=\"prototypes\" id=\"asJ-Z6-Zee\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"nGJ-sA-rbK\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"0Z6-TY-W0M\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"elp-wf-O6L\" id=\"EFu-fn-B84\"/>\n                            <outlet property=\"delegate\" destination=\"elp-wf-O6L\" id=\"7hi-JI-sT1\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"BPC-13-fQY\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"149\" y=\"821\"/>\n        </scene>\n        <!--Diary Month Collection View Controller-->\n        <scene sceneID=\"Esa-e4-hlZ\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryMonthCollectionViewController\" id=\"9xo-Dc-H11\" customClass=\"DiaryMonthCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" misplaced=\"YES\" dataMode=\"prototypes\" id=\"3bk-qG-x6G\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"8hv-Df-784\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"n44-bA-yeZ\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"9xo-Dc-H11\" id=\"Le6-7L-8hY\"/>\n                            <outlet property=\"delegate\" destination=\"9xo-Dc-H11\" id=\"HvU-i0-eXq\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"fEk-Yk-ztQ\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"162\" y=\"1504\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary/DiaryCell.swift",
    "content": "//\n//  DiaryCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary/DiaryLabel.swift",
    "content": "//\n//  DiaryLabel.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nfunc sizeHeightWithText(labelText: String,\n                        fontSize: CGFloat,\n                        textAttributes: [NSAttributedString.Key: AnyObject]) -> CGRect {\n    \n    return labelText.boundingRect(\n        with: CGSize(width:fontSize, height:480),\n        options: NSStringDrawingOptions.usesLineFragmentOrigin,\n        attributes: textAttributes, context: nil)\n}\n\nclass DiaryLabel: UILabel {\n    \n    var textAttributes: [NSAttributedString.Key: AnyObject]!\n    \n    convenience init(fontname:String,\n                     labelText:String,\n                     fontSize : CGFloat,\n                     lineHeight: CGFloat,\n                     color: UIColor){\n        \n        self.init(frame: CGRect(x:0, y:0, width:0, height:0))\n        \n        let font = UIFont(name: fontname,\n                          size: fontSize)\n        \n        let paragraphStyle = NSMutableParagraphStyle()\n        paragraphStyle.lineSpacing = lineHeight\n        \n        textAttributes = [NSAttributedString.Key.font: font!,\n                          NSAttributedString.Key.foregroundColor: color,\n                          NSAttributedString.Key.paragraphStyle: paragraphStyle]\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: fontSize ,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x: 0, y: 0, width: labelSize.width,\n                            height: labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n        self.lineBreakMode = NSLineBreakMode.byCharWrapping\n        self.numberOfLines = 0\n    }\n    \n    func updateText(labelText: String) {\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: self.font.pointSize,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x:0,y: 0, width:labelSize.width,\n                            height:labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary/DiaryLayout.swift",
    "content": "//\n//  DiaryLayout.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nlet screenSize = UIWindow().screen.bounds\n\nclass DiaryLayout: UICollectionViewFlowLayout {\n    override func prepare() {\n        super.prepare() //准备布局\n        let itemSize = CGSize(width: itemWidth,height: itemHeight)\n        self.itemSize = itemSize\n        self.minimumInteritemSpacing = 0.0\n        self.minimumLineSpacing = 0\n        self.sectionInset = UIEdgeInsets(top: (screenSize.height/2.0) - (itemHeight/2.0), left: (screenSize.width/2.0) - (itemWidth/2.0), bottom: (screenSize.height/2.0) - (itemHeight/2.0), right: (screenSize.height/2.0) - (itemHeight/2.0))\n    }\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary/DiaryMonthCollectionViewController.swift",
    "content": "//\n//  DiaryMonthCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nlet DiaryRed = UIColor(red: 192.0/255.0, green: 23/255.0, blue: 48.0/255.0, alpha: 1)\n\nclass DiaryMonthCollectionViewController: UICollectionViewController {\n    var month: Int!\n    var yearLabel: DiaryLabel!\n    var monthLabel: DiaryLabel!\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n        \n        yearLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: \"二零一五年\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n\n        yearLabel.frame = CGRect(x: screenSize.width - yearLabel.frame.size.width - 20, y: 20, width: yearLabel.frame.size.width, height: yearLabel.frame.size.height)\n        \n        self.view.addSubview(yearLabel)\n        \n        monthLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: \"三月\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: DiaryRed)\n\n        monthLabel.frame = CGRect(x: screenSize.width - monthLabel.frame.size.width - 20, y: screenSize.height/2.0 - monthLabel.frame.size.height/2.0, width: monthLabel.frame.size.width, height: monthLabel.frame.size.height)\n        \n        self.view.addSubview(monthLabel)\n        \n        \n        // 添加按钮\n        \n        let composeButton = diaryButtonWith(text: \"撰\",\n                                            fontSize: 14.0,\n                                            width: 40.0,\n                                            normalImageName: \"Oval\",\n                                            highlightedImageName: \"Oval_pressed\")\n        \n        composeButton.center = CGPoint(x: yearLabel.center.x,\n                                       y: 38 + yearLabel.frame.size.height + 26.0/2.0)\n        \n        composeButton.addTarget(self, action: #selector(newCompose),\n                                for: UIControl.Event.touchUpInside)\n        \n        self.view.addSubview(composeButton)\n\n\n        \n    }\n    \n    @objc func newCompose() {\n        \n    }\n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return 1\n    }\n    \n    \n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        cell.textInt = 1\n        cell.labelText = \"季风气候\"\n        \n        return cell\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary/DiaryYearCollectionViewController.swift",
    "content": "//\n//  DiaryYearCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryYearCollectionViewController: UICollectionViewController {\n    var year: Int!\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n\n    }\n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return 1\n    }\n\n\n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        cell.textInt = 1\n        cell.labelText = \"一月\"\n\n        return cell\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryMonthCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryMonthCollectionViewController // 获取 DiaryMonthCollectionViewController\n        \n        // 指定是 2015 年的 1 月份\n        dvc.month = 1\n        \n        // 页面跳转\n        self.navigationController!.pushViewController(dvc, animated: true)\n    }\n    \n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary/Helper.swift",
    "content": "//\n//  Helper.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nfunc diaryButtonWith(text: String,\n                     fontSize: CGFloat,\n                     width: CGFloat,\n                     normalImageName: String,\n                     highlightedImageName: String) -> UIButton {\n    \n    // 创建自定义按钮\n    let button = UIButton(type: UIButton.ButtonType.custom)\n    \n    // 设定按钮的大小\n    button.frame = CGRect(x: 0, y: 0, width: width, height: width)\n    \n    let font = UIFont(name: \"Wyue-GutiFangsong-NC\", size: fontSize)\n    \n    let textAttributes: [NSAttributedString.Key: AnyObject] = [\n        NSAttributedString.Key.font: font!,\n        NSAttributedString.Key.foregroundColor: UIColor.white]\n    \n    // 设置按钮的字体\n    let attributedText = NSAttributedString(string: text, attributes: textAttributes)\n    button.setAttributedTitle(attributedText, for: UIControl.State.normal)\n    \n    // 设置默认按钮的样式\n    button.setBackgroundImage(UIImage(\n        named: normalImageName),\n                              for: UIControl.State.normal)\n    \n    // 设置按钮被按下时的样式\n    button.setBackgroundImage(UIImage(\n        named: highlightedImageName),\n                              for: UIControl.State.highlighted)\n    \n    return button\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary/HomeCollectionViewController.swift",
    "content": "//\n//  HomeCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass HomeCollectionViewController: UICollectionViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        // Uncomment the following line to preserve selection between presentations\n        // self.clearsSelectionOnViewWillAppear = false\n        let yearLayout = DiaryLayout()\n        \n        yearLayout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(yearLayout, animated: false)\n\n        // Do any additional setup after loading the view.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n    /*\n    // MARK: - Navigation\n\n    // In a storyboard-based application, you will often want to do a little preparation before navigation\n    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {\n        // Get the new view controller using [segue destinationViewController].\n        // Pass the selected object to the new view controller.\n    }\n    */\n\n\n    // MARK: UICollectionViewDataSource\n\n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        // #warning Incomplete implementation, return the number of sections\n        return 1\n    }\n\n\n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"HomeYearCollectionViewCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! HomeYearCollectionViewCell\n        \n        cell.textInt = 2015\n        cell.labelText = \"二零一五 年\"\n        \n        return cell\n\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryYearCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryYearCollectionViewController // 获取 DiaryYearCollectionViewController\n        \n        // 指定是 2015 年的月份\n        dvc.year = 2015\n        \n        // 页面跳转\n        self.navigationController!.pushViewController(dvc, animated: true)\n    }\n    \n\n\n    // MARK: UICollectionViewDelegate\n\n    /*\n    // Uncomment this method to specify if the specified item should be highlighted during tracking\n    override func collectionView(_ collectionView: UICollectionView, shouldHighlightItemAt indexPath: IndexPath) -> Bool {\n        return true\n    }\n    */\n\n    /*\n    // Uncomment this method to specify if the specified item should be selected\n    override func collectionView(_ collectionView: UICollectionView, shouldSelectItemAt indexPath: IndexPath) -> Bool {\n        return true\n    }\n    */\n\n    /*\n    // Uncomment these methods to specify if an action menu should be displayed for the specified item, and react to actions performed on the item\n    override func collectionView(_ collectionView: UICollectionView, shouldShowMenuForItemAt indexPath: IndexPath) -> Bool {\n        return false\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, canPerformAction action: Selector, forItemAt indexPath: IndexPath, withSender sender: Any?) -> Bool {\n        return false\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, performAction action: Selector, forItemAt indexPath: IndexPath, withSender sender: Any?) {\n    \n    }\n    */\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary/HomeYearCollectionViewCell.swift",
    "content": "//\n//  HomeYearCollectionViewCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass HomeYearCollectionViewCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UIAppFonts</key>\n\t<array>\n\t\t<string>Wyue-GutiFangsong-NC_deliverable.otf</string>\n\t\t<string>TpldKhangXiDictTrial.otf</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */; };\n\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7381DB2B0F500B4665B /* ViewController.swift */; };\n\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73A1DB2B0F500B4665B /* Main.storyboard */; };\n\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */; };\n\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */; };\n\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */; };\n\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */; };\n\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */; };\n\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */; };\n\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */; };\n\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */; };\n\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */; };\n\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */; };\n\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7601DB2EDDC00B4665B /* Helper.swift */; };\n\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Diary.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA73B1DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t0A5EA7401DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLabel.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = TpldKhangXiDictTrial.otf; sourceTree = \"<group>\"; };\n\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = \"Wyue-GutiFangsong-NC_deliverable.otf\"; sourceTree = \"<group>\"; };\n\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeYearCollectionViewCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLayout.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryYearCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Helper.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryMonthCollectionViewController.swift; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0A5EA72A1DB2B0F500B4665B = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7351DB2B0F500B4665B /* Diary */,\n\t\t\t\t0A5EA7341DB2B0F500B4665B /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7341DB2B0F500B4665B /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7351DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */,\n\t\t\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */,\n\t\t\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */,\n\t\t\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */,\n\t\t\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */,\n\t\t\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */,\n\t\t\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */,\n\t\t\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */,\n\t\t\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */,\n\t\t\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */,\n\t\t\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */,\n\t\t\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */,\n\t\t\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */,\n\t\t\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */,\n\t\t\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */,\n\t\t\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */,\n\t\t\t);\n\t\t\tpath = Diary;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0A5EA7321DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0A5EA72F1DB2B0F500B4665B /* Sources */,\n\t\t\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */,\n\t\t\t\t0A5EA7311DB2B0F500B4665B /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Diary;\n\t\t\tproductName = Diary;\n\t\t\tproductReference = 0A5EA7331DB2B0F500B4665B /* Diary.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0A5EA72B1DB2B0F500B4665B /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0800;\n\t\t\t\tLastUpgradeCheck = 0800;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0A5EA7321DB2B0F500B4665B = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 8.0;\n\t\t\t\t\t\tProvisioningStyle = Automatic;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0A5EA72A1DB2B0F500B4665B;\n\t\t\tproductRefGroup = 0A5EA7341DB2B0F500B4665B /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0A5EA7321DB2B0F500B4665B /* Diary */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0A5EA7311DB2B0F500B4665B /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */,\n\t\t\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */,\n\t\t\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */,\n\t\t\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0A5EA72F1DB2B0F500B4665B /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */,\n\t\t\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */,\n\t\t\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */,\n\t\t\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */,\n\t\t\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */,\n\t\t\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */,\n\t\t\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA73B1DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7401DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0A5EA7431DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7441DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0A5EA7461DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7471DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7431DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7441DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7461DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7471DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 0A5EA72B1DB2B0F500B4665B /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Diary.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_4/Diary.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nlet itemHeight: CGFloat = 150.0\n// Cell的高度\n\nlet itemWidth: CGFloat = 60\n// Cell的宽度\n\nlet collectionViewWidth = itemWidth * 3\n// 同时显示3个Cell时候\n\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"83.5x83.5\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary/Assets.xcassets/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary/Assets.xcassets/Oval.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary/Assets.xcassets/Oval_pressed.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11134\" systemVersion=\"15F34\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11106\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"kL8-Co-z9D\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Navigation Controller-->\n        <scene sceneID=\"nDa-SJ-xz8\">\n            <objects>\n                <navigationController navigationBarHidden=\"YES\" id=\"kL8-Co-z9D\" sceneMemberID=\"viewController\">\n                    <navigationBar key=\"navigationBar\" contentMode=\"scaleToFill\" misplaced=\"YES\" id=\"4V2-cI-zED\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"44\"/>\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                    </navigationBar>\n                    <connections>\n                        <segue destination=\"jaX-ox-NO1\" kind=\"relationship\" relationship=\"rootViewController\" id=\"0CX-Bs-aYm\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"1ry-uh-1gv\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-842\" y=\"152\"/>\n        </scene>\n        <!--Home Collection View Controller-->\n        <scene sceneID=\"xp1-EX-i1t\">\n            <objects>\n                <collectionViewController id=\"jaX-ox-NO1\" customClass=\"HomeCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" misplaced=\"YES\" dataMode=\"prototypes\" id=\"jrI-Dn-xWe\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"uYL-dk-pKl\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"HomeYearCollectionViewCell\" id=\"X1f-9B-ji3\" customClass=\"HomeYearCollectionViewCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                                <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"jaX-ox-NO1\" id=\"tJv-Ng-uBS\"/>\n                            <outlet property=\"delegate\" destination=\"jaX-ox-NO1\" id=\"pGg-Wa-sLv\"/>\n                        </connections>\n                    </collectionView>\n                    <navigationItem key=\"navigationItem\" id=\"DQv-Sc-DbJ\"/>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"5jE-Hq-jF5\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"138\" y=\"152\"/>\n        </scene>\n        <!--Diary Year Collection View Controller-->\n        <scene sceneID=\"F2G-6G-oBr\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryYearCollectionViewController\" id=\"elp-wf-O6L\" customClass=\"DiaryYearCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" misplaced=\"YES\" dataMode=\"prototypes\" id=\"asJ-Z6-Zee\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"nGJ-sA-rbK\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"0Z6-TY-W0M\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"elp-wf-O6L\" id=\"EFu-fn-B84\"/>\n                            <outlet property=\"delegate\" destination=\"elp-wf-O6L\" id=\"7hi-JI-sT1\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"BPC-13-fQY\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"149\" y=\"821\"/>\n        </scene>\n        <!--Diary Month Collection View Controller-->\n        <scene sceneID=\"Esa-e4-hlZ\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryMonthCollectionViewController\" id=\"9xo-Dc-H11\" customClass=\"DiaryMonthCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" misplaced=\"YES\" dataMode=\"prototypes\" id=\"3bk-qG-x6G\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"8hv-Df-784\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"n44-bA-yeZ\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"9xo-Dc-H11\" id=\"Le6-7L-8hY\"/>\n                            <outlet property=\"delegate\" destination=\"9xo-Dc-H11\" id=\"HvU-i0-eXq\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"fEk-Yk-ztQ\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"162\" y=\"1504\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary/DiaryAnimator.swift",
    "content": "//\n//  DiaryAnimator.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryAnimator: NSObject, UIViewControllerAnimatedTransitioning {\n    \n    var operation: UINavigationController.Operation!\n    \n    // 转场时长\n    \n    func transitionDuration(using transitionContext:\n        UIViewControllerContextTransitioning?) -> TimeInterval {\n        return 0.4\n    }\n    \n    func animateTransition(using transitionContext:\n        UIViewControllerContextTransitioning)\n    {\n        \n        // 获取转场舞台\n        let containerView = transitionContext.containerView\n        \n        let fromVC = transitionContext.viewController(\n            forKey: UITransitionContextViewControllerKey.from)\n        \n        // 获取从哪个场景开始转\n        let fromView = fromVC!.view\n        \n        let toVC = transitionContext.viewController(\n            forKey: UITransitionContextViewControllerKey.to)\n        \n        // 获取要转去哪个场景\n        let toView = toVC!.view\n        \n        // 设置新场景透明度\n        toView?.alpha = 0.0\n        \n        // UINavigationControllerOperation.Pop用来判断是转入还是转出\n        if operation ==  UINavigationController.Operation.pop {\n            // 如果是返回旧场景，那么设置要转入的场景初始缩放为原始大小\n            toView?.transform = CGAffineTransform(scaleX: 1.0,y: 1.0)\n        }else{\n            // 如果是转到新场景，设置新场景初始缩放为0.3\n            toView?.transform = CGAffineTransform(scaleX: 0.3,y: 0.3);\n        }\n        \n        // 在舞台上插入场景\n        containerView.insertSubview(toView!, aboveSubview: fromView!)\n        \n        UIView.animate(\n            withDuration: transitionDuration(using: transitionContext),\n            delay: 0,\n            options: UIView.AnimationOptions.curveEaseInOut,\n            animations:\n            {\n                if self.operation ==  UINavigationController.Operation.pop {\n                    // 放大要转出的场景\n                    fromView?.transform = CGAffineTransform(scaleX: 3.3,y: 3.3)\n                } else {\n                    // 设置新场景为原始大小\n                    toView?.transform = CGAffineTransform(scaleX: 1.0,y: 1.0)\n                }\n                \n                toView?.alpha = 1.0\n                \n            }, completion: { finished in\n                \n                // 通知NavigationController已经完成转场\n                transitionContext.completeTransition(true)\n                \n        })\n\n        \n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary/DiaryCell.swift",
    "content": "//\n//  DiaryCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary/DiaryLabel.swift",
    "content": "//\n//  DiaryLabel.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nfunc sizeHeightWithText(labelText: String,\n                        fontSize: CGFloat,\n                        textAttributes: [NSAttributedString.Key: AnyObject]) -> CGRect {\n    \n    return labelText.boundingRect(\n        with: CGSize(width:fontSize, height:480),\n        options: NSStringDrawingOptions.usesLineFragmentOrigin,\n        attributes: textAttributes, context: nil)\n}\n\nclass DiaryLabel: UILabel {\n    \n    var textAttributes: [NSAttributedString.Key: AnyObject]!\n    \n    convenience init(fontname:String,\n                     labelText:String,\n                     fontSize : CGFloat,\n                     lineHeight: CGFloat,\n                     color: UIColor){\n        \n        self.init(frame: CGRect(x:0, y:0, width:0, height:0))\n        \n        let font = UIFont(name: fontname,\n                          size: fontSize)\n        \n        let paragraphStyle = NSMutableParagraphStyle()\n        paragraphStyle.lineSpacing = lineHeight\n        \n        textAttributes = [NSAttributedString.Key.font: font!,\n                          NSAttributedString.Key.foregroundColor: color,\n                          NSAttributedString.Key.paragraphStyle: paragraphStyle]\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: fontSize ,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x: 0, y: 0, width: labelSize.width,\n                            height: labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n        self.lineBreakMode = NSLineBreakMode.byCharWrapping\n        self.numberOfLines = 0\n    }\n    \n    func updateText(labelText: String) {\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: self.font.pointSize,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x:0,y: 0, width:labelSize.width,\n                            height:labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary/DiaryLayout.swift",
    "content": "//\n//  DiaryLayout.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nlet screenSize = UIWindow().screen.bounds\n\nclass DiaryLayout: UICollectionViewFlowLayout {\n    override func prepare() {\n        super.prepare() //准备布局\n        let itemSize = CGSize(width: itemWidth,height: itemHeight)\n        self.itemSize = itemSize\n        self.minimumInteritemSpacing = 0.0\n        self.minimumLineSpacing = 0\n        self.sectionInset = UIEdgeInsets(top: (screenSize.height/2.0) - (itemHeight/2.0), left: (screenSize.width/2.0) - (itemWidth/2.0), bottom: (screenSize.height/2.0) - (itemHeight/2.0), right: (screenSize.height/2.0) - (itemHeight/2.0))\n    }\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary/DiaryMonthCollectionViewController.swift",
    "content": "//\n//  DiaryMonthCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nlet DiaryRed = UIColor(red: 192.0/255.0, green: 23/255.0, blue: 48.0/255.0, alpha: 1)\n\nclass DiaryMonthCollectionViewController: UICollectionViewController {\n    var month: Int!\n    var yearLabel: DiaryLabel!\n    var monthLabel: DiaryLabel!\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n        \n        yearLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: \"二零一五年\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n\n        yearLabel.frame = CGRect(x: screenSize.width - yearLabel.frame.size.width - 20, y: 20, width: yearLabel.frame.size.width, height: yearLabel.frame.size.height)\n        \n        self.view.addSubview(yearLabel)\n        \n        monthLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: \"三月\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: DiaryRed)\n\n        monthLabel.frame = CGRect(x: screenSize.width - monthLabel.frame.size.width - 20, y: screenSize.height/2.0 - monthLabel.frame.size.height/2.0, width: monthLabel.frame.size.width, height: monthLabel.frame.size.height)\n        \n        self.view.addSubview(monthLabel)\n        \n        \n        // 添加按钮\n        \n        let composeButton = diaryButtonWith(text: \"撰\",\n                                            fontSize: 14.0,\n                                            width: 40.0,\n                                            normalImageName: \"Oval\",\n                                            highlightedImageName: \"Oval_pressed\")\n        \n        composeButton.center = CGPoint(x: yearLabel.center.x,\n                                       y: 38 + yearLabel.frame.size.height + 26.0/2.0)\n        \n        composeButton.addTarget(self, action: #selector(newCompose),\n                                for: UIControl.Event.touchUpInside)\n        \n        self.view.addSubview(composeButton)\n    \n    }\n    \n    @objc func newCompose() {\n        \n    }\n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return 1\n    }\n    \n    \n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        cell.textInt = 1\n        cell.labelText = \"季风气候\"\n        \n        return cell\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary/DiaryYearCollectionViewController.swift",
    "content": "//\n//  DiaryYearCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryYearCollectionViewController: UICollectionViewController {\n    var year: Int!\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n\n    }\n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return 1\n    }\n\n\n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        cell.textInt = 1\n        cell.labelText = \"一月\"\n\n        return cell\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryMonthCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryMonthCollectionViewController // 获取 DiaryMonthCollectionViewController\n        \n        // 指定是 2015 年的 1 月份\n        dvc.month = 1\n        \n        // 页面跳转\n        self.navigationController!.pushViewController(dvc, animated: true)\n    }\n    \n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary/Helper.swift",
    "content": "//\n//  Helper.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nfunc diaryButtonWith(text: String,\n                     fontSize: CGFloat,\n                     width: CGFloat,\n                     normalImageName: String,\n                     highlightedImageName: String) -> UIButton {\n    \n    // 创建自定义按钮\n    let button = UIButton(type: UIButton.ButtonType.custom)\n    \n    // 设定按钮的大小\n    button.frame = CGRect(x: 0, y: 0, width: width, height: width)\n    \n    let font = UIFont(name: \"Wyue-GutiFangsong-NC\", size: fontSize)\n    \n    let textAttributes: [NSAttributedString.Key: AnyObject] = [\n        NSAttributedString.Key.font: font!,\n        NSAttributedString.Key.foregroundColor: UIColor.white]\n    \n    // 设置按钮的字体\n    let attributedText = NSAttributedString(string: text, attributes: textAttributes)\n    button.setAttributedTitle(attributedText, for: UIControl.State.normal)\n    \n    // 设置默认按钮的样式\n    button.setBackgroundImage(UIImage(\n        named: normalImageName),\n                              for: UIControl.State.normal)\n    \n    // 设置按钮被按下时的样式\n    button.setBackgroundImage(UIImage(\n        named: highlightedImageName),\n                              for: UIControl.State.highlighted)\n    \n    return button\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary/HomeCollectionViewController.swift",
    "content": "//\n//  HomeCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass HomeCollectionViewController: UICollectionViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        // Uncomment the following line to preserve selection between presentations\n        // self.clearsSelectionOnViewWillAppear = false\n        let yearLayout = DiaryLayout()\n        \n        yearLayout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(yearLayout, animated: false)\n\n        self.navigationController!.delegate = self\n        // Do any additional setup after loading the view.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n    /*\n    // MARK: - Navigation\n\n    // In a storyboard-based application, you will often want to do a little preparation before navigation\n    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {\n        // Get the new view controller using [segue destinationViewController].\n        // Pass the selected object to the new view controller.\n    }\n    */\n\n\n    // MARK: UICollectionViewDataSource\n\n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        // #warning Incomplete implementation, return the number of sections\n        return 1\n    }\n\n\n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"HomeYearCollectionViewCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! HomeYearCollectionViewCell\n        \n        cell.textInt = 2015\n        cell.labelText = \"二零一五 年\"\n        \n        return cell\n\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryYearCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryYearCollectionViewController // 获取 DiaryYearCollectionViewController\n        \n        // 指定是 2015 年的月份\n        dvc.year = 2015\n        \n        // 页面跳转\n        self.navigationController!.pushViewController(dvc, animated: true)\n    }\n    \n}\n\nextension HomeCollectionViewController: UINavigationControllerDelegate {\n    func navigationController(_ navigationController:\n        UINavigationController,\n                              animationControllerFor operation:\n        UINavigationController.Operation,\n                              from fromVC: UIViewController,\n                              to toVC: UIViewController) ->\n        UIViewControllerAnimatedTransitioning? {\n            \n            let animator = DiaryAnimator()\n            animator.operation = operation\n            return animator\n    }\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary/HomeYearCollectionViewCell.swift",
    "content": "//\n//  HomeYearCollectionViewCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass HomeYearCollectionViewCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UIAppFonts</key>\n\t<array>\n\t\t<string>Wyue-GutiFangsong-NC_deliverable.otf</string>\n\t\t<string>TpldKhangXiDictTrial.otf</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */; };\n\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7381DB2B0F500B4665B /* ViewController.swift */; };\n\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73A1DB2B0F500B4665B /* Main.storyboard */; };\n\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */; };\n\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */; };\n\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */; };\n\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */; };\n\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */; };\n\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */; };\n\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */; };\n\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */; };\n\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */; };\n\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */; };\n\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7601DB2EDDC00B4665B /* Helper.swift */; };\n\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */; };\n\t\t0A5EA7651DB2F82E00B4665B /* DiaryAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Diary.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA73B1DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t0A5EA7401DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLabel.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = TpldKhangXiDictTrial.otf; sourceTree = \"<group>\"; };\n\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = \"Wyue-GutiFangsong-NC_deliverable.otf\"; sourceTree = \"<group>\"; };\n\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeYearCollectionViewCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLayout.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryYearCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Helper.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryMonthCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryAnimator.swift; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0A5EA72A1DB2B0F500B4665B = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7351DB2B0F500B4665B /* Diary */,\n\t\t\t\t0A5EA7341DB2B0F500B4665B /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7341DB2B0F500B4665B /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7351DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */,\n\t\t\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */,\n\t\t\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */,\n\t\t\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */,\n\t\t\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */,\n\t\t\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */,\n\t\t\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */,\n\t\t\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */,\n\t\t\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */,\n\t\t\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */,\n\t\t\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */,\n\t\t\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */,\n\t\t\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */,\n\t\t\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */,\n\t\t\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */,\n\t\t\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */,\n\t\t\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */,\n\t\t\t);\n\t\t\tpath = Diary;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0A5EA7321DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0A5EA72F1DB2B0F500B4665B /* Sources */,\n\t\t\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */,\n\t\t\t\t0A5EA7311DB2B0F500B4665B /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Diary;\n\t\t\tproductName = Diary;\n\t\t\tproductReference = 0A5EA7331DB2B0F500B4665B /* Diary.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0A5EA72B1DB2B0F500B4665B /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0800;\n\t\t\t\tLastUpgradeCheck = 0800;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0A5EA7321DB2B0F500B4665B = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 8.0;\n\t\t\t\t\t\tProvisioningStyle = Automatic;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0A5EA72A1DB2B0F500B4665B;\n\t\t\tproductRefGroup = 0A5EA7341DB2B0F500B4665B /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0A5EA7321DB2B0F500B4665B /* Diary */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0A5EA7311DB2B0F500B4665B /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */,\n\t\t\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */,\n\t\t\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */,\n\t\t\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0A5EA72F1DB2B0F500B4665B /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */,\n\t\t\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */,\n\t\t\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */,\n\t\t\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */,\n\t\t\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */,\n\t\t\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */,\n\t\t\t\t0A5EA7651DB2F82E00B4665B /* DiaryAnimator.swift in Sources */,\n\t\t\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA73B1DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7401DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0A5EA7431DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7441DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0A5EA7461DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7471DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7431DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7441DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7461DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7471DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 0A5EA72B1DB2B0F500B4665B /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Diary.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_5/Diary.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nlet itemHeight: CGFloat = 150.0\n// Cell的高度\n\nlet itemWidth: CGFloat = 60\n// Cell的宽度\n\nlet collectionViewWidth = itemWidth * 3\n// 同时显示3个Cell时候\n\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"83.5x83.5\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/Assets.xcassets/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/Assets.xcassets/Oval.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/Assets.xcassets/Oval_pressed.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11134\" systemVersion=\"15F34\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11106\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"kL8-Co-z9D\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Navigation Controller-->\n        <scene sceneID=\"nDa-SJ-xz8\">\n            <objects>\n                <navigationController navigationBarHidden=\"YES\" id=\"kL8-Co-z9D\" sceneMemberID=\"viewController\">\n                    <navigationBar key=\"navigationBar\" contentMode=\"scaleToFill\" misplaced=\"YES\" id=\"4V2-cI-zED\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"44\"/>\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                    </navigationBar>\n                    <connections>\n                        <segue destination=\"jaX-ox-NO1\" kind=\"relationship\" relationship=\"rootViewController\" id=\"0CX-Bs-aYm\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"1ry-uh-1gv\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-842\" y=\"152\"/>\n        </scene>\n        <!--Home Collection View Controller-->\n        <scene sceneID=\"xp1-EX-i1t\">\n            <objects>\n                <collectionViewController id=\"jaX-ox-NO1\" customClass=\"HomeCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" misplaced=\"YES\" dataMode=\"prototypes\" id=\"jrI-Dn-xWe\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"uYL-dk-pKl\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"HomeYearCollectionViewCell\" id=\"X1f-9B-ji3\" customClass=\"HomeYearCollectionViewCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                                <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"jaX-ox-NO1\" id=\"tJv-Ng-uBS\"/>\n                            <outlet property=\"delegate\" destination=\"jaX-ox-NO1\" id=\"pGg-Wa-sLv\"/>\n                        </connections>\n                    </collectionView>\n                    <navigationItem key=\"navigationItem\" id=\"DQv-Sc-DbJ\"/>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"5jE-Hq-jF5\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"138\" y=\"152\"/>\n        </scene>\n        <!--Diary Compose View Controller-->\n        <scene sceneID=\"30A-tU-xe3\">\n            <objects>\n                <viewController storyboardIdentifier=\"DiaryComposeViewController\" id=\"Lw3-Dp-s4h\" customClass=\"DiaryComposeViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"lty-ru-RuT\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"o7k-nX-8BY\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"tH5-OA-VDh\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"ZP3-Oz-N2G\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"1040\" y=\"150\"/>\n        </scene>\n        <!--Diary Year Collection View Controller-->\n        <scene sceneID=\"F2G-6G-oBr\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryYearCollectionViewController\" id=\"elp-wf-O6L\" customClass=\"DiaryYearCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" misplaced=\"YES\" dataMode=\"prototypes\" id=\"asJ-Z6-Zee\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"nGJ-sA-rbK\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"0Z6-TY-W0M\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"elp-wf-O6L\" id=\"EFu-fn-B84\"/>\n                            <outlet property=\"delegate\" destination=\"elp-wf-O6L\" id=\"7hi-JI-sT1\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"BPC-13-fQY\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"149\" y=\"821\"/>\n        </scene>\n        <!--Diary Month Collection View Controller-->\n        <scene sceneID=\"Esa-e4-hlZ\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryMonthCollectionViewController\" id=\"9xo-Dc-H11\" customClass=\"DiaryMonthCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" misplaced=\"YES\" dataMode=\"prototypes\" id=\"3bk-qG-x6G\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"8hv-Df-784\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"n44-bA-yeZ\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"9xo-Dc-H11\" id=\"Le6-7L-8hY\"/>\n                            <outlet property=\"delegate\" destination=\"9xo-Dc-H11\" id=\"HvU-i0-eXq\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"fEk-Yk-ztQ\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"162\" y=\"1504\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/DiaryAnimator.swift",
    "content": "//\n//  DiaryAnimator.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryAnimator: NSObject, UIViewControllerAnimatedTransitioning {\n    \n    var operation: UINavigationController.Operation!\n    \n    // 转场时长\n    \n    func transitionDuration(using transitionContext:\n        UIViewControllerContextTransitioning?) -> TimeInterval {\n        return 0.4\n    }\n    \n    func animateTransition(using transitionContext:\n        UIViewControllerContextTransitioning)\n    {\n        \n        // 获取转场舞台\n        let containerView = transitionContext.containerView\n        \n        let fromVC = transitionContext.viewController(\n            forKey: UITransitionContextViewControllerKey.from)\n        \n        // 获取从哪个场景开始转\n        let fromView = fromVC!.view\n        \n        let toVC = transitionContext.viewController(\n            forKey: UITransitionContextViewControllerKey.to)\n        \n        // 获取要转去哪个场景\n        let toView = toVC!.view\n        \n        // 设置新场景透明度\n        toView?.alpha = 0.0\n        \n        // UINavigationControllerOperation.Pop用来判断是转入还是转出\n        if operation ==  UINavigationController.Operation.pop {\n            // 如果是返回旧场景，那么设置要转入的场景初始缩放为原始大小\n            toView?.transform = CGAffineTransform(scaleX: 1.0,y: 1.0)\n        }else{\n            // 如果是转到新场景，设置新场景初始缩放为0.3\n            toView?.transform = CGAffineTransform(scaleX: 0.3,y: 0.3);\n        }\n        \n        // 在舞台上插入场景\n        containerView.insertSubview(toView!, aboveSubview: fromView!)\n        \n        UIView.animate(\n            withDuration: transitionDuration(using: transitionContext),\n            delay: 0,\n            options: UIView.AnimationOptions.curveEaseInOut,\n            animations:\n            {\n                if self.operation ==  UINavigationController.Operation.pop {\n                    // 放大要转出的场景\n                    fromView?.transform = CGAffineTransform(scaleX: 3.3,y: 3.3)\n                } else {\n                    // 设置新场景为原始大小\n                    toView?.transform = CGAffineTransform(scaleX: 1.0,y: 1.0)\n                }\n                \n                toView?.alpha = 1.0\n                \n        }, completion: { finished in\n            \n            // 通知NavigationController已经完成转场\n            transitionContext.completeTransition(true)\n            \n        })\n        \n        \n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/DiaryCell.swift",
    "content": "//\n//  DiaryCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/DiaryComposeViewController.swift",
    "content": "//\n//  DiaryComposeViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nlet titleTextViewHeight:CGFloat = 30.0\nlet contentMargin:CGFloat = 20.0\n\nvar defaultFont = \"Wyue-GutiFangsong-NC\"\n\nlet DiaryFont = UIFont(name: defaultFont, size: 18)!\nlet DiaryLocationFont = UIFont(name: defaultFont, size: 16)!\nlet DiaryTitleFont = UIFont(name: defaultFont, size: 18)!\n\nclass DiaryComposeViewController: UIViewController {\n    var composeView:UITextView!\n    var locationTextView:UITextView!\n    var titleTextView:UITextView!\n    var finishButton:UIButton!\n    var keyboardSize:CGSize = CGSize(width: 0, height: 0)\n    var locationHelper: DiaryLocationHelper = DiaryLocationHelper()\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        // 创建正文输入框\n        composeView = UITextView(frame: CGRect(x: 0, y: contentMargin + titleTextViewHeight, width: screenSize.width, height: screenSize.height))\n        composeView.font = DiaryFont\n        composeView.isEditable = true\n        composeView.isUserInteractionEnabled = true\n        composeView.textContainerInset = UIEdgeInsets(top: contentMargin, left: contentMargin, bottom: contentMargin, right: contentMargin)\n        composeView.text = \"没道理，是一枚太平洋的暖湿空气，飘\"\n        \n        // 创建地址输入框\n        locationTextView = UITextView(frame: CGRect(x: 0, y: composeView.frame.size.height - 30.0, width: screenSize.width - 60.0, height: 30.0))\n        locationTextView.font = DiaryLocationFont\n        locationTextView.isEditable = true\n        locationTextView.isUserInteractionEnabled = true\n        locationTextView.bounces = false\n        locationTextView.text = \"于 琅邪\"\n        \n        // 创建标题输入框\n        \n        titleTextView = UITextView(frame: CGRect(x: contentMargin, y: contentMargin/2, width: screenSize.width - 60.0, height: titleTextViewHeight))\n        titleTextView.font = DiaryTitleFont\n        titleTextView.isEditable = true\n        titleTextView.isUserInteractionEnabled = true\n        titleTextView.bounces = false\n        titleTextView.text = \"一十五日\"\n\n        self.view.addSubview(composeView)\n        \n        self.view.addSubview(locationTextView)\n        \n        self.view.addSubview(titleTextView)\n        \n        // 创建完成按钮\n        finishButton = diaryButtonWith(text: \"完\",  fontSize: 18.0,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        finishButton.center = CGPoint(x: screenSize.width - 20, y: screenSize.height - 30)\n        \n        self.view.addSubview(finishButton)\n        \n        \n        self.finishButton.center = CGPoint(x: self.view.frame.width - self.finishButton.frame.size.height/2.0 - 10, y: self.view.frame.height  - self.finishButton.frame.size.height/2.0 - 10)\n        \n        self.locationTextView.center = CGPoint(x: self.locationTextView.frame.size.width/2.0 + 20.0, y: self.finishButton.center.y)\n        \n        // 监听键盘事件\n        \n        NotificationCenter.default.addObserver(self, selector: #selector(keyboardDidShow(_:)), name: UIWindow.keyboardDidShowNotification, object: nil)\n        \n        NotificationCenter.default.addObserver(self, selector: #selector(updateAddress(_:)), name: NSNotification.Name(rawValue: \"DiaryLocationUpdated\"), object: nil)\n\n    }\n    \n    @objc func updateAddress(_ notification: Notification) {\n        \n        if let address = notification.object as? String {\n            \n            locationTextView.text = \"于 \\(address)\"\n            \n            locationHelper.locationManager.stopUpdatingLocation()\n        }\n        \n    }\n    \n    @objc func keyboardDidShow(_ notification: Notification) {\n        // 取出键盘的高度\n        if let rectValue = (notification as NSNotification).userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? NSValue {\n            keyboardSize = rectValue.cgRectValue.size\n            \n            //更新完成按钮和地址输入框的位置\n            updateTextViewSizeForKeyboardHeight(keyboardSize.height)\n        }\n    }\n    \n    func updateTextViewSizeForKeyboardHeight(_ keyboardHeight: CGFloat) {\n        \n        let newKeyboardHeight = keyboardHeight\n        \n        UIView.animate(withDuration: 1.0, delay: 0, options: UIView.AnimationOptions(), animations:\n            {\n                if (self.locationTextView.text == nil) {\n                    self.composeView.frame = CGRect(x: 0, y: 0, width: self.view.frame.width, height: self.view.frame.height - newKeyboardHeight)\n                }else{\n                    self.composeView.frame = CGRect(x: 0, y: contentMargin + titleTextViewHeight, width: self.composeView.frame.size.width,  height: self.view.frame.height - newKeyboardHeight - 40.0 - self.finishButton.frame.size.height/2.0 - (contentMargin + titleTextViewHeight))\n                }\n                \n                self.finishButton.center = CGPoint(x: self.view.frame.width - self.finishButton.frame.size.height/2.0 - 10, y: self.view.frame.height - newKeyboardHeight - self.finishButton.frame.size.height/2.0 - 10)\n                \n                \n                self.locationTextView.center = CGPoint(x: self.locationTextView.frame.size.width/2.0 + 20.0, y: self.finishButton.center.y)\n                \n            }, completion: nil)\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/DiaryLabel.swift",
    "content": "//\n//  DiaryLabel.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nfunc sizeHeightWithText(labelText: String,\n                        fontSize: CGFloat,\n                        textAttributes: [NSAttributedString.Key: AnyObject]) -> CGRect {\n    \n    return labelText.boundingRect(\n        with: CGSize(width:fontSize, height:480),\n        options: NSStringDrawingOptions.usesLineFragmentOrigin,\n        attributes: textAttributes, context: nil)\n}\n\nclass DiaryLabel: UILabel {\n    \n    var textAttributes: [NSAttributedString.Key: AnyObject]!\n    \n    convenience init(fontname:String,\n                     labelText:String,\n                     fontSize : CGFloat,\n                     lineHeight: CGFloat,\n                     color: UIColor){\n        \n        self.init(frame: CGRect(x:0, y:0, width:0, height:0))\n        \n        let font = UIFont(name: fontname,\n                          size: fontSize)\n        \n        let paragraphStyle = NSMutableParagraphStyle()\n        paragraphStyle.lineSpacing = lineHeight\n        \n        textAttributes = [NSAttributedString.Key.font: font!,\n                          NSAttributedString.Key.foregroundColor: color,\n                          NSAttributedString.Key.paragraphStyle: paragraphStyle]\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: fontSize ,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x: 0, y: 0, width: labelSize.width,\n                            height: labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n        self.lineBreakMode = NSLineBreakMode.byCharWrapping\n        self.numberOfLines = 0\n    }\n    \n    func updateText(labelText: String) {\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: self.font.pointSize,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x:0,y: 0, width:labelSize.width,\n                            height:labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/DiaryLayout.swift",
    "content": "//\n//  DiaryLayout.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nlet screenSize = UIWindow().screen.bounds\n\nclass DiaryLayout: UICollectionViewFlowLayout {\n    override func prepare() {\n        super.prepare() //准备布局\n        let itemSize = CGSize(width: itemWidth,height: itemHeight)\n        self.itemSize = itemSize\n        self.minimumInteritemSpacing = 0.0\n        self.minimumLineSpacing = 0\n        self.sectionInset = UIEdgeInsets(top: (screenSize.height/2.0) - (itemHeight/2.0), left: (screenSize.width/2.0) - (itemWidth/2.0), bottom: (screenSize.height/2.0) - (itemHeight/2.0), right: (screenSize.height/2.0) - (itemHeight/2.0))\n    }\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/DiaryLocationHelper.swift",
    "content": "//\n//  DiaryLocationHelper.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport CoreLocation\n\nclass DiaryLocationHelper: NSObject, CLLocationManagerDelegate {\n    \n    var locationManager:CLLocationManager = CLLocationManager()\n    var currentLocation:CLLocation?\n    var address:String?\n    var geocoder = CLGeocoder()\n    \n    override init() {\n        super.init()\n        // 设置委托\n        locationManager.delegate = self\n        // 请求位置授权\n        locationManager.requestWhenInUseAuthorization()\n        if (CLLocationManager.locationServicesEnabled()){\n            //开始获取位置\n            locationManager.startUpdatingLocation()\n        }\n    }\n    \n    func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {\n        // 根据经纬度查询位置名称\n        geocoder.reverseGeocodeLocation(locations[0], completionHandler: { (placemarks, error) in\n            \n            if let error = error {\n                print(\"查询失败: \\(error.localizedDescription)\")\n            }\n            \n            // placemarks里包括了位置的国家、省份、地区等信息\n            if let pm = placemarks {\n                if pm.count > 0 {\n                    \n                    let placemark = pm.first\n                    \n                    self.address = placemark?.locality\n                    \n                    // 广播位置信息\n                    NotificationCenter.default.post(name: Notification.Name(rawValue: \"DiaryLocationUpdated\"), object: self.address)\n                }\n            }\n            \n        })\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/DiaryMonthCollectionViewController.swift",
    "content": "//\n//  DiaryMonthCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nlet DiaryRed = UIColor(red: 192.0/255.0, green: 23/255.0, blue: 48.0/255.0, alpha: 1)\n\nclass DiaryMonthCollectionViewController: UICollectionViewController {\n    var month: Int!\n    var yearLabel: DiaryLabel!\n    var monthLabel: DiaryLabel!\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n        \n        yearLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: \"二零一五年\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n\n        yearLabel.frame = CGRect(x: screenSize.width - yearLabel.frame.size.width - 20, y: 20, width: yearLabel.frame.size.width, height: yearLabel.frame.size.height)\n        \n        self.view.addSubview(yearLabel)\n        \n        monthLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: \"三月\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: DiaryRed)\n\n        monthLabel.frame = CGRect(x: screenSize.width - monthLabel.frame.size.width - 20, y: screenSize.height/2.0 - monthLabel.frame.size.height/2.0, width: monthLabel.frame.size.width, height: monthLabel.frame.size.height)\n        \n        self.view.addSubview(monthLabel)\n        \n        \n        // 添加按钮\n        \n        let composeButton = diaryButtonWith(text: \"撰\",\n                                            fontSize: 14.0,\n                                            width: 40.0,\n                                            normalImageName: \"Oval\",\n                                            highlightedImageName: \"Oval_pressed\")\n        \n        composeButton.center = CGPoint(x: yearLabel.center.x,\n                                       y: 38 + yearLabel.frame.size.height + 26.0/2.0)\n        \n        composeButton.addTarget(self, action: #selector(newCompose),\n                                for: UIControl.Event.touchUpInside)\n        \n        self.view.addSubview(composeButton)\n    \n    }\n    \n    @objc func newCompose() {\n        \n        let identifier = \"DiaryComposeViewController\"\n        \n        let composeViewController = self.storyboard?.instantiateViewController(withIdentifier: identifier)\n            as! DiaryComposeViewController\n        \n        self.present(composeViewController,\n                                   animated: true,\n                                   completion: nil)\n        \n    }\n\n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return 1\n    }\n    \n    \n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        cell.textInt = 1\n        cell.labelText = \"季风气候\"\n        \n        return cell\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/DiaryYearCollectionViewController.swift",
    "content": "//\n//  DiaryYearCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryYearCollectionViewController: UICollectionViewController {\n    var year: Int!\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n\n    }\n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return 1\n    }\n\n\n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        cell.textInt = 1\n        cell.labelText = \"一月\"\n\n        return cell\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryMonthCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryMonthCollectionViewController // 获取 DiaryMonthCollectionViewController\n        \n        // 指定是 2015 年的 1 月份\n        dvc.month = 1\n        \n        // 页面跳转\n        self.navigationController!.pushViewController(dvc, animated: true)\n    }\n    \n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/Helper.swift",
    "content": "//\n//  Helper.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nfunc diaryButtonWith(text: String,\n                     fontSize: CGFloat,\n                     width: CGFloat,\n                     normalImageName: String,\n                     highlightedImageName: String) -> UIButton {\n    \n    // 创建自定义按钮\n    let button = UIButton(type: UIButton.ButtonType.custom)\n    \n    // 设定按钮的大小\n    button.frame = CGRect(x: 0, y: 0, width: width, height: width)\n    \n    let font = UIFont(name: \"Wyue-GutiFangsong-NC\", size: fontSize)\n    \n    let textAttributes: [NSAttributedString.Key: AnyObject] = [\n        NSAttributedString.Key.font: font!,\n        NSAttributedString.Key.foregroundColor: UIColor.white]\n    \n    // 设置按钮的字体\n    let attributedText = NSAttributedString(string: text, attributes: textAttributes)\n    button.setAttributedTitle(attributedText, for: UIControl.State.normal)\n    \n    // 设置默认按钮的样式\n    button.setBackgroundImage(UIImage(\n        named: normalImageName),\n                              for: UIControl.State.normal)\n    \n    // 设置按钮被按下时的样式\n    button.setBackgroundImage(UIImage(\n        named: highlightedImageName),\n                              for: UIControl.State.highlighted)\n    \n    return button\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/HomeCollectionViewController.swift",
    "content": "//\n//  HomeCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass HomeCollectionViewController: UICollectionViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        // Uncomment the following line to preserve selection between presentations\n        // self.clearsSelectionOnViewWillAppear = false\n        let yearLayout = DiaryLayout()\n        \n        yearLayout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(yearLayout, animated: false)\n\n        self.navigationController!.delegate = self\n        // Do any additional setup after loading the view.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n    /*\n    // MARK: - Navigation\n\n    // In a storyboard-based application, you will often want to do a little preparation before navigation\n    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {\n        // Get the new view controller using [segue destinationViewController].\n        // Pass the selected object to the new view controller.\n    }\n    */\n\n\n    // MARK: UICollectionViewDataSource\n\n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        // #warning Incomplete implementation, return the number of sections\n        return 1\n    }\n\n\n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"HomeYearCollectionViewCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! HomeYearCollectionViewCell\n        \n        cell.textInt = 2015\n        cell.labelText = \"二零一五 年\"\n        \n        return cell\n\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryYearCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryYearCollectionViewController // 获取 DiaryYearCollectionViewController\n        \n        // 指定是 2015 年的月份\n        dvc.year = 2015\n        \n        // 页面跳转\n        self.navigationController!.pushViewController(dvc, animated: true)\n    }\n    \n}\n\nextension HomeCollectionViewController: UINavigationControllerDelegate {\n    func navigationController(_ navigationController:\n        UINavigationController,\n                              animationControllerFor operation:\n        UINavigationController.Operation,\n                              from fromVC: UIViewController,\n                              to toVC: UIViewController) ->\n        UIViewControllerAnimatedTransitioning? {\n            \n            let animator = DiaryAnimator()\n            animator.operation = operation\n            return animator\n    }\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/HomeYearCollectionViewCell.swift",
    "content": "//\n//  HomeYearCollectionViewCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass HomeYearCollectionViewCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UIAppFonts</key>\n\t<array>\n\t\t<string>Wyue-GutiFangsong-NC_deliverable.otf</string>\n\t\t<string>TpldKhangXiDictTrial.otf</string>\n\t</array>\n\t<key>NSLocationWhenInUseUsageDescription</key>\n\t<string>在撰写日志的时候自动添加位置</string>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */; };\n\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7381DB2B0F500B4665B /* ViewController.swift */; };\n\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73A1DB2B0F500B4665B /* Main.storyboard */; };\n\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */; };\n\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */; };\n\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */; };\n\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */; };\n\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */; };\n\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */; };\n\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */; };\n\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */; };\n\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */; };\n\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */; };\n\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7601DB2EDDC00B4665B /* Helper.swift */; };\n\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */; };\n\t\t0A5EA7651DB2F82E00B4665B /* DiaryAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */; };\n\t\t0A5EA7671DB30D2000B4665B /* DiaryComposeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */; };\n\t\t0A5EA7691DB3131E00B4665B /* DiaryLocationHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Diary.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA73B1DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t0A5EA7401DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLabel.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = TpldKhangXiDictTrial.otf; sourceTree = \"<group>\"; };\n\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = \"Wyue-GutiFangsong-NC_deliverable.otf\"; sourceTree = \"<group>\"; };\n\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeYearCollectionViewCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLayout.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryYearCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Helper.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryMonthCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryAnimator.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryComposeViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLocationHelper.swift; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0A5EA72A1DB2B0F500B4665B = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7351DB2B0F500B4665B /* Diary */,\n\t\t\t\t0A5EA7341DB2B0F500B4665B /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7341DB2B0F500B4665B /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7351DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */,\n\t\t\t\t0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */,\n\t\t\t\t0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */,\n\t\t\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */,\n\t\t\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */,\n\t\t\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */,\n\t\t\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */,\n\t\t\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */,\n\t\t\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */,\n\t\t\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */,\n\t\t\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */,\n\t\t\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */,\n\t\t\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */,\n\t\t\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */,\n\t\t\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */,\n\t\t\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */,\n\t\t\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */,\n\t\t\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */,\n\t\t\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */,\n\t\t\t);\n\t\t\tpath = Diary;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0A5EA7321DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0A5EA72F1DB2B0F500B4665B /* Sources */,\n\t\t\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */,\n\t\t\t\t0A5EA7311DB2B0F500B4665B /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Diary;\n\t\t\tproductName = Diary;\n\t\t\tproductReference = 0A5EA7331DB2B0F500B4665B /* Diary.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0A5EA72B1DB2B0F500B4665B /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0800;\n\t\t\t\tLastUpgradeCheck = 0800;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0A5EA7321DB2B0F500B4665B = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 8.0;\n\t\t\t\t\t\tProvisioningStyle = Automatic;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0A5EA72A1DB2B0F500B4665B;\n\t\t\tproductRefGroup = 0A5EA7341DB2B0F500B4665B /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0A5EA7321DB2B0F500B4665B /* Diary */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0A5EA7311DB2B0F500B4665B /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */,\n\t\t\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */,\n\t\t\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */,\n\t\t\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0A5EA72F1DB2B0F500B4665B /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */,\n\t\t\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA7691DB3131E00B4665B /* DiaryLocationHelper.swift in Sources */,\n\t\t\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */,\n\t\t\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */,\n\t\t\t\t0A5EA7671DB30D2000B4665B /* DiaryComposeViewController.swift in Sources */,\n\t\t\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */,\n\t\t\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */,\n\t\t\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */,\n\t\t\t\t0A5EA7651DB2F82E00B4665B /* DiaryAnimator.swift in Sources */,\n\t\t\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA73B1DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7401DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0A5EA7431DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7441DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0A5EA7461DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7471DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7431DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7441DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7461DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7471DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 0A5EA72B1DB2B0F500B4665B /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Diary.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_6/Diary.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\n// Coredata\nlet appDelegate = UIApplication.shared.delegate as! AppDelegate\n\nlet managedContext = appDelegate.managedObjectContext!\n\nlet itemHeight: CGFloat = 150.0\n// Cell的高度\n\nlet itemWidth: CGFloat = 60\n// Cell的宽度\n\nlet collectionViewWidth = itemWidth * 3\n// 同时显示3个Cell时候\n\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    lazy var managedObjectModel: NSManagedObjectModel = {\n        // 描述数据模型描述文件存储位置\n        let modelURL = Bundle.main.url(forResource: \"Diary\", withExtension: \"momd\")!\n        return NSManagedObjectModel(contentsOf: modelURL)!\n    }()\n    \n    lazy var applicationDocumentsDirectory: URL = {\n        // 数据库文件的存放文件夹\n        let urls = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)\n        return urls[urls.count-1]\n    }()\n\n    lazy var persistentStoreCoordinator: NSPersistentStoreCoordinator? = {\n            // 通过 managedObjectModel 创建持久化管理\n            var coordinator: NSPersistentStoreCoordinator? =\n                NSPersistentStoreCoordinator(managedObjectModel:\n                    self.managedObjectModel)\n            \n            let url = self.applicationDocumentsDirectory.appendingPathComponent(\"Diary.sqlite\")\n            // 设定数据库存储位置\n            \n            var error: NSError? = nil\n            var failureReason = \"载入程序存储的数据出错.\"\n            \n            do {\n                try coordinator!.addPersistentStore(\n                    ofType: NSSQLiteStoreType, configurationName: nil,\n                    at: url, options: nil)\n                // 创建NSSQLiteStoreType类型持久化存储\n            } catch var error1 as NSError {\n                error = error1\n                coordinator = nil\n                // 报告错误\n                var dict = [String: AnyObject]()\n                dict[NSLocalizedDescriptionKey] = \"无法初始化程序存储的数据\" as AnyObject?\n                dict[NSLocalizedFailureReasonErrorKey] = failureReason as AnyObject?\n                dict[NSUnderlyingErrorKey] = error\n                error = NSError(domain: \"YOUR_ERROR_DOMAIN\", code: 9999, userInfo: dict)\n                NSLog(\"发现错误 \\(error), \\(error!.userInfo)\")\n                abort()\n            } catch {\n                fatalError()\n            }\n            \n            return coordinator\n    }()\n    \n    lazy var managedObjectContext: NSManagedObjectContext? = {\n        let coordinator = self.persistentStoreCoordinator\n        if coordinator == nil {\n            return nil\n        }\n        var managedObjectContext = NSManagedObjectContext(concurrencyType: .privateQueueConcurrencyType)\n        managedObjectContext.persistentStoreCoordinator = coordinator\n        return managedObjectContext\n    }()\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"83.5x83.5\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/Assets.xcassets/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/Assets.xcassets/Oval.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/Assets.xcassets/Oval_pressed.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11134\" systemVersion=\"15F34\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11106\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"kL8-Co-z9D\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Navigation Controller-->\n        <scene sceneID=\"nDa-SJ-xz8\">\n            <objects>\n                <navigationController navigationBarHidden=\"YES\" id=\"kL8-Co-z9D\" sceneMemberID=\"viewController\">\n                    <navigationBar key=\"navigationBar\" contentMode=\"scaleToFill\" misplaced=\"YES\" id=\"4V2-cI-zED\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"44\"/>\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                    </navigationBar>\n                    <connections>\n                        <segue destination=\"jaX-ox-NO1\" kind=\"relationship\" relationship=\"rootViewController\" id=\"0CX-Bs-aYm\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"1ry-uh-1gv\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-842\" y=\"152\"/>\n        </scene>\n        <!--Home Collection View Controller-->\n        <scene sceneID=\"xp1-EX-i1t\">\n            <objects>\n                <collectionViewController id=\"jaX-ox-NO1\" customClass=\"HomeCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" misplaced=\"YES\" dataMode=\"prototypes\" id=\"jrI-Dn-xWe\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"uYL-dk-pKl\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"HomeYearCollectionViewCell\" id=\"X1f-9B-ji3\" customClass=\"HomeYearCollectionViewCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                                <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"jaX-ox-NO1\" id=\"tJv-Ng-uBS\"/>\n                            <outlet property=\"delegate\" destination=\"jaX-ox-NO1\" id=\"pGg-Wa-sLv\"/>\n                        </connections>\n                    </collectionView>\n                    <navigationItem key=\"navigationItem\" id=\"DQv-Sc-DbJ\"/>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"5jE-Hq-jF5\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"138\" y=\"152\"/>\n        </scene>\n        <!--Diary Compose View Controller-->\n        <scene sceneID=\"30A-tU-xe3\">\n            <objects>\n                <viewController storyboardIdentifier=\"DiaryComposeViewController\" id=\"Lw3-Dp-s4h\" customClass=\"DiaryComposeViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"lty-ru-RuT\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"o7k-nX-8BY\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"tH5-OA-VDh\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"ZP3-Oz-N2G\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"1040\" y=\"150\"/>\n        </scene>\n        <!--Diary Year Collection View Controller-->\n        <scene sceneID=\"F2G-6G-oBr\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryYearCollectionViewController\" id=\"elp-wf-O6L\" customClass=\"DiaryYearCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" misplaced=\"YES\" dataMode=\"prototypes\" id=\"asJ-Z6-Zee\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"nGJ-sA-rbK\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"0Z6-TY-W0M\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"elp-wf-O6L\" id=\"EFu-fn-B84\"/>\n                            <outlet property=\"delegate\" destination=\"elp-wf-O6L\" id=\"7hi-JI-sT1\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"BPC-13-fQY\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"149\" y=\"821\"/>\n        </scene>\n        <!--Diary Month Collection View Controller-->\n        <scene sceneID=\"Esa-e4-hlZ\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryMonthCollectionViewController\" id=\"9xo-Dc-H11\" customClass=\"DiaryMonthCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" misplaced=\"YES\" dataMode=\"prototypes\" id=\"3bk-qG-x6G\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"8hv-Df-784\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"n44-bA-yeZ\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"9xo-Dc-H11\" id=\"Le6-7L-8hY\"/>\n                            <outlet property=\"delegate\" destination=\"9xo-Dc-H11\" id=\"HvU-i0-eXq\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"fEk-Yk-ztQ\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"162\" y=\"1504\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/Diary.xcdatamodeld/Diary.xcdatamodel/contents",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<model type=\"com.apple.IDECoreDataModeler.DataModel\" documentVersion=\"1.0\" lastSavedToolsVersion=\"14460.32\" systemVersion=\"18D42\" minimumToolsVersion=\"Automatic\" sourceLanguage=\"Swift\" userDefinedModelVersionIdentifier=\"\">\n    <entity name=\"Diary\" representedClassName=\"Diary\" syncable=\"YES\" codeGenerationType=\"class\">\n        <attribute name=\"content\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"created_at\" optional=\"YES\" attributeType=\"Date\" usesScalarValueType=\"NO\" syncable=\"YES\"/>\n        <attribute name=\"location\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"month\" optional=\"YES\" attributeType=\"Integer 32\" defaultValueString=\"0\" usesScalarValueType=\"YES\" syncable=\"YES\"/>\n        <attribute name=\"title\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"year\" optional=\"YES\" attributeType=\"Integer 32\" defaultValueString=\"0\" usesScalarValueType=\"YES\" syncable=\"YES\"/>\n    </entity>\n    <elements>\n        <element name=\"Diary\" positionX=\"-63\" positionY=\"-18\" width=\"128\" height=\"135\"/>\n    </elements>\n</model>"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/DiaryAnimator.swift",
    "content": "//\n//  DiaryAnimator.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryAnimator: NSObject, UIViewControllerAnimatedTransitioning {\n    \n    var operation: UINavigationController.Operation!\n    \n    // 转场时长\n    \n    func transitionDuration(using transitionContext:\n        UIViewControllerContextTransitioning?) -> TimeInterval {\n        return 0.4\n    }\n    \n    func animateTransition(using transitionContext:\n        UIViewControllerContextTransitioning)\n    {\n        \n        // 获取转场舞台\n        let containerView = transitionContext.containerView\n        \n        let fromVC = transitionContext.viewController(\n            forKey: UITransitionContextViewControllerKey.from)\n        \n        // 获取从哪个场景开始转\n        let fromView = fromVC!.view\n        \n        let toVC = transitionContext.viewController(\n            forKey: UITransitionContextViewControllerKey.to)\n        \n        // 获取要转去哪个场景\n        let toView = toVC!.view\n        \n        // 设置新场景透明度\n        toView?.alpha = 0.0\n        \n        // UINavigationControllerOperation.Pop用来判断是转入还是转出\n        if operation ==  UINavigationController.Operation.pop {\n            // 如果是返回旧场景，那么设置要转入的场景初始缩放为原始大小\n            toView?.transform = CGAffineTransform(scaleX: 1.0,y: 1.0)\n        }else{\n            // 如果是转到新场景，设置新场景初始缩放为0.3\n            toView?.transform = CGAffineTransform(scaleX: 0.3,y: 0.3);\n        }\n        \n        // 在舞台上插入场景\n        containerView.insertSubview(toView!, aboveSubview: fromView!)\n        \n        UIView.animate(\n            withDuration: transitionDuration(using: transitionContext),\n            delay: 0,\n            options: UIView.AnimationOptions.curveEaseInOut,\n            animations:\n            {\n                if self.operation ==  UINavigationController.Operation.pop {\n                    // 放大要转出的场景\n                    fromView?.transform = CGAffineTransform(scaleX: 3.3,y: 3.3)\n                } else {\n                    // 设置新场景为原始大小\n                    toView?.transform = CGAffineTransform(scaleX: 1.0,y: 1.0)\n                }\n                \n                toView?.alpha = 1.0\n                \n        }, completion: { finished in\n            \n            // 通知NavigationController已经完成转场\n            transitionContext.completeTransition(true)\n            \n        })\n        \n        \n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/DiaryCell.swift",
    "content": "//\n//  DiaryCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/DiaryComposeViewController.swift",
    "content": "//\n//  DiaryComposeViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nlet titleTextViewHeight:CGFloat = 30.0\nlet contentMargin:CGFloat = 20.0\n\nvar defaultFont = \"Wyue-GutiFangsong-NC\"\nlet DiaryFont = UIFont(name: defaultFont, size: 18)!\nlet DiaryLocationFont = UIFont(name: defaultFont, size: 16)!\nlet DiaryTitleFont = UIFont(name: defaultFont, size: 18)!\n\nclass DiaryComposeViewController: UIViewController {\n    var composeView:UITextView!\n    var locationTextView:UITextView!\n    var titleTextView:UITextView!\n    var finishButton:UIButton!\n    var keyboardSize:CGSize = CGSize(width: 0, height: 0)\n    var locationHelper: DiaryLocationHelper = DiaryLocationHelper()\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        // 创建正文输入框\n        composeView = UITextView(frame: CGRect(x: 0, y: contentMargin + titleTextViewHeight, width: screenSize.width, height: screenSize.height))\n        composeView.font = DiaryFont\n        composeView.isEditable = true\n        composeView.isUserInteractionEnabled = true\n        composeView.textContainerInset = UIEdgeInsets(top: contentMargin, left: contentMargin, bottom: contentMargin, right: contentMargin)\n        composeView.text = \"没道理，是一枚太平洋的暖湿空气，飘\"\n        \n        // 创建地址输入框\n        locationTextView = UITextView(frame: CGRect(x: 0, y: composeView.frame.size.height - 30.0, width: screenSize.width - 60.0, height: 30.0))\n        locationTextView.font = DiaryLocationFont\n        locationTextView.isEditable = true\n        locationTextView.isUserInteractionEnabled = true\n        locationTextView.bounces = false\n        locationTextView.text = \"于 琅邪\"\n        \n        // 创建标题输入框\n        \n        titleTextView = UITextView(frame: CGRect(x: contentMargin, y: contentMargin/2, width: screenSize.width - 60.0, height: titleTextViewHeight))\n        titleTextView.font = DiaryTitleFont\n        titleTextView.isEditable = true\n        titleTextView.isUserInteractionEnabled = true\n        titleTextView.bounces = false\n        titleTextView.text = \"一十五日\"\n\n        self.view.addSubview(composeView)\n        \n        self.view.addSubview(locationTextView)\n        \n        self.view.addSubview(titleTextView)\n        \n        // 创建完成按钮\n        finishButton = diaryButtonWith(text: \"完\",  fontSize: 18.0,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        finishButton.center = CGPoint(x: screenSize.width - 20, y: screenSize.height - 30)\n        \n        self.view.addSubview(finishButton)\n        \n        \n        self.finishButton.center = CGPoint(x: self.view.frame.width - self.finishButton.frame.size.height/2.0 - 10, y: self.view.frame.height  - self.finishButton.frame.size.height/2.0 - 10)\n        \n        self.finishButton.addTarget(self, action: #selector(finishCompose(_:)), for: UIControl.Event.touchUpInside)\n        \n        self.locationTextView.center = CGPoint(x: self.locationTextView.frame.size.width/2.0 + 20.0, y: self.finishButton.center.y)\n        \n        // 监听键盘事件\n        \n        NotificationCenter.default.addObserver(self, selector: #selector(keyboardDidShow(_:)), name: UIWindow.keyboardDidShowNotification, object: nil)\n        \n        NotificationCenter.default.addObserver(self, selector: #selector(updateAddress(_:)), name: NSNotification.Name(rawValue: \"DiaryLocationUpdated\"), object: nil)\n\n    }\n    \n    @objc func finishCompose(_ button: UIButton) {\n        \n        // 取消输入框的编辑状态，收起键盘\n        self.composeView.endEditing(true)\n        self.locationTextView.endEditing(true)\n        \n        // 确保有文字内容才保存\n        if (composeView.text.lengthOfBytes(using: String.Encoding.utf8) > 1){\n            \n            let entity =  NSEntityDescription.entity(forEntityName: \"Diary\", in: managedContext)\n            \n            let newdiary = Diary(entity: entity!,\n                                 insertInto:managedContext)\n            newdiary.content = composeView.text\n            \n            if let address  = locationHelper.address {\n                newdiary.location = address\n            }\n            \n            if let title = titleTextView.text {\n                newdiary.title = title\n            }\n            \n            \n            newdiary.updateTimeWithDate(Date())\n            \n            do {\n                try managedContext.save()\n            } catch let error as NSError {\n                print(\"保存错误 \\(error.description)\")\n            }\n            \n        }\n        \n        self.dismiss(animated: true, completion: nil)\n    }\n    \n    @objc func updateAddress(_ notification: Notification) {\n        \n        if let address = notification.object as? String {\n            \n            locationTextView.text = \"于 \\(address)\"\n            \n            locationHelper.locationManager.stopUpdatingLocation()\n        }\n        \n    }\n    \n    @objc func keyboardDidShow(_ notification: Notification) {\n        // 取出键盘的高度\n        if let rectValue = (notification as NSNotification).userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? NSValue {\n            keyboardSize = rectValue.cgRectValue.size\n            \n            //更新完成按钮和地址输入框的位置\n            updateTextViewSizeForKeyboardHeight(keyboardSize.height)\n        }\n    }\n    \n    func updateTextViewSizeForKeyboardHeight(_ keyboardHeight: CGFloat) {\n        \n        let newKeyboardHeight = keyboardHeight\n        \n        UIView.animate(withDuration: 1.0, delay: 0, options: UIView.AnimationOptions(), animations:\n            {\n                if (self.locationTextView.text == nil) {\n                    self.composeView.frame = CGRect(x: 0, y: 0, width: self.view.frame.width, height: self.view.frame.height - newKeyboardHeight)\n                }else{\n                    self.composeView.frame = CGRect(x: 0, y: contentMargin + titleTextViewHeight, width: self.composeView.frame.size.width,  height: self.view.frame.height - newKeyboardHeight - 40.0 - self.finishButton.frame.size.height/2.0 - (contentMargin + titleTextViewHeight))\n                }\n                \n                self.finishButton.center = CGPoint(x: self.view.frame.width - self.finishButton.frame.size.height/2.0 - 10, y: self.view.frame.height - newKeyboardHeight - self.finishButton.frame.size.height/2.0 - 10)\n                \n                \n                self.locationTextView.center = CGPoint(x: self.locationTextView.frame.size.width/2.0 + 20.0, y: self.finishButton.center.y)\n                \n            }, completion: nil)\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/DiaryLabel.swift",
    "content": "//\n//  DiaryLabel.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nfunc sizeHeightWithText(labelText: String,\n                        fontSize: CGFloat,\n                        textAttributes: [NSAttributedString.Key: AnyObject]) -> CGRect {\n    \n    return labelText.boundingRect(\n        with: CGSize(width:fontSize, height:480),\n        options: NSStringDrawingOptions.usesLineFragmentOrigin,\n        attributes: textAttributes, context: nil)\n}\n\nclass DiaryLabel: UILabel {\n    \n    var textAttributes: [NSAttributedString.Key: AnyObject]!\n    \n    convenience init(fontname:String,\n                     labelText:String,\n                     fontSize : CGFloat,\n                     lineHeight: CGFloat,\n                     color: UIColor){\n        \n        self.init(frame: CGRect(x:0, y:0, width:0, height:0))\n        \n        let font = UIFont(name: fontname,\n                          size: fontSize)\n        \n        let paragraphStyle = NSMutableParagraphStyle()\n        paragraphStyle.lineSpacing = lineHeight\n        \n        textAttributes = [NSAttributedString.Key.font: font!,\n                          NSAttributedString.Key.foregroundColor: color,\n                          NSAttributedString.Key.paragraphStyle: paragraphStyle]\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: fontSize ,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x: 0, y: 0, width: labelSize.width,\n                            height: labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n        self.lineBreakMode = NSLineBreakMode.byCharWrapping\n        self.numberOfLines = 0\n    }\n    \n    func updateText(labelText: String) {\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: self.font.pointSize,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x:0,y: 0, width:labelSize.width,\n                            height:labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/DiaryLayout.swift",
    "content": "//\n//  DiaryLayout.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nlet screenSize = UIWindow().screen.bounds\n\nclass DiaryLayout: UICollectionViewFlowLayout {\n    override func prepare() {\n        super.prepare() //准备布局\n        let itemSize = CGSize(width: itemWidth,height: itemHeight)\n        self.itemSize = itemSize\n        self.minimumInteritemSpacing = 0.0\n        self.minimumLineSpacing = 0\n        self.sectionInset = UIEdgeInsets(top: (screenSize.height/2.0) - (itemHeight/2.0), left: (screenSize.width/2.0) - (itemWidth/2.0), bottom: (screenSize.height/2.0) - (itemHeight/2.0), right: (screenSize.height/2.0) - (itemHeight/2.0))\n    }\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/DiaryLocationHelper.swift",
    "content": "//\n//  DiaryLocationHelper.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport CoreLocation\n\nclass DiaryLocationHelper: NSObject, CLLocationManagerDelegate {\n    \n    var locationManager:CLLocationManager = CLLocationManager()\n    var currentLocation:CLLocation?\n    var address:String?\n    var geocoder = CLGeocoder()\n    \n    override init() {\n        super.init()\n        // 设置委托\n        locationManager.delegate = self\n        // 请求位置授权\n        locationManager.requestWhenInUseAuthorization()\n        if (CLLocationManager.locationServicesEnabled()){\n            //开始获取位置\n            locationManager.startUpdatingLocation()\n        }\n    }\n    \n    func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {\n        // 根据经纬度查询位置名称\n        geocoder.reverseGeocodeLocation(locations[0], completionHandler: { (placemarks, error) in\n            \n            if let error = error {\n                print(\"查询失败: \\(error.localizedDescription)\")\n            }\n            \n            // placemarks里包括了位置的国家、省份、地区等信息\n            if let pm = placemarks {\n                if pm.count > 0 {\n                    \n                    let placemark = pm.first\n                    \n                    self.address = placemark?.locality\n                    \n                    // 广播位置信息\n                    NotificationCenter.default.post(name: Notification.Name(rawValue: \"DiaryLocationUpdated\"), object: self.address)\n                }\n            }\n            \n        })\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/DiaryMonthCollectionViewController.swift",
    "content": "//\n//  DiaryMonthCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nlet DiaryRed = UIColor(red: 192.0/255.0, green: 23/255.0, blue: 48.0/255.0, alpha: 1)\n\nclass DiaryMonthCollectionViewController: UICollectionViewController {\n    var month: Int!\n    var yearLabel: DiaryLabel!\n    var monthLabel: DiaryLabel!\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n        \n        yearLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: \"二零一五年\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n\n        yearLabel.frame = CGRect(x: screenSize.width - yearLabel.frame.size.width - 20, y: 20, width: yearLabel.frame.size.width, height: yearLabel.frame.size.height)\n        \n        self.view.addSubview(yearLabel)\n        \n        monthLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: \"三月\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: DiaryRed)\n\n        monthLabel.frame = CGRect(x: screenSize.width - monthLabel.frame.size.width - 20, y: screenSize.height/2.0 - monthLabel.frame.size.height/2.0, width: monthLabel.frame.size.width, height: monthLabel.frame.size.height)\n        \n        self.view.addSubview(monthLabel)\n        \n        \n        // 添加按钮\n        \n        let composeButton = diaryButtonWith(text: \"撰\",\n                                            fontSize: 14.0,\n                                            width: 40.0,\n                                            normalImageName: \"Oval\",\n                                            highlightedImageName: \"Oval_pressed\")\n        \n        composeButton.center = CGPoint(x: yearLabel.center.x,\n                                       y: 38 + yearLabel.frame.size.height + 26.0/2.0)\n        \n        composeButton.addTarget(self, action: #selector(newCompose),\n                                for: UIControl.Event.touchUpInside)\n        \n        self.view.addSubview(composeButton)\n    \n    }\n    \n    @objc func newCompose() {\n        \n        let identifier = \"DiaryComposeViewController\"\n        \n        let composeViewController = self.storyboard?.instantiateViewController(withIdentifier: identifier)\n            as! DiaryComposeViewController\n        \n        self.present(composeViewController,\n                                   animated: true,\n                                   completion: nil)\n        \n    }\n\n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return 1\n    }\n    \n    \n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        cell.textInt = 1\n        cell.labelText = \"季风气候\"\n        \n        return cell\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/DiaryYearCollectionViewController.swift",
    "content": "//\n//  DiaryYearCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryYearCollectionViewController: UICollectionViewController {\n    var year: Int!\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n\n    }\n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return 1\n    }\n\n\n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        cell.textInt = 1\n        cell.labelText = \"一月\"\n\n        return cell\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryMonthCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryMonthCollectionViewController // 获取 DiaryMonthCollectionViewController\n        \n        // 指定是 2015 年的 1 月份\n        dvc.month = 1\n        \n        // 页面跳转\n        self.navigationController!.pushViewController(dvc, animated: true)\n    }\n    \n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/Helper.swift",
    "content": "//\n//  Helper.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nextension Diary {\n    \n    func updateTimeWithDate(_ date: Date){\n        self.created_at = date\n        self.year = Int32(Calendar.current.component(Calendar.Component.year, from: date))\n        self.month = Int32(Calendar.current.component(Calendar.Component.month, from: date))\n    }\n    \n}\n\nfunc diaryButtonWith(text: String,\n                     fontSize: CGFloat,\n                     width: CGFloat,\n                     normalImageName: String,\n                     highlightedImageName: String) -> UIButton {\n    \n    // 创建自定义按钮\n    let button = UIButton(type: UIButton.ButtonType.custom)\n    \n    // 设定按钮的大小\n    button.frame = CGRect(x: 0, y: 0, width: width, height: width)\n    \n    let font = UIFont(name: \"Wyue-GutiFangsong-NC\", size: fontSize)\n    \n    let textAttributes: [NSAttributedString.Key: AnyObject] = [\n        NSAttributedString.Key.font: font!,\n        NSAttributedString.Key.foregroundColor: UIColor.white]\n    \n    // 设置按钮的字体\n    let attributedText = NSAttributedString(string: text, attributes: textAttributes)\n    button.setAttributedTitle(attributedText, for: UIControl.State.normal)\n    \n    // 设置默认按钮的样式\n    button.setBackgroundImage(UIImage(\n        named: normalImageName),\n                              for: UIControl.State.normal)\n    \n    // 设置按钮被按下时的样式\n    button.setBackgroundImage(UIImage(\n        named: highlightedImageName),\n                              for: UIControl.State.highlighted)\n    \n    return button\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/HomeCollectionViewController.swift",
    "content": "//\n//  HomeCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass HomeCollectionViewController: UICollectionViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        // Uncomment the following line to preserve selection between presentations\n        // self.clearsSelectionOnViewWillAppear = false\n        let yearLayout = DiaryLayout()\n        \n        yearLayout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(yearLayout, animated: false)\n\n        self.navigationController!.delegate = self\n        // Do any additional setup after loading the view.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n    /*\n    // MARK: - Navigation\n\n    // In a storyboard-based application, you will often want to do a little preparation before navigation\n    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {\n        // Get the new view controller using [segue destinationViewController].\n        // Pass the selected object to the new view controller.\n    }\n    */\n\n\n    // MARK: UICollectionViewDataSource\n\n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        // #warning Incomplete implementation, return the number of sections\n        return 1\n    }\n\n\n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"HomeYearCollectionViewCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! HomeYearCollectionViewCell\n        \n        cell.textInt = 2015\n        cell.labelText = \"二零一五 年\"\n        \n        return cell\n\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryYearCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryYearCollectionViewController // 获取 DiaryYearCollectionViewController\n        \n        // 指定是 2015 年的月份\n        dvc.year = 2015\n        \n        // 页面跳转\n        self.navigationController!.pushViewController(dvc, animated: true)\n    }\n    \n}\n\nextension HomeCollectionViewController: UINavigationControllerDelegate {\n    func navigationController(_ navigationController:\n        UINavigationController,\n                              animationControllerFor operation:\n        UINavigationController.Operation,\n                              from fromVC: UIViewController,\n                              to toVC: UIViewController) ->\n        UIViewControllerAnimatedTransitioning? {\n            \n            let animator = DiaryAnimator()\n            animator.operation = operation\n            return animator\n    }\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/HomeYearCollectionViewCell.swift",
    "content": "//\n//  HomeYearCollectionViewCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass HomeYearCollectionViewCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UIAppFonts</key>\n\t<array>\n\t\t<string>Wyue-GutiFangsong-NC_deliverable.otf</string>\n\t\t<string>TpldKhangXiDictTrial.otf</string>\n\t</array>\n\t<key>NSLocationWhenInUseUsageDescription</key>\n\t<string>在撰写日志的时候自动添加位置</string>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */; };\n\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7381DB2B0F500B4665B /* ViewController.swift */; };\n\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73A1DB2B0F500B4665B /* Main.storyboard */; };\n\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */; };\n\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */; };\n\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */; };\n\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */; };\n\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */; };\n\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */; };\n\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */; };\n\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */; };\n\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */; };\n\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */; };\n\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7601DB2EDDC00B4665B /* Helper.swift */; };\n\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */; };\n\t\t0A5EA7651DB2F82E00B4665B /* DiaryAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */; };\n\t\t0A5EA7671DB30D2000B4665B /* DiaryComposeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */; };\n\t\t0A5EA7691DB3131E00B4665B /* DiaryLocationHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */; };\n\t\t0A5EA76F1DB31A8500B4665B /* Diary.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Diary.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA73B1DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t0A5EA7401DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLabel.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = TpldKhangXiDictTrial.otf; sourceTree = \"<group>\"; };\n\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = \"Wyue-GutiFangsong-NC_deliverable.otf\"; sourceTree = \"<group>\"; };\n\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeYearCollectionViewCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLayout.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryYearCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Helper.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryMonthCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryAnimator.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryComposeViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLocationHelper.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Diary.xcdatamodel; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0A5EA72A1DB2B0F500B4665B = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7351DB2B0F500B4665B /* Diary */,\n\t\t\t\t0A5EA7341DB2B0F500B4665B /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7341DB2B0F500B4665B /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7351DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */,\n\t\t\t\t0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */,\n\t\t\t\t0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */,\n\t\t\t\t0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */,\n\t\t\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */,\n\t\t\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */,\n\t\t\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */,\n\t\t\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */,\n\t\t\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */,\n\t\t\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */,\n\t\t\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */,\n\t\t\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */,\n\t\t\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */,\n\t\t\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */,\n\t\t\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */,\n\t\t\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */,\n\t\t\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */,\n\t\t\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */,\n\t\t\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */,\n\t\t\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */,\n\t\t\t);\n\t\t\tpath = Diary;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0A5EA7321DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0A5EA72F1DB2B0F500B4665B /* Sources */,\n\t\t\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */,\n\t\t\t\t0A5EA7311DB2B0F500B4665B /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Diary;\n\t\t\tproductName = Diary;\n\t\t\tproductReference = 0A5EA7331DB2B0F500B4665B /* Diary.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0A5EA72B1DB2B0F500B4665B /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0800;\n\t\t\t\tLastUpgradeCheck = 0800;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0A5EA7321DB2B0F500B4665B = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 8.0;\n\t\t\t\t\t\tProvisioningStyle = Automatic;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0A5EA72A1DB2B0F500B4665B;\n\t\t\tproductRefGroup = 0A5EA7341DB2B0F500B4665B /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0A5EA7321DB2B0F500B4665B /* Diary */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0A5EA7311DB2B0F500B4665B /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */,\n\t\t\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */,\n\t\t\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */,\n\t\t\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0A5EA72F1DB2B0F500B4665B /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */,\n\t\t\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA7691DB3131E00B4665B /* DiaryLocationHelper.swift in Sources */,\n\t\t\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */,\n\t\t\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */,\n\t\t\t\t0A5EA7671DB30D2000B4665B /* DiaryComposeViewController.swift in Sources */,\n\t\t\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */,\n\t\t\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */,\n\t\t\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */,\n\t\t\t\t0A5EA76F1DB31A8500B4665B /* Diary.xcdatamodeld in Sources */,\n\t\t\t\t0A5EA7651DB2F82E00B4665B /* DiaryAnimator.swift in Sources */,\n\t\t\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA73B1DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7401DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0A5EA7431DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7441DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0A5EA7461DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7471DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7431DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7441DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7461DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7471DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\n/* Begin XCVersionGroup section */\n\t\t0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */ = {\n\t\t\tisa = XCVersionGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */,\n\t\t\t);\n\t\t\tcurrentVersion = 0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */;\n\t\t\tpath = Diary.xcdatamodeld;\n\t\t\tsourceTree = \"<group>\";\n\t\t\tversionGroupType = wrapper.xcdatamodel;\n\t\t};\n/* End XCVersionGroup section */\n\t};\n\trootObject = 0A5EA72B1DB2B0F500B4665B /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Diary.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_7/Diary.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\n// Coredata\nlet appDelegate = UIApplication.shared.delegate as! AppDelegate\n\nlet managedContext = appDelegate.managedObjectContext!\n\nlet itemHeight: CGFloat = 150.0\n// Cell的高度\n\nlet itemWidth: CGFloat = 60\n// Cell的宽度\n\nlet collectionViewWidth = itemWidth * 3\n// 同时显示3个Cell时候\n\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    lazy var managedObjectModel: NSManagedObjectModel = {\n        // 描述数据模型描述文件存储位置\n        let modelURL = Bundle.main.url(forResource: \"Diary\", withExtension: \"momd\")!\n        return NSManagedObjectModel(contentsOf: modelURL)!\n    }()\n    \n    lazy var applicationDocumentsDirectory: URL = {\n        // 数据库文件的存放文件夹\n        let urls = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)\n        return urls[urls.count-1]\n    }()\n\n    lazy var persistentStoreCoordinator: NSPersistentStoreCoordinator? = {\n            // 通过 managedObjectModel 创建持久化管理\n            var coordinator: NSPersistentStoreCoordinator? =\n                NSPersistentStoreCoordinator(managedObjectModel:\n                    self.managedObjectModel)\n            \n            let url = self.applicationDocumentsDirectory.appendingPathComponent(\"Diary.sqlite\")\n            // 设定数据库存储位置\n            \n            var error: NSError? = nil\n            var failureReason = \"载入程序存储的数据出错.\"\n            \n            do {\n                try coordinator!.addPersistentStore(\n                    ofType: NSSQLiteStoreType, configurationName: nil,\n                    at: url, options: nil)\n                // 创建NSSQLiteStoreType类型持久化存储\n            } catch var error1 as NSError {\n                error = error1\n                coordinator = nil\n                // 报告错误\n                var dict = [String: AnyObject]()\n                dict[NSLocalizedDescriptionKey] = \"无法初始化程序存储的数据\" as AnyObject?\n                dict[NSLocalizedFailureReasonErrorKey] = failureReason as AnyObject?\n                dict[NSUnderlyingErrorKey] = error\n                error = NSError(domain: \"YOUR_ERROR_DOMAIN\", code: 9999, userInfo: dict)\n                NSLog(\"发现错误 \\(error), \\(error!.userInfo)\")\n                abort()\n            } catch {\n                fatalError()\n            }\n            \n            return coordinator\n    }()\n    \n    lazy var managedObjectContext: NSManagedObjectContext? = {\n        let coordinator = self.persistentStoreCoordinator\n        if coordinator == nil {\n            return nil\n        }\n        var managedObjectContext = NSManagedObjectContext(concurrencyType: .privateQueueConcurrencyType)\n        managedObjectContext.persistentStoreCoordinator = coordinator\n        return managedObjectContext\n    }()\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"83.5x83.5\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/Assets.xcassets/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/Assets.xcassets/Oval.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/Assets.xcassets/Oval_pressed.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11134\" systemVersion=\"15F34\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11106\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"kL8-Co-z9D\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Navigation Controller-->\n        <scene sceneID=\"nDa-SJ-xz8\">\n            <objects>\n                <navigationController navigationBarHidden=\"YES\" id=\"kL8-Co-z9D\" sceneMemberID=\"viewController\">\n                    <navigationBar key=\"navigationBar\" contentMode=\"scaleToFill\" misplaced=\"YES\" id=\"4V2-cI-zED\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"44\"/>\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                    </navigationBar>\n                    <connections>\n                        <segue destination=\"jaX-ox-NO1\" kind=\"relationship\" relationship=\"rootViewController\" id=\"0CX-Bs-aYm\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"1ry-uh-1gv\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-842\" y=\"152\"/>\n        </scene>\n        <!--Home Collection View Controller-->\n        <scene sceneID=\"xp1-EX-i1t\">\n            <objects>\n                <collectionViewController id=\"jaX-ox-NO1\" customClass=\"HomeCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" misplaced=\"YES\" dataMode=\"prototypes\" id=\"jrI-Dn-xWe\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"uYL-dk-pKl\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"HomeYearCollectionViewCell\" id=\"X1f-9B-ji3\" customClass=\"HomeYearCollectionViewCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                                <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"jaX-ox-NO1\" id=\"tJv-Ng-uBS\"/>\n                            <outlet property=\"delegate\" destination=\"jaX-ox-NO1\" id=\"pGg-Wa-sLv\"/>\n                        </connections>\n                    </collectionView>\n                    <navigationItem key=\"navigationItem\" id=\"DQv-Sc-DbJ\"/>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"5jE-Hq-jF5\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"138\" y=\"152\"/>\n        </scene>\n        <!--Diary Compose View Controller-->\n        <scene sceneID=\"30A-tU-xe3\">\n            <objects>\n                <viewController storyboardIdentifier=\"DiaryComposeViewController\" id=\"Lw3-Dp-s4h\" customClass=\"DiaryComposeViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"lty-ru-RuT\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"o7k-nX-8BY\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"tH5-OA-VDh\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"ZP3-Oz-N2G\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"1040\" y=\"150\"/>\n        </scene>\n        <!--Diary Year Collection View Controller-->\n        <scene sceneID=\"F2G-6G-oBr\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryYearCollectionViewController\" id=\"elp-wf-O6L\" customClass=\"DiaryYearCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" misplaced=\"YES\" dataMode=\"prototypes\" id=\"asJ-Z6-Zee\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"nGJ-sA-rbK\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"0Z6-TY-W0M\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"elp-wf-O6L\" id=\"EFu-fn-B84\"/>\n                            <outlet property=\"delegate\" destination=\"elp-wf-O6L\" id=\"7hi-JI-sT1\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"BPC-13-fQY\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"149\" y=\"821\"/>\n        </scene>\n        <!--Diary Month Collection View Controller-->\n        <scene sceneID=\"Esa-e4-hlZ\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryMonthCollectionViewController\" id=\"9xo-Dc-H11\" customClass=\"DiaryMonthCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" misplaced=\"YES\" dataMode=\"prototypes\" id=\"3bk-qG-x6G\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"8hv-Df-784\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"n44-bA-yeZ\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"9xo-Dc-H11\" id=\"Le6-7L-8hY\"/>\n                            <outlet property=\"delegate\" destination=\"9xo-Dc-H11\" id=\"HvU-i0-eXq\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"fEk-Yk-ztQ\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"162\" y=\"1504\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/Diary.xcdatamodeld/Diary.xcdatamodel/contents",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<model type=\"com.apple.IDECoreDataModeler.DataModel\" documentVersion=\"1.0\" lastSavedToolsVersion=\"14460.32\" systemVersion=\"18D42\" minimumToolsVersion=\"Automatic\" sourceLanguage=\"Swift\" userDefinedModelVersionIdentifier=\"\">\n    <entity name=\"Diary\" representedClassName=\"Diary\" syncable=\"YES\" codeGenerationType=\"class\">\n        <attribute name=\"content\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"created_at\" optional=\"YES\" attributeType=\"Date\" usesScalarValueType=\"NO\" syncable=\"YES\"/>\n        <attribute name=\"location\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"month\" optional=\"YES\" attributeType=\"Integer 32\" defaultValueString=\"0\" usesScalarValueType=\"YES\" syncable=\"YES\"/>\n        <attribute name=\"title\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"year\" optional=\"YES\" attributeType=\"Integer 32\" defaultValueString=\"0\" usesScalarValueType=\"YES\" syncable=\"YES\"/>\n    </entity>\n    <elements>\n        <element name=\"Diary\" positionX=\"-63\" positionY=\"-18\" width=\"128\" height=\"135\"/>\n    </elements>\n</model>"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/DiaryAnimator.swift",
    "content": "//\n//  DiaryAnimator.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryAnimator: NSObject, UIViewControllerAnimatedTransitioning {\n    \n    var operation: UINavigationController.Operation!\n    \n    // 转场时长\n    \n    func transitionDuration(using transitionContext:\n        UIViewControllerContextTransitioning?) -> TimeInterval {\n        return 0.4\n    }\n    \n    func animateTransition(using transitionContext:\n        UIViewControllerContextTransitioning)\n    {\n        \n        // 获取转场舞台\n        let containerView = transitionContext.containerView\n        \n        let fromVC = transitionContext.viewController(\n            forKey: UITransitionContextViewControllerKey.from)\n        \n        // 获取从哪个场景开始转\n        let fromView = fromVC!.view\n        \n        let toVC = transitionContext.viewController(\n            forKey: UITransitionContextViewControllerKey.to)\n        \n        // 获取要转去哪个场景\n        let toView = toVC!.view\n        \n        // 设置新场景透明度\n        toView?.alpha = 0.0\n        \n        // UINavigationControllerOperation.Pop用来判断是转入还是转出\n        if operation ==  UINavigationController.Operation.pop {\n            // 如果是返回旧场景，那么设置要转入的场景初始缩放为原始大小\n            toView?.transform = CGAffineTransform(scaleX: 1.0,y: 1.0)\n        }else{\n            // 如果是转到新场景，设置新场景初始缩放为0.3\n            toView?.transform = CGAffineTransform(scaleX: 0.3,y: 0.3);\n        }\n        \n        // 在舞台上插入场景\n        containerView.insertSubview(toView!, aboveSubview: fromView!)\n        \n        UIView.animate(\n            withDuration: transitionDuration(using: transitionContext),\n            delay: 0,\n            options: UIView.AnimationOptions.curveEaseInOut,\n            animations:\n            {\n                if self.operation ==  UINavigationController.Operation.pop {\n                    // 放大要转出的场景\n                    fromView?.transform = CGAffineTransform(scaleX: 3.3,y: 3.3)\n                } else {\n                    // 设置新场景为原始大小\n                    toView?.transform = CGAffineTransform(scaleX: 1.0,y: 1.0)\n                }\n                \n                toView?.alpha = 1.0\n                \n        }, completion: { finished in\n            \n            // 通知NavigationController已经完成转场\n            transitionContext.completeTransition(true)\n            \n        })\n        \n        \n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/DiaryCell.swift",
    "content": "//\n//  DiaryCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/DiaryComposeViewController.swift",
    "content": "//\n//  DiaryComposeViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nlet titleTextViewHeight:CGFloat = 30.0\nlet contentMargin:CGFloat = 20.0\n\nvar defaultFont = \"Wyue-GutiFangsong-NC\"\nlet DiaryFont = UIFont(name: defaultFont, size: 18)!\nlet DiaryLocationFont = UIFont(name: defaultFont, size: 16)!\nlet DiaryTitleFont = UIFont(name: defaultFont, size: 18)!\n\nclass DiaryComposeViewController: UIViewController {\n    var composeView:UITextView!\n    var locationTextView:UITextView!\n    var titleTextView:UITextView!\n    var finishButton:UIButton!\n    var keyboardSize:CGSize = CGSize(width: 0, height: 0)\n    var locationHelper: DiaryLocationHelper = DiaryLocationHelper()\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        // 创建正文输入框\n        composeView = UITextView(frame: CGRect(x: 0, y: contentMargin + titleTextViewHeight, width: screenSize.width, height: screenSize.height))\n        composeView.font = DiaryFont\n        composeView.isEditable = true\n        composeView.isUserInteractionEnabled = true\n        composeView.textContainerInset = UIEdgeInsets(top: contentMargin, left: contentMargin, bottom: contentMargin, right: contentMargin)\n        composeView.text = \"没道理，是一枚太平洋的暖湿空气，飘\"\n        \n        // 创建地址输入框\n        locationTextView = UITextView(frame: CGRect(x: 0, y: composeView.frame.size.height - 30.0, width: screenSize.width - 60.0, height: 30.0))\n        locationTextView.font = DiaryLocationFont\n        locationTextView.isEditable = true\n        locationTextView.isUserInteractionEnabled = true\n        locationTextView.bounces = false\n        locationTextView.text = \"于 琅邪\"\n        \n        // 创建标题输入框\n        \n        titleTextView = UITextView(frame: CGRect(x: contentMargin, y: contentMargin/2, width: screenSize.width - 60.0, height: titleTextViewHeight))\n        titleTextView.font = DiaryTitleFont\n        titleTextView.isEditable = true\n        titleTextView.isUserInteractionEnabled = true\n        titleTextView.bounces = false\n        titleTextView.text = \"一十五日\"\n\n        self.view.addSubview(composeView)\n        \n        self.view.addSubview(locationTextView)\n        \n        self.view.addSubview(titleTextView)\n        \n        // 创建完成按钮\n        finishButton = diaryButtonWith(text: \"完\",  fontSize: 18.0,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        finishButton.center = CGPoint(x: screenSize.width - 20, y: screenSize.height - 30)\n        \n        self.view.addSubview(finishButton)\n        \n        \n        self.finishButton.center = CGPoint(x: self.view.frame.width - self.finishButton.frame.size.height/2.0 - 10, y: self.view.frame.height  - self.finishButton.frame.size.height/2.0 - 10)\n        \n        self.finishButton.addTarget(self, action: #selector(finishCompose(_:)), for: UIControl.Event.touchUpInside)\n        \n        self.locationTextView.center = CGPoint(x: self.locationTextView.frame.size.width/2.0 + 20.0, y: self.finishButton.center.y)\n        \n        // 监听键盘事件\n        \n        NotificationCenter.default.addObserver(self, selector: #selector(keyboardDidShow(_:)), name: UIWindow.keyboardDidShowNotification, object: nil)\n        \n        NotificationCenter.default.addObserver(self, selector: #selector(updateAddress(_:)), name: NSNotification.Name(rawValue: \"DiaryLocationUpdated\"), object: nil)\n\n    }\n    \n    @objc func finishCompose(_ button: UIButton) {\n        \n        // 取消输入框的编辑状态，收起键盘\n        self.composeView.endEditing(true)\n        self.locationTextView.endEditing(true)\n        \n        // 确保有文字内容才保存\n        if (composeView.text.lengthOfBytes(using: String.Encoding.utf8) > 1){\n            \n            let entity =  NSEntityDescription.entity(forEntityName: \"Diary\", in: managedContext)\n            \n            let newdiary = Diary(entity: entity!,\n                                 insertInto:managedContext)\n            newdiary.content = composeView.text\n            \n            if let address  = locationHelper.address {\n                newdiary.location = address\n            }\n            \n            if let title = titleTextView.text {\n                newdiary.title = title\n            }\n            \n            \n            newdiary.updateTimeWithDate(Date())\n            \n            do {\n                try managedContext.save()\n            } catch let error as NSError {\n                print(\"保存错误 \\(error.description)\")\n            }\n            \n        }\n        \n        self.dismiss(animated: true, completion: nil)\n    }\n    \n    @objc func updateAddress(_ notification: Notification) {\n        \n        if let address = notification.object as? String {\n            \n            locationTextView.text = \"于 \\(address)\"\n            \n            locationHelper.locationManager.stopUpdatingLocation()\n        }\n        \n    }\n    \n    @objc func keyboardDidShow(_ notification: Notification) {\n        // 取出键盘的高度\n        if let rectValue = (notification as NSNotification).userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? NSValue {\n            keyboardSize = rectValue.cgRectValue.size\n            \n            //更新完成按钮和地址输入框的位置\n            updateTextViewSizeForKeyboardHeight(keyboardSize.height)\n        }\n    }\n    \n    func updateTextViewSizeForKeyboardHeight(_ keyboardHeight: CGFloat) {\n        \n        let newKeyboardHeight = keyboardHeight\n        \n        UIView.animate(withDuration: 1.0, delay: 0, options: UIView.AnimationOptions(), animations:\n            {\n                if (self.locationTextView.text == nil) {\n                    self.composeView.frame = CGRect(x: 0, y: 0, width: self.view.frame.width, height: self.view.frame.height - newKeyboardHeight)\n                }else{\n                    self.composeView.frame = CGRect(x: 0, y: contentMargin + titleTextViewHeight, width: self.composeView.frame.size.width,  height: self.view.frame.height - newKeyboardHeight - 40.0 - self.finishButton.frame.size.height/2.0 - (contentMargin + titleTextViewHeight))\n                }\n                \n                self.finishButton.center = CGPoint(x: self.view.frame.width - self.finishButton.frame.size.height/2.0 - 10, y: self.view.frame.height - newKeyboardHeight - self.finishButton.frame.size.height/2.0 - 10)\n                \n                \n                self.locationTextView.center = CGPoint(x: self.locationTextView.frame.size.width/2.0 + 20.0, y: self.finishButton.center.y)\n                \n            }, completion: nil)\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/DiaryLabel.swift",
    "content": "//\n//  DiaryLabel.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nfunc sizeHeightWithText(labelText: String,\n                        fontSize: CGFloat,\n                        textAttributes: [NSAttributedString.Key: AnyObject]) -> CGRect {\n    \n    return labelText.boundingRect(\n        with: CGSize(width:fontSize, height:480),\n        options: NSStringDrawingOptions.usesLineFragmentOrigin,\n        attributes: textAttributes, context: nil)\n}\n\nclass DiaryLabel: UILabel {\n    \n    var textAttributes: [NSAttributedString.Key: AnyObject]!\n    \n    convenience init(fontname:String,\n                     labelText:String,\n                     fontSize : CGFloat,\n                     lineHeight: CGFloat,\n                     color: UIColor){\n        \n        self.init(frame: CGRect(x:0, y:0, width:0, height:0))\n        \n        let font = UIFont(name: fontname,\n                          size: fontSize)\n        \n        let paragraphStyle = NSMutableParagraphStyle()\n        paragraphStyle.lineSpacing = lineHeight\n        \n        textAttributes = [NSAttributedString.Key.font: font!,\n                          NSAttributedString.Key.foregroundColor: color,\n                          NSAttributedString.Key.paragraphStyle: paragraphStyle]\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: fontSize ,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x: 0, y: 0, width: labelSize.width,\n                            height: labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n        self.lineBreakMode = NSLineBreakMode.byCharWrapping\n        self.numberOfLines = 0\n    }\n    \n    func updateText(labelText: String) {\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: self.font.pointSize,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x:0,y: 0, width:labelSize.width,\n                            height:labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/DiaryLayout.swift",
    "content": "//\n//  DiaryLayout.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nlet screenSize = UIWindow().screen.bounds\n\nclass DiaryLayout: UICollectionViewFlowLayout {\n    override func prepare() {\n        super.prepare() //准备布局\n        let itemSize = CGSize(width: itemWidth,height: itemHeight)\n        self.itemSize = itemSize\n        self.minimumInteritemSpacing = 0.0\n        self.minimumLineSpacing = 0\n        self.sectionInset = UIEdgeInsets(top: (screenSize.height/2.0) - (itemHeight/2.0), left: (screenSize.width/2.0) - (itemWidth/2.0), bottom: (screenSize.height/2.0) - (itemHeight/2.0), right: (screenSize.height/2.0) - (itemHeight/2.0))\n    }\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/DiaryLocationHelper.swift",
    "content": "//\n//  DiaryLocationHelper.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport CoreLocation\n\nclass DiaryLocationHelper: NSObject, CLLocationManagerDelegate {\n    \n    var locationManager:CLLocationManager = CLLocationManager()\n    var currentLocation:CLLocation?\n    var address:String?\n    var geocoder = CLGeocoder()\n    \n    override init() {\n        super.init()\n        // 设置委托\n        locationManager.delegate = self\n        // 请求位置授权\n        locationManager.requestWhenInUseAuthorization()\n        if (CLLocationManager.locationServicesEnabled()){\n            //开始获取位置\n            locationManager.startUpdatingLocation()\n        }\n    }\n    \n    func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {\n        // 根据经纬度查询位置名称\n        geocoder.reverseGeocodeLocation(locations[0], completionHandler: { (placemarks, error) in\n            \n            if let error = error {\n                print(\"查询失败: \\(error.localizedDescription)\")\n            }\n            \n            // placemarks里包括了位置的国家、省份、地区等信息\n            if let pm = placemarks {\n                if pm.count > 0 {\n                    \n                    let placemark = pm.first\n                    \n                    self.address = placemark?.locality\n                    \n                    // 广播位置信息\n                    NotificationCenter.default.post(name: Notification.Name(rawValue: \"DiaryLocationUpdated\"), object: self.address)\n                }\n            }\n            \n        })\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/DiaryMonthCollectionViewController.swift",
    "content": "//\n//  DiaryMonthCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nlet DiaryRed = UIColor(red: 192.0/255.0, green: 23/255.0, blue: 48.0/255.0, alpha: 1)\n\nclass DiaryMonthCollectionViewController: UICollectionViewController {\n    var year: Int!\n    var month: Int!\n    var yearLabel: DiaryLabel!\n    var monthLabel: DiaryLabel!\n    var fetchedResultsController : NSFetchedResultsController<Diary>!\n    var diarys = [Diary]()\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n        \n        yearLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: \"二零一五年\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n\n        yearLabel.frame = CGRect(x: screenSize.width - yearLabel.frame.size.width - 20, y: 20, width: yearLabel.frame.size.width, height: yearLabel.frame.size.height)\n        \n        self.view.addSubview(yearLabel)\n        \n        monthLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: \"三月\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: DiaryRed)\n\n        monthLabel.frame = CGRect(x: screenSize.width - monthLabel.frame.size.width - 20, y: screenSize.height/2.0 - monthLabel.frame.size.height/2.0, width: monthLabel.frame.size.width, height: monthLabel.frame.size.height)\n        \n        self.view.addSubview(monthLabel)\n        \n        \n        // 添加按钮\n        \n        let composeButton = diaryButtonWith(text: \"撰\",\n                                            fontSize: 14.0,\n                                            width: 40.0,\n                                            normalImageName: \"Oval\",\n                                            highlightedImageName: \"Oval_pressed\")\n        \n        composeButton.center = CGPoint(x: yearLabel.center.x,\n                                       y: 38 + yearLabel.frame.size.height + 26.0/2.0)\n        \n        composeButton.addTarget(self, action: #selector(newCompose),\n                                for: UIControl.Event.touchUpInside)\n        \n        self.view.addSubview(composeButton)\n        \n        // 查询数据\n        \n        do {\n            // 新建查询\n            let fetchRequest = NSFetchRequest<Diary>(entityName:\"Diary\")\n            \n            // 增加过滤条件\n            fetchRequest.predicate = NSPredicate(format:\"year = \\(year!) AND month = \\(month!)\")\n            \n            // 排序方式\n            fetchRequest.sortDescriptors = [NSSortDescriptor(key: \"created_at\", ascending: true)]\n            \n            fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest,\n                                                                  managedObjectContext: managedContext, sectionNameKeyPath: nil,\n                                                                  cacheName: nil)\n            \n            // 尝试查询\n            try self.fetchedResultsController.performFetch()\n            \n            if (fetchedResultsController.fetchedObjects!.count == 0){\n                print(\"没有存储结果\")\n            }else{\n                diarys = fetchedResultsController.fetchedObjects!\n            }\n            \n        } catch let error as NSError {\n            NSLog(\"发现错误 \\(error.localizedDescription)\")\n        }\n    \n    }\n    \n    @objc func newCompose() {\n        \n        let identifier = \"DiaryComposeViewController\"\n        \n        let composeViewController = self.storyboard?.instantiateViewController(withIdentifier: identifier)\n            as! DiaryComposeViewController\n        \n        self.present(composeViewController,\n                                   animated: true,\n                                   completion: nil)\n        \n    }\n\n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return 1\n    }\n    \n    \n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return diarys.count\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        let diary = diarys[indexPath.row]\n        \n        cell.labelText = diary.title!\n        \n        return cell\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/DiaryYearCollectionViewController.swift",
    "content": "//\n//  DiaryYearCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nclass DiaryYearCollectionViewController: UICollectionViewController {\n    var year: Int!\n    var diarys = [Diary]()\n    var fetchedResultsController : NSFetchedResultsController<Diary>!\n    var monthCount: Int = 1\n    var sectionsCount: Int = 0\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n        \n        do {\n            // 新建查询\n            let fetchRequest = NSFetchRequest<Diary>(entityName:\"Diary\")\n            \n            // 增加过滤条件\n            fetchRequest.predicate = NSPredicate(format:\"year = \\(year!)\")\n            \n            // 排序方式\n            fetchRequest.sortDescriptors = [NSSortDescriptor(key: \"created_at\", ascending: true)]\n            \n            fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest,\n                                                                  managedObjectContext: managedContext, sectionNameKeyPath: \"month\",\n                                                                  cacheName: nil)\n            \n            // 尝试查询\n            try self.fetchedResultsController.performFetch()\n            \n            if (fetchedResultsController.fetchedObjects!.count == 0){\n                print(\"没有存储结果\")\n            }else{\n                \n                if let sectionsCount = fetchedResultsController.sections?.count {\n                    \n                    monthCount = sectionsCount\n                    diarys = fetchedResultsController.fetchedObjects!\n                    \n                }else {\n                    sectionsCount = 0\n                    monthCount = 1\n                }\n            }\n            \n        } catch let error as NSError {\n            NSLog(\"发现错误 \\(error.localizedDescription)\")\n        }\n\n    }\n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return monthCount\n    }\n\n\n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        // 获取当前月份\n        let components = Calendar.current.component(Calendar.Component.month, from: Date())\n        var month = components\n        \n        if sectionsCount > 0 {\n            // 如果程序内有保存的日记，就使用保存的日记的月份\n            let sectionInfo = fetchedResultsController.sections![indexPath.section]\n            print(\"分组信息 \\(sectionInfo.name)\")\n            month = Int(sectionInfo.name)!\n        }\n        \n        cell.textInt = month\n        cell.labelText = \"\\(numberToChinese(cell.textInt)) 月\"\n        \n        // Configure the cell\n        \n        return cell\n\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryMonthCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryMonthCollectionViewController // 获取 DiaryMonthCollectionViewController\n        \n        // 获取当前月份\n        let components = Calendar.current.component(Calendar.Component.month, from: Date())\n        var month = components\n        \n        if sectionsCount > 0 {\n            // 如果程序内有保存的日记，就使用保存的日记的月份\n            let sectionInfo = fetchedResultsController.sections![indexPath.section]\n            print(\"分组信息 \\(sectionInfo.name)\")\n            month = Int(sectionInfo.name)!\n        }\n        // 指定是 2015 年的 1 月份\n        dvc.month = month\n        dvc.year = year\n        \n        // 页面跳转\n        self.navigationController!.pushViewController(dvc, animated: true)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/Helper.swift",
    "content": "//\n//  Helper.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nextension Diary {\n    \n    func updateTimeWithDate(_ date: Date){\n        self.created_at = date\n        self.year = Int32(Calendar.current.component(Calendar.Component.year, from: date))\n        self.month = Int32(Calendar.current.component(Calendar.Component.month, from: date))\n    }\n    \n}\n\nfunc diaryButtonWith(text: String,\n                     fontSize: CGFloat,\n                     width: CGFloat,\n                     normalImageName: String,\n                     highlightedImageName: String) -> UIButton {\n    \n    // 创建自定义按钮\n    let button = UIButton(type: UIButton.ButtonType.custom)\n    \n    // 设定按钮的大小\n    button.frame = CGRect(x: 0, y: 0, width: width, height: width)\n    \n    let font = UIFont(name: \"Wyue-GutiFangsong-NC\", size: fontSize)\n    \n    let textAttributes: [NSAttributedString.Key: AnyObject] = [\n        NSAttributedString.Key.font: font!,\n        NSAttributedString.Key.foregroundColor: UIColor.white]\n    \n    // 设置按钮的字体\n    let attributedText = NSAttributedString(string: text, attributes: textAttributes)\n    button.setAttributedTitle(attributedText, for: UIControl.State.normal)\n    \n    // 设置默认按钮的样式\n    button.setBackgroundImage(UIImage(\n        named: normalImageName),\n                              for: UIControl.State.normal)\n    \n    // 设置按钮被按下时的样式\n    button.setBackgroundImage(UIImage(\n        named: highlightedImageName),\n                              for: UIControl.State.highlighted)\n    \n    return button\n}\n\nfunc numberToChinese(_ number:Int) -> String {\n    let numbers = String(number)\n    var finalString = \"\"\n    for singleNumber in numbers {\n        let string = singleNumberToChinese(singleNumber)\n        finalString = \"\\(finalString)\\(string)\"\n    }\n    return finalString\n}\n\nfunc singleNumberToChinese(_ number:Character) -> String {\n    switch number {\n    case \"0\":\n        return \"零\"\n    case \"1\":\n        return \"一\"\n    case \"2\":\n        return \"二\"\n    case \"3\":\n        return \"三\"\n    case \"4\":\n        return \"四\"\n    case \"5\":\n        return \"五\"\n    case \"6\":\n        return \"六\"\n    case \"7\":\n        return \"七\"\n    case \"8\":\n        return \"八\"\n    case \"9\":\n        return \"九\"\n    default:\n        return \"\"\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/HomeCollectionViewController.swift",
    "content": "//\n//  HomeCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nclass HomeCollectionViewController: UICollectionViewController {\n    var diarys = [Diary]()\n    var fetchedResultsController : NSFetchedResultsController<Diary>!\n    var yearsCount: Int = 1\n    var sectionsCount: Int = 0\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        let yearLayout = DiaryLayout()\n        \n        yearLayout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(yearLayout, animated: false)\n\n        self.navigationController!.delegate = self\n        \n        do {\n            // 新建查询\n            let fetchRequest = NSFetchRequest<Diary>(entityName:\"Diary\")\n            \n            // 排序方式\n            fetchRequest.sortDescriptors = [NSSortDescriptor(key: \"created_at\", ascending: true)]\n            \n            fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest,\n                                                                  managedObjectContext: managedContext, sectionNameKeyPath: \"year\",\n                                                                  cacheName: nil)\n            \n            // 尝试查询\n            try self.fetchedResultsController.performFetch()\n            \n            if (fetchedResultsController.fetchedObjects!.count == 0){\n                print(\"没有存储结果\")\n            }else{\n                \n                if let sectionsCount = fetchedResultsController.sections?.count {\n                    \n                    yearsCount = sectionsCount\n                    diarys = fetchedResultsController.fetchedObjects!\n                    \n                }else {\n                    sectionsCount = 0\n                    yearsCount = 1\n                }\n            }\n            \n        } catch let error as NSError {\n            NSLog(\"发现错误 \\(error.localizedDescription)\")\n        }\n    }\n\n  \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return yearsCount\n    }\n\n\n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"HomeYearCollectionViewCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! HomeYearCollectionViewCell\n        \n        // 获取当前月份\n        let components = Calendar.current.component(Calendar.Component.year, from: Date())\n        var year = components\n        \n        if sectionsCount > 0 {\n            // 如果程序内有保存的日记，就使用保存的日记的年份\n            let sectionInfo = fetchedResultsController.sections![indexPath.section]\n            print(\"分组信息 \\(sectionInfo.name)\")\n            year = Int(sectionInfo.name)!\n        }\n        \n        cell.textInt = year\n        cell.labelText = \"\\(numberToChinese(cell.textInt)) 年\"\n        \n        // Configure the cell\n        \n        return cell\n\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryYearCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryYearCollectionViewController // 获取 DiaryYearCollectionViewController\n        \n        let components = Calendar.current.component(Calendar.Component.year, from: Date())\n        var year = components\n        if sectionsCount > 0 {\n            let sectionInfo = fetchedResultsController.sections![(indexPath as NSIndexPath).row]\n            print(\"Section info \\(sectionInfo.name)\")\n            year = Int(sectionInfo.name)!\n        }\n\n        dvc.year = year\n\n        self.navigationController!.pushViewController(dvc, animated: true)\n        \n    }\n    \n}\n\nextension HomeCollectionViewController: UINavigationControllerDelegate {\n    func navigationController(_ navigationController:\n        UINavigationController,\n                              animationControllerFor operation:\n        UINavigationController.Operation,\n                              from fromVC: UIViewController,\n                              to toVC: UIViewController) ->\n        UIViewControllerAnimatedTransitioning? {\n            \n            let animator = DiaryAnimator()\n            animator.operation = operation\n            return animator\n    }\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/HomeYearCollectionViewCell.swift",
    "content": "//\n//  HomeYearCollectionViewCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass HomeYearCollectionViewCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UIAppFonts</key>\n\t<array>\n\t\t<string>Wyue-GutiFangsong-NC_deliverable.otf</string>\n\t\t<string>TpldKhangXiDictTrial.otf</string>\n\t</array>\n\t<key>NSLocationWhenInUseUsageDescription</key>\n\t<string>在撰写日志的时候自动添加位置</string>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */; };\n\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7381DB2B0F500B4665B /* ViewController.swift */; };\n\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73A1DB2B0F500B4665B /* Main.storyboard */; };\n\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */; };\n\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */; };\n\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */; };\n\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */; };\n\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */; };\n\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */; };\n\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */; };\n\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */; };\n\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */; };\n\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */; };\n\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7601DB2EDDC00B4665B /* Helper.swift */; };\n\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */; };\n\t\t0A5EA7651DB2F82E00B4665B /* DiaryAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */; };\n\t\t0A5EA7671DB30D2000B4665B /* DiaryComposeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */; };\n\t\t0A5EA7691DB3131E00B4665B /* DiaryLocationHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */; };\n\t\t0A5EA76F1DB31A8500B4665B /* Diary.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Diary.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA73B1DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t0A5EA7401DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLabel.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = TpldKhangXiDictTrial.otf; sourceTree = \"<group>\"; };\n\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = \"Wyue-GutiFangsong-NC_deliverable.otf\"; sourceTree = \"<group>\"; };\n\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeYearCollectionViewCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLayout.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryYearCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Helper.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryMonthCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryAnimator.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryComposeViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLocationHelper.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Diary.xcdatamodel; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0A5EA72A1DB2B0F500B4665B = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7351DB2B0F500B4665B /* Diary */,\n\t\t\t\t0A5EA7341DB2B0F500B4665B /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7341DB2B0F500B4665B /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7351DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */,\n\t\t\t\t0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */,\n\t\t\t\t0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */,\n\t\t\t\t0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */,\n\t\t\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */,\n\t\t\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */,\n\t\t\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */,\n\t\t\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */,\n\t\t\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */,\n\t\t\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */,\n\t\t\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */,\n\t\t\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */,\n\t\t\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */,\n\t\t\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */,\n\t\t\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */,\n\t\t\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */,\n\t\t\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */,\n\t\t\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */,\n\t\t\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */,\n\t\t\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */,\n\t\t\t);\n\t\t\tpath = Diary;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0A5EA7321DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0A5EA72F1DB2B0F500B4665B /* Sources */,\n\t\t\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */,\n\t\t\t\t0A5EA7311DB2B0F500B4665B /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Diary;\n\t\t\tproductName = Diary;\n\t\t\tproductReference = 0A5EA7331DB2B0F500B4665B /* Diary.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0A5EA72B1DB2B0F500B4665B /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0800;\n\t\t\t\tLastUpgradeCheck = 0800;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0A5EA7321DB2B0F500B4665B = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 8.0;\n\t\t\t\t\t\tProvisioningStyle = Automatic;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0A5EA72A1DB2B0F500B4665B;\n\t\t\tproductRefGroup = 0A5EA7341DB2B0F500B4665B /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0A5EA7321DB2B0F500B4665B /* Diary */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0A5EA7311DB2B0F500B4665B /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */,\n\t\t\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */,\n\t\t\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */,\n\t\t\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0A5EA72F1DB2B0F500B4665B /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */,\n\t\t\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA7691DB3131E00B4665B /* DiaryLocationHelper.swift in Sources */,\n\t\t\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */,\n\t\t\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */,\n\t\t\t\t0A5EA7671DB30D2000B4665B /* DiaryComposeViewController.swift in Sources */,\n\t\t\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */,\n\t\t\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */,\n\t\t\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */,\n\t\t\t\t0A5EA76F1DB31A8500B4665B /* Diary.xcdatamodeld in Sources */,\n\t\t\t\t0A5EA7651DB2F82E00B4665B /* DiaryAnimator.swift in Sources */,\n\t\t\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA73B1DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7401DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0A5EA7431DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7441DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0A5EA7461DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7471DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7431DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7441DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7461DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7471DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\n/* Begin XCVersionGroup section */\n\t\t0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */ = {\n\t\t\tisa = XCVersionGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */,\n\t\t\t);\n\t\t\tcurrentVersion = 0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */;\n\t\t\tpath = Diary.xcdatamodeld;\n\t\t\tsourceTree = \"<group>\";\n\t\t\tversionGroupType = wrapper.xcdatamodel;\n\t\t};\n/* End XCVersionGroup section */\n\t};\n\trootObject = 0A5EA72B1DB2B0F500B4665B /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Diary.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bucket\n   type = \"1\"\n   version = \"2.0\">\n</Bucket>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_8/Diary.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\n// Coredata\nlet appDelegate = UIApplication.shared.delegate as! AppDelegate\n\nlet managedContext = appDelegate.managedObjectContext!\n\nlet itemHeight: CGFloat = 150.0\n// Cell的高度\n\nlet itemWidth: CGFloat = 60\n// Cell的宽度\n\nlet collectionViewWidth = itemWidth * 3\n// 同时显示3个Cell时候\n\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    lazy var managedObjectModel: NSManagedObjectModel = {\n        // 描述数据模型描述文件存储位置\n        let modelURL = Bundle.main.url(forResource: \"Diary\", withExtension: \"momd\")!\n        return NSManagedObjectModel(contentsOf: modelURL)!\n    }()\n    \n    lazy var applicationDocumentsDirectory: URL = {\n        // 数据库文件的存放文件夹\n        let urls = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)\n        return urls[urls.count-1]\n    }()\n\n    lazy var persistentStoreCoordinator: NSPersistentStoreCoordinator? = {\n            // 通过 managedObjectModel 创建持久化管理\n            var coordinator: NSPersistentStoreCoordinator? =\n                NSPersistentStoreCoordinator(managedObjectModel:\n                    self.managedObjectModel)\n            \n            let url = self.applicationDocumentsDirectory.appendingPathComponent(\"Diary.sqlite\")\n            // 设定数据库存储位置\n            \n            var error: NSError? = nil\n            var failureReason = \"载入程序存储的数据出错.\"\n            \n            do {\n                try coordinator!.addPersistentStore(\n                    ofType: NSSQLiteStoreType, configurationName: nil,\n                    at: url, options: nil)\n                // 创建NSSQLiteStoreType类型持久化存储\n            } catch var error1 as NSError {\n                error = error1\n                coordinator = nil\n                // 报告错误\n                var dict = [String: AnyObject]()\n                dict[NSLocalizedDescriptionKey] = \"无法初始化程序存储的数据\" as AnyObject?\n                dict[NSLocalizedFailureReasonErrorKey] = failureReason as AnyObject?\n                dict[NSUnderlyingErrorKey] = error\n                error = NSError(domain: \"YOUR_ERROR_DOMAIN\", code: 9999, userInfo: dict)\n                NSLog(\"发现错误 \\(error), \\(error!.userInfo)\")\n                abort()\n            } catch {\n                fatalError()\n            }\n            \n            return coordinator\n    }()\n    \n    lazy var managedObjectContext: NSManagedObjectContext? = {\n        let coordinator = self.persistentStoreCoordinator\n        if coordinator == nil {\n            return nil\n        }\n        var managedObjectContext = NSManagedObjectContext(concurrencyType: .privateQueueConcurrencyType)\n        managedObjectContext.persistentStoreCoordinator = coordinator\n        return managedObjectContext\n    }()\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"83.5x83.5\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/Assets.xcassets/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/Assets.xcassets/Oval.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/Assets.xcassets/Oval_pressed.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"Oval_pressed@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11134\" systemVersion=\"15F34\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11106\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"kL8-Co-z9D\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Navigation Controller-->\n        <scene sceneID=\"nDa-SJ-xz8\">\n            <objects>\n                <navigationController navigationBarHidden=\"YES\" id=\"kL8-Co-z9D\" sceneMemberID=\"viewController\">\n                    <navigationBar key=\"navigationBar\" contentMode=\"scaleToFill\" id=\"4V2-cI-zED\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"44\"/>\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                    </navigationBar>\n                    <connections>\n                        <segue destination=\"jaX-ox-NO1\" kind=\"relationship\" relationship=\"rootViewController\" id=\"0CX-Bs-aYm\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"1ry-uh-1gv\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-842\" y=\"152\"/>\n        </scene>\n        <!--Home Collection View Controller-->\n        <scene sceneID=\"xp1-EX-i1t\">\n            <objects>\n                <collectionViewController id=\"jaX-ox-NO1\" customClass=\"HomeCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" dataMode=\"prototypes\" id=\"jrI-Dn-xWe\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"uYL-dk-pKl\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"HomeYearCollectionViewCell\" id=\"X1f-9B-ji3\" customClass=\"HomeYearCollectionViewCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                                <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"jaX-ox-NO1\" id=\"tJv-Ng-uBS\"/>\n                            <outlet property=\"delegate\" destination=\"jaX-ox-NO1\" id=\"pGg-Wa-sLv\"/>\n                        </connections>\n                    </collectionView>\n                    <navigationItem key=\"navigationItem\" id=\"DQv-Sc-DbJ\"/>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"5jE-Hq-jF5\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"138\" y=\"152\"/>\n        </scene>\n        <!--Diary Compose View Controller-->\n        <scene sceneID=\"30A-tU-xe3\">\n            <objects>\n                <viewController storyboardIdentifier=\"DiaryComposeViewController\" id=\"Lw3-Dp-s4h\" customClass=\"DiaryComposeViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"lty-ru-RuT\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"o7k-nX-8BY\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"tH5-OA-VDh\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"ZP3-Oz-N2G\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"1040\" y=\"150\"/>\n        </scene>\n        <!--Diary Year Collection View Controller-->\n        <scene sceneID=\"F2G-6G-oBr\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryYearCollectionViewController\" id=\"elp-wf-O6L\" customClass=\"DiaryYearCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" dataMode=\"prototypes\" id=\"asJ-Z6-Zee\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"nGJ-sA-rbK\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"0Z6-TY-W0M\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"elp-wf-O6L\" id=\"EFu-fn-B84\"/>\n                            <outlet property=\"delegate\" destination=\"elp-wf-O6L\" id=\"7hi-JI-sT1\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"BPC-13-fQY\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"149\" y=\"821\"/>\n        </scene>\n        <!--Diary View Controller-->\n        <scene sceneID=\"BjS-7b-Eyl\">\n            <objects>\n                <viewController storyboardIdentifier=\"DiaryViewController\" id=\"QKX-Fb-wxn\" customClass=\"DiaryViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"AAU-SN-0d6\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"tWJ-A9-fhk\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"v0x-Hm-WjW\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"w4w-Lh-gqk\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"1063\" y=\"855\"/>\n        </scene>\n        <!--Diary Month Collection View Controller-->\n        <scene sceneID=\"Esa-e4-hlZ\">\n            <objects>\n                <collectionViewController storyboardIdentifier=\"DiaryMonthCollectionViewController\" id=\"9xo-Dc-H11\" customClass=\"DiaryMonthCollectionViewController\" customModule=\"Diary\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <collectionView key=\"view\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" dataMode=\"prototypes\" id=\"3bk-qG-x6G\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"8hv-Df-784\">\n                            <size key=\"itemSize\" width=\"50\" height=\"50\"/>\n                            <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                            <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                        </collectionViewFlowLayout>\n                        <cells>\n                            <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"DiaryCell\" id=\"n44-bA-yeZ\" customClass=\"DiaryCell\" customModule=\"Diary\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                    <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"50\" height=\"50\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                </view>\n                            </collectionViewCell>\n                        </cells>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"9xo-Dc-H11\" id=\"Le6-7L-8hY\"/>\n                            <outlet property=\"delegate\" destination=\"9xo-Dc-H11\" id=\"HvU-i0-eXq\"/>\n                        </connections>\n                    </collectionView>\n                </collectionViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"fEk-Yk-ztQ\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"162\" y=\"1504\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/Diary.xcdatamodeld/Diary.xcdatamodel/contents",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<model type=\"com.apple.IDECoreDataModeler.DataModel\" documentVersion=\"1.0\" lastSavedToolsVersion=\"14460.32\" systemVersion=\"18D42\" minimumToolsVersion=\"Automatic\" sourceLanguage=\"Swift\" userDefinedModelVersionIdentifier=\"\">\n    <entity name=\"Diary\" representedClassName=\"Diary\" syncable=\"YES\" codeGenerationType=\"class\">\n        <attribute name=\"content\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"created_at\" optional=\"YES\" attributeType=\"Date\" usesScalarValueType=\"NO\" syncable=\"YES\"/>\n        <attribute name=\"location\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"month\" optional=\"YES\" attributeType=\"Integer 32\" defaultValueString=\"0\" usesScalarValueType=\"YES\" syncable=\"YES\"/>\n        <attribute name=\"title\" optional=\"YES\" attributeType=\"String\" syncable=\"YES\"/>\n        <attribute name=\"year\" optional=\"YES\" attributeType=\"Integer 32\" defaultValueString=\"0\" usesScalarValueType=\"YES\" syncable=\"YES\"/>\n    </entity>\n    <elements>\n        <element name=\"Diary\" positionX=\"-63\" positionY=\"-18\" width=\"128\" height=\"135\"/>\n    </elements>\n</model>"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/DiaryAnimator.swift",
    "content": "//\n//  DiaryAnimator.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryAnimator: NSObject, UIViewControllerAnimatedTransitioning {\n    \n    var operation: UINavigationController.Operation!\n    \n    // 转场时长\n    \n    func transitionDuration(using transitionContext:\n        UIViewControllerContextTransitioning?) -> TimeInterval {\n        return 0.4\n    }\n    \n    func animateTransition(using transitionContext:\n        UIViewControllerContextTransitioning)\n    {\n        \n        // 获取转场舞台\n        let containerView = transitionContext.containerView\n        \n        let fromVC = transitionContext.viewController(\n            forKey: UITransitionContextViewControllerKey.from)\n        \n        // 获取从哪个场景开始转\n        let fromView = fromVC!.view\n        \n        let toVC = transitionContext.viewController(\n            forKey: UITransitionContextViewControllerKey.to)\n        \n        // 获取要转去哪个场景\n        let toView = toVC!.view\n        \n        // 设置新场景透明度\n        toView?.alpha = 0.0\n        \n        // UINavigationControllerOperation.Pop用来判断是转入还是转出\n        if operation ==  UINavigationController.Operation.pop {\n            // 如果是返回旧场景，那么设置要转入的场景初始缩放为原始大小\n            toView?.transform = CGAffineTransform(scaleX: 1.0,y: 1.0)\n        }else{\n            // 如果是转到新场景，设置新场景初始缩放为0.3\n            toView?.transform = CGAffineTransform(scaleX: 0.3,y: 0.3);\n        }\n        \n        // 在舞台上插入场景\n        containerView.insertSubview(toView!, aboveSubview: fromView!)\n        \n        UIView.animate(\n            withDuration: transitionDuration(using: transitionContext),\n            delay: 0,\n            options: UIView.AnimationOptions.curveEaseInOut,\n            animations:\n            {\n                if self.operation ==  UINavigationController.Operation.pop {\n                    // 放大要转出的场景\n                    fromView?.transform = CGAffineTransform(scaleX: 3.3,y: 3.3)\n                } else {\n                    // 设置新场景为原始大小\n                    toView?.transform = CGAffineTransform(scaleX: 1.0,y: 1.0)\n                }\n                \n                toView?.alpha = 1.0\n                \n        }, completion: { finished in\n            \n            // 通知NavigationController已经完成转场\n            transitionContext.completeTransition(true)\n            \n        })\n        \n        \n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/DiaryCell.swift",
    "content": "//\n//  DiaryCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/DiaryComposeViewController.swift",
    "content": "//\n//  DiaryComposeViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nlet titleTextViewHeight:CGFloat = 30.0\nlet contentMargin:CGFloat = 20.0\n\nvar defaultFont = \"Wyue-GutiFangsong-NC\"\nlet DiaryFont = UIFont(name: defaultFont, size: 18)!\nlet DiaryLocationFont = UIFont(name: defaultFont, size: 16)!\nlet DiaryTitleFont = UIFont(name: defaultFont, size: 18)!\n\nclass DiaryComposeViewController: UIViewController {\n    var composeView:UITextView!\n    var locationTextView:UITextView!\n    var titleTextView:UITextView!\n    var finishButton:UIButton!\n    var keyboardSize:CGSize = CGSize(width: 0, height: 0)\n    var locationHelper: DiaryLocationHelper = DiaryLocationHelper()\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        // 创建正文输入框\n        composeView = UITextView(frame: CGRect(x: 0, y: contentMargin + titleTextViewHeight, width: screenSize.width, height: screenSize.height))\n        composeView.font = DiaryFont\n        composeView.isEditable = true\n        composeView.isUserInteractionEnabled = true\n        composeView.textContainerInset = UIEdgeInsets(top: contentMargin, left: contentMargin, bottom: contentMargin, right: contentMargin)\n        composeView.text = \"没道理，是一枚太平洋的暖湿空气，飘\"\n        \n        // 创建地址输入框\n        locationTextView = UITextView(frame: CGRect(x: 0, y: composeView.frame.size.height - 30.0, width: screenSize.width - 60.0, height: 30.0))\n        locationTextView.font = DiaryLocationFont\n        locationTextView.isEditable = true\n        locationTextView.isUserInteractionEnabled = true\n        locationTextView.bounces = false\n        locationTextView.text = \"于 琅邪\"\n        \n        // 创建标题输入框\n        \n        titleTextView = UITextView(frame: CGRect(x: contentMargin, y: contentMargin/2, width: screenSize.width - 60.0, height: titleTextViewHeight))\n        titleTextView.font = DiaryTitleFont\n        titleTextView.isEditable = true\n        titleTextView.isUserInteractionEnabled = true\n        titleTextView.bounces = false\n        titleTextView.text = \"一十五日\"\n\n        self.view.addSubview(composeView)\n        \n        self.view.addSubview(locationTextView)\n        \n        self.view.addSubview(titleTextView)\n        \n        // 创建完成按钮\n        finishButton = diaryButtonWith(text: \"完\",  fontSize: 18.0,  width: 50.0,  normalImageName: \"Oval\", highlightedImageName: \"Oval_pressed\")\n        \n        finishButton.center = CGPoint(x: screenSize.width - 20, y: screenSize.height - 30)\n        \n        self.view.addSubview(finishButton)\n        \n        \n        self.finishButton.center = CGPoint(x: self.view.frame.width - self.finishButton.frame.size.height/2.0 - 10, y: self.view.frame.height  - self.finishButton.frame.size.height/2.0 - 10)\n        \n        self.finishButton.addTarget(self, action: #selector(finishCompose(_:)), for: UIControl.Event.touchUpInside)\n        \n        self.locationTextView.center = CGPoint(x: self.locationTextView.frame.size.width/2.0 + 20.0, y: self.finishButton.center.y)\n        \n        // 监听键盘事件\n        \n        NotificationCenter.default.addObserver(self, selector: #selector(keyboardDidShow(_:)), name: UIWindow.keyboardDidShowNotification, object: nil)\n        \n        NotificationCenter.default.addObserver(self, selector: #selector(updateAddress(_:)), name: NSNotification.Name(rawValue: \"DiaryLocationUpdated\"), object: nil)\n\n    }\n    \n    @objc func finishCompose(_ button: UIButton) {\n        \n        // 取消输入框的编辑状态，收起键盘\n        self.composeView.endEditing(true)\n        self.locationTextView.endEditing(true)\n        \n        // 确保有文字内容才保存\n        if (composeView.text.lengthOfBytes(using: String.Encoding.utf8) > 1){\n            \n            let entity =  NSEntityDescription.entity(forEntityName: \"Diary\", in: managedContext)\n            \n            let newdiary = Diary(entity: entity!,\n                                 insertInto:managedContext)\n            newdiary.content = composeView.text\n            \n            if let address  = locationHelper.address {\n                newdiary.location = address\n            }\n            \n            if let title = titleTextView.text {\n                newdiary.title = title\n            }\n            \n            \n            newdiary.updateTimeWithDate(Date())\n            \n            do {\n                try managedContext.save()\n            } catch let error as NSError {\n                print(\"保存错误 \\(error)\")\n            }\n            \n        }\n        \n        self.dismiss(animated: true, completion: nil)\n    }\n    \n    @objc func updateAddress(_ notification: Notification) {\n        \n        if let address = notification.object as? String {\n            \n            locationTextView.text = \"于 \\(address)\"\n            \n            locationHelper.locationManager.stopUpdatingLocation()\n        }\n        \n    }\n    \n    @objc func keyboardDidShow(_ notification: Notification) {\n        // 取出键盘的高度\n        if let rectValue = (notification as NSNotification).userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? NSValue {\n            keyboardSize = rectValue.cgRectValue.size\n            \n            //更新完成按钮和地址输入框的位置\n            updateTextViewSizeForKeyboardHeight(keyboardSize.height)\n        }\n    }\n    \n    func updateTextViewSizeForKeyboardHeight(_ keyboardHeight: CGFloat) {\n        \n        let newKeyboardHeight = keyboardHeight\n        \n        UIView.animate(withDuration: 1.0, delay: 0, options: UIView.AnimationOptions(), animations:\n            {\n                if (self.locationTextView.text == nil) {\n                    self.composeView.frame = CGRect(x: 0, y: 0, width: self.view.frame.width, height: self.view.frame.height - newKeyboardHeight)\n                }else{\n                    self.composeView.frame = CGRect(x: 0, y: contentMargin + titleTextViewHeight, width: self.composeView.frame.size.width,  height: self.view.frame.height - newKeyboardHeight - 40.0 - self.finishButton.frame.size.height/2.0 - (contentMargin + titleTextViewHeight))\n                }\n                \n                self.finishButton.center = CGPoint(x: self.view.frame.width - self.finishButton.frame.size.height/2.0 - 10, y: self.view.frame.height - newKeyboardHeight - self.finishButton.frame.size.height/2.0 - 10)\n                \n                \n                self.locationTextView.center = CGPoint(x: self.locationTextView.frame.size.width/2.0 + 20.0, y: self.finishButton.center.y)\n                \n            }, completion: nil)\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/DiaryLabel.swift",
    "content": "//\n//  DiaryLabel.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nfunc sizeHeightWithText(labelText: String,\n                        fontSize: CGFloat,\n                        textAttributes: [NSAttributedString.Key: AnyObject]) -> CGRect {\n    \n    return labelText.boundingRect(\n        with: CGSize(width:fontSize, height:480),\n        options: NSStringDrawingOptions.usesLineFragmentOrigin,\n        attributes: textAttributes, context: nil)\n}\n\nclass DiaryLabel: UILabel {\n    \n    var textAttributes: [NSAttributedString.Key: AnyObject]!\n    \n    convenience init(fontname:String,\n                     labelText:String,\n                     fontSize : CGFloat,\n                     lineHeight: CGFloat,\n                     color: UIColor){\n        \n        self.init(frame: CGRect(x:0, y:0, width:0, height:0))\n        \n        let font = UIFont(name: fontname,\n                          size: fontSize)\n        \n        let paragraphStyle = NSMutableParagraphStyle()\n        paragraphStyle.lineSpacing = lineHeight\n        \n        textAttributes = [NSAttributedString.Key.font: font!,\n                          NSAttributedString.Key.foregroundColor: color,\n                          NSAttributedString.Key.paragraphStyle: paragraphStyle]\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: fontSize ,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x: 0, y: 0, width: labelSize.width,\n                            height: labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n        self.lineBreakMode = NSLineBreakMode.byCharWrapping\n        self.numberOfLines = 0\n    }\n    \n    func updateText(labelText: String) {\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: self.font.pointSize,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x:0,y: 0, width:labelSize.width,\n                            height:labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/DiaryLayout.swift",
    "content": "//\n//  DiaryLayout.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nlet screenSize = UIWindow().screen.bounds\n\nclass DiaryLayout: UICollectionViewFlowLayout {\n    override func prepare() {\n        super.prepare() //准备布局\n        let itemSize = CGSize(width: itemWidth,height: itemHeight)\n        self.itemSize = itemSize\n        self.minimumInteritemSpacing = 0.0\n        self.minimumLineSpacing = 0\n        self.sectionInset = UIEdgeInsets(top: (screenSize.height/2.0) - (itemHeight/2.0), left: (screenSize.width/2.0) - (itemWidth/2.0), bottom: (screenSize.height/2.0) - (itemHeight/2.0), right: (screenSize.height/2.0) - (itemHeight/2.0))\n    }\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/DiaryLocationHelper.swift",
    "content": "//\n//  DiaryLocationHelper.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport CoreLocation\n\nclass DiaryLocationHelper: NSObject, CLLocationManagerDelegate {\n    \n    var locationManager:CLLocationManager = CLLocationManager()\n    var currentLocation:CLLocation?\n    var address:String?\n    var geocoder = CLGeocoder()\n    \n    override init() {\n        super.init()\n        // 设置委托\n        locationManager.delegate = self\n        // 请求位置授权\n        locationManager.requestWhenInUseAuthorization()\n        if (CLLocationManager.locationServicesEnabled()){\n            //开始获取位置\n            locationManager.startUpdatingLocation()\n        }\n    }\n    \n    func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {\n        // 根据经纬度查询位置名称\n        geocoder.reverseGeocodeLocation(locations[0], completionHandler: { (placemarks, error) in\n            \n            if let error = error {\n                print(\"查询失败: \\(error.localizedDescription)\")\n            }\n            \n            // placemarks里包括了位置的国家、省份、地区等信息\n            if let pm = placemarks {\n                if pm.count > 0 {\n                    \n                    let placemark = pm.first\n                    \n                    self.address = placemark?.locality\n                    \n                    // 广播位置信息\n                    NotificationCenter.default.post(name: Notification.Name(rawValue: \"DiaryLocationUpdated\"), object: self.address)\n                }\n            }\n            \n        })\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/DiaryMonthCollectionViewController.swift",
    "content": "//\n//  DiaryMonthCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nlet DiaryRed = UIColor(red: 192.0/255.0, green: 23/255.0, blue: 48.0/255.0, alpha: 1)\n\nclass DiaryMonthCollectionViewController: UICollectionViewController {\n    var year: Int!\n    var month: Int!\n    var yearLabel: DiaryLabel!\n    var monthLabel: DiaryLabel!\n    var fetchedResultsController : NSFetchedResultsController<Diary>!\n    var diarys = [Diary]()\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n        \n        yearLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: \"二零一五年\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n\n        yearLabel.frame = CGRect(x: screenSize.width - yearLabel.frame.size.width - 20, y: 20, width: yearLabel.frame.size.width, height: yearLabel.frame.size.height)\n        \n        self.view.addSubview(yearLabel)\n        \n        monthLabel = DiaryLabel(\n            fontname: \"Wyue-GutiFangsong-NC\",\n            labelText: \"三月\",\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: DiaryRed)\n\n        monthLabel.frame = CGRect(x: screenSize.width - monthLabel.frame.size.width - 20, y: screenSize.height/2.0 - monthLabel.frame.size.height/2.0, width: monthLabel.frame.size.width, height: monthLabel.frame.size.height)\n        \n        self.view.addSubview(monthLabel)\n        \n        \n        // 添加按钮\n        \n        let composeButton = diaryButtonWith(text: \"撰\",\n                                            fontSize: 14.0,\n                                            width: 40.0,\n                                            normalImageName: \"Oval\",\n                                            highlightedImageName: \"Oval_pressed\")\n        \n        composeButton.center = CGPoint(x: yearLabel.center.x,\n                                       y: 38 + yearLabel.frame.size.height + 26.0/2.0)\n        \n        composeButton.addTarget(self, action: #selector(newCompose),\n                                for: UIControl.Event.touchUpInside)\n        \n        self.view.addSubview(composeButton)\n        \n        // 查询数据\n        \n        do {\n            // 新建查询\n            let fetchRequest = NSFetchRequest<Diary>(entityName:\"Diary\")\n            \n            // 增加过滤条件\n            fetchRequest.predicate = NSPredicate(format:\"year = \\(year!) AND month = \\(month!)\")\n            \n            // 排序方式\n            fetchRequest.sortDescriptors = [NSSortDescriptor(key: \"created_at\", ascending: true)]\n            \n            fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest,\n                                                                  managedObjectContext: managedContext, sectionNameKeyPath: nil,\n                                                                  cacheName: nil)\n            \n            // 尝试查询\n            try self.fetchedResultsController.performFetch()\n            \n            if (fetchedResultsController.fetchedObjects!.count == 0){\n                print(\"没有存储结果\")\n            }else{\n                diarys = fetchedResultsController.fetchedObjects!\n            }\n            \n        } catch let error as NSError {\n            NSLog(\"发现错误 \\(error.localizedDescription)\")\n        }\n    \n    }\n    \n    @objc func newCompose() {\n        \n        let identifier = \"DiaryComposeViewController\"\n        \n        let composeViewController = self.storyboard?.instantiateViewController(withIdentifier: identifier)\n            as! DiaryComposeViewController\n        \n        self.present(composeViewController,\n                                   animated: true,\n                                   completion: nil)\n        \n    }\n\n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return 1\n    }\n    \n    \n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return diarys.count\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        let diary = diarys[indexPath.row]\n        \n        cell.labelText = diary.title!\n        \n        return cell\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: \"DiaryViewController\") as! DiaryViewController\n        \n        dvc.diary = diarys[indexPath.row]\n        \n        self.navigationController!.pushViewController(dvc, animated: true)\n        \n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/DiaryTemplate.html",
    "content": "<!DOCTYPE html>\n<html>\n  <head>\n    <meta charset=\"utf-8\">\n    <meta name=\"viewport\" content=\"width=device-width; initial-scale=1.0; maximum-scale=1.0;\">\n    <title></title>\n    <style>\n        body { padding: 0px; background-color: white;}\n      * {\n        -webkit-text-size-adjust: 100%;\n        margin:0;\n        font-family: '#fontStr#';\n        -webkit-writing-mode: vertical-rl;\n        letter-spacing: 3px;\n        }\n    .content { min-width: #minWidth#px; margin-right: #contentMargin#px;}\n      .content p { font-size: 12pt; line-height: 24pt;}\n      .title {\n        font-size: 12pt;\n        font-weight:bold;\n        line-height: 24pt;\n        margin-right: #titleMarginRight#px;\n        padding-left: 20px;\n        }\n      .extra{\n        font-size:12pt;\n        line-height: 24pt;\n        margin-right:30px;\n      }\n      .container {\n        padding:25px 10px 25px 25px;\n      }\n\n      .stamp {\n        width:24px;\n        height:auto;\n        position:fixed;\n        bottom:20px;\n      }\n\n    </style>\n  </head>\n   <body>\n     <div class=\"container\">\n         #title#\n       <div class=\"content\">\n           <p>#newDiaryString#</p>\n       </div>\n       <div class=\"extra\">\n           #location#<br>#timeString#\n       </div>\n     </div>\n   </body>\n   </html>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/DiaryViewController.swift",
    "content": "//\n//  DiaryViewController.swift\n//  Diary\n//\n//  Created by kevinzhow on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass DiaryViewController: UIViewController {\n    var diary:Diary!\n    var webview: UIWebView!\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        setupUI()\n        // Do any additional setup after loading the view.\n    }\n    \n    func setupUI() {\n        webview = UIWebView(frame: CGRect(x: 0,y: 0, width: self.view.frame.size.width, height: self.view.frame.size.height))\n        \n        webview.scrollView.bounces = true\n        \n        webview.backgroundColor = UIColor.white\n        \n        self.view.addSubview(self.webview)\n        \n        // 读取模板的内容\n        let mainHTML = Bundle.main.url(forResource: \"DiaryTemplate\", withExtension:\"html\")\n        var contents: NSString = \"\"\n        \n        do {\n            contents = try NSString(contentsOfFile: mainHTML!.path, encoding: String.Encoding.utf8.rawValue)\n        } catch let error as NSError {\n            print(error)\n        }\n        \n        // 生成年的整数类型\n        let year = (Calendar.current as NSCalendar).component(NSCalendar.Unit.year, from: diary.created_at!)\n        \n        // 生成月的整数类型\n        let month = (Calendar.current as NSCalendar).component(NSCalendar.Unit.month, from: diary.created_at!)\n        \n        // 生成日的整数类型\n        let day = (Calendar.current as NSCalendar).component(NSCalendar.Unit.day, from: diary.created_at!)\n        \n        let timeString = \"\\(numberToChinese(year))年 \\(numberToChineseWithUnit(month))月 \\(numberToChineseWithUnit(day))日\"\n        \n        // 替换字符串\n        contents = contents.replacingOccurrences(of: \"#timeString#\", with: timeString) as NSString\n        \n        //WebView method\n        \n        let newDiaryString = diary.content?.replacingOccurrences(of: \"\\n\", with: \"<br>\", options: NSString.CompareOptions.literal, range: nil)\n        \n        contents = contents.replacingOccurrences(of: \"#newDiaryString#\", with: newDiaryString!) as NSString\n        \n        var title = \"\"\n        var contentWidthOffset = 140\n        var contentMargin:CGFloat = 10\n        \n        if let titleStr = diary?.title {\n            let parsedTime = \"\\(numberToChineseWithUnit((Calendar.current as NSCalendar).component(NSCalendar.Unit.day, from: diary.created_at!))) 日\"\n            if titleStr != parsedTime {\n                title = titleStr\n                contentWidthOffset = 205\n                contentMargin = 10\n                title = \"<div class='title'>\\(title)</div>\"\n            }\n        }\n        \n        contents = contents.replacingOccurrences(of: \"#contentMargin#\", with: \"\\(contentMargin)\") as NSString\n        \n        contents = contents.replacingOccurrences(of: \"#title#\", with: title) as NSString\n        \n        let minWidth = self.view.frame.size.width - CGFloat(contentWidthOffset)\n        \n        contents = contents.replacingOccurrences(of: \"#minWidth#\", with: \"\\(minWidth)\") as NSString\n        \n        let fontStr = defaultFont\n        \n        contents = contents.replacingOccurrences(of: \"#fontStr#\", with: fontStr) as NSString\n        \n        let titleMarginRight:CGFloat = 15\n        \n        contents = contents.replacingOccurrences(of: \"#titleMarginRight#\", with: \"\\(titleMarginRight)\") as NSString\n        \n        if let location = diary.location {\n            contents = contents.replacingOccurrences(of: \"#location#\", with: location) as NSString\n        } else {\n            contents = contents.replacingOccurrences(of: \"#location#\", with: \"\") as NSString\n        }\n        \n        \n        webview.loadHTMLString(contents as String, baseURL: nil)\n        \n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/DiaryYearCollectionViewController.swift",
    "content": "//\n//  DiaryYearCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nclass DiaryYearCollectionViewController: UICollectionViewController {\n    var year: Int!\n    var diarys = [Diary]()\n    var fetchedResultsController : NSFetchedResultsController<Diary>!\n    var monthCount: Int = 1\n    var sectionsCount: Int = 0\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        let layout = DiaryLayout()\n        \n        layout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(layout, animated: false)\n        \n        do {\n            // 新建查询\n            let fetchRequest = NSFetchRequest<Diary>(entityName:\"Diary\")\n            \n            // 增加过滤条件\n            fetchRequest.predicate = NSPredicate(format:\"year = \\(year!)\")\n            \n            // 排序方式\n            fetchRequest.sortDescriptors = [NSSortDescriptor(key: \"created_at\", ascending: true)]\n            \n            fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest,\n                                                                  managedObjectContext: managedContext, sectionNameKeyPath: \"month\",\n                                                                  cacheName: nil)\n            \n            // 尝试查询\n            try self.fetchedResultsController.performFetch()\n            \n            if (fetchedResultsController.fetchedObjects!.count == 0){\n                print(\"没有存储结果\")\n            }else{\n                \n                if let sectionsCount = fetchedResultsController.sections?.count {\n                    \n                    monthCount = sectionsCount\n                    diarys = fetchedResultsController.fetchedObjects!\n                    \n                }else {\n                    sectionsCount = 0\n                    monthCount = 1\n                }\n            }\n            \n        } catch let error as NSError {\n            NSLog(\"发现错误 \\(error.localizedDescription)\")\n        }\n\n    }\n    \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return monthCount\n    }\n\n\n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"DiaryCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! DiaryCell\n        \n        // 获取当前月份\n        let components = Calendar.current.component(Calendar.Component.month, from: Date())\n        var month = components\n        \n        if sectionsCount > 0 {\n            // 如果程序内有保存的日记，就使用保存的日记的月份\n            let sectionInfo = fetchedResultsController.sections![indexPath.section]\n            print(\"分组信息 \\(sectionInfo.name)\")\n            month = Int(sectionInfo.name)!\n        }\n        \n        cell.textInt = month\n        cell.labelText = \"\\(numberToChinese(cell.textInt)) 月\"\n        \n        // Configure the cell\n        \n        return cell\n\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryMonthCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryMonthCollectionViewController // 获取 DiaryMonthCollectionViewController\n        \n        // 获取当前月份\n        let components = Calendar.current.component(Calendar.Component.month, from: Date())\n        var month = components\n        \n        if sectionsCount > 0 {\n            // 如果程序内有保存的日记，就使用保存的日记的月份\n            let sectionInfo = fetchedResultsController.sections![indexPath.section]\n            print(\"分组信息 \\(sectionInfo.name)\")\n            month = Int(sectionInfo.name)!\n        }\n        // 指定是 2015 年的 1 月份\n        dvc.month = month\n        dvc.year = year\n        \n        // 页面跳转\n        self.navigationController!.pushViewController(dvc, animated: true)\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/Helper.swift",
    "content": "//\n//  Helper.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nextension Diary {\n    \n    func updateTimeWithDate(_ date: Date){\n        self.created_at = date\n        self.year = Int32(Calendar.current.component(Calendar.Component.year, from: date))\n        self.month = Int32(Calendar.current.component(Calendar.Component.month, from: date))\n    }\n    \n}\n\nfunc diaryButtonWith(text: String,\n                     fontSize: CGFloat,\n                     width: CGFloat,\n                     normalImageName: String,\n                     highlightedImageName: String) -> UIButton {\n    \n    // 创建自定义按钮\n    let button = UIButton(type: UIButton.ButtonType.custom)\n    \n    // 设定按钮的大小\n    button.frame = CGRect(x: 0, y: 0, width: width, height: width)\n    \n    let font = UIFont(name: \"Wyue-GutiFangsong-NC\", size: fontSize)\n    \n    let textAttributes: [NSAttributedString.Key: AnyObject] = [\n        NSAttributedString.Key.font: font!,\n        NSAttributedString.Key.foregroundColor: UIColor.white]\n    \n    // 设置按钮的字体\n    let attributedText = NSAttributedString(string: text, attributes: textAttributes)\n    button.setAttributedTitle(attributedText, for: UIControl.State.normal)\n    \n    // 设置默认按钮的样式\n    button.setBackgroundImage(UIImage(\n        named: normalImageName),\n                              for: UIControl.State.normal)\n    \n    // 设置按钮被按下时的样式\n    button.setBackgroundImage(UIImage(\n        named: highlightedImageName),\n                              for: UIControl.State.highlighted)\n    \n    return button\n}\n\nfunc singleNumberToChinese(_ number:Character) -> String {\n    switch number {\n    case \"0\":\n        return \"零\"\n    case \"1\":\n        return \"一\"\n    case \"2\":\n        return \"二\"\n    case \"3\":\n        return \"三\"\n    case \"4\":\n        return \"四\"\n    case \"5\":\n        return \"五\"\n    case \"6\":\n        return \"六\"\n    case \"7\":\n        return \"七\"\n    case \"8\":\n        return \"八\"\n    case \"9\":\n        return \"九\"\n    default:\n        return \"\"\n    }\n}\n\n\nfunc numberToChinese(_ number:Int) -> String {\n    let numbers = String(number)\n    var finalString = \"\"\n    for singleNumber in numbers {\n        let string = singleNumberToChinese(singleNumber)\n        finalString = \"\\(finalString)\\(string)\"\n    }\n    return finalString\n}\n\nfunc numberToChineseWithUnit(_ number:Int) -> String {\n    let numbers = String(number)\n    var units = unitParser(numbers.count)\n    var finalString = \"\"\n    \n    for (index, singleNumber) in numbers.enumerated() {\n        let string = singleNumberToChinese(singleNumber)\n        if (!(string == \"零\" && (index+1) == numbers.count)){\n            finalString = \"\\(finalString)\\(string)\\(units[index])\"\n        }\n    }\n    \n    return finalString\n}\n\nfunc unitParser(_ unit:Int) -> [String] {\n    \n    var units = Array([\"万\",\"千\",\"百\",\"十\",\"\"].reversed())\n    let parsedUnits = units[0..<(unit)].reversed()\n    let slicedUnits: ArraySlice<String> = ArraySlice(parsedUnits)\n    let final: [String] = Array(slicedUnits)\n    return final\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/HomeCollectionViewController.swift",
    "content": "//\n//  HomeCollectionViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport CoreData\n\nclass HomeCollectionViewController: UICollectionViewController {\n    var diarys = [Diary]()\n    var fetchedResultsController : NSFetchedResultsController<Diary>!\n    var yearsCount: Int = 1\n    var sectionsCount: Int = 0\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        let yearLayout = DiaryLayout()\n        \n        yearLayout.scrollDirection = UICollectionView.ScrollDirection.horizontal\n        self.collectionView?.setCollectionViewLayout(yearLayout, animated: false)\n\n        self.navigationController!.delegate = self\n        \n        do {\n            // 新建查询\n            let fetchRequest = NSFetchRequest<Diary>(entityName:\"Diary\")\n            \n            // 排序方式\n            fetchRequest.sortDescriptors = [NSSortDescriptor(key: \"created_at\", ascending: true)]\n            \n            fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest,\n                                                                  managedObjectContext: managedContext, sectionNameKeyPath: \"year\",\n                                                                  cacheName: nil)\n            \n            // 尝试查询\n            try self.fetchedResultsController.performFetch()\n            \n            if (fetchedResultsController.fetchedObjects!.count == 0){\n                print(\"没有存储结果\")\n            }else{\n                \n                if let sectionsCount = fetchedResultsController.sections?.count {\n                    \n                    yearsCount = sectionsCount\n                    diarys = fetchedResultsController.fetchedObjects!\n                    \n                }else {\n                    sectionsCount = 0\n                    yearsCount = 1\n                }\n            }\n            \n        } catch let error as NSError {\n            NSLog(\"发现错误 \\(error.localizedDescription)\")\n        }\n    }\n\n  \n    override func numberOfSections(in collectionView: UICollectionView) -> Int {\n        return yearsCount\n    }\n\n\n    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return 1\n    }\n\n    override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let identifier = \"HomeYearCollectionViewCell\"\n        \n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath) as! HomeYearCollectionViewCell\n        \n        // 获取当前月份\n        let components = Calendar.current.component(Calendar.Component.year, from: Date())\n        var year = components\n        \n        if sectionsCount > 0 {\n            // 如果程序内有保存的日记，就使用保存的日记的年份\n            let sectionInfo = fetchedResultsController.sections![indexPath.section]\n            print(\"分组信息 \\(sectionInfo.name)\")\n            year = Int(sectionInfo.name)!\n        }\n        \n        cell.textInt = year\n        cell.labelText = \"\\(numberToChinese(cell.textInt)) 年\"\n        \n        // Configure the cell\n        \n        return cell\n\n    }\n    \n    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {\n        //super.collectionView(collectionView, didSelectItemAt: indexPath as IndexPath)\n        let identifier = \"DiaryYearCollectionViewController\"\n        \n        let dvc = self.storyboard?.instantiateViewController(withIdentifier: identifier) as! DiaryYearCollectionViewController // 获取 DiaryYearCollectionViewController\n        \n        let components = Calendar.current.component(Calendar.Component.year, from: Date())\n        var year = components\n        if sectionsCount > 0 {\n            let sectionInfo = fetchedResultsController.sections![(indexPath as NSIndexPath).row]\n            print(\"Section info \\(sectionInfo.name)\")\n            year = Int(sectionInfo.name)!\n        }\n\n        dvc.year = year\n\n        self.navigationController!.pushViewController(dvc, animated: true)\n        \n    }\n    \n}\n\nextension HomeCollectionViewController: UINavigationControllerDelegate {\n    func navigationController(_ navigationController:\n        UINavigationController,\n                              animationControllerFor operation:\n        UINavigationController.Operation,\n                              from fromVC: UIViewController,\n                              to toVC: UIViewController) ->\n        UIViewControllerAnimatedTransitioning? {\n            \n            let animator = DiaryAnimator()\n            animator.operation = operation\n            return animator\n    }\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/HomeYearCollectionViewCell.swift",
    "content": "//\n//  HomeYearCollectionViewCell.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass HomeYearCollectionViewCell: UICollectionViewCell {\n    var textLabel: DiaryLabel!\n    var textInt: Int = 0\n    var labelText: String = \"\" {\n        didSet {\n            textLabel.updateText(labelText: labelText)\n        }\n    }\n    \n    override func awakeFromNib() {\n        super.awakeFromNib()\n        // 界面载入内存\n        self.textLabel = DiaryLabel(\n            fontname: \"TpldKhangXiDictTrial\",\n            labelText: labelText,\n            fontSize: 16.0,\n            lineHeight: 5.0,\n            color: UIColor.black)\n        self.contentView.addSubview(textLabel)\n    }\n    \n    override func layoutSubviews() {\n        super.layoutSubviews() // 当对子视图进行布局时\n        self.textLabel.center = CGPoint(x: itemWidth/2.0, y: 150.0/2.0)\n    }\n\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UIAppFonts</key>\n\t<array>\n\t\t<string>Wyue-GutiFangsong-NC_deliverable.otf</string>\n\t\t<string>TpldKhangXiDictTrial.otf</string>\n\t</array>\n\t<key>NSLocationWhenInUseUsageDescription</key>\n\t<string>在撰写日志的时候自动添加位置</string>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  Diary\n//\n//  Created by 周楷雯 on 2016/10/16.\n//  Copyright © 2016年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */; };\n\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7381DB2B0F500B4665B /* ViewController.swift */; };\n\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73A1DB2B0F500B4665B /* Main.storyboard */; };\n\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */; };\n\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */; };\n\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */; };\n\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */; };\n\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */; };\n\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */; };\n\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */; };\n\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */; };\n\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */; };\n\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */; };\n\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7601DB2EDDC00B4665B /* Helper.swift */; };\n\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */; };\n\t\t0A5EA7651DB2F82E00B4665B /* DiaryAnimator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */; };\n\t\t0A5EA7671DB30D2000B4665B /* DiaryComposeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */; };\n\t\t0A5EA7691DB3131E00B4665B /* DiaryLocationHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */; };\n\t\t0A5EA76F1DB31A8500B4665B /* Diary.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */; };\n\t\t9F74CDB71DB3A69300DD10E3 /* DiaryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9F74CDB61DB3A69300DD10E3 /* DiaryViewController.swift */; };\n\t\t9F74CDB91DB3A80700DD10E3 /* DiaryTemplate.html in Resources */ = {isa = PBXBuildFile; fileRef = 9F74CDB81DB3A80700DD10E3 /* DiaryTemplate.html */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Diary.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA73B1DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t0A5EA7401DB2B0F500B4665B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLabel.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = TpldKhangXiDictTrial.otf; sourceTree = \"<group>\"; };\n\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = \"Wyue-GutiFangsong-NC_deliverable.otf\"; sourceTree = \"<group>\"; };\n\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HomeYearCollectionViewCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLayout.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryYearCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryCell.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Helper.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryMonthCollectionViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryAnimator.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryComposeViewController.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryLocationHelper.swift; sourceTree = \"<group>\"; };\n\t\t0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Diary.xcdatamodel; sourceTree = \"<group>\"; };\n\t\t9F74CDB61DB3A69300DD10E3 /* DiaryViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DiaryViewController.swift; sourceTree = \"<group>\"; };\n\t\t9F74CDB81DB3A80700DD10E3 /* DiaryTemplate.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = DiaryTemplate.html; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0A5EA72A1DB2B0F500B4665B = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7351DB2B0F500B4665B /* Diary */,\n\t\t\t\t0A5EA7341DB2B0F500B4665B /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7341DB2B0F500B4665B /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7331DB2B0F500B4665B /* Diary.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA7351DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t9F74CDB81DB3A80700DD10E3 /* DiaryTemplate.html */,\n\t\t\t\t9F74CDB61DB3A69300DD10E3 /* DiaryViewController.swift */,\n\t\t\t\t0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */,\n\t\t\t\t0A5EA7681DB3131E00B4665B /* DiaryLocationHelper.swift */,\n\t\t\t\t0A5EA7661DB30D2000B4665B /* DiaryComposeViewController.swift */,\n\t\t\t\t0A5EA7641DB2F82E00B4665B /* DiaryAnimator.swift */,\n\t\t\t\t0A5EA7601DB2EDDC00B4665B /* Helper.swift */,\n\t\t\t\t0A5EA7541DB2BD1700B4665B /* DiaryLayout.swift */,\n\t\t\t\t0A5EA74E1DB2B81900B4665B /* HomeCollectionViewController.swift */,\n\t\t\t\t0A5EA75C1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift */,\n\t\t\t\t0A5EA7621DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift */,\n\t\t\t\t0A5EA75E1DB2E9BF00B4665B /* DiaryCell.swift */,\n\t\t\t\t0A5EA7501DB2B98D00B4665B /* HomeYearCollectionViewCell.swift */,\n\t\t\t\t0A5EA7361DB2B0F500B4665B /* AppDelegate.swift */,\n\t\t\t\t0A5EA7481DB2B2E200B4665B /* DiaryLabel.swift */,\n\t\t\t\t0A5EA7381DB2B0F500B4665B /* ViewController.swift */,\n\t\t\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */,\n\t\t\t\t0A5EA74A1DB2B4BA00B4665B /* TpldKhangXiDictTrial.otf */,\n\t\t\t\t0A5EA74B1DB2B4BA00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf */,\n\t\t\t\t0A5EA73D1DB2B0F500B4665B /* Assets.xcassets */,\n\t\t\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */,\n\t\t\t\t0A5EA7421DB2B0F500B4665B /* Info.plist */,\n\t\t\t);\n\t\t\tpath = Diary;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0A5EA7321DB2B0F500B4665B /* Diary */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0A5EA72F1DB2B0F500B4665B /* Sources */,\n\t\t\t\t0A5EA7301DB2B0F500B4665B /* Frameworks */,\n\t\t\t\t0A5EA7311DB2B0F500B4665B /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Diary;\n\t\t\tproductName = Diary;\n\t\t\tproductReference = 0A5EA7331DB2B0F500B4665B /* Diary.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0A5EA72B1DB2B0F500B4665B /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0800;\n\t\t\t\tLastUpgradeCheck = 0800;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0A5EA7321DB2B0F500B4665B = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 8.0;\n\t\t\t\t\t\tProvisioningStyle = Automatic;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0A5EA72A1DB2B0F500B4665B;\n\t\t\tproductRefGroup = 0A5EA7341DB2B0F500B4665B /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0A5EA7321DB2B0F500B4665B /* Diary */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0A5EA7311DB2B0F500B4665B /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7411DB2B0F500B4665B /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t0A5EA75A1DB2C29800B4665B /* TpldKhangXiDictTrial.otf in Resources */,\n\t\t\t\t9F74CDB91DB3A80700DD10E3 /* DiaryTemplate.html in Resources */,\n\t\t\t\t0A5EA73E1DB2B0F500B4665B /* Assets.xcassets in Resources */,\n\t\t\t\t0A5EA73C1DB2B0F500B4665B /* Main.storyboard in Resources */,\n\t\t\t\t0A5EA75B1DB2C29B00B4665B /* Wyue-GutiFangsong-NC_deliverable.otf in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0A5EA72F1DB2B0F500B4665B /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0A5EA7391DB2B0F500B4665B /* ViewController.swift in Sources */,\n\t\t\t\t0A5EA75D1DB2E5E400B4665B /* DiaryYearCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA74F1DB2B81900B4665B /* HomeCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA7691DB3131E00B4665B /* DiaryLocationHelper.swift in Sources */,\n\t\t\t\t0A5EA7631DB2EF3E00B4665B /* DiaryMonthCollectionViewController.swift in Sources */,\n\t\t\t\t0A5EA75F1DB2E9BF00B4665B /* DiaryCell.swift in Sources */,\n\t\t\t\t0A5EA7371DB2B0F500B4665B /* AppDelegate.swift in Sources */,\n\t\t\t\t0A5EA7671DB30D2000B4665B /* DiaryComposeViewController.swift in Sources */,\n\t\t\t\t0A5EA7611DB2EDDC00B4665B /* Helper.swift in Sources */,\n\t\t\t\t0A5EA7491DB2B2E200B4665B /* DiaryLabel.swift in Sources */,\n\t\t\t\t0A5EA7511DB2B98D00B4665B /* HomeYearCollectionViewCell.swift in Sources */,\n\t\t\t\t9F74CDB71DB3A69300DD10E3 /* DiaryViewController.swift in Sources */,\n\t\t\t\t0A5EA76F1DB31A8500B4665B /* Diary.xcdatamodeld in Sources */,\n\t\t\t\t0A5EA7651DB2F82E00B4665B /* DiaryAnimator.swift in Sources */,\n\t\t\t\t0A5EA7551DB2BD1700B4665B /* DiaryLayout.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t0A5EA73A1DB2B0F500B4665B /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA73B1DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0A5EA73F1DB2B0F500B4665B /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA7401DB2B0F500B4665B /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0A5EA7431DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7441DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVES = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 10.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0A5EA7461DB2B0F500B4665B /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0A5EA7471DB2B0F500B4665B /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = Diary/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = kevinzhow.Diary;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0A5EA72E1DB2B0F500B4665B /* Build configuration list for PBXProject \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7431DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7441DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0A5EA7451DB2B0F500B4665B /* Build configuration list for PBXNativeTarget \"Diary\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0A5EA7461DB2B0F500B4665B /* Debug */,\n\t\t\t\t0A5EA7471DB2B0F500B4665B /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\n/* Begin XCVersionGroup section */\n\t\t0A5EA76D1DB31A8500B4665B /* Diary.xcdatamodeld */ = {\n\t\t\tisa = XCVersionGroup;\n\t\t\tchildren = (\n\t\t\t\t0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */,\n\t\t\t);\n\t\t\tcurrentVersion = 0A5EA76E1DB31A8500B4665B /* Diary.xcdatamodel */;\n\t\t\tpath = Diary.xcdatamodeld;\n\t\t\tsourceTree = \"<group>\";\n\t\t\tversionGroupType = wrapper.xcdatamodel;\n\t\t};\n/* End XCVersionGroup section */\n\t};\n\trootObject = 0A5EA72B1DB2B0F500B4665B /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Diary.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bucket\n   type = \"1\"\n   version = \"2.0\">\n</Bucket>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcschemes/Diary.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n               BuildableName = \"Diary.app\"\n               BlueprintName = \"Diary\"\n               ReferencedContainer = \"container:Diary.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0A5EA7321DB2B0F500B4665B\"\n            BuildableName = \"Diary.app\"\n            BlueprintName = \"Diary\"\n            ReferencedContainer = \"container:Diary.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0A5EA7321DB2B0F500B4665B</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/Diary_9/Diary.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>Diary.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/UILabel/Label.playground/Contents.swift",
    "content": "//: Playground - noun: a place where people can play\n\nimport UIKit\n\nlet labelText = \"竖排文字\"\n\nlet fontSize: CGFloat = 22.0\n\nfunc sizeHeightWithText(labelText: NSString,\n    fontSize: CGFloat,\n    textAttributes: [NSAttributedString.Key: AnyObject]) -> CGRect {\n        \n    return labelText.boundingRect(\n        with: CGSize(width:fontSize, height:480),\n            options: NSStringDrawingOptions.usesLineFragmentOrigin,\n            attributes: textAttributes, context: nil)\n}\n\n// 引用 UIKit 这样才能找得到 UILabel\n\nvar newLabel = UILabel(frame: CGRect(x:0, y:0, width:300, height:100))\n\n// 创建新的 UILabel，并且设置长宽为 100 和 300\n\nnewLabel.text = \"HeyLabel\"\n\n// 设置 Label 的文字\n\nnewLabel.sizeToFit()\n\n// 使 Label 的大小自动适应文字的大小\n\nnewLabel\n\nlet font = UIFont.systemFont(ofSize: fontSize)\n\nvar newLabelTwo = UILabel(frame: CGRect(x: 0, y: 0, width: 20, height: 200))\n\nnewLabelTwo.text = \"一闪一闪亮晶晶\"\n// 设置带有字体样式的文字\n\nnewLabelTwo.lineBreakMode = NSLineBreakMode.byCharWrapping\n// 以字符为换行标准\n\nnewLabelTwo.numberOfLines = 0\n//  允许多行\n\n"
  },
  {
    "path": "Example Codes/Diary/UILabel/Label.playground/contents.xcplayground",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<playground version='5.0' target-platform='ios'>\n    <timeline fileName='timeline.xctimeline'/>\n</playground>"
  },
  {
    "path": "Example Codes/Diary/UILabel/Label.playground/playground.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Diary/UILabel/Label.playground/playground.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/UILabel/Label.playground/timeline.xctimeline",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Timeline\n   version = \"3.0\">\n   <TimelineItems>\n      <LoggerValueHistoryTimelineItem\n         documentLocation = \"file:///Users/zhoukaiwen/Github/producter-book-examples/Diary/UILabel/Label.playground#CharacterRangeLen=8&amp;CharacterRangeLoc=707&amp;EndingColumnNumber=0&amp;EndingLineNumber=33&amp;StartingColumnNumber=1&amp;StartingLineNumber=32&amp;Timestamp=570844887.347317\"\n         selectedRepresentationIndex = \"0\"\n         shouldTrackSuperviewWidth = \"NO\">\n      </LoggerValueHistoryTimelineItem>\n      <LoggerValueHistoryTimelineItem\n         documentLocation = \"file:///Users/zhoukaiwen/Github/producter-book-examples/Diary/UILabel/Label.playground#CharacterRangeLen=0&amp;CharacterRangeLoc=716&amp;EndingColumnNumber=0&amp;EndingLineNumber=34&amp;StartingColumnNumber=0&amp;StartingLineNumber=34&amp;Timestamp=570844887.347464\"\n         selectedRepresentationIndex = \"0\"\n         shouldTrackSuperviewWidth = \"NO\">\n      </LoggerValueHistoryTimelineItem>\n      <LoggerValueHistoryTimelineItem\n         documentLocation = \"file:///Users/zhoukaiwen/Github/producter-book-examples/Diary/UILabel/Label.playground#CharacterRangeLen=11&amp;CharacterRangeLoc=960&amp;EndingColumnNumber=12&amp;EndingLineNumber=44&amp;StartingColumnNumber=1&amp;StartingLineNumber=44&amp;Timestamp=570844887.347574\"\n         selectedRepresentationIndex = \"0\"\n         shouldTrackSuperviewWidth = \"NO\">\n      </LoggerValueHistoryTimelineItem>\n   </TimelineItems>\n</Timeline>\n"
  },
  {
    "path": "Example Codes/Diary/UILabel/LabelClass.playground/Contents.swift",
    "content": "import UIKit\n\nfunc sizeHeightWithText(labelText: String,\n                        fontSize: CGFloat,\n                        textAttributes: [NSAttributedString.Key: AnyObject]) -> CGRect {\n    \n    return labelText.boundingRect(\n        with: CGSize(width:fontSize, height:480),\n        options: NSStringDrawingOptions.usesLineFragmentOrigin,\n        attributes: textAttributes, context: nil)\n}\n\nclass DiaryLabel: UILabel {\n    \n    var textAttributes: [NSAttributedString.Key: AnyObject]!\n    \n    convenience init(fontname:String,\n                     labelText:String,\n                     fontSize : CGFloat,\n                     lineHeight: CGFloat){\n        \n        self.init(frame: CGRect(x:0, y:0, width:0, height:0))\n        \n        let font = UIFont(name: fontname,\n                          size: fontSize)\n        \n        let paragraphStyle = NSMutableParagraphStyle()\n        paragraphStyle.lineSpacing = lineHeight\n        \n        textAttributes = [NSAttributedString.Key.font: font!,\n                          NSAttributedString.Key.paragraphStyle: paragraphStyle]\n        \n        let labelSize = sizeHeightWithText(labelText: labelText,\n                                           fontSize: fontSize ,\n                                           textAttributes: textAttributes)\n        \n        self.frame = CGRect(x: 0, y: 0, width: labelSize.width,\n                            height: labelSize.height)\n        \n        self.attributedText = NSAttributedString(\n            string: labelText,\n            attributes: textAttributes)\n        self.lineBreakMode = NSLineBreakMode.byCharWrapping\n        self.numberOfLines = 0\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Diary/UILabel/LabelClass.playground/contents.xcplayground",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<playground version='5.0' target-platform='ios'>\n    <timeline fileName='timeline.xctimeline'/>\n</playground>"
  },
  {
    "path": "Example Codes/Diary/UILabel/LabelClass.playground/playground.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Diary/UILabel/LabelClass.playground/playground.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Diary/UILabel/LabelClass.playground/timeline.xctimeline",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Timeline\n   version = \"3.0\">\n   <TimelineItems>\n      <LoggerValueHistoryTimelineItem\n         documentLocation = \"file:///Users/zhoukaiwen/Github/producter-book-examples/Diary/UILabel/LabelClass.playground#CharacterRangeLen=0&amp;CharacterRangeLoc=0&amp;EndingColumnNumber=0&amp;EndingLineNumber=0&amp;StartingColumnNumber=0&amp;StartingLineNumber=0&amp;Timestamp=570845064.1902601\"\n         selectedRepresentationIndex = \"0\"\n         shouldTrackSuperviewWidth = \"NO\">\n      </LoggerValueHistoryTimelineItem>\n      <LoggerValueHistoryTimelineItem\n         documentLocation = \"file:///Users/zhoukaiwen/Github/producter-book-examples/Diary/UILabel/LabelClass.playground#CharacterRangeLen=0&amp;CharacterRangeLoc=0&amp;EndingColumnNumber=0&amp;EndingLineNumber=0&amp;StartingColumnNumber=0&amp;StartingLineNumber=0&amp;Timestamp=570845064.190369\"\n         selectedRepresentationIndex = \"0\"\n         shouldTrackSuperviewWidth = \"NO\">\n      </LoggerValueHistoryTimelineItem>\n      <LoggerValueHistoryTimelineItem\n         documentLocation = \"file:///Users/zhoukaiwen/Github/producter-book-examples/Diary/UILabel/LabelClass.playground#CharacterRangeLen=0&amp;CharacterRangeLoc=0&amp;EndingColumnNumber=0&amp;EndingLineNumber=0&amp;StartingColumnNumber=0&amp;StartingLineNumber=0&amp;Timestamp=570845064.190447\"\n         selectedRepresentationIndex = \"0\"\n         shouldTrackSuperviewWidth = \"NO\">\n      </LoggerValueHistoryTimelineItem>\n   </TimelineItems>\n</Timeline>\n"
  },
  {
    "path": "Example Codes/Framer/Diary.framer/.gitignore",
    "content": "# Framer Git Ignore\n\n# General OSX\n\n.DS_Store\n.AppleDouble\n.LSOverride\n\n# Icon must end with two \\r\nIcon\r\r\n\n# Thumbnails\n._*\n\n# Files that might appear in the root of a volume\n.DocumentRevisions-V100\n.fseventsd\n.Spotlight-V100\n.TemporaryItems\n.Trashes\n.VolumeIcon.icns\n\n# Directories potentially created on remote AFP share\n.AppleDB\n.AppleDesktop\nNetwork Trash Folder\nTemporary Items\n.apdisk\n\n\n# Framer Specific\n.temp.html\nframer/*.old.*\nframer/backup.coffee\nframer/backups/*\nframer/.*.hash\n"
  },
  {
    "path": "Example Codes/Framer/Diary.framer/app.coffee",
    "content": "# This imports all the layers for \"Diary\" into diaryLayers1\ndiaryLayers = Framer.Importer.load \"imported/Diary\"\n\ndiaryContainer = new Layer\n\twidth: Screen.width\n\theight: Screen.height\n\tbackgroundColor: \"white\"\n\tscale: 0\n\topacity: 0\n\ndiaryContainer.states.animationOptions = {\n    curve: \"ease-in-out\"\n    repeat: 0\n    delay: 0\n    time: 0.4\n}\n\nclickCount = 0\ndiaryContainer.on Events.Click, ->\n\tclickCount += 1 \n\tif clickCount == 2\n\t\tdiaryContainer.states.switch(\"fadeOut\")\n\t\tclickCount = 0\n\ndiaryContainer.states.add\n    default: {opacity:0, scale: 0}\n    show: {opacity:1, scale: 1}\n    fadeOut: {opacity:0, scale: 2.0}\n\ndiaryContainer.center()\n\ndiaryLayers.View.visible = true\ndiaryLayers.View.superLayer = diaryContainer\n# Create layer\ncontainer = new Layer\n\twidth: Screen.width\n\theight: Screen.height\n\tbackgroundColor: \"#fff\"\n\ncontainer.center()\n\ndiaryLayers.Month.visible = true\ndiaryLayers.Month.superLayer = container\n\ndiaryLayers.Month.on Events.Click, ->\n\tdiaryContainer.bringToFront()\n\tdiaryContainer.states.switch(\"show\")"
  },
  {
    "path": "Example Codes/Framer/Diary.framer/framer/coffee-script.js",
    "content": "/**\n * CoffeeScript Compiler v1.9.1\n * http://coffeescript.org\n *\n * Copyright 2011, Jeremy Ashkenas\n * Released under the MIT License\n */\n(function(root){var CoffeeScript=function(){function require(e){return require[e]}return require[\"./helpers\"]=function(){var e={},t={exports:e};return function(){var t,n,i,r,s,o;e.starts=function(e,t,n){return t===e.substr(n,t.length)},e.ends=function(e,t,n){var i;return i=t.length,t===e.substr(e.length-i-(n||0),i)},e.repeat=s=function(e,t){var n;for(n=\"\";t>0;)1&t&&(n+=e),t>>>=1,e+=e;return n},e.compact=function(e){var t,n,i,r;for(r=[],t=0,i=e.length;i>t;t++)n=e[t],n&&r.push(n);return r},e.count=function(e,t){var n,i;if(n=i=0,!t.length)return 1/0;for(;i=1+e.indexOf(t,i);)n++;return n},e.merge=function(e,t){return n(n({},e),t)},n=e.extend=function(e,t){var n,i;for(n in t)i=t[n],e[n]=i;return e},e.flatten=i=function(e){var t,n,r,s;for(n=[],r=0,s=e.length;s>r;r++)t=e[r],t instanceof Array?n=n.concat(i(t)):n.push(t);return n},e.del=function(e,t){var n;return n=e[t],delete e[t],n},e.some=null!=(r=Array.prototype.some)?r:function(e){var t,n,i;for(n=0,i=this.length;i>n;n++)if(t=this[n],e(t))return!0;return!1},e.invertLiterate=function(e){var t,n,i;return i=!0,n=function(){var n,r,s,o;for(s=e.split(\"\\n\"),o=[],n=0,r=s.length;r>n;n++)t=s[n],i&&/^([ ]{4}|[ ]{0,3}\\t)/.test(t)?o.push(t):(i=/^\\s*$/.test(t))?o.push(t):o.push(\"# \"+t);return o}(),n.join(\"\\n\")},t=function(e,t){return t?{first_line:e.first_line,first_column:e.first_column,last_line:t.last_line,last_column:t.last_column}:e},e.addLocationDataFn=function(e,n){return function(i){return\"object\"==typeof i&&i.updateLocationDataIfMissing&&i.updateLocationDataIfMissing(t(e,n)),i}},e.locationDataToString=function(e){var t;return\"2\"in e&&\"first_line\"in e[2]?t=e[2]:\"first_line\"in e&&(t=e),t?t.first_line+1+\":\"+(t.first_column+1)+\"-\"+(t.last_line+1+\":\"+(t.last_column+1)):\"No location data\"},e.baseFileName=function(e,t,n){var i,r;return null==t&&(t=!1),null==n&&(n=!1),r=n?/\\\\|\\//:/\\//,i=e.split(r),e=i[i.length-1],t&&e.indexOf(\".\")>=0?(i=e.split(\".\"),i.pop(),\"coffee\"===i[i.length-1]&&i.length>1&&i.pop(),i.join(\".\")):e},e.isCoffee=function(e){return/\\.((lit)?coffee|coffee\\.md)$/.test(e)},e.isLiterate=function(e){return/\\.(litcoffee|coffee\\.md)$/.test(e)},e.throwSyntaxError=function(e,t){var n;throw n=new SyntaxError(e),n.location=t,n.toString=o,n.stack=\"\"+n,n},e.updateSyntaxError=function(e,t,n){return e.toString===o&&(e.code||(e.code=t),e.filename||(e.filename=n),e.stack=\"\"+e),e},o=function(){var e,t,n,i,r,o,a,c,h,l,u,p,d;return this.code&&this.location?(u=this.location,a=u.first_line,o=u.first_column,h=u.last_line,c=u.last_column,null==h&&(h=a),null==c&&(c=o),r=this.filename||\"[stdin]\",e=this.code.split(\"\\n\")[a],d=o,i=a===h?c+1:e.length,l=e.slice(0,d).replace(/[^\\s]/g,\" \")+s(\"^\",i-d),\"undefined\"!=typeof process&&null!==process&&(n=process.stdout.isTTY&&!process.env.NODE_DISABLE_COLORS),(null!=(p=this.colorful)?p:n)&&(t=function(e){return\"\u001b[1;31m\"+e+\"\u001b[0m\"},e=e.slice(0,d)+t(e.slice(d,i))+e.slice(i),l=t(l)),r+\":\"+(a+1)+\":\"+(o+1)+\": error: \"+this.message+\"\\n\"+e+\"\\n\"+l):Error.prototype.toString.call(this)},e.nameWhitespaceCharacter=function(e){switch(e){case\" \":return\"space\";case\"\\n\":return\"newline\";case\"\\r\":return\"carriage return\";case\"\t\":return\"tab\";default:return e}}}.call(this),t.exports}(),require[\"./rewriter\"]=function(){var e={},t={exports:e};return function(){var t,n,i,r,s,o,a,c,h,l,u,p,d,f,m,g,v,y,b,k=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1},w=[].slice;for(f=function(e,t,n){var i;return i=[e,t],i.generated=!0,n&&(i.origin=n),i},e.Rewriter=function(){function e(){}return e.prototype.rewrite=function(e){return this.tokens=e,this.removeLeadingNewlines(),this.closeOpenCalls(),this.closeOpenIndexes(),this.normalizeLines(),this.tagPostfixConditionals(),this.addImplicitBracesAndParens(),this.addLocationDataToGeneratedTokens(),this.tokens},e.prototype.scanTokens=function(e){var t,n,i;for(i=this.tokens,t=0;n=i[t];)t+=e.call(this,n,t,i);return!0},e.prototype.detectEnd=function(e,t,n){var i,o,a,c,h;for(h=this.tokens,i=0;c=h[e];){if(0===i&&t.call(this,c,e))return n.call(this,c,e);if(!c||0>i)return n.call(this,c,e-1);o=c[0],k.call(s,o)>=0?i+=1:(a=c[0],k.call(r,a)>=0&&(i-=1)),e+=1}return e-1},e.prototype.removeLeadingNewlines=function(){var e,t,n,i,r;for(i=this.tokens,e=t=0,n=i.length;n>t&&(r=i[e][0],\"TERMINATOR\"===r);e=++t);return e?this.tokens.splice(0,e):void 0},e.prototype.closeOpenCalls=function(){var e,t;return t=function(e,t){var n;return\")\"===(n=e[0])||\"CALL_END\"===n||\"OUTDENT\"===e[0]&&\")\"===this.tag(t-1)},e=function(e,t){return this.tokens[\"OUTDENT\"===e[0]?t-1:t][0]=\"CALL_END\"},this.scanTokens(function(n,i){return\"CALL_START\"===n[0]&&this.detectEnd(i+1,t,e),1})},e.prototype.closeOpenIndexes=function(){var e,t;return t=function(e){var t;return\"]\"===(t=e[0])||\"INDEX_END\"===t},e=function(e){return e[0]=\"INDEX_END\"},this.scanTokens(function(n,i){return\"INDEX_START\"===n[0]&&this.detectEnd(i+1,t,e),1})},e.prototype.indexOfTag=function(){var e,t,n,i,r,s,o;for(t=arguments[0],r=arguments.length>=2?w.call(arguments,1):[],e=0,n=i=0,s=r.length;s>=0?s>i:i>s;n=s>=0?++i:--i){for(;\"HERECOMMENT\"===this.tag(t+n+e);)e+=2;if(null!=r[n]&&(\"string\"==typeof r[n]&&(r[n]=[r[n]]),o=this.tag(t+n+e),0>k.call(r[n],o)))return-1}return t+n+e-1},e.prototype.looksObjectish=function(e){var t,n;return this.indexOfTag(e,\"@\",null,\":\")>-1||this.indexOfTag(e,null,\":\")>-1?!0:(n=this.indexOfTag(e,s),n>-1&&(t=null,this.detectEnd(n+1,function(e){var t;return t=e[0],k.call(r,t)>=0},function(e,n){return t=n}),\":\"===this.tag(t+1))?!0:!1)},e.prototype.findTagsBackwards=function(e,t){var n,i,o,a,c,h,l;for(n=[];e>=0&&(n.length||(a=this.tag(e),0>k.call(t,a)&&(c=this.tag(e),0>k.call(s,c)||this.tokens[e].generated)&&(h=this.tag(e),0>k.call(u,h))));)i=this.tag(e),k.call(r,i)>=0&&n.push(this.tag(e)),o=this.tag(e),k.call(s,o)>=0&&n.length&&n.pop(),e-=1;return l=this.tag(e),k.call(t,l)>=0},e.prototype.addImplicitBracesAndParens=function(){var e,t;return e=[],t=null,this.scanTokens(function(i,l,p){var d,m,g,v,y,b,w,T,C,E,F,N,L,x,S,D,R,A,I,_,O,$,j,M,B,V,P,U;if(U=i[0],F=(N=l>0?p[l-1]:[])[0],C=(p.length-1>l?p[l+1]:[])[0],j=function(){return e[e.length-1]},M=l,g=function(e){return l-M+e},v=function(){var e,t;return null!=(e=j())?null!=(t=e[2])?t.ours:void 0:void 0},y=function(){var e;return v()&&\"(\"===(null!=(e=j())?e[0]:void 0)},w=function(){var e;return v()&&\"{\"===(null!=(e=j())?e[0]:void 0)},b=function(){var e;return v&&\"CONTROL\"===(null!=(e=j())?e[0]:void 0)},B=function(t){var n;return n=null!=t?t:l,e.push([\"(\",n,{ours:!0}]),p.splice(n,0,f(\"CALL_START\",\"(\")),null==t?l+=1:void 0},d=function(){return e.pop(),p.splice(l,0,f(\"CALL_END\",\")\",[\"\",\"end of input\",i[2]])),l+=1},V=function(t,n){var r,s;return null==n&&(n=!0),r=null!=t?t:l,e.push([\"{\",r,{sameLine:!0,startsLine:n,ours:!0}]),s=new String(\"{\"),s.generated=!0,p.splice(r,0,f(\"{\",s,i)),null==t?l+=1:void 0},m=function(t){return t=null!=t?t:l,e.pop(),p.splice(t,0,f(\"}\",\"}\",i)),l+=1},y()&&(\"IF\"===U||\"TRY\"===U||\"FINALLY\"===U||\"CATCH\"===U||\"CLASS\"===U||\"SWITCH\"===U))return e.push([\"CONTROL\",l,{ours:!0}]),g(1);if(\"INDENT\"===U&&v()){if(\"=>\"!==F&&\"->\"!==F&&\"[\"!==F&&\"(\"!==F&&\",\"!==F&&\"{\"!==F&&\"TRY\"!==F&&\"ELSE\"!==F&&\"=\"!==F)for(;y();)d();return b()&&e.pop(),e.push([U,l]),g(1)}if(k.call(s,U)>=0)return e.push([U,l]),g(1);if(k.call(r,U)>=0){for(;v();)y()?d():w()?m():e.pop();t=e.pop()}if((k.call(c,U)>=0&&i.spaced||\"?\"===U&&l>0&&!p[l-1].spaced)&&(k.call(o,C)>=0||k.call(h,C)>=0&&!(null!=(L=p[l+1])?L.spaced:void 0)&&!(null!=(x=p[l+1])?x.newLine:void 0)))return\"?\"===U&&(U=i[0]=\"FUNC_EXIST\"),B(l+1),g(2);if(k.call(c,U)>=0&&this.indexOfTag(l+1,\"INDENT\",null,\":\")>-1&&!this.findTagsBackwards(l,[\"CLASS\",\"EXTENDS\",\"IF\",\"CATCH\",\"SWITCH\",\"LEADING_WHEN\",\"FOR\",\"WHILE\",\"UNTIL\"]))return B(l+1),e.push([\"INDENT\",l+2]),g(3);if(\":\"===U){for(I=function(){var e;switch(!1){case e=this.tag(l-1),0>k.call(r,e):return t[1];case\"@\"!==this.tag(l-2):return l-2;default:return l-1}}.call(this);\"HERECOMMENT\"===this.tag(I-2);)I-=2;return this.insideForDeclaration=\"FOR\"===C,P=0===I||(S=this.tag(I-1),k.call(u,S)>=0)||p[I-1].newLine,j()&&(D=j(),$=D[0],O=D[1],(\"{\"===$||\"INDENT\"===$&&\"{\"===this.tag(O-1))&&(P||\",\"===this.tag(I-1)||\"{\"===this.tag(I-1)))?g(1):(V(I,!!P),g(2))}if(w()&&k.call(u,U)>=0&&(j()[2].sameLine=!1),T=\"OUTDENT\"===F||N.newLine,k.call(a,U)>=0||k.call(n,U)>=0&&T)for(;v();)if(R=j(),$=R[0],O=R[1],A=R[2],_=A.sameLine,P=A.startsLine,y()&&\",\"!==F)d();else if(w()&&!this.insideForDeclaration&&_&&\"TERMINATOR\"!==U&&\":\"!==F)m();else{if(!w()||\"TERMINATOR\"!==U||\",\"===F||P&&this.looksObjectish(l+1))break;if(\"HERECOMMENT\"===C)return g(1);m()}if(!(\",\"!==U||this.looksObjectish(l+1)||!w()||this.insideForDeclaration||\"TERMINATOR\"===C&&this.looksObjectish(l+2)))for(E=\"OUTDENT\"===C?1:0;w();)m(l+E);return g(1)})},e.prototype.addLocationDataToGeneratedTokens=function(){return this.scanTokens(function(e,t,n){var i,r,s,o,a,c;return e[2]?1:e.generated||e.explicit?(\"{\"===e[0]&&(s=null!=(a=n[t+1])?a[2]:void 0)?(r=s.first_line,i=s.first_column):(o=null!=(c=n[t-1])?c[2]:void 0)?(r=o.last_line,i=o.last_column):r=i=0,e[2]={first_line:r,first_column:i,last_line:r,last_column:i},1):1})},e.prototype.normalizeLines=function(){var e,t,r,s,o;return o=r=s=null,t=function(e,t){var r,s,a,c;return\";\"!==e[1]&&(r=e[0],k.call(p,r)>=0)&&!(\"TERMINATOR\"===e[0]&&(s=this.tag(t+1),k.call(i,s)>=0))&&!(\"ELSE\"===e[0]&&\"THEN\"!==o)&&!!(\"CATCH\"!==(a=e[0])&&\"FINALLY\"!==a||\"->\"!==o&&\"=>\"!==o)||(c=e[0],k.call(n,c)>=0&&this.tokens[t-1].newLine)},e=function(e,t){return this.tokens.splice(\",\"===this.tag(t-1)?t-1:t,0,s)},this.scanTokens(function(n,a,c){var h,l,u,p,f,m;if(m=n[0],\"TERMINATOR\"===m){if(\"ELSE\"===this.tag(a+1)&&\"OUTDENT\"!==this.tag(a-1))return c.splice.apply(c,[a,1].concat(w.call(this.indentation()))),1;if(u=this.tag(a+1),k.call(i,u)>=0)return c.splice(a,1),0}if(\"CATCH\"===m)for(h=l=1;2>=l;h=++l)if(\"OUTDENT\"===(p=this.tag(a+h))||\"TERMINATOR\"===p||\"FINALLY\"===p)return c.splice.apply(c,[a+h,0].concat(w.call(this.indentation()))),2+h;return k.call(d,m)>=0&&\"INDENT\"!==this.tag(a+1)&&(\"ELSE\"!==m||\"IF\"!==this.tag(a+1))?(o=m,f=this.indentation(c[a]),r=f[0],s=f[1],\"THEN\"===o&&(r.fromThen=!0),c.splice(a+1,0,r),this.detectEnd(a+2,t,e),\"THEN\"===m&&c.splice(a,1),1):1})},e.prototype.tagPostfixConditionals=function(){var e,t,n;return n=null,t=function(e,t){var n,i;return i=e[0],n=this.tokens[t-1][0],\"TERMINATOR\"===i||\"INDENT\"===i&&0>k.call(d,n)},e=function(e){return\"INDENT\"!==e[0]||e.generated&&!e.fromThen?n[0]=\"POST_\"+n[0]:void 0},this.scanTokens(function(i,r){return\"IF\"!==i[0]?1:(n=i,this.detectEnd(r+1,t,e),1)})},e.prototype.indentation=function(e){var t,n;return t=[\"INDENT\",2],n=[\"OUTDENT\",2],e?(t.generated=n.generated=!0,t.origin=n.origin=e):t.explicit=n.explicit=!0,[t,n]},e.prototype.generate=f,e.prototype.tag=function(e){var t;return null!=(t=this.tokens[e])?t[0]:void 0},e}(),t=[[\"(\",\")\"],[\"[\",\"]\"],[\"{\",\"}\"],[\"INDENT\",\"OUTDENT\"],[\"CALL_START\",\"CALL_END\"],[\"PARAM_START\",\"PARAM_END\"],[\"INDEX_START\",\"INDEX_END\"],[\"STRING_START\",\"STRING_END\"],[\"REGEX_START\",\"REGEX_END\"]],e.INVERSES=l={},s=[],r=[],m=0,v=t.length;v>m;m++)y=t[m],g=y[0],b=y[1],s.push(l[b]=g),r.push(l[g]=b);i=[\"CATCH\",\"THEN\",\"ELSE\",\"FINALLY\"].concat(r),c=[\"IDENTIFIER\",\"SUPER\",\")\",\"CALL_END\",\"]\",\"INDEX_END\",\"@\",\"THIS\"],o=[\"IDENTIFIER\",\"NUMBER\",\"STRING\",\"STRING_START\",\"JS\",\"REGEX\",\"REGEX_START\",\"NEW\",\"PARAM_START\",\"CLASS\",\"IF\",\"TRY\",\"SWITCH\",\"THIS\",\"BOOL\",\"NULL\",\"UNDEFINED\",\"UNARY\",\"YIELD\",\"UNARY_MATH\",\"SUPER\",\"THROW\",\"@\",\"->\",\"=>\",\"[\",\"(\",\"{\",\"--\",\"++\"],h=[\"+\",\"-\"],a=[\"POST_IF\",\"FOR\",\"WHILE\",\"UNTIL\",\"WHEN\",\"BY\",\"LOOP\",\"TERMINATOR\"],d=[\"ELSE\",\"->\",\"=>\",\"TRY\",\"FINALLY\",\"THEN\"],p=[\"TERMINATOR\",\"CATCH\",\"FINALLY\",\"ELSE\",\"OUTDENT\",\"LEADING_WHEN\"],u=[\"TERMINATOR\",\"INDENT\",\"OUTDENT\"],n=[\".\",\"?.\",\"::\",\"?::\"]}.call(this),t.exports}(),require[\"./lexer\"]=function(){var e={},t={exports:e};return function(){var t,n,i,r,s,o,a,c,h,l,u,p,d,f,m,g,v,y,b,k,w,T,C,E,F,N,L,x,S,D,R,A,I,_,O,$,j,M,B,V,P,U,G,H,q,X,W,Y,K,z,J,Q,Z,et,tt,nt,it,rt,st,ot,at,ct,ht,lt,ut=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};ot=require(\"./rewriter\"),P=ot.Rewriter,w=ot.INVERSES,at=require(\"./helpers\"),nt=at.count,ht=at.starts,tt=at.compact,ct=at.repeat,it=at.invertLiterate,st=at.locationDataToString,lt=at.throwSyntaxError,e.Lexer=S=function(){function e(){}return e.prototype.tokenize=function(e,t){var n,i,r,s;for(null==t&&(t={}),this.literate=t.literate,this.indent=0,this.baseIndent=0,this.indebt=0,this.outdebt=0,this.indents=[],this.ends=[],this.tokens=[],this.chunkLine=t.line||0,this.chunkColumn=t.column||0,e=this.clean(e),r=0;this.chunk=e.slice(r);)if(n=this.identifierToken()||this.commentToken()||this.whitespaceToken()||this.lineToken()||this.stringToken()||this.numberToken()||this.regexToken()||this.jsToken()||this.literalToken(),s=this.getLineAndColumnFromChunk(n),this.chunkLine=s[0],this.chunkColumn=s[1],r+=n,t.untilBalanced&&0===this.ends.length)return{tokens:this.tokens,index:r};return this.closeIndentation(),(i=this.ends.pop())&&this.error(\"missing \"+i.tag,i.origin[2]),t.rewrite===!1?this.tokens:(new P).rewrite(this.tokens)},e.prototype.clean=function(e){return e.charCodeAt(0)===t&&(e=e.slice(1)),e=e.replace(/\\r/g,\"\").replace(z,\"\"),et.test(e)&&(e=\"\\n\"+e,this.chunkLine--),this.literate&&(e=it(e)),e},e.prototype.identifierToken=function(){var e,t,n,i,r,c,h,l,u,p,d,f,m,g,y;return(h=v.exec(this.chunk))?(c=h[0],i=h[1],e=h[2],r=i.length,l=void 0,\"own\"===i&&\"FOR\"===this.tag()?(this.token(\"OWN\",i),i.length):\"from\"===i&&\"YIELD\"===this.tag()?(this.token(\"FROM\",i),i.length):(p=this.tokens,u=p[p.length-1],n=e||null!=u&&(\".\"===(d=u[0])||\"?.\"===d||\"::\"===d||\"?::\"===d||!u.spaced&&\"@\"===u[0]),g=\"IDENTIFIER\",!n&&(ut.call(E,i)>=0||ut.call(a,i)>=0)&&(g=i.toUpperCase(),\"WHEN\"===g&&(f=this.tag(),ut.call(N,f)>=0)?g=\"LEADING_WHEN\":\"FOR\"===g?this.seenFor=!0:\"UNLESS\"===g?g=\"IF\":ut.call(J,g)>=0?g=\"UNARY\":ut.call(B,g)>=0&&(\"INSTANCEOF\"!==g&&this.seenFor?(g=\"FOR\"+g,this.seenFor=!1):(g=\"RELATION\",\"!\"===this.value()&&(l=this.tokens.pop(),i=\"!\"+i)))),ut.call(C,i)>=0&&(n?(g=\"IDENTIFIER\",i=new String(i),i.reserved=!0):ut.call(V,i)>=0&&this.error(\"reserved word '\"+i+\"'\",{length:i.length})),n||(ut.call(s,i)>=0&&(i=o[i]),g=function(){switch(i){case\"!\":return\"UNARY\";case\"==\":case\"!=\":return\"COMPARE\";case\"&&\":case\"||\":return\"LOGIC\";case\"true\":case\"false\":return\"BOOL\";case\"break\":case\"continue\":return\"STATEMENT\";default:return g}}()),y=this.token(g,i,0,r),y.variable=!n,l&&(m=[l[2].first_line,l[2].first_column],y[2].first_line=m[0],y[2].first_column=m[1]),e&&(t=c.lastIndexOf(\":\"),this.token(\":\",\":\",t,e.length)),c.length)):0},e.prototype.numberToken=function(){var e,t,n,i,r;return(n=I.exec(this.chunk))?(i=n[0],t=i.length,/^0[BOX]/.test(i)?this.error(\"radix prefix in '\"+i+\"' must be lowercase\",{offset:1}):/E/.test(i)&&!/^0x/.test(i)?this.error(\"exponential notation in '\"+i+\"' must be indicated with a lowercase 'e'\",{offset:i.indexOf(\"E\")}):/^0\\d*[89]/.test(i)?this.error(\"decimal literal '\"+i+\"' must not be prefixed with '0'\",{length:t}):/^0\\d+/.test(i)&&this.error(\"octal literal '\"+i+\"' must be prefixed with '0o'\",{length:t}),(r=/^0o([0-7]+)/.exec(i))&&(i=\"0x\"+parseInt(r[1],8).toString(16)),(e=/^0b([01]+)/.exec(i))&&(i=\"0x\"+parseInt(e[1],2).toString(16)),this.token(\"NUMBER\",i,0,t),t):0},e.prototype.stringToken=function(){var e,t,n,i,r,s,o,a,c,h,l,u,m,g,v,y;if(l=(Y.exec(this.chunk)||[])[0],!l)return 0;if(g=function(){switch(l){case\"'\":return W;case'\"':return q;case\"'''\":return f;case'\"\"\"':return p}}(),s=3===l.length,u=this.matchWithInterpolations(g,l),y=u.tokens,r=u.index,e=y.length-1,n=l[0],s){for(a=null,i=function(){var e,t,n;for(n=[],o=e=0,t=y.length;t>e;o=++e)v=y[o],\"NEOSTRING\"===v[0]&&n.push(v[1]);return n}().join(\"#{}\");h=d.exec(i);)t=h[1],(null===a||(m=t.length)>0&&a.length>m)&&(a=t);a&&(c=RegExp(\"^\"+a,\"gm\")),this.mergeInterpolationTokens(y,{delimiter:n},function(t){return function(n,i){return n=t.formatString(n),0===i&&(n=n.replace(F,\"\")),i===e&&(n=n.replace(K,\"\")),c&&(n=n.replace(c,\"\")),n}}(this))}else this.mergeInterpolationTokens(y,{delimiter:n},function(t){return function(n,i){return n=t.formatString(n),n=n.replace(G,function(t,r){return 0===i&&0===r||i===e&&r+t.length===n.length?\"\":\" \"})}}(this));return r},e.prototype.commentToken=function(){var e,t,n;return(n=this.chunk.match(c))?(e=n[0],t=n[1],t&&((n=u.exec(e))&&this.error(\"block comments cannot contain \"+n[0],{offset:n.index,length:n[0].length}),t.indexOf(\"\\n\")>=0&&(t=t.replace(RegExp(\"\\\\n\"+ct(\" \",this.indent),\"g\"),\"\\n\")),this.token(\"HERECOMMENT\",t,0,e.length)),e.length):0},e.prototype.jsToken=function(){var e,t;return\"`\"===this.chunk.charAt(0)&&(e=T.exec(this.chunk))?(this.token(\"JS\",(t=e[0]).slice(1,-1),0,t.length),t.length):0},e.prototype.regexToken=function(){var e,t,n,r,s,o,a,c,h,l,u,p,d;switch(!1){case!(o=M.exec(this.chunk)):this.error(\"regular expressions cannot begin with \"+o[2],{offset:o.index+o[1].length});break;case!(o=this.matchWithInterpolations(m,\"///\")):d=o.tokens,s=o.index;break;case!(o=$.exec(this.chunk)):if(p=o[0],e=o[1],t=o[2],this.validateEscapes(e,{isRegex:!0,offsetInChunk:1}),s=p.length,h=this.tokens,c=h[h.length-1],c)if(c.spaced&&(l=c[0],ut.call(i,l)>=0)){if(!t||O.test(p))return 0}else if(u=c[0],ut.call(A,u)>=0)return 0;t||this.error(\"missing / (unclosed regex)\");break;default:return 0}switch(r=j.exec(this.chunk.slice(s))[0],n=s+r.length,a=this.makeToken(\"REGEX\",null,0,n),!1){case!!Z.test(r):this.error(\"invalid regular expression flags \"+r,{offset:s,length:r.length});break;case!(p||1===d.length):null==e&&(e=this.formatHeregex(d[0][1])),this.token(\"REGEX\",\"\"+this.makeDelimitedLiteral(e,{delimiter:\"/\"})+r,0,n,a);break;default:this.token(\"REGEX_START\",\"(\",0,0,a),this.token(\"IDENTIFIER\",\"RegExp\",0,0),this.token(\"CALL_START\",\"(\",0,0),this.mergeInterpolationTokens(d,{delimiter:'\"',\"double\":!0},this.formatHeregex),r&&(this.token(\",\",\",\",s,0),this.token(\"STRING\",'\"'+r+'\"',s,r.length)),this.token(\")\",\")\",n,0),this.token(\"REGEX_END\",\")\",n,0)}return n},e.prototype.lineToken=function(){var e,t,n,i,r;if(!(n=R.exec(this.chunk)))return 0;if(t=n[0],this.seenFor=!1,r=t.length-1-t.lastIndexOf(\"\\n\"),i=this.unfinished(),r-this.indebt===this.indent)return i?this.suppressNewlines():this.newlineToken(0),t.length;if(r>this.indent){if(i)return this.indebt=r-this.indent,this.suppressNewlines(),t.length;if(!this.tokens.length)return this.baseIndent=this.indent=r,t.length;e=r-this.indent+this.outdebt,this.token(\"INDENT\",e,t.length-r,r),this.indents.push(e),this.ends.push({tag:\"OUTDENT\"}),this.outdebt=this.indebt=0,this.indent=r}else this.baseIndent>r?this.error(\"missing indentation\",{offset:t.length}):(this.indebt=0,this.outdentToken(this.indent-r,i,t.length));return t.length},e.prototype.outdentToken=function(e,t,n){var i,r,s,o;for(i=this.indent-e;e>0;)s=this.indents[this.indents.length-1],s?s===this.outdebt?(e-=this.outdebt,this.outdebt=0):this.outdebt>s?(this.outdebt-=s,e-=s):(r=this.indents.pop()+this.outdebt,n&&(o=this.chunk[n],ut.call(y,o)>=0)&&(i-=r-e,e=r),this.outdebt=0,this.pair(\"OUTDENT\"),this.token(\"OUTDENT\",e,0,n),e-=r):e=0;for(r&&(this.outdebt-=e);\";\"===this.value();)this.tokens.pop();return\"TERMINATOR\"===this.tag()||t||this.token(\"TERMINATOR\",\"\\n\",n,0),this.indent=i,this},e.prototype.whitespaceToken=function(){var e,t,n,i;return(e=et.exec(this.chunk))||(t=\"\\n\"===this.chunk.charAt(0))?(i=this.tokens,n=i[i.length-1],n&&(n[e?\"spaced\":\"newLine\"]=!0),e?e[0].length:0):0},e.prototype.newlineToken=function(e){for(;\";\"===this.value();)this.tokens.pop();return\"TERMINATOR\"!==this.tag()&&this.token(\"TERMINATOR\",\"\\n\",e,0),this},e.prototype.suppressNewlines=function(){return\"\\\\\"===this.value()&&this.tokens.pop(),this},e.prototype.literalToken=function(){var e,t,n,s,o,a,c,u,p,d;if((e=_.exec(this.chunk))?(d=e[0],r.test(d)&&this.tagParameters()):d=this.chunk.charAt(0),u=d,n=this.tokens,t=n[n.length-1],\"=\"===d&&t&&(!t[1].reserved&&(s=t[1],ut.call(C,s)>=0)&&this.error(\"reserved word '\"+t[1]+\"' can't be assigned\",t[2]),\"||\"===(o=t[1])||\"&&\"===o))return t[0]=\"COMPOUND_ASSIGN\",t[1]+=\"=\",d.length;if(\";\"===d)this.seenFor=!1,u=\"TERMINATOR\";else if(ut.call(D,d)>=0)u=\"MATH\";else if(ut.call(h,d)>=0)u=\"COMPARE\";else if(ut.call(l,d)>=0)u=\"COMPOUND_ASSIGN\";else if(ut.call(J,d)>=0)u=\"UNARY\";else if(ut.call(Q,d)>=0)u=\"UNARY_MATH\";else if(ut.call(U,d)>=0)u=\"SHIFT\";else if(ut.call(x,d)>=0||\"?\"===d&&(null!=t?t.spaced:void 0))u=\"LOGIC\";else if(t&&!t.spaced)if(\"(\"===d&&(a=t[0],ut.call(i,a)>=0))\"?\"===t[0]&&(t[0]=\"FUNC_EXIST\"),u=\"CALL_START\";else if(\"[\"===d&&(c=t[0],ut.call(b,c)>=0))switch(u=\"INDEX_START\",t[0]){case\"?\":t[0]=\"INDEX_SOAK\"}switch(p=this.makeToken(u,d),d){case\"(\":case\"{\":case\"[\":this.ends.push({tag:w[d],origin:p});break;case\")\":case\"}\":case\"]\":this.pair(d)}return this.tokens.push(p),d.length},e.prototype.tagParameters=function(){var e,t,n,i;if(\")\"!==this.tag())return this;for(t=[],i=this.tokens,e=i.length,i[--e][0]=\"PARAM_END\";n=i[--e];)switch(n[0]){case\")\":t.push(n);break;case\"(\":case\"CALL_START\":if(!t.length)return\"(\"===n[0]?(n[0]=\"PARAM_START\",this):this;t.pop()}return this},e.prototype.closeIndentation=function(){return this.outdentToken(this.indent)},e.prototype.matchWithInterpolations=function(t,n){var i,r,s,o,a,c,h,l,u,p,d,f,m,g,v;if(v=[],l=n.length,this.chunk.slice(0,l)!==n)return null;for(m=this.chunk.slice(l);;){if(g=t.exec(m)[0],this.validateEscapes(g,{isRegex:\"/\"===n.charAt(0),offsetInChunk:l}),v.push(this.makeToken(\"NEOSTRING\",g,l)),m=m.slice(g.length),l+=g.length,\"#{\"!==m.slice(0,2))break;p=this.getLineAndColumnFromChunk(l+1),c=p[0],r=p[1],d=(new e).tokenize(m.slice(1),{line:c,column:r,untilBalanced:!0}),h=d.tokens,o=d.index,o+=1,u=h[0],i=h[h.length-1],u[0]=u[1]=\"(\",i[0]=i[1]=\")\",i.origin=[\"\",\"end of interpolation\",i[2]],\"TERMINATOR\"===(null!=(f=h[1])?f[0]:void 0)&&h.splice(1,1),v.push([\"TOKENS\",h]),m=m.slice(o),l+=o}return m.slice(0,n.length)!==n&&this.error(\"missing \"+n,{length:n.length}),s=v[0],a=v[v.length-1],s[2].first_column-=n.length,a[2].last_column+=n.length,0===a[1].length&&(a[2].last_column-=1),{tokens:v,index:l+n.length}},e.prototype.mergeInterpolationTokens=function(e,t,n){var i,r,s,o,a,c,h,l,u,p,d,f,m,g,v,y;for(e.length>1&&(u=this.token(\"STRING_START\",\"(\",0,0)),s=this.tokens.length,o=a=0,h=e.length;h>a;o=++a){switch(g=e[o],m=g[0],y=g[1],m){case\"TOKENS\":if(2===y.length)continue;l=y[0],v=y;break;case\"NEOSTRING\":if(i=n(g[1],o),0===i.length){if(0!==o)continue;r=this.tokens.length}2===o&&null!=r&&this.tokens.splice(r,2),g[0]=\"STRING\",g[1]=this.makeDelimitedLiteral(i,t),l=g,v=[g]}this.tokens.length>s&&(p=this.token(\"+\",\"+\"),p[2]={first_line:l[2].first_line,first_column:l[2].first_column,last_line:l[2].first_line,last_column:l[2].first_column}),(d=this.tokens).push.apply(d,v)}return u?(c=e[e.length-1],u.origin=[\"STRING\",null,{first_line:u[2].first_line,first_column:u[2].first_column,last_line:c[2].last_line,last_column:c[2].last_column}],f=this.token(\"STRING_END\",\")\"),f[2]={first_line:c[2].last_line,first_column:c[2].last_column,last_line:c[2].last_line,last_column:c[2].last_column}):void 0},e.prototype.pair=function(e){var t,n,i,r,s;return i=this.ends,n=i[i.length-1],e!==(s=null!=n?n.tag:void 0)?(\"OUTDENT\"!==s&&this.error(\"unmatched \"+e),r=this.indents,t=r[r.length-1],this.outdentToken(t,!0),this.pair(e)):this.ends.pop()},e.prototype.getLineAndColumnFromChunk=function(e){var t,n,i,r,s;return 0===e?[this.chunkLine,this.chunkColumn]:(s=e>=this.chunk.length?this.chunk:this.chunk.slice(0,+(e-1)+1||9e9),i=nt(s,\"\\n\"),t=this.chunkColumn,i>0?(r=s.split(\"\\n\"),n=r[r.length-1],t=n.length):t+=s.length,[this.chunkLine+i,t])},e.prototype.makeToken=function(e,t,n,i){var r,s,o,a,c;return null==n&&(n=0),null==i&&(i=t.length),s={},o=this.getLineAndColumnFromChunk(n),s.first_line=o[0],s.first_column=o[1],r=Math.max(0,i-1),a=this.getLineAndColumnFromChunk(n+r),s.last_line=a[0],s.last_column=a[1],c=[e,t,s]},e.prototype.token=function(e,t,n,i,r){var s;return s=this.makeToken(e,t,n,i),r&&(s.origin=r),this.tokens.push(s),s},e.prototype.tag=function(){var e,t;return e=this.tokens,t=e[e.length-1],null!=t?t[0]:void 0},e.prototype.value=function(){var e,t;return e=this.tokens,t=e[e.length-1],null!=t?t[1]:void 0},e.prototype.unfinished=function(){var e;return L.test(this.chunk)||\"\\\\\"===(e=this.tag())||\".\"===e||\"?.\"===e||\"?::\"===e||\"UNARY\"===e||\"MATH\"===e||\"UNARY_MATH\"===e||\"+\"===e||\"-\"===e||\"YIELD\"===e||\"**\"===e||\"SHIFT\"===e||\"RELATION\"===e||\"COMPARE\"===e||\"LOGIC\"===e||\"THROW\"===e||\"EXTENDS\"===e},e.prototype.formatString=function(e){return e.replace(X,\"$1\")},e.prototype.formatHeregex=function(e){return e.replace(g,\"$1$2\")},e.prototype.validateEscapes=function(e,t){var n,i,r,s,o,a,c,h;return null==t&&(t={}),s=k.exec(e),!s||(s[0],n=s[1],a=s[2],i=s[3],h=s[4],t.isRegex&&a&&\"0\"!==a.charAt(0))?void 0:(o=a?\"octal escape sequences are not allowed\":\"invalid escape sequence\",r=\"\\\\\"+(a||i||h),this.error(o+\" \"+r,{offset:(null!=(c=t.offsetInChunk)?c:0)+s.index+n.length,length:r.length}))},e.prototype.makeDelimitedLiteral=function(e,t){var n;return null==t&&(t={}),\"\"===e&&\"/\"===t.delimiter&&(e=\"(?:)\"),n=RegExp(\"(\\\\\\\\\\\\\\\\)|(\\\\\\\\0(?=[1-7]))|\\\\\\\\?(\"+t.delimiter+\")|\\\\\\\\?(?:(\\\\n)|(\\\\r)|(\\\\u2028)|(\\\\u2029))|(\\\\\\\\.)\",\"g\"),e=e.replace(n,function(e,n,i,r,s,o,a,c,h){switch(!1){case!n:return t.double?n+n:n;case!i:return\"\\\\x00\";case!r:return\"\\\\\"+r;case!s:return\"\\\\n\";case!o:return\"\\\\r\";case!a:return\"\\\\u2028\";case!c:return\"\\\\u2029\";case!h:return t.double?\"\\\\\"+h:h}}),\"\"+t.delimiter+e+t.delimiter},e.prototype.error=function(e,t){var n,i,r,s,o,a;return null==t&&(t={}),r=\"first_line\"in t?t:(o=this.getLineAndColumnFromChunk(null!=(s=t.offset)?s:0),i=o[0],n=o[1],o,{first_line:i,first_column:n,last_column:n+(null!=(a=t.length)?a:1)-1}),lt(e,r)},e}(),E=[\"true\",\"false\",\"null\",\"this\",\"new\",\"delete\",\"typeof\",\"in\",\"instanceof\",\"return\",\"throw\",\"break\",\"continue\",\"debugger\",\"yield\",\"if\",\"else\",\"switch\",\"for\",\"while\",\"do\",\"try\",\"catch\",\"finally\",\"class\",\"extends\",\"super\"],a=[\"undefined\",\"then\",\"unless\",\"until\",\"loop\",\"of\",\"by\",\"when\"],o={and:\"&&\",or:\"||\",is:\"==\",isnt:\"!=\",not:\"!\",yes:\"true\",no:\"false\",on:\"true\",off:\"false\"},s=function(){var e;e=[];for(rt in o)e.push(rt);return e}(),a=a.concat(s),V=[\"case\",\"default\",\"function\",\"var\",\"void\",\"with\",\"const\",\"let\",\"enum\",\"export\",\"import\",\"native\",\"implements\",\"interface\",\"package\",\"private\",\"protected\",\"public\",\"static\"],H=[\"arguments\",\"eval\",\"yield*\"],C=E.concat(V).concat(H),e.RESERVED=V.concat(E).concat(a).concat(H),e.STRICT_PROSCRIBED=H,t=65279,v=/^(?!\\d)((?:(?!\\s)[$\\w\\x7f-\\uffff])+)([^\\n\\S]*:(?!:))?/,I=/^0b[01]+|^0o[0-7]+|^0x[\\da-f]+|^\\d*\\.?\\d+(?:e[+-]?\\d+)?/i,_=/^(?:[-=]>|[-+*\\/%<>&|^!?=]=|>>>=?|([-+:])\\1|([&|<>*\\/%])\\2=?|\\?(\\.|::)|\\.{2,3})/,et=/^[^\\n\\S]+/,c=/^###([^#][\\s\\S]*?)(?:###[^\\n\\S]*|###$)|^(?:\\s*#(?!##[^#]).*)+/,r=/^[-=]>/,R=/^(?:\\n[^\\n\\S]*)+/,T=/^`[^\\\\`]*(?:\\\\.[^\\\\`]*)*`/,Y=/^(?:'''|\"\"\"|'|\")/,W=/^(?:[^\\\\']|\\\\[\\s\\S])*/,q=/^(?:[^\\\\\"#]|\\\\[\\s\\S]|\\#(?!\\{))*/,f=/^(?:[^\\\\']|\\\\[\\s\\S]|'(?!''))*/,p=/^(?:[^\\\\\"#]|\\\\[\\s\\S]|\"(?!\"\")|\\#(?!\\{))*/,X=/((?:\\\\\\\\)+)|\\\\[^\\S\\n]*\\n\\s*/g,G=/\\s*\\n\\s*/g,d=/\\n+([^\\n\\S]*)(?=\\S)/g,$=/^\\/(?!\\/)((?:[^[\\/\\n\\\\]|\\\\[^\\n]|\\[(?:\\\\[^\\n]|[^\\]\\n\\\\])*])*)(\\/)?/,j=/^\\w*/,Z=/^(?!.*(.).*\\1)[imgy]*$/,m=/^(?:[^\\\\\\/#]|\\\\[\\s\\S]|\\/(?!\\/\\/)|\\#(?!\\{))*/,g=/((?:\\\\\\\\)+)|\\\\(\\s)|\\s+(?:#.*)?/g,M=/^(\\/|\\/{3}\\s*)(\\*)/,O=/^\\/=?\\s/,u=/\\*\\//,L=/^\\s*(?:,|\\??\\.(?![.\\d])|::)/,k=/((?:^|[^\\\\])(?:\\\\\\\\)*)\\\\(?:(0[0-7]|[1-7])|(x(?![\\da-fA-F]{2}).{0,2})|(u(?![\\da-fA-F]{4}).{0,4}))/,F=/^[^\\n\\S]*\\n/,K=/\\n[^\\n\\S]*$/,z=/\\s+$/,l=[\"-=\",\"+=\",\"/=\",\"*=\",\"%=\",\"||=\",\"&&=\",\"?=\",\"<<=\",\">>=\",\">>>=\",\"&=\",\"^=\",\"|=\",\"**=\",\"//=\",\"%%=\"],J=[\"NEW\",\"TYPEOF\",\"DELETE\",\"DO\"],Q=[\"!\",\"~\"],x=[\"&&\",\"||\",\"&\",\"|\",\"^\"],U=[\"<<\",\">>\",\">>>\"],h=[\"==\",\"!=\",\"<\",\">\",\"<=\",\">=\"],D=[\"*\",\"/\",\"%\",\"//\",\"%%\"],B=[\"IN\",\"OF\",\"INSTANCEOF\"],n=[\"TRUE\",\"FALSE\"],i=[\"IDENTIFIER\",\")\",\"]\",\"?\",\"@\",\"THIS\",\"SUPER\"],b=i.concat([\"NUMBER\",\"STRING\",\"STRING_END\",\"REGEX\",\"REGEX_END\",\"BOOL\",\"NULL\",\"UNDEFINED\",\"}\",\"::\"]),A=b.concat([\"++\",\"--\"]),N=[\"INDENT\",\"OUTDENT\",\"TERMINATOR\"],y=[\")\",\"}\",\"]\"]}.call(this),t.exports}(),require[\"./parser\"]=function(){var e={},t={exports:e},n=function(){function e(){this.yy={}}var t=function(e,t,n,i){for(n=n||{},i=e.length;i--;n[e[i]]=t);return n},n=[1,20],i=[1,75],r=[1,71],s=[1,76],o=[1,77],a=[1,73],c=[1,74],h=[1,50],l=[1,52],u=[1,53],p=[1,54],d=[1,55],f=[1,45],m=[1,46],g=[1,27],v=[1,60],y=[1,61],b=[1,70],k=[1,43],w=[1,26],T=[1,58],C=[1,59],E=[1,57],F=[1,38],N=[1,44],L=[1,56],x=[1,65],S=[1,66],D=[1,67],R=[1,68],A=[1,42],I=[1,64],_=[1,29],O=[1,30],$=[1,31],j=[1,32],M=[1,33],B=[1,34],V=[1,35],P=[1,78],U=[1,6,26,34,108],G=[1,88],H=[1,81],q=[1,80],X=[1,79],W=[1,82],Y=[1,83],K=[1,84],z=[1,85],J=[1,86],Q=[1,87],Z=[1,91],et=[1,6,25,26,34,55,60,63,79,84,92,97,99,108,110,111,112,116,117,132,135,136,141,142,143,144,145,146,147],tt=[1,97],nt=[1,98],it=[1,99],rt=[1,100],st=[1,102],ot=[1,103],at=[1,96],ct=[2,112],ht=[1,6,25,26,34,55,60,63,72,73,74,75,77,79,80,84,90,91,92,97,99,108,110,111,112,116,117,132,135,136,141,142,143,144,145,146,147],lt=[2,79],ut=[1,108],pt=[2,58],dt=[1,112],ft=[1,117],mt=[1,118],gt=[1,120],vt=[1,6,25,26,34,46,55,60,63,72,73,74,75,77,79,80,84,90,91,92,97,99,108,110,111,112,116,117,132,135,136,141,142,143,144,145,146,147],yt=[2,76],bt=[1,6,26,34,55,60,63,79,84,92,97,99,108,110,111,112,116,117,132,135,136,141,142,143,144,145,146,147],kt=[1,155],wt=[1,157],Tt=[1,152],Ct=[1,6,25,26,34,46,55,60,63,72,73,74,75,77,79,80,84,86,90,91,92,97,99,108,110,111,112,116,117,132,135,136,139,140,141,142,143,144,145,146,147,148],Et=[2,95],Ft=[1,6,25,26,34,49,55,60,63,72,73,74,75,77,79,80,84,90,91,92,97,99,108,110,111,112,116,117,132,135,136,141,142,143,144,145,146,147],Nt=[1,6,25,26,34,46,49,55,60,63,72,73,74,75,77,79,80,84,86,90,91,92,97,99,108,110,111,112,116,117,123,124,132,135,136,139,140,141,142,143,144,145,146,147,148],Lt=[1,206],xt=[1,205],St=[1,6,25,26,34,38,55,60,63,72,73,74,75,77,79,80,84,90,91,92,97,99,108,110,111,112,116,117,132,135,136,141,142,143,144,145,146,147],Dt=[2,56],Rt=[1,216],At=[6,25,26,55,60],It=[6,25,26,46,55,60,63],_t=[1,6,25,26,34,55,60,63,79,84,92,97,99,108,110,111,112,116,117,132,135,136,142,144,145,146,147],Ot=[1,6,25,26,34,55,60,63,79,84,92,97,99,108,110,111,112,116,117,132],$t=[72,73,74,75,77,80,90,91],jt=[1,235],Mt=[2,133],Bt=[1,6,25,26,34,46,55,60,63,72,73,74,75,77,79,80,84,90,91,92,97,99,108,110,111,112,116,117,123,124,132,135,136,141,142,143,144,145,146,147],Vt=[1,244],Pt=[6,25,26,60,92,97],Ut=[1,6,25,26,34,55,60,63,79,84,92,97,99,108,117,132],Gt=[1,6,25,26,34,55,60,63,79,84,92,97,99,108,111,117,132],Ht=[123,124],qt=[60,123,124],Xt=[1,255],Wt=[6,25,26,60,84],Yt=[6,25,26,49,60,84],Kt=[1,6,25,26,34,55,60,63,79,84,92,97,99,108,110,111,112,116,117,132,135,136,144,145,146,147],zt=[11,28,30,32,33,36,37,40,41,42,43,44,51,52,53,57,58,79,82,85,89,94,95,96,102,106,107,110,112,114,116,125,131,133,134,135,136,137,139,140],Jt=[2,122],Qt=[6,25,26],Zt=[2,57],en=[1,268],tn=[1,269],nn=[1,6,25,26,34,55,60,63,79,84,92,97,99,104,105,108,110,111,112,116,117,127,129,132,135,136,141,142,143,144,145,146,147],rn=[26,127,129],sn=[1,6,26,34,55,60,63,79,84,92,97,99,108,111,117,132],on=[2,71],an=[1,291],cn=[1,292],hn=[1,6,25,26,34,55,60,63,79,84,92,97,99,108,110,111,112,116,117,127,132,135,136,141,142,143,144,145,146,147],ln=[1,6,25,26,34,55,60,63,79,84,92,97,99,108,110,112,116,117,132],un=[1,303],pn=[1,304],dn=[6,25,26,60],fn=[1,6,25,26,34,55,60,63,79,84,92,97,99,104,108,110,111,112,116,117,132,135,136,141,142,143,144,145,146,147],mn=[25,60],gn={trace:function(){},yy:{},symbols_:{error:2,Root:3,Body:4,Line:5,TERMINATOR:6,Expression:7,Statement:8,Return:9,Comment:10,STATEMENT:11,Value:12,Invocation:13,Code:14,Operation:15,Assign:16,If:17,Try:18,While:19,For:20,Switch:21,Class:22,Throw:23,Block:24,INDENT:25,OUTDENT:26,Identifier:27,IDENTIFIER:28,AlphaNumeric:29,NUMBER:30,String:31,STRING:32,STRING_START:33,STRING_END:34,Regex:35,REGEX:36,REGEX_START:37,REGEX_END:38,Literal:39,JS:40,DEBUGGER:41,UNDEFINED:42,NULL:43,BOOL:44,Assignable:45,\"=\":46,AssignObj:47,ObjAssignable:48,\":\":49,ThisProperty:50,RETURN:51,HERECOMMENT:52,PARAM_START:53,ParamList:54,PARAM_END:55,FuncGlyph:56,\"->\":57,\"=>\":58,OptComma:59,\",\":60,Param:61,ParamVar:62,\"...\":63,Array:64,Object:65,Splat:66,SimpleAssignable:67,Accessor:68,Parenthetical:69,Range:70,This:71,\".\":72,\"?.\":73,\"::\":74,\"?::\":75,Index:76,INDEX_START:77,IndexValue:78,INDEX_END:79,INDEX_SOAK:80,Slice:81,\"{\":82,AssignList:83,\"}\":84,CLASS:85,EXTENDS:86,OptFuncExist:87,Arguments:88,SUPER:89,FUNC_EXIST:90,CALL_START:91,CALL_END:92,ArgList:93,THIS:94,\"@\":95,\"[\":96,\"]\":97,RangeDots:98,\"..\":99,Arg:100,SimpleArgs:101,TRY:102,Catch:103,FINALLY:104,CATCH:105,THROW:106,\"(\":107,\")\":108,WhileSource:109,WHILE:110,WHEN:111,UNTIL:112,Loop:113,LOOP:114,ForBody:115,FOR:116,BY:117,ForStart:118,ForSource:119,ForVariables:120,OWN:121,ForValue:122,FORIN:123,FOROF:124,SWITCH:125,Whens:126,ELSE:127,When:128,LEADING_WHEN:129,IfBlock:130,IF:131,POST_IF:132,UNARY:133,UNARY_MATH:134,\"-\":135,\"+\":136,YIELD:137,FROM:138,\"--\":139,\"++\":140,\"?\":141,MATH:142,\"**\":143,SHIFT:144,COMPARE:145,LOGIC:146,RELATION:147,COMPOUND_ASSIGN:148,$accept:0,$end:1},terminals_:{2:\"error\",6:\"TERMINATOR\",11:\"STATEMENT\",25:\"INDENT\",26:\"OUTDENT\",28:\"IDENTIFIER\",30:\"NUMBER\",32:\"STRING\",33:\"STRING_START\",34:\"STRING_END\",36:\"REGEX\",37:\"REGEX_START\",38:\"REGEX_END\",40:\"JS\",41:\"DEBUGGER\",42:\"UNDEFINED\",43:\"NULL\",44:\"BOOL\",46:\"=\",49:\":\",51:\"RETURN\",52:\"HERECOMMENT\",53:\"PARAM_START\",55:\"PARAM_END\",57:\"->\",58:\"=>\",60:\",\",63:\"...\",72:\".\",73:\"?.\",74:\"::\",75:\"?::\",77:\"INDEX_START\",79:\"INDEX_END\",80:\"INDEX_SOAK\",82:\"{\",84:\"}\",85:\"CLASS\",86:\"EXTENDS\",89:\"SUPER\",90:\"FUNC_EXIST\",91:\"CALL_START\",92:\"CALL_END\",94:\"THIS\",95:\"@\",96:\"[\",97:\"]\",99:\"..\",102:\"TRY\",104:\"FINALLY\",105:\"CATCH\",106:\"THROW\",107:\"(\",108:\")\",110:\"WHILE\",111:\"WHEN\",112:\"UNTIL\",114:\"LOOP\",116:\"FOR\",117:\"BY\",121:\"OWN\",123:\"FORIN\",124:\"FOROF\",125:\"SWITCH\",127:\"ELSE\",129:\"LEADING_WHEN\",131:\"IF\",132:\"POST_IF\",133:\"UNARY\",134:\"UNARY_MATH\",135:\"-\",136:\"+\",137:\"YIELD\",138:\"FROM\",139:\"--\",140:\"++\",141:\"?\",142:\"MATH\",143:\"**\",144:\"SHIFT\",145:\"COMPARE\",146:\"LOGIC\",147:\"RELATION\",148:\"COMPOUND_ASSIGN\"},productions_:[0,[3,0],[3,1],[4,1],[4,3],[4,2],[5,1],[5,1],[8,1],[8,1],[8,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[24,2],[24,3],[27,1],[29,1],[29,1],[31,1],[31,3],[35,1],[35,3],[39,1],[39,1],[39,1],[39,1],[39,1],[39,1],[39,1],[16,3],[16,4],[16,5],[47,1],[47,3],[47,5],[47,1],[48,1],[48,1],[48,1],[9,2],[9,1],[10,1],[14,5],[14,2],[56,1],[56,1],[59,0],[59,1],[54,0],[54,1],[54,3],[54,4],[54,6],[61,1],[61,2],[61,3],[61,1],[62,1],[62,1],[62,1],[62,1],[66,2],[67,1],[67,2],[67,2],[67,1],[45,1],[45,1],[45,1],[12,1],[12,1],[12,1],[12,1],[12,1],[68,2],[68,2],[68,2],[68,2],[68,1],[68,1],[76,3],[76,2],[78,1],[78,1],[65,4],[83,0],[83,1],[83,3],[83,4],[83,6],[22,1],[22,2],[22,3],[22,4],[22,2],[22,3],[22,4],[22,5],[13,3],[13,3],[13,1],[13,2],[87,0],[87,1],[88,2],[88,4],[71,1],[71,1],[50,2],[64,2],[64,4],[98,1],[98,1],[70,5],[81,3],[81,2],[81,2],[81,1],[93,1],[93,3],[93,4],[93,4],[93,6],[100,1],[100,1],[100,1],[101,1],[101,3],[18,2],[18,3],[18,4],[18,5],[103,3],[103,3],[103,2],[23,2],[69,3],[69,5],[109,2],[109,4],[109,2],[109,4],[19,2],[19,2],[19,2],[19,1],[113,2],[113,2],[20,2],[20,2],[20,2],[115,2],[115,4],[115,2],[118,2],[118,3],[122,1],[122,1],[122,1],[122,1],[120,1],[120,3],[119,2],[119,2],[119,4],[119,4],[119,4],[119,6],[119,6],[21,5],[21,7],[21,4],[21,6],[126,1],[126,2],[128,3],[128,4],[130,3],[130,5],[17,1],[17,3],[17,3],[17,3],[15,2],[15,2],[15,2],[15,2],[15,2],[15,2],[15,3],[15,2],[15,2],[15,2],[15,2],[15,2],[15,3],[15,3],[15,3],[15,3],[15,3],[15,3],[15,3],[15,3],[15,3],[15,5],[15,4],[15,3]],performAction:function(e,t,n,i,r,s,o){var a=s.length-1;\nswitch(r){case 1:return this.$=i.addLocationDataFn(o[a],o[a])(new i.Block);case 2:return this.$=s[a];case 3:this.$=i.addLocationDataFn(o[a],o[a])(i.Block.wrap([s[a]]));break;case 4:this.$=i.addLocationDataFn(o[a-2],o[a])(s[a-2].push(s[a]));break;case 5:this.$=s[a-1];break;case 6:case 7:case 8:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 27:case 32:case 34:case 45:case 46:case 47:case 48:case 56:case 57:case 67:case 68:case 69:case 70:case 75:case 76:case 79:case 83:case 89:case 133:case 134:case 136:case 166:case 167:case 183:case 189:this.$=s[a];break;case 10:case 25:case 26:case 28:case 30:case 33:case 35:this.$=i.addLocationDataFn(o[a],o[a])(new i.Literal(s[a]));break;case 23:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Block);break;case 24:case 31:case 90:this.$=i.addLocationDataFn(o[a-2],o[a])(s[a-1]);break;case 29:case 146:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Parens(s[a-1]));break;case 36:this.$=i.addLocationDataFn(o[a],o[a])(new i.Undefined);break;case 37:this.$=i.addLocationDataFn(o[a],o[a])(new i.Null);break;case 38:this.$=i.addLocationDataFn(o[a],o[a])(new i.Bool(s[a]));break;case 39:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Assign(s[a-2],s[a]));break;case 40:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.Assign(s[a-3],s[a]));break;case 41:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Assign(s[a-4],s[a-1]));break;case 42:case 72:case 77:case 78:case 80:case 81:case 82:case 168:case 169:this.$=i.addLocationDataFn(o[a],o[a])(new i.Value(s[a]));break;case 43:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Assign(i.addLocationDataFn(o[a-2])(new i.Value(s[a-2])),s[a],\"object\"));break;case 44:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Assign(i.addLocationDataFn(o[a-4])(new i.Value(s[a-4])),s[a-1],\"object\"));break;case 49:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Return(s[a]));break;case 50:this.$=i.addLocationDataFn(o[a],o[a])(new i.Return);break;case 51:this.$=i.addLocationDataFn(o[a],o[a])(new i.Comment(s[a]));break;case 52:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Code(s[a-3],s[a],s[a-1]));break;case 53:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Code([],s[a],s[a-1]));break;case 54:this.$=i.addLocationDataFn(o[a],o[a])(\"func\");break;case 55:this.$=i.addLocationDataFn(o[a],o[a])(\"boundfunc\");break;case 58:case 95:this.$=i.addLocationDataFn(o[a],o[a])([]);break;case 59:case 96:case 128:case 170:this.$=i.addLocationDataFn(o[a],o[a])([s[a]]);break;case 60:case 97:case 129:this.$=i.addLocationDataFn(o[a-2],o[a])(s[a-2].concat(s[a]));break;case 61:case 98:case 130:this.$=i.addLocationDataFn(o[a-3],o[a])(s[a-3].concat(s[a]));break;case 62:case 99:case 132:this.$=i.addLocationDataFn(o[a-5],o[a])(s[a-5].concat(s[a-2]));break;case 63:this.$=i.addLocationDataFn(o[a],o[a])(new i.Param(s[a]));break;case 64:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Param(s[a-1],null,!0));break;case 65:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Param(s[a-2],s[a]));break;case 66:case 135:this.$=i.addLocationDataFn(o[a],o[a])(new i.Expansion);break;case 71:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Splat(s[a-1]));break;case 73:this.$=i.addLocationDataFn(o[a-1],o[a])(s[a-1].add(s[a]));break;case 74:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Value(s[a-1],[].concat(s[a])));break;case 84:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Access(s[a]));break;case 85:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Access(s[a],\"soak\"));break;case 86:this.$=i.addLocationDataFn(o[a-1],o[a])([i.addLocationDataFn(o[a-1])(new i.Access(new i.Literal(\"prototype\"))),i.addLocationDataFn(o[a])(new i.Access(s[a]))]);break;case 87:this.$=i.addLocationDataFn(o[a-1],o[a])([i.addLocationDataFn(o[a-1])(new i.Access(new i.Literal(\"prototype\"),\"soak\")),i.addLocationDataFn(o[a])(new i.Access(s[a]))]);break;case 88:this.$=i.addLocationDataFn(o[a],o[a])(new i.Access(new i.Literal(\"prototype\")));break;case 91:this.$=i.addLocationDataFn(o[a-1],o[a])(i.extend(s[a],{soak:!0}));break;case 92:this.$=i.addLocationDataFn(o[a],o[a])(new i.Index(s[a]));break;case 93:this.$=i.addLocationDataFn(o[a],o[a])(new i.Slice(s[a]));break;case 94:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.Obj(s[a-2],s[a-3].generated));break;case 100:this.$=i.addLocationDataFn(o[a],o[a])(new i.Class);break;case 101:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Class(null,null,s[a]));break;case 102:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Class(null,s[a]));break;case 103:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.Class(null,s[a-1],s[a]));break;case 104:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Class(s[a]));break;case 105:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Class(s[a-1],null,s[a]));break;case 106:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.Class(s[a-2],s[a]));break;case 107:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Class(s[a-3],s[a-1],s[a]));break;case 108:case 109:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Call(s[a-2],s[a],s[a-1]));break;case 110:this.$=i.addLocationDataFn(o[a],o[a])(new i.Call(\"super\",[new i.Splat(new i.Literal(\"arguments\"))]));break;case 111:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Call(\"super\",s[a]));break;case 112:this.$=i.addLocationDataFn(o[a],o[a])(!1);break;case 113:this.$=i.addLocationDataFn(o[a],o[a])(!0);break;case 114:this.$=i.addLocationDataFn(o[a-1],o[a])([]);break;case 115:case 131:this.$=i.addLocationDataFn(o[a-3],o[a])(s[a-2]);break;case 116:case 117:this.$=i.addLocationDataFn(o[a],o[a])(new i.Value(new i.Literal(\"this\")));break;case 118:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Value(i.addLocationDataFn(o[a-1])(new i.Literal(\"this\")),[i.addLocationDataFn(o[a])(new i.Access(s[a]))],\"this\"));break;case 119:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Arr([]));break;case 120:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.Arr(s[a-2]));break;case 121:this.$=i.addLocationDataFn(o[a],o[a])(\"inclusive\");break;case 122:this.$=i.addLocationDataFn(o[a],o[a])(\"exclusive\");break;case 123:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Range(s[a-3],s[a-1],s[a-2]));break;case 124:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Range(s[a-2],s[a],s[a-1]));break;case 125:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Range(s[a-1],null,s[a]));break;case 126:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Range(null,s[a],s[a-1]));break;case 127:this.$=i.addLocationDataFn(o[a],o[a])(new i.Range(null,null,s[a]));break;case 137:this.$=i.addLocationDataFn(o[a-2],o[a])([].concat(s[a-2],s[a]));break;case 138:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Try(s[a]));break;case 139:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Try(s[a-1],s[a][0],s[a][1]));break;case 140:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.Try(s[a-2],null,null,s[a]));break;case 141:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Try(s[a-3],s[a-2][0],s[a-2][1],s[a]));break;case 142:this.$=i.addLocationDataFn(o[a-2],o[a])([s[a-1],s[a]]);break;case 143:this.$=i.addLocationDataFn(o[a-2],o[a])([i.addLocationDataFn(o[a-1])(new i.Value(s[a-1])),s[a]]);break;case 144:this.$=i.addLocationDataFn(o[a-1],o[a])([null,s[a]]);break;case 145:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Throw(s[a]));break;case 147:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Parens(s[a-2]));break;case 148:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.While(s[a]));break;case 149:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.While(s[a-2],{guard:s[a]}));break;case 150:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.While(s[a],{invert:!0}));break;case 151:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.While(s[a-2],{invert:!0,guard:s[a]}));break;case 152:this.$=i.addLocationDataFn(o[a-1],o[a])(s[a-1].addBody(s[a]));break;case 153:case 154:this.$=i.addLocationDataFn(o[a-1],o[a])(s[a].addBody(i.addLocationDataFn(o[a-1])(i.Block.wrap([s[a-1]]))));break;case 155:this.$=i.addLocationDataFn(o[a],o[a])(s[a]);break;case 156:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.While(i.addLocationDataFn(o[a-1])(new i.Literal(\"true\"))).addBody(s[a]));break;case 157:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.While(i.addLocationDataFn(o[a-1])(new i.Literal(\"true\"))).addBody(i.addLocationDataFn(o[a])(i.Block.wrap([s[a]]))));break;case 158:case 159:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.For(s[a-1],s[a]));break;case 160:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.For(s[a],s[a-1]));break;case 161:this.$=i.addLocationDataFn(o[a-1],o[a])({source:i.addLocationDataFn(o[a])(new i.Value(s[a]))});break;case 162:this.$=i.addLocationDataFn(o[a-3],o[a])({source:i.addLocationDataFn(o[a-2])(new i.Value(s[a-2])),step:s[a]});break;case 163:this.$=i.addLocationDataFn(o[a-1],o[a])(function(){return s[a].own=s[a-1].own,s[a].name=s[a-1][0],s[a].index=s[a-1][1],s[a]}());break;case 164:this.$=i.addLocationDataFn(o[a-1],o[a])(s[a]);break;case 165:this.$=i.addLocationDataFn(o[a-2],o[a])(function(){return s[a].own=!0,s[a]}());break;case 171:this.$=i.addLocationDataFn(o[a-2],o[a])([s[a-2],s[a]]);break;case 172:this.$=i.addLocationDataFn(o[a-1],o[a])({source:s[a]});break;case 173:this.$=i.addLocationDataFn(o[a-1],o[a])({source:s[a],object:!0});break;case 174:this.$=i.addLocationDataFn(o[a-3],o[a])({source:s[a-2],guard:s[a]});break;case 175:this.$=i.addLocationDataFn(o[a-3],o[a])({source:s[a-2],guard:s[a],object:!0});break;case 176:this.$=i.addLocationDataFn(o[a-3],o[a])({source:s[a-2],step:s[a]});break;case 177:this.$=i.addLocationDataFn(o[a-5],o[a])({source:s[a-4],guard:s[a-2],step:s[a]});break;case 178:this.$=i.addLocationDataFn(o[a-5],o[a])({source:s[a-4],step:s[a-2],guard:s[a]});break;case 179:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Switch(s[a-3],s[a-1]));break;case 180:this.$=i.addLocationDataFn(o[a-6],o[a])(new i.Switch(s[a-5],s[a-3],s[a-1]));break;case 181:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.Switch(null,s[a-1]));break;case 182:this.$=i.addLocationDataFn(o[a-5],o[a])(new i.Switch(null,s[a-3],s[a-1]));break;case 184:this.$=i.addLocationDataFn(o[a-1],o[a])(s[a-1].concat(s[a]));break;case 185:this.$=i.addLocationDataFn(o[a-2],o[a])([[s[a-1],s[a]]]);break;case 186:this.$=i.addLocationDataFn(o[a-3],o[a])([[s[a-2],s[a-1]]]);break;case 187:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.If(s[a-1],s[a],{type:s[a-2]}));break;case 188:this.$=i.addLocationDataFn(o[a-4],o[a])(s[a-4].addElse(i.addLocationDataFn(o[a-2],o[a])(new i.If(s[a-1],s[a],{type:s[a-2]}))));break;case 190:this.$=i.addLocationDataFn(o[a-2],o[a])(s[a-2].addElse(s[a]));break;case 191:case 192:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.If(s[a],i.addLocationDataFn(o[a-2])(i.Block.wrap([s[a-2]])),{type:s[a-1],statement:!0}));break;case 193:case 194:case 197:case 198:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Op(s[a-1],s[a]));break;case 195:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Op(\"-\",s[a]));break;case 196:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Op(\"+\",s[a]));break;case 199:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Op(s[a-2].concat(s[a-1]),s[a]));break;case 200:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Op(\"--\",s[a]));break;case 201:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Op(\"++\",s[a]));break;case 202:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Op(\"--\",s[a-1],null,!0));break;case 203:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Op(\"++\",s[a-1],null,!0));break;case 204:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Existence(s[a-1]));break;case 205:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Op(\"+\",s[a-2],s[a]));break;case 206:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Op(\"-\",s[a-2],s[a]));break;case 207:case 208:case 209:case 210:case 211:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Op(s[a-1],s[a-2],s[a]));break;case 212:this.$=i.addLocationDataFn(o[a-2],o[a])(function(){return\"!\"===s[a-1].charAt(0)?new i.Op(s[a-1].slice(1),s[a-2],s[a]).invert():new i.Op(s[a-1],s[a-2],s[a])}());break;case 213:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Assign(s[a-2],s[a],s[a-1]));break;case 214:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Assign(s[a-4],s[a-1],s[a-3]));break;case 215:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.Assign(s[a-3],s[a],s[a-2]));break;case 216:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Extends(s[a-2],s[a]))}},table:[{1:[2,1],3:1,4:2,5:3,7:4,8:5,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{1:[3]},{1:[2,2],6:P},t(U,[2,3]),t(U,[2,6],{118:69,109:89,115:90,110:x,112:S,116:R,132:G,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(U,[2,7],{118:69,109:92,115:93,110:x,112:S,116:R,132:Z}),t(et,[2,11],{87:94,68:95,76:101,72:tt,73:nt,74:it,75:rt,77:st,80:ot,90:at,91:ct}),t(et,[2,12],{76:101,87:104,68:105,72:tt,73:nt,74:it,75:rt,77:st,80:ot,90:at,91:ct}),t(et,[2,13]),t(et,[2,14]),t(et,[2,15]),t(et,[2,16]),t(et,[2,17]),t(et,[2,18]),t(et,[2,19]),t(et,[2,20]),t(et,[2,21]),t(et,[2,22]),t(et,[2,8]),t(et,[2,9]),t(et,[2,10]),t(ht,lt,{46:[1,106]}),t(ht,[2,80]),t(ht,[2,81]),t(ht,[2,82]),t(ht,[2,83]),t([1,6,25,26,34,38,55,60,63,72,73,74,75,77,79,80,84,90,92,97,99,108,110,111,112,116,117,132,135,136,141,142,143,144,145,146,147],[2,110],{88:107,91:ut}),t([6,25,55,60],pt,{54:109,61:110,62:111,27:113,50:114,64:115,65:116,28:i,63:dt,82:b,95:ft,96:mt}),{24:119,25:gt},{7:121,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:123,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:124,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:125,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:127,8:126,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,138:[1,128],139:B,140:V},{12:130,13:131,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:132,50:63,64:47,65:48,67:129,69:23,70:24,71:25,82:b,89:w,94:T,95:C,96:E,107:L},{12:130,13:131,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:132,50:63,64:47,65:48,67:133,69:23,70:24,71:25,82:b,89:w,94:T,95:C,96:E,107:L},t(vt,yt,{86:[1,137],139:[1,134],140:[1,135],148:[1,136]}),t(et,[2,189],{127:[1,138]}),{24:139,25:gt},{24:140,25:gt},t(et,[2,155]),{24:141,25:gt},{7:142,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:[1,143],27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(bt,[2,100],{39:22,69:23,70:24,71:25,64:47,65:48,29:49,35:51,27:62,50:63,31:72,12:130,13:131,45:132,24:144,67:146,25:gt,28:i,30:r,32:s,33:o,36:a,37:c,40:h,41:l,42:u,43:p,44:d,82:b,86:[1,145],89:w,94:T,95:C,96:E,107:L}),{7:147,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t([1,6,25,26,34,55,60,63,79,84,92,97,99,108,110,111,112,116,117,132,141,142,143,144,145,146,147],[2,50],{12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,9:18,10:19,45:21,39:22,69:23,70:24,71:25,56:28,67:36,130:37,109:39,113:40,115:41,64:47,65:48,29:49,35:51,27:62,50:63,118:69,31:72,8:122,7:148,11:n,28:i,30:r,32:s,33:o,36:a,37:c,40:h,41:l,42:u,43:p,44:d,51:f,52:m,53:g,57:v,58:y,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,114:D,125:A,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V}),t(et,[2,51]),t(vt,[2,77]),t(vt,[2,78]),t(ht,[2,32]),t(ht,[2,33]),t(ht,[2,34]),t(ht,[2,35]),t(ht,[2,36]),t(ht,[2,37]),t(ht,[2,38]),{4:149,5:3,7:4,8:5,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:[1,150],27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:151,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:kt,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,63:wt,64:47,65:48,66:156,67:36,69:23,70:24,71:25,82:b,85:k,89:w,93:153,94:T,95:C,96:E,97:Tt,100:154,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(ht,[2,116]),t(ht,[2,117],{27:158,28:i}),{25:[2,54]},{25:[2,55]},t(Ct,[2,72]),t(Ct,[2,75]),{7:159,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:160,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:161,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:163,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,24:162,25:gt,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{27:168,28:i,50:169,64:170,65:171,70:164,82:b,95:ft,96:E,120:165,121:[1,166],122:167},{119:172,123:[1,173],124:[1,174]},t([6,25,60,84],Et,{31:72,83:175,47:176,48:177,10:178,27:179,29:180,50:181,28:i,30:r,32:s,33:o,52:m,95:ft}),t(Ft,[2,26]),t(Ft,[2,27]),t(ht,[2,30]),{12:130,13:182,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:132,50:63,64:47,65:48,67:183,69:23,70:24,71:25,82:b,89:w,94:T,95:C,96:E,107:L},t(Nt,[2,25]),t(Ft,[2,28]),{4:184,5:3,7:4,8:5,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(U,[2,5],{7:4,8:5,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,9:18,10:19,45:21,39:22,69:23,70:24,71:25,56:28,67:36,130:37,109:39,113:40,115:41,64:47,65:48,29:49,35:51,27:62,50:63,118:69,31:72,5:185,11:n,28:i,30:r,32:s,33:o,36:a,37:c,40:h,41:l,42:u,43:p,44:d,51:f,52:m,53:g,57:v,58:y,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,110:x,112:S,114:D,116:R,125:A,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V}),t(et,[2,204]),{7:186,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:187,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:188,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:189,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:190,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:191,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:192,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:193,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:194,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(et,[2,154]),t(et,[2,159]),{7:195,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(et,[2,153]),t(et,[2,158]),{88:196,91:ut},t(Ct,[2,73]),{91:[2,113]},{27:197,28:i},{27:198,28:i},t(Ct,[2,88],{27:199,28:i}),{27:200,28:i},t(Ct,[2,89]),{7:202,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,63:Lt,64:47,65:48,67:36,69:23,70:24,71:25,78:201,81:203,82:b,85:k,89:w,94:T,95:C,96:E,98:204,99:xt,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{76:207,77:st,80:ot},{88:208,91:ut},t(Ct,[2,74]),{6:[1,210],7:209,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:[1,211],27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(St,[2,111]),{7:214,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:kt,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,63:wt,64:47,65:48,66:156,67:36,69:23,70:24,71:25,82:b,85:k,89:w,92:[1,212],93:213,94:T,95:C,96:E,100:154,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t([6,25],Dt,{59:217,55:[1,215],60:Rt}),t(At,[2,59]),t(At,[2,63],{46:[1,219],63:[1,218]}),t(At,[2,66]),t(It,[2,67]),t(It,[2,68]),t(It,[2,69]),t(It,[2,70]),{27:158,28:i},{7:214,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:kt,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,63:wt,64:47,65:48,66:156,67:36,69:23,70:24,71:25,82:b,85:k,89:w,93:153,94:T,95:C,96:E,97:Tt,100:154,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(et,[2,53]),{4:221,5:3,7:4,8:5,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,26:[1,220],27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t([1,6,25,26,34,55,60,63,79,84,92,97,99,108,110,111,112,116,117,132,135,136,142,143,144,145,146,147],[2,193],{118:69,109:89,115:90,141:X}),{109:92,110:x,112:S,115:93,116:R,118:69,132:Z},t(_t,[2,194],{118:69,109:89,115:90,141:X,143:Y}),t(_t,[2,195],{118:69,109:89,115:90,141:X,143:Y}),t(_t,[2,196],{118:69,109:89,115:90,141:X,143:Y}),t(et,[2,197],{118:69,109:92,115:93}),t(Ot,[2,198],{118:69,109:89,115:90,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),{7:222,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(et,[2,200],{72:yt,73:yt,74:yt,75:yt,77:yt,80:yt,90:yt,91:yt}),{68:95,72:tt,73:nt,74:it,75:rt,76:101,77:st,80:ot,87:94,90:at,91:ct},{68:105,72:tt,73:nt,74:it,75:rt,76:101,77:st,80:ot,87:104,90:at,91:ct},t($t,lt),t(et,[2,201],{72:yt,73:yt,74:yt,75:yt,77:yt,80:yt,90:yt,91:yt}),t(et,[2,202]),t(et,[2,203]),{6:[1,225],7:223,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:[1,224],27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:226,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{24:227,25:gt,131:[1,228]},t(et,[2,138],{103:229,104:[1,230],105:[1,231]}),t(et,[2,152]),t(et,[2,160]),{25:[1,232],109:89,110:x,112:S,115:90,116:R,118:69,132:G,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q},{126:233,128:234,129:jt},t(et,[2,101]),{7:236,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(bt,[2,104],{24:237,25:gt,72:yt,73:yt,74:yt,75:yt,77:yt,80:yt,90:yt,91:yt,86:[1,238]}),t(Ot,[2,145],{118:69,109:89,115:90,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(Ot,[2,49],{118:69,109:89,115:90,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),{6:P,108:[1,239]},{4:240,5:3,7:4,8:5,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t([6,25,60,97],Mt,{118:69,109:89,115:90,98:241,63:[1,242],99:xt,110:x,112:S,116:R,132:G,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(Bt,[2,119]),t([6,25,97],Dt,{59:243,60:Vt}),t(Pt,[2,128]),{7:214,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:kt,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,63:wt,64:47,65:48,66:156,67:36,69:23,70:24,71:25,82:b,85:k,89:w,93:245,94:T,95:C,96:E,100:154,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(Pt,[2,134]),t(Pt,[2,135]),t(Nt,[2,118]),{24:246,25:gt,109:89,110:x,112:S,115:90,116:R,118:69,132:G,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q},t(Ut,[2,148],{118:69,109:89,115:90,110:x,111:[1,247],112:S,116:R,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(Ut,[2,150],{118:69,109:89,115:90,110:x,111:[1,248],112:S,116:R,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(et,[2,156]),t(Gt,[2,157],{118:69,109:89,115:90,110:x,112:S,116:R,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t([1,6,25,26,34,55,60,63,79,84,92,97,99,108,110,111,112,116,132,135,136,141,142,143,144,145,146,147],[2,161],{117:[1,249]}),t(Ht,[2,164]),{27:168,28:i,50:169,64:170,65:171,82:b,95:ft,96:mt,120:250,122:167},t(Ht,[2,170],{60:[1,251]}),t(qt,[2,166]),t(qt,[2,167]),t(qt,[2,168]),t(qt,[2,169]),t(et,[2,163]),{7:252,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:253,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t([6,25,84],Dt,{59:254,60:Xt}),t(Wt,[2,96]),t(Wt,[2,42],{49:[1,256]}),t(Wt,[2,45]),t(Yt,[2,46]),t(Yt,[2,47]),t(Yt,[2,48]),{38:[1,257],68:105,72:tt,73:nt,74:it,75:rt,76:101,77:st,80:ot,87:104,90:at,91:ct},t($t,yt),{6:P,34:[1,258]},t(U,[2,4]),t(Kt,[2,205],{118:69,109:89,115:90,141:X,142:W,143:Y}),t(Kt,[2,206],{118:69,109:89,115:90,141:X,142:W,143:Y}),t(_t,[2,207],{118:69,109:89,115:90,141:X,143:Y}),t(_t,[2,208],{118:69,109:89,115:90,141:X,143:Y}),t([1,6,25,26,34,55,60,63,79,84,92,97,99,108,110,111,112,116,117,132,144,145,146,147],[2,209],{118:69,109:89,115:90,135:H,136:q,141:X,142:W,143:Y}),t([1,6,25,26,34,55,60,63,79,84,92,97,99,108,110,111,112,116,117,132,145,146],[2,210],{118:69,109:89,115:90,135:H,136:q,141:X,142:W,143:Y,144:K,147:Q}),t([1,6,25,26,34,55,60,63,79,84,92,97,99,108,110,111,112,116,117,132,146],[2,211],{118:69,109:89,115:90,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,147:Q}),t([1,6,25,26,34,55,60,63,79,84,92,97,99,108,110,111,112,116,117,132,145,146,147],[2,212],{118:69,109:89,115:90,135:H,136:q,141:X,142:W,143:Y,144:K}),t(Gt,[2,192],{118:69,109:89,115:90,110:x,112:S,116:R,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(Gt,[2,191],{118:69,109:89,115:90,110:x,112:S,116:R,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(St,[2,108]),t(Ct,[2,84]),t(Ct,[2,85]),t(Ct,[2,86]),t(Ct,[2,87]),{79:[1,259]},{63:Lt,79:[2,92],98:260,99:xt,109:89,110:x,112:S,115:90,116:R,118:69,132:G,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q},{79:[2,93]},{7:261,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,79:[2,127],82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(zt,[2,121]),t(zt,Jt),t(Ct,[2,91]),t(St,[2,109]),t(Ot,[2,39],{118:69,109:89,115:90,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),{7:262,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:263,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(St,[2,114]),t([6,25,92],Dt,{59:264,60:Vt}),t(Pt,Mt,{118:69,109:89,115:90,63:[1,265],110:x,112:S,116:R,132:G,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),{56:266,57:v,58:y},t(Qt,Zt,{62:111,27:113,50:114,64:115,65:116,61:267,28:i,63:dt,82:b,95:ft,96:mt}),{6:en,25:tn},t(At,[2,64]),{7:270,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(nn,[2,23]),{6:P,26:[1,271]},t(Ot,[2,199],{118:69,109:89,115:90,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(Ot,[2,213],{118:69,109:89,115:90,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),{7:272,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:273,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(Ot,[2,216],{118:69,109:89,115:90,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(et,[2,190]),{7:274,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(et,[2,139],{104:[1,275]}),{24:276,25:gt},{24:279,25:gt,27:277,28:i,65:278,82:b},{126:280,128:234,129:jt},{26:[1,281],127:[1,282],128:283,129:jt},t(rn,[2,183]),{7:285,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,101:284,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(sn,[2,102],{118:69,109:89,115:90,24:286,25:gt,110:x,112:S,116:R,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(et,[2,105]),{7:287,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(ht,[2,146]),{6:P,26:[1,288]},{7:289,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t([11,28,30,32,33,36,37,40,41,42,43,44,51,52,53,57,58,82,85,89,94,95,96,102,106,107,110,112,114,116,125,131,133,134,135,136,137,139,140],Jt,{6:on,25:on,60:on,97:on}),{6:an,25:cn,97:[1,290]},t([6,25,26,92,97],Zt,{12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,9:18,10:19,45:21,39:22,69:23,70:24,71:25,56:28,67:36,130:37,109:39,113:40,115:41,64:47,65:48,29:49,35:51,27:62,50:63,118:69,31:72,8:122,66:156,7:214,100:293,11:n,28:i,30:r,32:s,33:o,36:a,37:c,40:h,41:l,42:u,43:p,44:d,51:f,52:m,53:g,57:v,58:y,63:wt,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,110:x,112:S,114:D,116:R,125:A,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V}),t(Qt,Dt,{59:294,60:Vt}),t(hn,[2,187]),{7:295,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:296,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:297,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(Ht,[2,165]),{27:168,28:i,50:169,64:170,65:171,82:b,95:ft,96:mt,122:298},t([1,6,25,26,34,55,60,63,79,84,92,97,99,108,110,112,116,132],[2,172],{118:69,109:89,115:90,111:[1,299],117:[1,300],135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(ln,[2,173],{118:69,109:89,115:90,111:[1,301],135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),{6:un,25:pn,84:[1,302]},t([6,25,26,84],Zt,{31:72,48:177,10:178,27:179,29:180,50:181,47:305,28:i,30:r,32:s,33:o,52:m,95:ft}),{7:306,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:[1,307],27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(ht,[2,31]),t(Ft,[2,29]),t(Ct,[2,90]),{7:308,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,79:[2,125],82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{79:[2,126],109:89,110:x,112:S,115:90,116:R,118:69,132:G,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q},t(Ot,[2,40],{118:69,109:89,115:90,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),{26:[1,309],109:89,110:x,112:S,115:90,116:R,118:69,132:G,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q},{6:an,25:cn,92:[1,310]},t(Pt,on),{24:311,25:gt},t(At,[2,60]),{27:113,28:i,50:114,61:312,62:111,63:dt,64:115,65:116,82:b,95:ft,96:mt},t(dn,pt,{61:110,62:111,27:113,50:114,64:115,65:116,54:313,28:i,63:dt,82:b,95:ft,96:mt}),t(At,[2,65],{118:69,109:89,115:90,110:x,112:S,116:R,132:G,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(nn,[2,24]),{26:[1,314],109:89,110:x,112:S,115:90,116:R,118:69,132:G,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q},t(Ot,[2,215],{118:69,109:89,115:90,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),{24:315,25:gt,109:89,110:x,112:S,115:90,116:R,118:69,132:G,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q},{24:316,25:gt},t(et,[2,140]),{24:317,25:gt},{24:318,25:gt},t(fn,[2,144]),{26:[1,319],127:[1,320],128:283,129:jt},t(et,[2,181]),{24:321,25:gt},t(rn,[2,184]),{24:322,25:gt,60:[1,323]},t(mn,[2,136],{118:69,109:89,115:90,110:x,112:S,116:R,132:G,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(et,[2,103]),t(sn,[2,106],{118:69,109:89,115:90,24:324,25:gt,110:x,112:S,116:R,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),{108:[1,325]},{97:[1,326],109:89,110:x,112:S,115:90,116:R,118:69,132:G,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q},t(Bt,[2,120]),{7:214,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,63:wt,64:47,65:48,66:156,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,100:327,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:214,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:kt,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,63:wt,64:47,65:48,66:156,67:36,69:23,70:24,71:25,82:b,85:k,89:w,93:328,94:T,95:C,96:E,100:154,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(Pt,[2,129]),{6:an,25:cn,26:[1,329]},t(Gt,[2,149],{118:69,109:89,115:90,110:x,112:S,116:R,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(Gt,[2,151],{118:69,109:89,115:90,110:x,112:S,116:R,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(Gt,[2,162],{118:69,109:89,115:90,110:x,112:S,116:R,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(Ht,[2,171]),{7:330,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:331,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:332,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(Bt,[2,94]),{10:178,27:179,28:i,29:180,30:r,31:72,32:s,33:o,47:333,48:177,50:181,52:m,95:ft},t(dn,Et,{31:72,47:176,48:177,10:178,27:179,29:180,50:181,83:334,28:i,30:r,32:s,33:o,52:m,95:ft}),t(Wt,[2,97]),t(Wt,[2,43],{118:69,109:89,115:90,110:x,112:S,116:R,132:G,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),{7:335,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{79:[2,124],109:89,110:x,112:S,115:90,116:R,118:69,132:G,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q},t(et,[2,41]),t(St,[2,115]),t(et,[2,52]),t(At,[2,61]),t(Qt,Dt,{59:336,60:Rt}),t(et,[2,214]),t(hn,[2,188]),t(et,[2,141]),t(fn,[2,142]),t(fn,[2,143]),t(et,[2,179]),{24:337,25:gt},{26:[1,338]},t(rn,[2,185],{6:[1,339]}),{7:340,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},t(et,[2,107]),t(ht,[2,147]),t(ht,[2,123]),t(Pt,[2,130]),t(Qt,Dt,{59:341,60:Vt}),t(Pt,[2,131]),t([1,6,25,26,34,55,60,63,79,84,92,97,99,108,110,111,112,116,132],[2,174],{118:69,109:89,115:90,117:[1,342],135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(ln,[2,176],{118:69,109:89,115:90,111:[1,343],135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(Ot,[2,175],{118:69,109:89,115:90,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(Wt,[2,98]),t(Qt,Dt,{59:344,60:Xt}),{26:[1,345],109:89,110:x,112:S,115:90,116:R,118:69,132:G,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q},{6:en,25:tn,26:[1,346]},{26:[1,347]},t(et,[2,182]),t(rn,[2,186]),t(mn,[2,137],{118:69,109:89,115:90,110:x,112:S,116:R,132:G,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),{6:an,25:cn,26:[1,348]},{7:349,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{7:350,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:h,41:l,42:u,43:p,44:d,45:21,50:63,51:f,52:m,53:g,56:28,57:v,58:y,64:47,65:48,67:36,69:23,70:24,71:25,82:b,85:k,89:w,94:T,95:C,96:E,102:F,106:N,107:L,109:39,110:x,112:S,113:40,114:D,115:41,116:R,118:69,125:A,130:37,131:I,133:_,134:O,135:$,136:j,137:M,139:B,140:V},{6:un,25:pn,26:[1,351]},t(Wt,[2,44]),t(At,[2,62]),t(et,[2,180]),t(Pt,[2,132]),t(Ot,[2,177],{118:69,109:89,115:90,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(Ot,[2,178],{118:69,109:89,115:90,135:H,136:q,141:X,142:W,143:Y,144:K,145:z,146:J,147:Q}),t(Wt,[2,99])],defaultActions:{60:[2,54],61:[2,55],96:[2,113],203:[2,93]},parseError:function(e,t){if(!t.recoverable)throw Error(e);\nthis.trace(e)},parse:function(e){function t(){var e;return e=f.lex()||p,\"number\"!=typeof e&&(e=n.symbols_[e]||e),e}var n=this,i=[0],r=[null],s=[],o=this.table,a=\"\",c=0,h=0,l=0,u=2,p=1,d=s.slice.call(arguments,1),f=Object.create(this.lexer),m={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(m.yy[g]=this.yy[g]);f.setInput(e,m.yy),m.yy.lexer=f,m.yy.parser=this,f.yylloc===void 0&&(f.yylloc={});var v=f.yylloc;s.push(v);var y=f.options&&f.options.ranges;this.parseError=\"function\"==typeof m.yy.parseError?m.yy.parseError:Object.getPrototypeOf(this).parseError;for(var b,k,w,T,C,E,F,N,L,x={};;){if(w=i[i.length-1],this.defaultActions[w]?T=this.defaultActions[w]:((null===b||b===void 0)&&(b=t()),T=o[w]&&o[w][b]),T===void 0||!T.length||!T[0]){var S=\"\";L=[];for(E in o[w])this.terminals_[E]&&E>u&&L.push(\"'\"+this.terminals_[E]+\"'\");S=f.showPosition?\"Parse error on line \"+(c+1)+\":\\n\"+f.showPosition()+\"\\nExpecting \"+L.join(\", \")+\", got '\"+(this.terminals_[b]||b)+\"'\":\"Parse error on line \"+(c+1)+\": Unexpected \"+(b==p?\"end of input\":\"'\"+(this.terminals_[b]||b)+\"'\"),this.parseError(S,{text:f.match,token:this.terminals_[b]||b,line:f.yylineno,loc:v,expected:L})}if(T[0]instanceof Array&&T.length>1)throw Error(\"Parse Error: multiple actions possible at state: \"+w+\", token: \"+b);switch(T[0]){case 1:i.push(b),r.push(f.yytext),s.push(f.yylloc),i.push(T[1]),b=null,k?(b=k,k=null):(h=f.yyleng,a=f.yytext,c=f.yylineno,v=f.yylloc,l>0&&l--);break;case 2:if(F=this.productions_[T[1]][1],x.$=r[r.length-F],x._$={first_line:s[s.length-(F||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(F||1)].first_column,last_column:s[s.length-1].last_column},y&&(x._$.range=[s[s.length-(F||1)].range[0],s[s.length-1].range[1]]),C=this.performAction.apply(x,[a,h,c,m.yy,T[1],r,s].concat(d)),C!==void 0)return C;F&&(i=i.slice(0,2*-1*F),r=r.slice(0,-1*F),s=s.slice(0,-1*F)),i.push(this.productions_[T[1]][0]),r.push(x.$),s.push(x._$),N=o[i[i.length-2]][i[i.length-1]],i.push(N);break;case 3:return!0}}return!0}};return e.prototype=gn,gn.Parser=e,new e}();return require!==void 0&&e!==void 0&&(e.parser=n,e.Parser=n.Parser,e.parse=function(){return n.parse.apply(n,arguments)},e.main=function(t){t[1]||(console.log(\"Usage: \"+t[0]+\" FILE\"),process.exit(1));var n=require(\"fs\").readFileSync(require(\"path\").normalize(t[1]),\"utf8\");return e.parser.parse(n)},t!==void 0&&require.main===t&&e.main(process.argv.slice(1))),t.exports}(),require[\"./scope\"]=function(){var e={},t={exports:e};return function(){var t,n=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};e.Scope=t=function(){function e(e,t,n,i){var r,s;this.parent=e,this.expressions=t,this.method=n,this.referencedVars=i,this.variables=[{name:\"arguments\",type:\"arguments\"}],this.positions={},this.parent||(this.utilities={}),this.root=null!=(r=null!=(s=this.parent)?s.root:void 0)?r:this}return e.prototype.add=function(e,t,n){return this.shared&&!n?this.parent.add(e,t,n):Object.prototype.hasOwnProperty.call(this.positions,e)?this.variables[this.positions[e]].type=t:this.positions[e]=this.variables.push({name:e,type:t})-1},e.prototype.namedMethod=function(){var e;return(null!=(e=this.method)?e.name:void 0)||!this.parent?this.method:this.parent.namedMethod()},e.prototype.find=function(e){return this.check(e)?!0:(this.add(e,\"var\"),!1)},e.prototype.parameter=function(e){return this.shared&&this.parent.check(e,!0)?void 0:this.add(e,\"param\")},e.prototype.check=function(e){var t;return!!(this.type(e)||(null!=(t=this.parent)?t.check(e):void 0))},e.prototype.temporary=function(e,t,n){return null==n&&(n=!1),n?(t+parseInt(e,36)).toString(36).replace(/\\d/g,\"a\"):e+(t||\"\")},e.prototype.type=function(e){var t,n,i,r;for(i=this.variables,t=0,n=i.length;n>t;t++)if(r=i[t],r.name===e)return r.type;return null},e.prototype.freeVariable=function(e,t){var i,r,s;for(null==t&&(t={}),i=0;;){if(s=this.temporary(e,i,t.single),!(this.check(s)||n.call(this.root.referencedVars,s)>=0))break;i++}return(null!=(r=t.reserve)?r:!0)&&this.add(s,\"var\",!0),s},e.prototype.assign=function(e,t){return this.add(e,{value:t,assigned:!0},!0),this.hasAssignments=!0},e.prototype.hasDeclarations=function(){return!!this.declaredVariables().length},e.prototype.declaredVariables=function(){var e;return function(){var t,n,i,r;for(i=this.variables,r=[],t=0,n=i.length;n>t;t++)e=i[t],\"var\"===e.type&&r.push(e.name);return r}.call(this).sort()},e.prototype.assignedVariables=function(){var e,t,n,i,r;for(n=this.variables,i=[],e=0,t=n.length;t>e;e++)r=n[e],r.type.assigned&&i.push(r.name+\" = \"+r.type.value);return i},e}()}.call(this),t.exports}(),require[\"./nodes\"]=function(){var e={},t={exports:e};return function(){var t,n,i,r,s,o,a,c,h,l,u,p,d,f,m,g,v,y,b,k,w,T,C,E,F,N,L,x,S,D,R,A,I,_,O,$,j,M,B,V,P,U,G,H,q,X,W,Y,K,z,J,Q,Z,et,tt,nt,it,rt,st,ot,at,ct,ht,lt,ut,pt,dt,ft,mt,gt,vt,yt,bt,kt=function(e,t){function n(){this.constructor=e}for(var i in t)wt.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},wt={}.hasOwnProperty,Tt=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1},Ct=[].slice;Error.stackTraceLimit=1/0,P=require(\"./scope\").Scope,dt=require(\"./lexer\"),$=dt.RESERVED,V=dt.STRICT_PROSCRIBED,ft=require(\"./helpers\"),et=ft.compact,rt=ft.flatten,it=ft.extend,lt=ft.merge,tt=ft.del,gt=ft.starts,nt=ft.ends,mt=ft.some,Z=ft.addLocationDataFn,ht=ft.locationDataToString,vt=ft.throwSyntaxError,e.extend=it,e.addLocationDataFn=Z,Q=function(){return!0},D=function(){return!1},X=function(){return this},S=function(){return this.negated=!this.negated,this},e.CodeFragment=h=function(){function e(e,t){var n;this.code=\"\"+t,this.locationData=null!=e?e.locationData:void 0,this.type=(null!=e?null!=(n=e.constructor)?n.name:void 0:void 0)||\"unknown\"}return e.prototype.toString=function(){return\"\"+this.code+(this.locationData?\": \"+ht(this.locationData):\"\")},e}(),st=function(e){var t;return function(){var n,i,r;for(r=[],n=0,i=e.length;i>n;n++)t=e[n],r.push(t.code);return r}().join(\"\")},e.Base=r=function(){function e(){}return e.prototype.compile=function(e,t){return st(this.compileToFragments(e,t))},e.prototype.compileToFragments=function(e,t){var n;return e=it({},e),t&&(e.level=t),n=this.unfoldSoak(e)||this,n.tab=e.indent,e.level!==L&&n.isStatement(e)?n.compileClosure(e):n.compileNode(e)},e.prototype.compileClosure=function(e){var n,i,r,a,h,l;return(a=this.jumps())&&a.error(\"cannot use a pure statement in an expression\"),e.sharedScope=!0,r=new c([],s.wrap([this])),n=[],((i=this.contains(at))||this.contains(ct))&&(n=[new x(\"this\")],i?(h=\"apply\",n.push(new x(\"arguments\"))):h=\"call\",r=new z(r,[new t(new x(h))])),l=new o(r,n).compileNode(e),r.isGenerator&&(l.unshift(this.makeCode(\"(yield* \")),l.push(this.makeCode(\")\"))),l},e.prototype.cache=function(e,t,n){var r,s,o;return r=null!=n?n(this):this.isComplex(),r?(s=new x(e.scope.freeVariable(\"ref\")),o=new i(s,this),t?[o.compileToFragments(e,t),[this.makeCode(s.value)]]:[o,s]):(s=t?this.compileToFragments(e,t):this,[s,s])},e.prototype.cacheToCodeFragments=function(e){return[st(e[0]),st(e[1])]},e.prototype.makeReturn=function(e){var t;return t=this.unwrapAll(),e?new o(new x(e+\".push\"),[t]):new M(t)},e.prototype.contains=function(e){var t;return t=void 0,this.traverseChildren(!1,function(n){return e(n)?(t=n,!1):void 0}),t},e.prototype.lastNonComment=function(e){var t;for(t=e.length;t--;)if(!(e[t]instanceof l))return e[t];return null},e.prototype.toString=function(e,t){var n;return null==e&&(e=\"\"),null==t&&(t=this.constructor.name),n=\"\\n\"+e+t,this.soak&&(n+=\"?\"),this.eachChild(function(t){return n+=t.toString(e+q)}),n},e.prototype.eachChild=function(e){var t,n,i,r,s,o,a,c;if(!this.children)return this;for(a=this.children,i=0,s=a.length;s>i;i++)if(t=a[i],this[t])for(c=rt([this[t]]),r=0,o=c.length;o>r;r++)if(n=c[r],e(n)===!1)return this;return this},e.prototype.traverseChildren=function(e,t){return this.eachChild(function(n){var i;return i=t(n),i!==!1?n.traverseChildren(e,t):void 0})},e.prototype.invert=function(){return new I(\"!\",this)},e.prototype.unwrapAll=function(){var e;for(e=this;e!==(e=e.unwrap()););return e},e.prototype.children=[],e.prototype.isStatement=D,e.prototype.jumps=D,e.prototype.isComplex=Q,e.prototype.isChainable=D,e.prototype.isAssignable=D,e.prototype.unwrap=X,e.prototype.unfoldSoak=D,e.prototype.assigns=D,e.prototype.updateLocationDataIfMissing=function(e){return this.locationData?this:(this.locationData=e,this.eachChild(function(t){return t.updateLocationDataIfMissing(e)}))},e.prototype.error=function(e){return vt(e,this.locationData)},e.prototype.makeCode=function(e){return new h(this,e)},e.prototype.wrapInBraces=function(e){return[].concat(this.makeCode(\"(\"),e,this.makeCode(\")\"))},e.prototype.joinFragmentArrays=function(e,t){var n,i,r,s,o;for(n=[],r=s=0,o=e.length;o>s;r=++s)i=e[r],r&&n.push(this.makeCode(t)),n=n.concat(i);return n},e}(),e.Block=s=function(e){function t(e){this.expressions=et(rt(e||[]))}return kt(t,e),t.prototype.children=[\"expressions\"],t.prototype.push=function(e){return this.expressions.push(e),this},t.prototype.pop=function(){return this.expressions.pop()},t.prototype.unshift=function(e){return this.expressions.unshift(e),this},t.prototype.unwrap=function(){return 1===this.expressions.length?this.expressions[0]:this},t.prototype.isEmpty=function(){return!this.expressions.length},t.prototype.isStatement=function(e){var t,n,i,r;for(r=this.expressions,n=0,i=r.length;i>n;n++)if(t=r[n],t.isStatement(e))return!0;return!1},t.prototype.jumps=function(e){var t,n,i,r,s;for(s=this.expressions,n=0,r=s.length;r>n;n++)if(t=s[n],i=t.jumps(e))return i},t.prototype.makeReturn=function(e){var t,n;for(n=this.expressions.length;n--;)if(t=this.expressions[n],!(t instanceof l)){this.expressions[n]=t.makeReturn(e),t instanceof M&&!t.expression&&this.expressions.splice(n,1);break}return this},t.prototype.compileToFragments=function(e,n){return null==e&&(e={}),e.scope?t.__super__.compileToFragments.call(this,e,n):this.compileRoot(e)},t.prototype.compileNode=function(e){var n,i,r,s,o,a,c,h,l;for(this.tab=e.indent,l=e.level===L,i=[],h=this.expressions,s=o=0,a=h.length;a>o;s=++o)c=h[s],c=c.unwrapAll(),c=c.unfoldSoak(e)||c,c instanceof t?i.push(c.compileNode(e)):l?(c.front=!0,r=c.compileToFragments(e),c.isStatement(e)||(r.unshift(this.makeCode(\"\"+this.tab)),r.push(this.makeCode(\";\"))),i.push(r)):i.push(c.compileToFragments(e,E));return l?this.spaced?[].concat(this.joinFragmentArrays(i,\"\\n\\n\"),this.makeCode(\"\\n\")):this.joinFragmentArrays(i,\"\\n\"):(n=i.length?this.joinFragmentArrays(i,\", \"):[this.makeCode(\"void 0\")],i.length>1&&e.level>=E?this.wrapInBraces(n):n)},t.prototype.compileRoot=function(e){var t,n,i,r,s,o,a,c,h,u,p;for(e.indent=e.bare?\"\":q,e.level=L,this.spaced=!0,e.scope=new P(null,this,null,null!=(h=e.referencedVars)?h:[]),u=e.locals||[],r=0,s=u.length;s>r;r++)o=u[r],e.scope.parameter(o);return a=[],e.bare||(c=function(){var e,n,r,s;for(r=this.expressions,s=[],i=e=0,n=r.length;n>e&&(t=r[i],t.unwrap()instanceof l);i=++e)s.push(t);return s}.call(this),p=this.expressions.slice(c.length),this.expressions=c,c.length&&(a=this.compileNode(lt(e,{indent:\"\"})),a.push(this.makeCode(\"\\n\"))),this.expressions=p),n=this.compileWithDeclarations(e),e.bare?n:[].concat(a,this.makeCode(\"(function() {\\n\"),n,this.makeCode(\"\\n}).call(this);\\n\"))},t.prototype.compileWithDeclarations=function(e){var t,n,i,r,s,o,a,c,h,u,p,d,f,m;for(r=[],c=[],h=this.expressions,s=o=0,a=h.length;a>o&&(i=h[s],i=i.unwrap(),i instanceof l||i instanceof x);s=++o);return e=lt(e,{level:L}),s&&(d=this.expressions.splice(s,9e9),u=[this.spaced,!1],m=u[0],this.spaced=u[1],p=[this.compileNode(e),m],r=p[0],this.spaced=p[1],this.expressions=d),c=this.compileNode(e),f=e.scope,f.expressions===this&&(n=e.scope.hasDeclarations(),t=f.hasAssignments,n||t?(s&&r.push(this.makeCode(\"\\n\")),r.push(this.makeCode(this.tab+\"var \")),n&&r.push(this.makeCode(f.declaredVariables().join(\", \"))),t&&(n&&r.push(this.makeCode(\",\\n\"+(this.tab+q))),r.push(this.makeCode(f.assignedVariables().join(\",\\n\"+(this.tab+q))))),r.push(this.makeCode(\";\\n\"+(this.spaced?\"\\n\":\"\")))):r.length&&c.length&&r.push(this.makeCode(\"\\n\"))),r.concat(c)},t.wrap=function(e){return 1===e.length&&e[0]instanceof t?e[0]:new t(e)},t}(r),e.Literal=x=function(e){function t(e){this.value=e}return kt(t,e),t.prototype.makeReturn=function(){return this.isStatement()?this:t.__super__.makeReturn.apply(this,arguments)},t.prototype.isAssignable=function(){return g.test(this.value)},t.prototype.isStatement=function(){var e;return\"break\"===(e=this.value)||\"continue\"===e||\"debugger\"===e},t.prototype.isComplex=D,t.prototype.assigns=function(e){return e===this.value},t.prototype.jumps=function(e){return\"break\"!==this.value||(null!=e?e.loop:void 0)||(null!=e?e.block:void 0)?\"continue\"!==this.value||(null!=e?e.loop:void 0)?void 0:this:this},t.prototype.compileNode=function(e){var t,n,i;return n=\"this\"===this.value?(null!=(i=e.scope.method)?i.bound:void 0)?e.scope.method.context:this.value:this.value.reserved?'\"'+this.value+'\"':this.value,t=this.isStatement()?\"\"+this.tab+n+\";\":n,[this.makeCode(t)]},t.prototype.toString=function(){return' \"'+this.value+'\"'},t}(r),e.Undefined=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return kt(t,e),t.prototype.isAssignable=D,t.prototype.isComplex=D,t.prototype.compileNode=function(e){return[this.makeCode(e.level>=T?\"(void 0)\":\"void 0\")]},t}(r),e.Null=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return kt(t,e),t.prototype.isAssignable=D,t.prototype.isComplex=D,t.prototype.compileNode=function(){return[this.makeCode(\"null\")]},t}(r),e.Bool=function(e){function t(e){this.val=e}return kt(t,e),t.prototype.isAssignable=D,t.prototype.isComplex=D,t.prototype.compileNode=function(){return[this.makeCode(this.val)]},t}(r),e.Return=M=function(e){function t(e){this.expression=e}return kt(t,e),t.prototype.children=[\"expression\"],t.prototype.isStatement=Q,t.prototype.makeReturn=X,t.prototype.jumps=X,t.prototype.compileToFragments=function(e,n){var i,r;return i=null!=(r=this.expression)?r.makeReturn():void 0,!i||i instanceof t?t.__super__.compileToFragments.call(this,e,n):i.compileToFragments(e,n)},t.prototype.compileNode=function(e){var t,n,i;return t=[],n=null!=(i=this.expression)?\"function\"==typeof i.isYieldReturn?i.isYieldReturn():void 0:void 0,n||t.push(this.makeCode(this.tab+(\"return\"+(this.expression?\" \":\"\")))),this.expression&&(t=t.concat(this.expression.compileToFragments(e,N))),n||t.push(this.makeCode(\";\")),t},t}(r),e.Value=z=function(e){function t(e,n,i){return!n&&e instanceof t?e:(this.base=e,this.properties=n||[],i&&(this[i]=!0),this)}return kt(t,e),t.prototype.children=[\"base\",\"properties\"],t.prototype.add=function(e){return this.properties=this.properties.concat(e),this},t.prototype.hasProperties=function(){return!!this.properties.length},t.prototype.bareLiteral=function(e){return!this.properties.length&&this.base instanceof e},t.prototype.isArray=function(){return this.bareLiteral(n)},t.prototype.isRange=function(){return this.bareLiteral(j)},t.prototype.isComplex=function(){return this.hasProperties()||this.base.isComplex()},t.prototype.isAssignable=function(){return this.hasProperties()||this.base.isAssignable()},t.prototype.isSimpleNumber=function(){return this.bareLiteral(x)&&B.test(this.base.value)},t.prototype.isString=function(){return this.bareLiteral(x)&&y.test(this.base.value)},t.prototype.isRegex=function(){return this.bareLiteral(x)&&v.test(this.base.value)},t.prototype.isAtomic=function(){var e,t,n,i;for(i=this.properties.concat(this.base),e=0,t=i.length;t>e;e++)if(n=i[e],n.soak||n instanceof o)return!1;return!0},t.prototype.isNotCallable=function(){return this.isSimpleNumber()||this.isString()||this.isRegex()||this.isArray()||this.isRange()||this.isSplice()||this.isObject()},t.prototype.isStatement=function(e){return!this.properties.length&&this.base.isStatement(e)},t.prototype.assigns=function(e){return!this.properties.length&&this.base.assigns(e)},t.prototype.jumps=function(e){return!this.properties.length&&this.base.jumps(e)},t.prototype.isObject=function(e){return this.properties.length?!1:this.base instanceof A&&(!e||this.base.generated)},t.prototype.isSplice=function(){var e,t;return t=this.properties,e=t[t.length-1],e instanceof U},t.prototype.looksStatic=function(e){var t;return this.base.value===e&&1===this.properties.length&&\"prototype\"!==(null!=(t=this.properties[0].name)?t.value:void 0)},t.prototype.unwrap=function(){return this.properties.length?this:this.base},t.prototype.cacheReference=function(e){var n,r,s,o,a;return a=this.properties,s=a[a.length-1],2>this.properties.length&&!this.base.isComplex()&&!(null!=s?s.isComplex():void 0)?[this,this]:(n=new t(this.base,this.properties.slice(0,-1)),n.isComplex()&&(r=new x(e.scope.freeVariable(\"base\")),n=new t(new O(new i(r,n)))),s?(s.isComplex()&&(o=new x(e.scope.freeVariable(\"name\")),s=new w(new i(o,s.index)),o=new w(o)),[n.add(s),new t(r||n.base,[o||s])]):[n,r])},t.prototype.compileNode=function(e){var t,n,i,r,s;for(this.base.front=this.front,s=this.properties,t=this.base.compileToFragments(e,s.length?T:null),(this.base instanceof O||s.length)&&B.test(st(t))&&t.push(this.makeCode(\".\")),n=0,i=s.length;i>n;n++)r=s[n],t.push.apply(t,r.compileToFragments(e));return t},t.prototype.unfoldSoak=function(e){return null!=this.unfoldedSoak?this.unfoldedSoak:this.unfoldedSoak=function(n){return function(){var r,s,o,a,c,h,l,p,d,f;if(o=n.base.unfoldSoak(e))return(p=o.body.properties).push.apply(p,n.properties),o;for(d=n.properties,s=a=0,c=d.length;c>a;s=++a)if(h=d[s],h.soak)return h.soak=!1,r=new t(n.base,n.properties.slice(0,s)),f=new t(n.base,n.properties.slice(s)),r.isComplex()&&(l=new x(e.scope.freeVariable(\"ref\")),r=new O(new i(l,r)),f.base=l),new b(new u(r),f,{soak:!0});return!1}}(this)()},t}(r),e.Comment=l=function(e){function t(e){this.comment=e}return kt(t,e),t.prototype.isStatement=Q,t.prototype.makeReturn=X,t.prototype.compileNode=function(e,t){var n,i;return i=this.comment.replace(/^(\\s*)# /gm,\"$1 * \"),n=\"/*\"+ut(i,this.tab)+(Tt.call(i,\"\\n\")>=0?\"\\n\"+this.tab:\"\")+\" */\",(t||e.level)===L&&(n=e.indent+n),[this.makeCode(\"\\n\"),this.makeCode(n)]},t}(r),e.Call=o=function(e){function n(e,t,n){this.args=null!=t?t:[],this.soak=n,this.isNew=!1,this.isSuper=\"super\"===e,this.variable=this.isSuper?null:e,e instanceof z&&e.isNotCallable()&&e.error(\"literal is not a function\")}return kt(n,e),n.prototype.children=[\"variable\",\"args\"],n.prototype.newInstance=function(){var e,t;return e=(null!=(t=this.variable)?t.base:void 0)||this.variable,e instanceof n&&!e.isNew?e.newInstance():this.isNew=!0,this},n.prototype.superReference=function(e){var n,r,s,o,a,c,h,l;return a=e.scope.namedMethod(),(null!=a?a.klass:void 0)?(o=a.klass,c=a.name,l=a.variable,o.isComplex()&&(s=new x(e.scope.parent.freeVariable(\"base\")),r=new z(new O(new i(s,o))),l.base=r,l.properties.splice(0,o.properties.length)),(c.isComplex()||c instanceof w&&c.index.isAssignable())&&(h=new x(e.scope.parent.freeVariable(\"name\")),c=new w(new i(h,c.index)),l.properties.pop(),l.properties.push(c)),n=[new t(new x(\"__super__\"))],a[\"static\"]&&n.push(new t(new x(\"constructor\"))),n.push(null!=h?new w(h):c),new z(null!=s?s:o,n).compile(e)):(null!=a?a.ctor:void 0)?a.name+\".__super__.constructor\":this.error(\"cannot call super outside of an instance method.\")},n.prototype.superThis=function(e){var t;return t=e.scope.method,t&&!t.klass&&t.context||\"this\"},n.prototype.unfoldSoak=function(e){var t,i,r,s,o,a,c,h,l;if(this.soak){if(this.variable){if(i=yt(e,this,\"variable\"))return i;c=new z(this.variable).cacheReference(e),s=c[0],l=c[1]}else s=new x(this.superReference(e)),l=new z(s);return l=new n(l,this.args),l.isNew=this.isNew,s=new x(\"typeof \"+s.compile(e)+' === \"function\"'),new b(s,new z(l),{soak:!0})}for(t=this,a=[];;)if(t.variable instanceof n)a.push(t),t=t.variable;else{if(!(t.variable instanceof z))break;if(a.push(t),!((t=t.variable.base)instanceof n))break}for(h=a.reverse(),r=0,o=h.length;o>r;r++)t=h[r],i&&(t.variable instanceof n?t.variable=i:t.variable.base=i),i=yt(e,t,\"variable\");return i},n.prototype.compileNode=function(e){var t,n,i,r,s,o,a,c,h,l;if(null!=(h=this.variable)&&(h.front=this.front),r=G.compileSplattedArray(e,this.args,!0),r.length)return this.compileSplat(e,r);for(i=[],l=this.args,n=o=0,a=l.length;a>o;n=++o)t=l[n],n&&i.push(this.makeCode(\", \")),i.push.apply(i,t.compileToFragments(e,E));return s=[],this.isSuper?(c=this.superReference(e)+(\".call(\"+this.superThis(e)),i.length&&(c+=\", \"),s.push(this.makeCode(c))):(this.isNew&&s.push(this.makeCode(\"new \")),s.push.apply(s,this.variable.compileToFragments(e,T)),s.push(this.makeCode(\"(\"))),s.push.apply(s,i),s.push(this.makeCode(\")\")),s},n.prototype.compileSplat=function(e,t){var n,i,r,s,o,a;return this.isSuper?[].concat(this.makeCode(this.superReference(e)+\".apply(\"+this.superThis(e)+\", \"),t,this.makeCode(\")\")):this.isNew?(s=this.tab+q,[].concat(this.makeCode(\"(function(func, args, ctor) {\\n\"+s+\"ctor.prototype = func.prototype;\\n\"+s+\"var child = new ctor, result = func.apply(child, args);\\n\"+s+\"return Object(result) === result ? result : child;\\n\"+this.tab+\"})(\"),this.variable.compileToFragments(e,E),this.makeCode(\", \"),t,this.makeCode(\", function(){})\"))):(n=[],i=new z(this.variable),(o=i.properties.pop())&&i.isComplex()?(a=e.scope.freeVariable(\"ref\"),n=n.concat(this.makeCode(\"(\"+a+\" = \"),i.compileToFragments(e,E),this.makeCode(\")\"),o.compileToFragments(e))):(r=i.compileToFragments(e,T),B.test(st(r))&&(r=this.wrapInBraces(r)),o?(a=st(r),r.push.apply(r,o.compileToFragments(e))):a=\"null\",n=n.concat(r)),n=n.concat(this.makeCode(\".apply(\"+a+\", \"),t,this.makeCode(\")\")))},n}(r),e.Extends=d=function(e){function t(e,t){this.child=e,this.parent=t}return kt(t,e),t.prototype.children=[\"child\",\"parent\"],t.prototype.compileToFragments=function(e){return new o(new z(new x(bt(\"extend\",e))),[this.child,this.parent]).compileToFragments(e)},t}(r),e.Access=t=function(e){function t(e,t){this.name=e,this.name.asKey=!0,this.soak=\"soak\"===t}return kt(t,e),t.prototype.children=[\"name\"],t.prototype.compileToFragments=function(e){var t;return t=this.name.compileToFragments(e),g.test(st(t))?t.unshift(this.makeCode(\".\")):(t.unshift(this.makeCode(\"[\")),t.push(this.makeCode(\"]\"))),t},t.prototype.isComplex=D,t}(r),e.Index=w=function(e){function t(e){this.index=e}return kt(t,e),t.prototype.children=[\"index\"],t.prototype.compileToFragments=function(e){return[].concat(this.makeCode(\"[\"),this.index.compileToFragments(e,N),this.makeCode(\"]\"))},t.prototype.isComplex=function(){return this.index.isComplex()},t}(r),e.Range=j=function(e){function t(e,t,n){this.from=e,this.to=t,this.exclusive=\"exclusive\"===n,this.equals=this.exclusive?\"\":\"=\"}return kt(t,e),t.prototype.children=[\"from\",\"to\"],t.prototype.compileVariables=function(e){var t,n,i,r,s,o;return e=lt(e,{top:!0}),t=tt(e,\"isComplex\"),n=this.cacheToCodeFragments(this.from.cache(e,E,t)),this.fromC=n[0],this.fromVar=n[1],i=this.cacheToCodeFragments(this.to.cache(e,E,t)),this.toC=i[0],this.toVar=i[1],(o=tt(e,\"step\"))&&(r=this.cacheToCodeFragments(o.cache(e,E,t)),this.step=r[0],this.stepVar=r[1]),s=[this.fromVar.match(R),this.toVar.match(R)],this.fromNum=s[0],this.toNum=s[1],this.stepVar?this.stepNum=this.stepVar.match(R):void 0},t.prototype.compileNode=function(e){var t,n,i,r,s,o,a,c,h,l,u,p,d,f;return this.fromVar||this.compileVariables(e),e.index?(a=this.fromNum&&this.toNum,s=tt(e,\"index\"),o=tt(e,\"name\"),h=o&&o!==s,f=s+\" = \"+this.fromC,this.toC!==this.toVar&&(f+=\", \"+this.toC),this.step!==this.stepVar&&(f+=\", \"+this.step),l=[s+\" <\"+this.equals,s+\" >\"+this.equals],c=l[0],r=l[1],n=this.stepNum?pt(this.stepNum[0])>0?c+\" \"+this.toVar:r+\" \"+this.toVar:a?(u=[pt(this.fromNum[0]),pt(this.toNum[0])],i=u[0],d=u[1],u,d>=i?c+\" \"+d:r+\" \"+d):(t=this.stepVar?this.stepVar+\" > 0\":this.fromVar+\" <= \"+this.toVar,t+\" ? \"+c+\" \"+this.toVar+\" : \"+r+\" \"+this.toVar),p=this.stepVar?s+\" += \"+this.stepVar:a?h?d>=i?\"++\"+s:\"--\"+s:d>=i?s+\"++\":s+\"--\":h?t+\" ? ++\"+s+\" : --\"+s:t+\" ? \"+s+\"++ : \"+s+\"--\",h&&(f=o+\" = \"+f),h&&(p=o+\" = \"+p),[this.makeCode(f+\"; \"+n+\"; \"+p)]):this.compileArray(e)},t.prototype.compileArray=function(e){var t,n,i,r,s,o,a,c,h,l,u,p,d;return this.fromNum&&this.toNum&&20>=Math.abs(this.fromNum-this.toNum)?(h=function(){p=[];for(var e=l=+this.fromNum,t=+this.toNum;t>=l?t>=e:e>=t;t>=l?e++:e--)p.push(e);return p}.apply(this),this.exclusive&&h.pop(),[this.makeCode(\"[\"+h.join(\", \")+\"]\")]):(o=this.tab+q,s=e.scope.freeVariable(\"i\",{single:!0}),u=e.scope.freeVariable(\"results\"),c=\"\\n\"+o+u+\" = [];\",this.fromNum&&this.toNum?(e.index=s,n=st(this.compileNode(e))):(d=s+\" = \"+this.fromC+(this.toC!==this.toVar?\", \"+this.toC:\"\"),i=this.fromVar+\" <= \"+this.toVar,n=\"var \"+d+\"; \"+i+\" ? \"+s+\" <\"+this.equals+\" \"+this.toVar+\" : \"+s+\" >\"+this.equals+\" \"+this.toVar+\"; \"+i+\" ? \"+s+\"++ : \"+s+\"--\"),a=\"{ \"+u+\".push(\"+s+\"); }\\n\"+o+\"return \"+u+\";\\n\"+e.indent,r=function(e){return null!=e?e.contains(at):void 0},(r(this.from)||r(this.to))&&(t=\", arguments\"),[this.makeCode(\"(function() {\"+c+\"\\n\"+o+\"for (\"+n+\")\"+a+\"}).apply(this\"+(null!=t?t:\"\")+\")\")])},t}(r),e.Slice=U=function(e){function t(e){this.range=e,t.__super__.constructor.call(this)}return kt(t,e),t.prototype.children=[\"range\"],t.prototype.compileNode=function(e){var t,n,i,r,s,o,a;return s=this.range,o=s.to,i=s.from,r=i&&i.compileToFragments(e,N)||[this.makeCode(\"0\")],o&&(t=o.compileToFragments(e,N),n=st(t),(this.range.exclusive||-1!==+n)&&(a=\", \"+(this.range.exclusive?n:B.test(n)?\"\"+(+n+1):(t=o.compileToFragments(e,T),\"+\"+st(t)+\" + 1 || 9e9\")))),[this.makeCode(\".slice(\"+st(r)+(a||\"\")+\")\")]},t}(r),e.Obj=A=function(e){function n(e,t){this.generated=null!=t?t:!1,this.objects=this.properties=e||[]}return kt(n,e),n.prototype.children=[\"properties\"],n.prototype.compileNode=function(e){var n,r,s,o,a,c,h,u,p,d,f,m,g,v,y,b,k,w,T,C,E;if(T=this.properties,this.generated)for(h=0,g=T.length;g>h;h++)b=T[h],b instanceof z&&b.error(\"cannot have an implicit value in an implicit object\");for(r=p=0,v=T.length;v>p&&(w=T[r],!((w.variable||w).base instanceof O));r=++p);for(s=T.length>r,a=e.indent+=q,m=this.lastNonComment(this.properties),n=[],s&&(k=e.scope.freeVariable(\"obj\"),n.push(this.makeCode(\"(\\n\"+a+k+\" = \"))),n.push(this.makeCode(\"{\"+(0===T.length||0===r?\"}\":\"\\n\"))),o=f=0,y=T.length;y>f;o=++f)w=T[o],o===r&&(0!==o&&n.push(this.makeCode(\"\\n\"+a+\"}\")),n.push(this.makeCode(\",\\n\"))),u=o===T.length-1||o===r-1?\"\":w===m||w instanceof l?\"\\n\":\",\\n\",c=w instanceof l?\"\":a,s&&r>o&&(c+=q),w instanceof i&&w.variable instanceof z&&w.variable.hasProperties()&&w.variable.error(\"Invalid object key\"),w instanceof z&&w[\"this\"]&&(w=new i(w.properties[0].name,w,\"object\")),w instanceof l||(r>o?(w instanceof i||(w=new i(w,w,\"object\")),(w.variable.base||w.variable).asKey=!0):(w instanceof i?(d=w.variable,E=w.value):(C=w.base.cache(e),d=C[0],E=C[1]),w=new i(new z(new x(k),[new t(d)]),E))),c&&n.push(this.makeCode(c)),n.push.apply(n,w.compileToFragments(e,L)),u&&n.push(this.makeCode(u));return s?n.push(this.makeCode(\",\\n\"+a+k+\"\\n\"+this.tab+\")\")):0!==T.length&&n.push(this.makeCode(\"\\n\"+this.tab+\"}\")),this.front&&!s?this.wrapInBraces(n):n},n.prototype.assigns=function(e){var t,n,i,r;for(r=this.properties,t=0,n=r.length;n>t;t++)if(i=r[t],i.assigns(e))return!0;return!1},n}(r),e.Arr=n=function(e){function t(e){this.objects=e||[]}return kt(t,e),t.prototype.children=[\"objects\"],t.prototype.compileNode=function(e){var t,n,i,r,s,o,a;if(!this.objects.length)return[this.makeCode(\"[]\")];if(e.indent+=q,t=G.compileSplattedArray(e,this.objects),t.length)return t;for(t=[],n=function(){var t,n,i,r;for(i=this.objects,r=[],t=0,n=i.length;n>t;t++)a=i[t],r.push(a.compileToFragments(e,E));return r}.call(this),r=s=0,o=n.length;o>s;r=++s)i=n[r],r&&t.push(this.makeCode(\", \")),t.push.apply(t,i);return st(t).indexOf(\"\\n\")>=0?(t.unshift(this.makeCode(\"[\\n\"+e.indent)),t.push(this.makeCode(\"\\n\"+this.tab+\"]\"))):(t.unshift(this.makeCode(\"[\")),t.push(this.makeCode(\"]\"))),t},t.prototype.assigns=function(e){var t,n,i,r;for(r=this.objects,t=0,n=r.length;n>t;t++)if(i=r[t],i.assigns(e))return!0;return!1},t}(r),e.Class=a=function(e){function n(e,t,n){this.variable=e,this.parent=t,this.body=null!=n?n:new s,this.boundFuncs=[],this.body.classBody=!0}return kt(n,e),n.prototype.children=[\"variable\",\"parent\",\"body\"],n.prototype.determineName=function(){var e,n,i;return this.variable?(n=this.variable.properties,i=n[n.length-1],e=i?i instanceof t&&i.name.value:this.variable.base.value,Tt.call(V,e)>=0&&this.variable.error(\"class variable name may not be \"+e),e&&(e=g.test(e)&&e)):null},n.prototype.setContext=function(e){return this.body.traverseChildren(!1,function(t){return t.classBody?!1:t instanceof x&&\"this\"===t.value?t.value=e:t instanceof c&&t.bound?t.context=e:void 0})},n.prototype.addBoundFunctions=function(e){var n,i,r,s,o;for(o=this.boundFuncs,i=0,r=o.length;r>i;i++)n=o[i],s=new z(new x(\"this\"),[new t(n)]).compile(e),this.ctor.body.unshift(new x(s+\" = \"+bt(\"bind\",e)+\"(\"+s+\", this)\"))},n.prototype.addProperties=function(e,n,r){var s,o,a,h,l,u;return u=e.base.properties.slice(0),h=function(){var e;for(e=[];o=u.shift();)o instanceof i&&(a=o.variable.base,delete o.context,l=o.value,\"constructor\"===a.value?(this.ctor&&o.error(\"cannot define more than one constructor in a class\"),l.bound&&o.error(\"cannot define a constructor as a bound function\"),l instanceof c?o=this.ctor=l:(this.externalCtor=r.classScope.freeVariable(\"class\"),o=new i(new x(this.externalCtor),l))):o.variable[\"this\"]?l[\"static\"]=!0:(s=a.isComplex()?new w(a):new t(a),o.variable=new z(new x(n),[new t(new x(\"prototype\")),s]),l instanceof c&&l.bound&&(this.boundFuncs.push(a),l.bound=!1))),e.push(o);return e}.call(this),et(h)},n.prototype.walkBody=function(e,t){return this.traverseChildren(!1,function(r){return function(o){var a,c,h,l,u,p,d;if(a=!0,o instanceof n)return!1;if(o instanceof s){for(d=c=o.expressions,h=l=0,u=d.length;u>l;h=++l)p=d[h],p instanceof i&&p.variable.looksStatic(e)?p.value[\"static\"]=!0:p instanceof z&&p.isObject(!0)&&(a=!1,c[h]=r.addProperties(p,e,t));o.expressions=c=rt(c)}return a&&!(o instanceof n)}}(this))},n.prototype.hoistDirectivePrologue=function(){var e,t,n;for(t=0,e=this.body.expressions;(n=e[t])&&n instanceof l||n instanceof z&&n.isString();)++t;return this.directives=e.splice(0,t)},n.prototype.ensureConstructor=function(e){return this.ctor||(this.ctor=new c,this.externalCtor?this.ctor.body.push(new x(this.externalCtor+\".apply(this, arguments)\")):this.parent&&this.ctor.body.push(new x(e+\".__super__.constructor.apply(this, arguments)\")),this.ctor.body.makeReturn(),this.body.expressions.unshift(this.ctor)),this.ctor.ctor=this.ctor.name=e,this.ctor.klass=null,this.ctor.noReturn=!0},n.prototype.compileNode=function(e){var t,n,r,a,h,l,u,p,f;return(a=this.body.jumps())&&a.error(\"Class bodies cannot contain pure statements\"),(n=this.body.contains(at))&&n.error(\"Class bodies shouldn't reference arguments\"),u=this.determineName()||\"_Class\",u.reserved&&(u=\"_\"+u),l=new x(u),r=new c([],s.wrap([this.body])),t=[],e.classScope=r.makeScope(e.scope),this.hoistDirectivePrologue(),this.setContext(u),this.walkBody(u,e),this.ensureConstructor(u),this.addBoundFunctions(e),this.body.spaced=!0,this.body.expressions.push(l),this.parent&&(f=new x(e.classScope.freeVariable(\"superClass\",{reserve:!1})),this.body.expressions.unshift(new d(l,f)),r.params.push(new _(f)),t.push(this.parent)),(p=this.body.expressions).unshift.apply(p,this.directives),h=new O(new o(r,t)),this.variable&&(h=new i(this.variable,h)),h.compileToFragments(e)},n}(r),e.Assign=i=function(e){function n(e,t,n,i){var r,s,o;this.variable=e,this.value=t,this.context=n,this.param=i&&i.param,this.subpattern=i&&i.subpattern,o=s=this.variable.unwrapAll().value,r=Tt.call(V,o)>=0,r&&\"object\"!==this.context&&this.variable.error('variable name may not be \"'+s+'\"')}return kt(n,e),n.prototype.children=[\"variable\",\"value\"],n.prototype.isStatement=function(e){return(null!=e?e.level:void 0)===L&&null!=this.context&&Tt.call(this.context,\"?\")>=0\n},n.prototype.assigns=function(e){return this[\"object\"===this.context?\"value\":\"variable\"].assigns(e)},n.prototype.unfoldSoak=function(e){return yt(e,this,\"variable\")},n.prototype.compileNode=function(e){var t,n,i,r,s,o,a,h,l,u,p,d,f,m;if(i=this.variable instanceof z){if(this.variable.isArray()||this.variable.isObject())return this.compilePatternMatch(e);if(this.variable.isSplice())return this.compileSplice(e);if(\"||=\"===(h=this.context)||\"&&=\"===h||\"?=\"===h)return this.compileConditional(e);if(\"**=\"===(l=this.context)||\"//=\"===l||\"%%=\"===l)return this.compileSpecialMath(e)}return this.value instanceof c&&(this.value[\"static\"]?(this.value.klass=this.variable.base,this.value.name=this.variable.properties[0],this.value.variable=this.variable):(null!=(u=this.variable.properties)?u.length:void 0)>=2&&(p=this.variable.properties,o=p.length>=3?Ct.call(p,0,r=p.length-2):(r=0,[]),a=p[r++],s=p[r++],\"prototype\"===(null!=(d=a.name)?d.value:void 0)&&(this.value.klass=new z(this.variable.base,o),this.value.name=s,this.value.variable=this.variable))),this.context||(m=this.variable.unwrapAll(),m.isAssignable()||this.variable.error('\"'+this.variable.compile(e)+'\" cannot be assigned'),(\"function\"==typeof m.hasProperties?m.hasProperties():void 0)||(this.param?e.scope.add(m.value,\"var\"):e.scope.find(m.value))),f=this.value.compileToFragments(e,E),n=this.variable.compileToFragments(e,E),\"object\"===this.context?n.concat(this.makeCode(\": \"),f):(t=n.concat(this.makeCode(\" \"+(this.context||\"=\")+\" \"),f),E>=e.level?t:this.wrapInBraces(t))},n.prototype.compilePatternMatch=function(e){var i,r,s,o,a,c,h,l,u,d,f,m,v,y,b,k,T,C,N,S,D,R,A,I,_,j,M,B;if(I=e.level===L,j=this.value,y=this.variable.base.objects,!(b=y.length))return s=j.compileToFragments(e),e.level>=F?this.wrapInBraces(s):s;if(l=this.variable.isObject(),I&&1===b&&!((v=y[0])instanceof G))return v instanceof n?(T=v,C=T.variable,h=C.base,v=T.value):h=l?v[\"this\"]?v.properties[0].name:v:new x(0),i=g.test(h.unwrap().value||0),j=new z(j),j.properties.push(new(i?t:w)(h)),N=v.unwrap().value,Tt.call($,N)>=0&&v.error(\"assignment to a reserved word: \"+v.compile(e)),new n(v,j,null,{param:this.param}).compileToFragments(e,L);for(M=j.compileToFragments(e,E),B=st(M),r=[],o=!1,(!g.test(B)||this.variable.assigns(B))&&(r.push([this.makeCode((k=e.scope.freeVariable(\"ref\"))+\" = \")].concat(Ct.call(M))),M=[this.makeCode(k)],B=k),c=d=0,f=y.length;f>d;c=++d){if(v=y[c],h=c,l&&(v instanceof n?(S=v,D=S.variable,h=D.base,v=S.value):v.base instanceof O?(R=new z(v.unwrapAll()).cacheReference(e),v=R[0],h=R[1]):h=v[\"this\"]?v.properties[0].name:v),!o&&v instanceof G)m=v.name.unwrap().value,v=v.unwrap(),_=b+\" <= \"+B+\".length ? \"+bt(\"slice\",e)+\".call(\"+B+\", \"+c,(A=b-c-1)?(u=e.scope.freeVariable(\"i\",{single:!0}),_+=\", \"+u+\" = \"+B+\".length - \"+A+\") : (\"+u+\" = \"+c+\", [])\"):_+=\") : []\",_=new x(_),o=u+\"++\";else{if(!o&&v instanceof p){(A=b-c-1)&&(1===A?o=B+\".length - 1\":(u=e.scope.freeVariable(\"i\",{single:!0}),_=new x(u+\" = \"+B+\".length - \"+A),o=u+\"++\",r.push(_.compileToFragments(e,E))));continue}m=v.unwrap().value,(v instanceof G||v instanceof p)&&v.error(\"multiple splats/expansions are disallowed in an assignment\"),\"number\"==typeof h?(h=new x(o||h),i=!1):i=l&&g.test(h.unwrap().value||0),_=new z(new x(B),[new(i?t:w)(h)])}null!=m&&Tt.call($,m)>=0&&v.error(\"assignment to a reserved word: \"+v.compile(e)),r.push(new n(v,_,null,{param:this.param,subpattern:!0}).compileToFragments(e,E))}return I||this.subpattern||r.push(M),a=this.joinFragmentArrays(r,\", \"),E>e.level?a:this.wrapInBraces(a)},n.prototype.compileConditional=function(e){var t,i,r,s;return r=this.variable.cacheReference(e),i=r[0],s=r[1],!i.properties.length&&i.base instanceof x&&\"this\"!==i.base.value&&!e.scope.check(i.base.value)&&this.variable.error('the variable \"'+i.base.value+\"\\\" can't be assigned with \"+this.context+\" because it has not been declared before\"),Tt.call(this.context,\"?\")>=0?(e.isExistentialEquals=!0,new b(new u(i),s,{type:\"if\"}).addElse(new n(s,this.value,\"=\")).compileToFragments(e)):(t=new I(this.context.slice(0,-1),i,new n(s,this.value,\"=\")).compileToFragments(e),E>=e.level?t:this.wrapInBraces(t))},n.prototype.compileSpecialMath=function(e){var t,i,r;return i=this.variable.cacheReference(e),t=i[0],r=i[1],new n(t,new I(this.context.slice(0,-1),r,this.value)).compileToFragments(e)},n.prototype.compileSplice=function(e){var t,n,i,r,s,o,a,c,h,l,u,p;return a=this.variable.properties.pop().range,i=a.from,l=a.to,n=a.exclusive,o=this.variable.compile(e),i?(c=this.cacheToCodeFragments(i.cache(e,F)),r=c[0],s=c[1]):r=s=\"0\",l?i instanceof z&&i.isSimpleNumber()&&l instanceof z&&l.isSimpleNumber()?(l=l.compile(e)-s,n||(l+=1)):(l=l.compile(e,T)+\" - \"+s,n||(l+=\" + 1\")):l=\"9e9\",h=this.value.cache(e,E),u=h[0],p=h[1],t=[].concat(this.makeCode(\"[].splice.apply(\"+o+\", [\"+r+\", \"+l+\"].concat(\"),u,this.makeCode(\")), \"),p),e.level>L?this.wrapInBraces(t):t},n}(r),e.Code=c=function(e){function t(e,t,n){this.params=e||[],this.body=t||new s,this.bound=\"boundfunc\"===n,this.isGenerator=!!this.body.contains(function(e){var t;return e instanceof I&&(\"yield\"===(t=e.operator)||\"yield*\"===t)})}return kt(t,e),t.prototype.children=[\"params\",\"body\"],t.prototype.isStatement=function(){return!!this.ctor},t.prototype.jumps=D,t.prototype.makeScope=function(e){return new P(e,this.body,this)},t.prototype.compileNode=function(e){var r,a,c,h,l,u,d,f,m,g,v,y,k,w,C,E,F,N,L,S,D,R,A,O,$,j,M,B,V,P,U,G,H;if(this.bound&&(null!=(A=e.scope.method)?A.bound:void 0)&&(this.context=e.scope.method.context),this.bound&&!this.context)return this.context=\"_this\",H=new t([new _(new x(this.context))],new s([this])),a=new o(H,[new x(\"this\")]),a.updateLocationDataIfMissing(this.locationData),a.compileNode(e);for(e.scope=tt(e,\"classScope\")||this.makeScope(e.scope),e.scope.shared=tt(e,\"sharedScope\"),e.indent+=q,delete e.bare,delete e.isExistentialEquals,L=[],h=[],O=this.params,u=0,m=O.length;m>u;u++)N=O[u],N instanceof p||e.scope.parameter(N.asReference(e));for($=this.params,d=0,g=$.length;g>d;d++)if(N=$[d],N.splat||N instanceof p){for(j=this.params,f=0,v=j.length;v>f;f++)F=j[f],F instanceof p||!F.name.value||e.scope.add(F.name.value,\"var\",!0);V=new i(new z(new n(function(){var t,n,i,r;for(i=this.params,r=[],n=0,t=i.length;t>n;n++)F=i[n],r.push(F.asReference(e));return r}.call(this))),new z(new x(\"arguments\")));break}for(M=this.params,E=0,y=M.length;y>E;E++)N=M[E],N.isComplex()?(U=R=N.asReference(e),N.value&&(U=new I(\"?\",R,N.value)),h.push(new i(new z(N.name),U,\"=\",{param:!0}))):(R=N,N.value&&(C=new x(R.name.value+\" == null\"),U=new i(new z(N.name),N.value,\"=\"),h.push(new b(C,U)))),V||L.push(R);for(G=this.body.isEmpty(),V&&h.unshift(V),h.length&&(B=this.body.expressions).unshift.apply(B,h),l=S=0,k=L.length;k>S;l=++S)F=L[l],L[l]=F.compileToFragments(e),e.scope.parameter(st(L[l]));for(P=[],this.eachParamName(function(e,t){return Tt.call(P,e)>=0&&t.error(\"multiple parameters named \"+e),P.push(e)}),G||this.noReturn||this.body.makeReturn(),c=\"function\",this.isGenerator&&(c+=\"*\"),this.ctor&&(c+=\" \"+this.name),c+=\"(\",r=[this.makeCode(c)],l=D=0,w=L.length;w>D;l=++D)F=L[l],l&&r.push(this.makeCode(\", \")),r.push.apply(r,F);return r.push(this.makeCode(\") {\")),this.body.isEmpty()||(r=r.concat(this.makeCode(\"\\n\"),this.body.compileWithDeclarations(e),this.makeCode(\"\\n\"+this.tab))),r.push(this.makeCode(\"}\")),this.ctor?[this.makeCode(this.tab)].concat(Ct.call(r)):this.front||e.level>=T?this.wrapInBraces(r):r},t.prototype.eachParamName=function(e){var t,n,i,r,s;for(r=this.params,s=[],t=0,n=r.length;n>t;t++)i=r[t],s.push(i.eachName(e));return s},t.prototype.traverseChildren=function(e,n){return e?t.__super__.traverseChildren.call(this,e,n):void 0},t}(r),e.Param=_=function(e){function t(e,t,n){var i,r;this.name=e,this.value=t,this.splat=n,r=i=this.name.unwrapAll().value,Tt.call(V,r)>=0&&this.name.error('parameter name \"'+i+'\" is not allowed')}return kt(t,e),t.prototype.children=[\"name\",\"value\"],t.prototype.compileToFragments=function(e){return this.name.compileToFragments(e,E)},t.prototype.asReference=function(e){var t,n;return this.reference?this.reference:(n=this.name,n[\"this\"]?(t=n.properties[0].name.value,t.reserved&&(t=\"_\"+t),n=new x(e.scope.freeVariable(t))):n.isComplex()&&(n=new x(e.scope.freeVariable(\"arg\"))),n=new z(n),this.splat&&(n=new G(n)),n.updateLocationDataIfMissing(this.locationData),this.reference=n)},t.prototype.isComplex=function(){return this.name.isComplex()},t.prototype.eachName=function(e,t){var n,r,s,o,a,c;if(null==t&&(t=this.name),n=function(t){return e(\"@\"+t.properties[0].name.value,t)},t instanceof x)return e(t.value,t);if(t instanceof z)return n(t);for(c=t.objects,r=0,s=c.length;s>r;r++)a=c[r],a instanceof i?this.eachName(e,a.value.unwrap()):a instanceof G?(o=a.name.unwrap(),e(o.value,o)):a instanceof z?a.isArray()||a.isObject()?this.eachName(e,a.base):a[\"this\"]?n(a):e(a.base.value,a.base):a instanceof p||a.error(\"illegal parameter \"+a.compile())},t}(r),e.Splat=G=function(e){function t(e){this.name=e.compile?e:new x(e)}return kt(t,e),t.prototype.children=[\"name\"],t.prototype.isAssignable=Q,t.prototype.assigns=function(e){return this.name.assigns(e)},t.prototype.compileToFragments=function(e){return this.name.compileToFragments(e)},t.prototype.unwrap=function(){return this.name},t.compileSplattedArray=function(e,n,i){var r,s,o,a,c,h,l,u,p,d,f;for(l=-1;(f=n[++l])&&!(f instanceof t););if(l>=n.length)return[];if(1===n.length)return f=n[0],c=f.compileToFragments(e,E),i?c:[].concat(f.makeCode(bt(\"slice\",e)+\".call(\"),c,f.makeCode(\")\"));for(r=n.slice(l),h=u=0,d=r.length;d>u;h=++u)f=r[h],o=f.compileToFragments(e,E),r[h]=f instanceof t?[].concat(f.makeCode(bt(\"slice\",e)+\".call(\"),o,f.makeCode(\")\")):[].concat(f.makeCode(\"[\"),o,f.makeCode(\"]\"));return 0===l?(f=n[0],a=f.joinFragmentArrays(r.slice(1),\", \"),r[0].concat(f.makeCode(\".concat(\"),a,f.makeCode(\")\"))):(s=function(){var t,i,r,s;for(r=n.slice(0,l),s=[],t=0,i=r.length;i>t;t++)f=r[t],s.push(f.compileToFragments(e,E));return s}(),s=n[0].joinFragmentArrays(s,\", \"),a=n[l].joinFragmentArrays(r,\", \"),p=n[n.length-1],[].concat(n[0].makeCode(\"[\"),s,n[l].makeCode(\"].concat(\"),a,p.makeCode(\")\")))},t}(r),e.Expansion=p=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return kt(t,e),t.prototype.isComplex=D,t.prototype.compileNode=function(){return this.error(\"Expansion must be used inside a destructuring assignment or parameter list\")},t.prototype.asReference=function(){return this},t.prototype.eachName=function(){},t}(r),e.While=J=function(e){function t(e,t){this.condition=(null!=t?t.invert:void 0)?e.invert():e,this.guard=null!=t?t.guard:void 0}return kt(t,e),t.prototype.children=[\"condition\",\"guard\",\"body\"],t.prototype.isStatement=Q,t.prototype.makeReturn=function(e){return e?t.__super__.makeReturn.apply(this,arguments):(this.returns=!this.jumps({loop:!0}),this)},t.prototype.addBody=function(e){return this.body=e,this},t.prototype.jumps=function(){var e,t,n,i,r;if(e=this.body.expressions,!e.length)return!1;for(t=0,i=e.length;i>t;t++)if(r=e[t],n=r.jumps({loop:!0}))return n;return!1},t.prototype.compileNode=function(e){var t,n,i,r;return e.indent+=q,r=\"\",n=this.body,n.isEmpty()?n=this.makeCode(\"\"):(this.returns&&(n.makeReturn(i=e.scope.freeVariable(\"results\")),r=\"\"+this.tab+i+\" = [];\\n\"),this.guard&&(n.expressions.length>1?n.expressions.unshift(new b(new O(this.guard).invert(),new x(\"continue\"))):this.guard&&(n=s.wrap([new b(this.guard,n)]))),n=[].concat(this.makeCode(\"\\n\"),n.compileToFragments(e,L),this.makeCode(\"\\n\"+this.tab))),t=[].concat(this.makeCode(r+this.tab+\"while (\"),this.condition.compileToFragments(e,N),this.makeCode(\") {\"),n,this.makeCode(\"}\")),this.returns&&t.push(this.makeCode(\"\\n\"+this.tab+\"return \"+i+\";\")),t},t}(r),e.Op=I=function(e){function n(e,t,n,i){if(\"in\"===e)return new k(t,n);if(\"do\"===e)return this.generateDo(t);if(\"new\"===e){if(t instanceof o&&!t[\"do\"]&&!t.isNew)return t.newInstance();(t instanceof c&&t.bound||t[\"do\"])&&(t=new O(t))}return this.operator=r[e]||e,this.first=t,this.second=n,this.flip=!!i,this}var r,s;return kt(n,e),r={\"==\":\"===\",\"!=\":\"!==\",of:\"in\",yieldfrom:\"yield*\"},s={\"!==\":\"===\",\"===\":\"!==\"},n.prototype.children=[\"first\",\"second\"],n.prototype.isSimpleNumber=D,n.prototype.isYield=function(){var e;return\"yield\"===(e=this.operator)||\"yield*\"===e},n.prototype.isYieldReturn=function(){return this.isYield()&&this.first instanceof M},n.prototype.isUnary=function(){return!this.second},n.prototype.isComplex=function(){var e;return!(this.isUnary()&&(\"+\"===(e=this.operator)||\"-\"===e)&&this.first instanceof z&&this.first.isSimpleNumber())},n.prototype.isChainable=function(){var e;return\"<\"===(e=this.operator)||\">\"===e||\">=\"===e||\"<=\"===e||\"===\"===e||\"!==\"===e},n.prototype.invert=function(){var e,t,i,r,o;if(this.isChainable()&&this.first.isChainable()){for(e=!0,t=this;t&&t.operator;)e&&(e=t.operator in s),t=t.first;if(!e)return new O(this).invert();for(t=this;t&&t.operator;)t.invert=!t.invert,t.operator=s[t.operator],t=t.first;return this}return(r=s[this.operator])?(this.operator=r,this.first.unwrap()instanceof n&&this.first.invert(),this):this.second?new O(this).invert():\"!\"===this.operator&&(i=this.first.unwrap())instanceof n&&(\"!\"===(o=i.operator)||\"in\"===o||\"instanceof\"===o)?i:new n(\"!\",this)},n.prototype.unfoldSoak=function(e){var t;return(\"++\"===(t=this.operator)||\"--\"===t||\"delete\"===t)&&yt(e,this,\"first\")},n.prototype.generateDo=function(e){var t,n,r,s,a,h,l,u;for(h=[],n=e instanceof i&&(l=e.value.unwrap())instanceof c?l:e,u=n.params||[],r=0,s=u.length;s>r;r++)a=u[r],a.value?(h.push(a.value),delete a.value):h.push(a);return t=new o(e,h),t[\"do\"]=!0,t},n.prototype.compileNode=function(e){var t,n,i,r,s,o;if(n=this.isChainable()&&this.first.isChainable(),n||(this.first.front=this.front),\"delete\"===this.operator&&e.scope.check(this.first.unwrapAll().value)&&this.error(\"delete operand may not be argument or var\"),(\"--\"===(r=this.operator)||\"++\"===r)&&(s=this.first.unwrapAll().value,Tt.call(V,s)>=0)&&this.error('cannot increment/decrement \"'+this.first.unwrapAll().value+'\"'),this.isYield())return this.compileYield(e);if(this.isUnary())return this.compileUnary(e);if(n)return this.compileChain(e);switch(this.operator){case\"?\":return this.compileExistence(e);case\"**\":return this.compilePower(e);case\"//\":return this.compileFloorDivision(e);case\"%%\":return this.compileModulo(e);default:return i=this.first.compileToFragments(e,F),o=this.second.compileToFragments(e,F),t=[].concat(i,this.makeCode(\" \"+this.operator+\" \"),o),F>=e.level?t:this.wrapInBraces(t)}},n.prototype.compileChain=function(e){var t,n,i,r;return i=this.first.second.cache(e),this.first.second=i[0],r=i[1],n=this.first.compileToFragments(e,F),t=n.concat(this.makeCode(\" \"+(this.invert?\"&&\":\"||\")+\" \"),r.compileToFragments(e),this.makeCode(\" \"+this.operator+\" \"),this.second.compileToFragments(e,F)),this.wrapInBraces(t)},n.prototype.compileExistence=function(e){var t,n;return this.first.isComplex()?(n=new x(e.scope.freeVariable(\"ref\")),t=new O(new i(n,this.first))):(t=this.first,n=t),new b(new u(t),n,{type:\"if\"}).addElse(this.second).compileToFragments(e)},n.prototype.compileUnary=function(e){var t,i,r;return i=[],t=this.operator,i.push([this.makeCode(t)]),\"!\"===t&&this.first instanceof u?(this.first.negated=!this.first.negated,this.first.compileToFragments(e)):e.level>=T?new O(this).compileToFragments(e):(r=\"+\"===t||\"-\"===t,(\"new\"===t||\"typeof\"===t||\"delete\"===t||r&&this.first instanceof n&&this.first.operator===t)&&i.push([this.makeCode(\" \")]),(r&&this.first instanceof n||\"new\"===t&&this.first.isStatement(e))&&(this.first=new O(this.first)),i.push(this.first.compileToFragments(e,F)),this.flip&&i.reverse(),this.joinFragmentArrays(i,\"\"))},n.prototype.compileYield=function(e){var t,n;return n=[],t=this.operator,null==e.scope.parent&&this.error(\"yield statements must occur within a function generator.\"),Tt.call(Object.keys(this.first),\"expression\")>=0&&!(this.first instanceof W)?this.isYieldReturn()?n.push(this.first.compileToFragments(e,L)):null!=this.first.expression&&n.push(this.first.expression.compileToFragments(e,F)):(n.push([this.makeCode(\"(\"+t+\" \")]),n.push(this.first.compileToFragments(e,F)),n.push([this.makeCode(\")\")])),this.joinFragmentArrays(n,\"\")},n.prototype.compilePower=function(e){var n;return n=new z(new x(\"Math\"),[new t(new x(\"pow\"))]),new o(n,[this.first,this.second]).compileToFragments(e)},n.prototype.compileFloorDivision=function(e){var i,r;return r=new z(new x(\"Math\"),[new t(new x(\"floor\"))]),i=new n(\"/\",this.first,this.second),new o(r,[i]).compileToFragments(e)},n.prototype.compileModulo=function(e){var t;return t=new z(new x(bt(\"modulo\",e))),new o(t,[this.first,this.second]).compileToFragments(e)},n.prototype.toString=function(e){return n.__super__.toString.call(this,e,this.constructor.name+\" \"+this.operator)},n}(r),e.In=k=function(e){function t(e,t){this.object=e,this.array=t}return kt(t,e),t.prototype.children=[\"object\",\"array\"],t.prototype.invert=S,t.prototype.compileNode=function(e){var t,n,i,r,s;if(this.array instanceof z&&this.array.isArray()&&this.array.base.objects.length){for(s=this.array.base.objects,n=0,i=s.length;i>n;n++)if(r=s[n],r instanceof G){t=!0;break}if(!t)return this.compileOrTest(e)}return this.compileLoopTest(e)},t.prototype.compileOrTest=function(e){var t,n,i,r,s,o,a,c,h,l,u,p;for(c=this.object.cache(e,F),u=c[0],a=c[1],h=this.negated?[\" !== \",\" && \"]:[\" === \",\" || \"],t=h[0],n=h[1],p=[],l=this.array.base.objects,i=s=0,o=l.length;o>s;i=++s)r=l[i],i&&p.push(this.makeCode(n)),p=p.concat(i?a:u,this.makeCode(t),r.compileToFragments(e,T));return F>e.level?p:this.wrapInBraces(p)},t.prototype.compileLoopTest=function(e){var t,n,i,r;return i=this.object.cache(e,E),r=i[0],n=i[1],t=[].concat(this.makeCode(bt(\"indexOf\",e)+\".call(\"),this.array.compileToFragments(e,E),this.makeCode(\", \"),n,this.makeCode(\") \"+(this.negated?\"< 0\":\">= 0\"))),st(r)===st(n)?t:(t=r.concat(this.makeCode(\", \"),t),E>e.level?t:this.wrapInBraces(t))},t.prototype.toString=function(e){return t.__super__.toString.call(this,e,this.constructor.name+(this.negated?\"!\":\"\"))},t}(r),e.Try=Y=function(e){function t(e,t,n,i){this.attempt=e,this.errorVariable=t,this.recovery=n,this.ensure=i}return kt(t,e),t.prototype.children=[\"attempt\",\"recovery\",\"ensure\"],t.prototype.isStatement=Q,t.prototype.jumps=function(e){var t;return this.attempt.jumps(e)||(null!=(t=this.recovery)?t.jumps(e):void 0)},t.prototype.makeReturn=function(e){return this.attempt&&(this.attempt=this.attempt.makeReturn(e)),this.recovery&&(this.recovery=this.recovery.makeReturn(e)),this},t.prototype.compileNode=function(e){var t,n,r,s;return e.indent+=q,s=this.attempt.compileToFragments(e,L),t=this.recovery?(r=new x(\"_error\"),this.errorVariable?this.recovery.unshift(new i(this.errorVariable,r)):void 0,[].concat(this.makeCode(\" catch (\"),r.compileToFragments(e),this.makeCode(\") {\\n\"),this.recovery.compileToFragments(e,L),this.makeCode(\"\\n\"+this.tab+\"}\"))):this.ensure||this.recovery?[]:[this.makeCode(\" catch (_error) {}\")],n=this.ensure?[].concat(this.makeCode(\" finally {\\n\"),this.ensure.compileToFragments(e,L),this.makeCode(\"\\n\"+this.tab+\"}\")):[],[].concat(this.makeCode(this.tab+\"try {\\n\"),s,this.makeCode(\"\\n\"+this.tab+\"}\"),t,n)},t}(r),e.Throw=W=function(e){function t(e){this.expression=e}return kt(t,e),t.prototype.children=[\"expression\"],t.prototype.isStatement=Q,t.prototype.jumps=D,t.prototype.makeReturn=X,t.prototype.compileNode=function(e){return[].concat(this.makeCode(this.tab+\"throw \"),this.expression.compileToFragments(e),this.makeCode(\";\"))},t}(r),e.Existence=u=function(e){function t(e){this.expression=e}return kt(t,e),t.prototype.children=[\"expression\"],t.prototype.invert=S,t.prototype.compileNode=function(e){var t,n,i,r;return this.expression.front=this.front,i=this.expression.compile(e,F),g.test(i)&&!e.scope.check(i)?(r=this.negated?[\"===\",\"||\"]:[\"!==\",\"&&\"],t=r[0],n=r[1],i=\"typeof \"+i+\" \"+t+' \"undefined\" '+n+\" \"+i+\" \"+t+\" null\"):i=i+\" \"+(this.negated?\"==\":\"!=\")+\" null\",[this.makeCode(C>=e.level?i:\"(\"+i+\")\")]},t}(r),e.Parens=O=function(e){function t(e){this.body=e}return kt(t,e),t.prototype.children=[\"body\"],t.prototype.unwrap=function(){return this.body},t.prototype.isComplex=function(){return this.body.isComplex()},t.prototype.compileNode=function(e){var t,n,i;return n=this.body.unwrap(),n instanceof z&&n.isAtomic()?(n.front=this.front,n.compileToFragments(e)):(i=n.compileToFragments(e,N),t=F>e.level&&(n instanceof I||n instanceof o||n instanceof f&&n.returns),t?i:this.wrapInBraces(i))},t}(r),e.For=f=function(e){function t(e,t){var n;this.source=t.source,this.guard=t.guard,this.step=t.step,this.name=t.name,this.index=t.index,this.body=s.wrap([e]),this.own=!!t.own,this.object=!!t.object,this.object&&(n=[this.index,this.name],this.name=n[0],this.index=n[1]),this.index instanceof z&&this.index.error(\"index cannot be a pattern matching expression\"),this.range=this.source instanceof z&&this.source.base instanceof j&&!this.source.properties.length,this.pattern=this.name instanceof z,this.range&&this.index&&this.index.error(\"indexes do not apply to range loops\"),this.range&&this.pattern&&this.name.error(\"cannot pattern match over range loops\"),this.own&&!this.object&&this.name.error(\"cannot use own with for-in\"),this.returns=!1}return kt(t,e),t.prototype.children=[\"body\",\"source\",\"guard\",\"step\"],t.prototype.compileNode=function(e){var t,n,r,o,a,c,h,l,u,p,d,f,m,v,y,k,w,T,C,F,N,S,D,A,I,_,$,j,B,V,P,U,G,H;return t=s.wrap([this.body]),D=t.expressions,T=D[D.length-1],(null!=T?T.jumps():void 0)instanceof M&&(this.returns=!1),B=this.range?this.source.base:this.source,j=e.scope,this.pattern||(F=this.name&&this.name.compile(e,E)),v=this.index&&this.index.compile(e,E),F&&!this.pattern&&j.find(F),v&&j.find(v),this.returns&&($=j.freeVariable(\"results\")),y=this.object&&v||j.freeVariable(\"i\",{single:!0}),k=this.range&&F||v||y,w=k!==y?k+\" = \":\"\",this.step&&!this.range&&(A=this.cacheToCodeFragments(this.step.cache(e,E,ot)),V=A[0],U=A[1],P=U.match(R)),this.pattern&&(F=y),H=\"\",d=\"\",h=\"\",f=this.tab+q,this.range?p=B.compileToFragments(lt(e,{index:y,name:F,step:this.step,isComplex:ot})):(G=this.source.compile(e,E),!F&&!this.own||g.test(G)||(h+=\"\"+this.tab+(S=j.freeVariable(\"ref\"))+\" = \"+G+\";\\n\",G=S),F&&!this.pattern&&(N=F+\" = \"+G+\"[\"+k+\"]\"),this.object||(V!==U&&(h+=\"\"+this.tab+V+\";\\n\"),this.step&&P&&(u=0>pt(P[0]))||(C=j.freeVariable(\"len\")),a=\"\"+w+y+\" = 0, \"+C+\" = \"+G+\".length\",c=\"\"+w+y+\" = \"+G+\".length - 1\",r=y+\" < \"+C,o=y+\" >= 0\",this.step?(P?u&&(r=o,a=c):(r=U+\" > 0 ? \"+r+\" : \"+o,a=\"(\"+U+\" > 0 ? (\"+a+\") : \"+c+\")\"),m=y+\" += \"+U):m=\"\"+(k!==y?\"++\"+y:y+\"++\"),p=[this.makeCode(a+\"; \"+r+\"; \"+w+m)])),this.returns&&(I=\"\"+this.tab+$+\" = [];\\n\",_=\"\\n\"+this.tab+\"return \"+$+\";\",t.makeReturn($)),this.guard&&(t.expressions.length>1?t.expressions.unshift(new b(new O(this.guard).invert(),new x(\"continue\"))):this.guard&&(t=s.wrap([new b(this.guard,t)]))),this.pattern&&t.expressions.unshift(new i(this.name,new x(G+\"[\"+k+\"]\"))),l=[].concat(this.makeCode(h),this.pluckDirectCall(e,t)),N&&(H=\"\\n\"+f+N+\";\"),this.object&&(p=[this.makeCode(k+\" in \"+G)],this.own&&(d=\"\\n\"+f+\"if (!\"+bt(\"hasProp\",e)+\".call(\"+G+\", \"+k+\")) continue;\")),n=t.compileToFragments(lt(e,{indent:f}),L),n&&n.length>0&&(n=[].concat(this.makeCode(\"\\n\"),n,this.makeCode(\"\\n\"))),[].concat(l,this.makeCode(\"\"+(I||\"\")+this.tab+\"for (\"),p,this.makeCode(\") {\"+d+H),n,this.makeCode(this.tab+\"}\"+(_||\"\")))},t.prototype.pluckDirectCall=function(e,t){var n,r,s,a,h,l,u,p,d,f,m,g,v,y,b,k;for(r=[],d=t.expressions,h=l=0,u=d.length;u>l;h=++l)s=d[h],s=s.unwrapAll(),s instanceof o&&(k=null!=(f=s.variable)?f.unwrapAll():void 0,(k instanceof c||k instanceof z&&(null!=(m=k.base)?m.unwrapAll():void 0)instanceof c&&1===k.properties.length&&(\"call\"===(g=null!=(v=k.properties[0].name)?v.value:void 0)||\"apply\"===g))&&(a=(null!=(y=k.base)?y.unwrapAll():void 0)||k,p=new x(e.scope.freeVariable(\"fn\")),n=new z(p),k.base&&(b=[n,k],k.base=b[0],n=b[1]),t.expressions[h]=new o(n,s.args),r=r.concat(this.makeCode(this.tab),new i(p,a).compileToFragments(e,L),this.makeCode(\";\\n\"))));return r},t}(J),e.Switch=H=function(e){function t(e,t,n){this.subject=e,this.cases=t,this.otherwise=n}return kt(t,e),t.prototype.children=[\"subject\",\"cases\",\"otherwise\"],t.prototype.isStatement=Q,t.prototype.jumps=function(e){var t,n,i,r,s,o,a,c;for(null==e&&(e={block:!0}),o=this.cases,i=0,s=o.length;s>i;i++)if(a=o[i],n=a[0],t=a[1],r=t.jumps(e))return r;return null!=(c=this.otherwise)?c.jumps(e):void 0},t.prototype.makeReturn=function(e){var t,n,i,r,o;for(r=this.cases,t=0,n=r.length;n>t;t++)i=r[t],i[1].makeReturn(e);return e&&(this.otherwise||(this.otherwise=new s([new x(\"void 0\")]))),null!=(o=this.otherwise)&&o.makeReturn(e),this},t.prototype.compileNode=function(e){var t,n,i,r,s,o,a,c,h,l,u,p,d,f,m,g;for(c=e.indent+q,h=e.indent=c+q,o=[].concat(this.makeCode(this.tab+\"switch (\"),this.subject?this.subject.compileToFragments(e,N):this.makeCode(\"false\"),this.makeCode(\") {\\n\")),f=this.cases,a=l=0,p=f.length;p>l;a=++l){for(m=f[a],r=m[0],t=m[1],g=rt([r]),u=0,d=g.length;d>u;u++)i=g[u],this.subject||(i=i.invert()),o=o.concat(this.makeCode(c+\"case \"),i.compileToFragments(e,N),this.makeCode(\":\\n\"));if((n=t.compileToFragments(e,L)).length>0&&(o=o.concat(n,this.makeCode(\"\\n\"))),a===this.cases.length-1&&!this.otherwise)break;s=this.lastNonComment(t.expressions),s instanceof M||s instanceof x&&s.jumps()&&\"debugger\"!==s.value||o.push(i.makeCode(h+\"break;\\n\"))}return this.otherwise&&this.otherwise.expressions.length&&o.push.apply(o,[this.makeCode(c+\"default:\\n\")].concat(Ct.call(this.otherwise.compileToFragments(e,L)),[this.makeCode(\"\\n\")])),o.push(this.makeCode(this.tab+\"}\")),o},t}(r),e.If=b=function(e){function t(e,t,n){this.body=t,null==n&&(n={}),this.condition=\"unless\"===n.type?e.invert():e,this.elseBody=null,this.isChain=!1,this.soak=n.soak}return kt(t,e),t.prototype.children=[\"condition\",\"body\",\"elseBody\"],t.prototype.bodyNode=function(){var e;return null!=(e=this.body)?e.unwrap():void 0},t.prototype.elseBodyNode=function(){var e;return null!=(e=this.elseBody)?e.unwrap():void 0},t.prototype.addElse=function(e){return this.isChain?this.elseBodyNode().addElse(e):(this.isChain=e instanceof t,this.elseBody=this.ensureBlock(e),this.elseBody.updateLocationDataIfMissing(e.locationData)),this},t.prototype.isStatement=function(e){var t;return(null!=e?e.level:void 0)===L||this.bodyNode().isStatement(e)||(null!=(t=this.elseBodyNode())?t.isStatement(e):void 0)},t.prototype.jumps=function(e){var t;return this.body.jumps(e)||(null!=(t=this.elseBody)?t.jumps(e):void 0)},t.prototype.compileNode=function(e){return this.isStatement(e)?this.compileStatement(e):this.compileExpression(e)},t.prototype.makeReturn=function(e){return e&&(this.elseBody||(this.elseBody=new s([new x(\"void 0\")]))),this.body&&(this.body=new s([this.body.makeReturn(e)])),this.elseBody&&(this.elseBody=new s([this.elseBody.makeReturn(e)])),this},t.prototype.ensureBlock=function(e){return e instanceof s?e:new s([e])},t.prototype.compileStatement=function(e){var n,i,r,s,o,a,c;return r=tt(e,\"chainChild\"),(o=tt(e,\"isExistentialEquals\"))?new t(this.condition.invert(),this.elseBodyNode(),{type:\"if\"}).compileToFragments(e):(c=e.indent+q,s=this.condition.compileToFragments(e,N),i=this.ensureBlock(this.body).compileToFragments(lt(e,{indent:c})),a=[].concat(this.makeCode(\"if (\"),s,this.makeCode(\") {\\n\"),i,this.makeCode(\"\\n\"+this.tab+\"}\")),r||a.unshift(this.makeCode(this.tab)),this.elseBody?(n=a.concat(this.makeCode(\" else \")),this.isChain?(e.chainChild=!0,n=n.concat(this.elseBody.unwrap().compileToFragments(e,L))):n=n.concat(this.makeCode(\"{\\n\"),this.elseBody.compileToFragments(lt(e,{indent:c}),L),this.makeCode(\"\\n\"+this.tab+\"}\")),n):a)},t.prototype.compileExpression=function(e){var t,n,i,r;return i=this.condition.compileToFragments(e,C),n=this.bodyNode().compileToFragments(e,E),t=this.elseBodyNode()?this.elseBodyNode().compileToFragments(e,E):[this.makeCode(\"void 0\")],r=i.concat(this.makeCode(\" ? \"),n,this.makeCode(\" : \"),t),e.level>=C?this.wrapInBraces(r):r},t.prototype.unfoldSoak=function(){return this.soak&&this},t}(r),K={extend:function(e){return\"function(child, parent) { for (var key in parent) { if (\"+bt(\"hasProp\",e)+\".call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }\"},bind:function(){return\"function(fn, me){ return function(){ return fn.apply(me, arguments); }; }\"},indexOf:function(){return\"[].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }\"},modulo:function(){return\"function(a, b) { return (+a % (b = +b) + b) % b; }\"},hasProp:function(){return\"{}.hasOwnProperty\"},slice:function(){return\"[].slice\"}},L=1,N=2,E=3,C=4,F=5,T=6,q=\"  \",g=/^(?!\\d)[$\\w\\x7f-\\uffff]+$/,B=/^[+-]?\\d+$/,m=/^[+-]?0x[\\da-f]+/i,R=/^[+-]?(?:0x[\\da-f]+|\\d*\\.?\\d+(?:e[+-]?\\d+)?)$/i,y=/^['\"]/,v=/^\\//,bt=function(e,t){var n,i;return i=t.scope.root,e in i.utilities?i.utilities[e]:(n=i.freeVariable(e),i.assign(n,K[e](t)),i.utilities[e]=n)},ut=function(e,t){return e=e.replace(/\\n/g,\"$&\"+t),e.replace(/\\s+$/,\"\")},pt=function(e){return null==e?0:e.match(m)?parseInt(e,16):parseFloat(e)},at=function(e){return e instanceof x&&\"arguments\"===e.value&&!e.asKey},ct=function(e){return e instanceof x&&\"this\"===e.value&&!e.asKey||e instanceof c&&e.bound||e instanceof o&&e.isSuper},ot=function(e){return e.isComplex()||(\"function\"==typeof e.isAssignable?e.isAssignable():void 0)},yt=function(e,t,n){var i;if(i=t[n].unfoldSoak(e))return t[n]=i.body,i.body=new z(t),i}}.call(this),t.exports}(),require[\"./sourcemap\"]=function(){var e={},t={exports:e};return function(){var e,n;e=function(){function e(e){this.line=e,this.columns=[]}return e.prototype.add=function(e,t,n){var i,r;return r=t[0],i=t[1],null==n&&(n={}),this.columns[e]&&n.noReplace?void 0:this.columns[e]={line:this.line,column:e,sourceLine:r,sourceColumn:i}},e.prototype.sourceLocation=function(e){for(var t;!((t=this.columns[e])||0>=e);)e--;return t&&[t.sourceLine,t.sourceColumn]},e}(),n=function(){function t(){this.lines=[]}var n,i,r,s;return t.prototype.add=function(t,n,i){var r,s,o,a;return null==i&&(i={}),o=n[0],s=n[1],a=(r=this.lines)[o]||(r[o]=new e(o)),a.add(s,t,i)},t.prototype.sourceLocation=function(e){var t,n,i;for(n=e[0],t=e[1];!((i=this.lines[n])||0>=n);)n--;return i&&i.sourceLocation(t)},t.prototype.generate=function(e,t){var n,i,r,s,o,a,c,h,l,u,p,d,f,m,g,v;for(null==e&&(e={}),null==t&&(t=null),v=0,s=0,a=0,o=0,d=!1,n=\"\",f=this.lines,u=i=0,c=f.length;c>i;u=++i)if(l=f[u])for(m=l.columns,r=0,h=m.length;h>r;r++)if(p=m[r]){for(;p.line>v;)s=0,d=!1,n+=\";\",v++;d&&(n+=\",\",d=!1),n+=this.encodeVlq(p.column-s),s=p.column,n+=this.encodeVlq(0),n+=this.encodeVlq(p.sourceLine-a),a=p.sourceLine,n+=this.encodeVlq(p.sourceColumn-o),o=p.sourceColumn,d=!0}return g={version:3,file:e.generatedFile||\"\",sourceRoot:e.sourceRoot||\"\",sources:e.sourceFiles||[\"\"],names:[],mappings:n},e.inline&&(g.sourcesContent=[t]),JSON.stringify(g,null,2)},r=5,i=1<<r,s=i-1,t.prototype.encodeVlq=function(e){var t,n,o,a;for(t=\"\",o=0>e?1:0,a=(Math.abs(e)<<1)+o;a||!t;)n=a&s,a>>=r,a&&(n|=i),t+=this.encodeBase64(n);return t},n=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",t.prototype.encodeBase64=function(e){return n[e]||function(){throw Error(\"Cannot Base64 encode value: \"+e)}()},t}(),t.exports=n}.call(this),t.exports}(),require[\"./coffee-script\"]=function(){var e={},t={exports:e};return function(){var t,n,i,r,s,o,a,c,h,l,u,p,d,f,m,g,v,y,b={}.hasOwnProperty,k=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};if(a=require(\"fs\"),v=require(\"vm\"),f=require(\"path\"),t=require(\"./lexer\").Lexer,d=require(\"./parser\").parser,h=require(\"./helpers\"),n=require(\"./sourcemap\"),e.VERSION=\"1.9.1\",e.FILE_EXTENSIONS=[\".coffee\",\".litcoffee\",\".coffee.md\"],e.helpers=h,y=function(e){return function(t,n){var i;null==n&&(n={});try{return e.call(this,t,n)\n}catch(r){throw i=r,h.updateSyntaxError(i,t,n.filename)}}},e.compile=r=y(function(e,t){var i,r,s,o,a,c,l,u,f,m,g,v,y,b,k;for(v=h.merge,o=h.extend,t=o({},t),t.sourceMap&&(g=new n),k=p.tokenize(e,t),t.referencedVars=function(){var e,t,n;for(n=[],e=0,t=k.length;t>e;e++)b=k[e],b.variable&&n.push(b[1]);return n}(),c=d.parse(k).compileToFragments(t),s=0,t.header&&(s+=1),t.shiftLine&&(s+=1),r=0,f=\"\",u=0,m=c.length;m>u;u++)a=c[u],t.sourceMap&&(a.locationData&&g.add([a.locationData.first_line,a.locationData.first_column],[s,r],{noReplace:!0}),y=h.count(a.code,\"\\n\"),s+=y,y?r=a.code.length-(a.code.lastIndexOf(\"\\n\")+1):r+=a.code.length),f+=a.code;return t.header&&(l=\"Generated by CoffeeScript \"+this.VERSION,f=\"// \"+l+\"\\n\"+f),t.sourceMap?(i={js:f},i.sourceMap=g,i.v3SourceMap=g.generate(t,e),i):f}),e.tokens=y(function(e,t){return p.tokenize(e,t)}),e.nodes=y(function(e,t){return\"string\"==typeof e?d.parse(p.tokenize(e,t)):d.parse(e)}),e.run=function(e,t){var n,i,s,o;return null==t&&(t={}),s=require.main,s.filename=process.argv[1]=t.filename?a.realpathSync(t.filename):\".\",s.moduleCache&&(s.moduleCache={}),i=t.filename?f.dirname(a.realpathSync(t.filename)):a.realpathSync(\".\"),s.paths=require(\"module\")._nodeModulePaths(i),(!h.isCoffee(s.filename)||require.extensions)&&(n=r(e,t),e=null!=(o=n.js)?o:n),s._compile(e,s.filename)},e.eval=function(e,t){var n,i,s,o,a,c,h,l,u,p,d,m,g,y,k,w,T;if(null==t&&(t={}),e=e.trim()){if(o=null!=(m=v.Script.createContext)?m:v.createContext,c=null!=(g=v.isContext)?g:function(){return t.sandbox instanceof o().constructor},o){if(null!=t.sandbox){if(c(t.sandbox))w=t.sandbox;else{w=o(),y=t.sandbox;for(l in y)b.call(y,l)&&(T=y[l],w[l]=T)}w.global=w.root=w.GLOBAL=w}else w=global;if(w.__filename=t.filename||\"eval\",w.__dirname=f.dirname(w.__filename),w===global&&!w.module&&!w.require){for(n=require(\"module\"),w.module=i=new n(t.modulename||\"eval\"),w.require=s=function(e){return n._load(e,i,!0)},i.filename=w.__filename,k=Object.getOwnPropertyNames(require),a=0,u=k.length;u>a;a++)d=k[a],\"paths\"!==d&&(s[d]=require[d]);s.paths=i.paths=n._nodeModulePaths(process.cwd()),s.resolve=function(e){return n._resolveFilename(e,i)}}}p={};for(l in t)b.call(t,l)&&(T=t[l],p[l]=T);return p.bare=!0,h=r(e,p),w===global?v.runInThisContext(h):v.runInContext(h,w)}},e.register=function(){return require(\"./register\")},require.extensions)for(m=this.FILE_EXTENSIONS,l=0,u=m.length;u>l;l++)s=m[l],null==(i=require.extensions)[s]&&(i[s]=function(){throw Error(\"Use CoffeeScript.register() or require the coffee-script/register module to require \"+s+\" files.\")});e._compileFile=function(e,t){var n,i,s,o;null==t&&(t=!1),s=a.readFileSync(e,\"utf8\"),o=65279===s.charCodeAt(0)?s.substring(1):s;try{n=r(o,{filename:e,sourceMap:t,literate:h.isLiterate(e)})}catch(c){throw i=c,h.updateSyntaxError(i,o,e)}return n},p=new t,d.lexer={lex:function(){var e,t;return t=d.tokens[this.pos++],t?(e=t[0],this.yytext=t[1],this.yylloc=t[2],d.errorToken=t.origin||t,this.yylineno=this.yylloc.first_line):e=\"\",e},setInput:function(e){return d.tokens=e,this.pos=0},upcomingInput:function(){return\"\"}},d.yy=require(\"./nodes\"),d.yy.parseError=function(e,t){var n,i,r,s,o,a;return o=t.token,s=d.errorToken,a=d.tokens,i=s[0],r=s[1],n=s[2],r=function(){switch(!1){case s!==a[a.length-1]:return\"end of input\";case\"INDENT\"!==i&&\"OUTDENT\"!==i:return\"indentation\";case\"IDENTIFIER\"!==i&&\"NUMBER\"!==i&&\"STRING\"!==i&&\"STRING_START\"!==i&&\"REGEX\"!==i&&\"REGEX_START\"!==i:return i.replace(/_START$/,\"\").toLowerCase();default:return h.nameWhitespaceCharacter(r)}}(),h.throwSyntaxError(\"unexpected \"+r,n)},o=function(e,t){var n,i,r,s,o,a,c,h,l,u,p,d;return s=void 0,r=\"\",e.isNative()?r=\"native\":(e.isEval()?(s=e.getScriptNameOrSourceURL(),s||(r=e.getEvalOrigin()+\", \")):s=e.getFileName(),s||(s=\"<anonymous>\"),h=e.getLineNumber(),i=e.getColumnNumber(),u=t(s,h,i),r=u?s+\":\"+u[0]+\":\"+u[1]:s+\":\"+h+\":\"+i),o=e.getFunctionName(),a=e.isConstructor(),c=!(e.isToplevel()||a),c?(l=e.getMethodName(),d=e.getTypeName(),o?(p=n=\"\",d&&o.indexOf(d)&&(p=d+\".\"),l&&o.indexOf(\".\"+l)!==o.length-l.length-1&&(n=\" [as \"+l+\"]\"),\"\"+p+o+n+\" (\"+r+\")\"):d+\".\"+(l||\"<anonymous>\")+\" (\"+r+\")\"):a?\"new \"+(o||\"<anonymous>\")+\" (\"+r+\")\":o?o+\" (\"+r+\")\":r},g={},c=function(t){var n,i;if(g[t])return g[t];if(i=null!=f?f.extname(t):void 0,!(0>k.call(e.FILE_EXTENSIONS,i)))return n=e._compileFile(t,!0),g[t]=n.sourceMap},Error.prepareStackTrace=function(t,n){var i,r,s;return s=function(e,t,n){var i,r;return r=c(e),r&&(i=r.sourceLocation([t-1,n-1])),i?[i[0]+1,i[1]+1]:null},r=function(){var t,r,a;for(a=[],t=0,r=n.length;r>t&&(i=n[t],i.getFunction()!==e.run);t++)a.push(\"  at \"+o(i,s));return a}(),\"\"+t+\"\\n\"+r.join(\"\\n\")+\"\\n\"}}.call(this),t.exports}(),require[\"./browser\"]=function(){var exports={},module={exports:exports};return function(){var CoffeeScript,compile,runScripts,indexOf=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};CoffeeScript=require(\"./coffee-script\"),CoffeeScript.require=require,compile=CoffeeScript.compile,CoffeeScript.eval=function(code,options){return null==options&&(options={}),null==options.bare&&(options.bare=!0),eval(compile(code,options))},CoffeeScript.run=function(e,t){return null==t&&(t={}),t.bare=!0,t.shiftLine=!0,Function(compile(e,t))()},\"undefined\"!=typeof window&&null!==window&&(\"undefined\"!=typeof btoa&&null!==btoa&&\"undefined\"!=typeof JSON&&null!==JSON&&\"undefined\"!=typeof unescape&&null!==unescape&&\"undefined\"!=typeof encodeURIComponent&&null!==encodeURIComponent&&(compile=function(e,t){var n,i,r;return null==t&&(t={}),t.sourceMap=!0,t.inline=!0,i=CoffeeScript.compile(e,t),n=i.js,r=i.v3SourceMap,n+\"\\n//# sourceMappingURL=data:application/json;base64,\"+btoa(unescape(encodeURIComponent(r)))+\"\\n//# sourceURL=coffeescript\"}),CoffeeScript.load=function(e,t,n,i){var r;return null==n&&(n={}),null==i&&(i=!1),n.sourceFiles=[e],r=window.ActiveXObject?new window.ActiveXObject(\"Microsoft.XMLHTTP\"):new window.XMLHttpRequest,r.open(\"GET\",e,!0),\"overrideMimeType\"in r&&r.overrideMimeType(\"text/plain\"),r.onreadystatechange=function(){var s,o;if(4===r.readyState){if(0!==(o=r.status)&&200!==o)throw Error(\"Could not load \"+e);if(s=[r.responseText,n],i||CoffeeScript.run.apply(CoffeeScript,s),t)return t(s)}},r.send(null)},runScripts=function(){var e,t,n,i,r,s,o,a,c,h,l;for(l=window.document.getElementsByTagName(\"script\"),t=[\"text/coffeescript\",\"text/literate-coffeescript\"],e=function(){var e,n,i,r;for(r=[],e=0,n=l.length;n>e;e++)c=l[e],i=c.type,indexOf.call(t,i)>=0&&r.push(c);return r}(),s=0,n=function(){var t;return t=e[s],t instanceof Array?(CoffeeScript.run.apply(CoffeeScript,t),s++,n()):void 0},i=function(i,r){var s;return s={literate:i.type===t[1]},i.src?CoffeeScript.load(i.src,function(t){return e[r]=t,n()},s,!0):(s.sourceFiles=[\"embedded\"],e[r]=[i.innerHTML,s])},r=o=0,a=e.length;a>o;r=++o)h=e[r],i(h,r);return n()},window.addEventListener?window.addEventListener(\"DOMContentLoaded\",runScripts,!1):window.attachEvent(\"onload\",runScripts))}.call(this),module.exports}(),require[\"./coffee-script\"]}();\"function\"==typeof define&&define.amd?define(function(){return CoffeeScript}):root.CoffeeScript=CoffeeScript})(this);"
  },
  {
    "path": "Example Codes/Framer/Diary.framer/framer/config.json",
    "content": "{\n  \"device\" : \"iPhone 5S Space Gray\",\n  \"sharedPrototype\" : 0,\n  \"deviceOrientation\" : 0,\n  \"contentScale\" : 1,\n  \"deviceType\" : \"iphone-5s-silver\",\n  \"updateDelay\" : 0.3,\n  \"deviceScale\" : -1,\n  \"delay\" : 0.3\n}"
  },
  {
    "path": "Example Codes/Framer/Diary.framer/framer/framer.generated.js",
    "content": "// This is autogenerated by Framer Studio\n\n\nwindow.__imported__ = window.__imported__ || {};\nwindow.__imported__[\"Diary/layers.json.js\"] = [\n  {\n    \"maskFrame\" : null,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"1DA83D77-6C6D-4D7B-B3D9-68BA4D6C2ECA\",\n        \"visible\" : true,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-Text-1DA83D77-6C6D-4D7B-B3D9-68BA4D6C2ECA.png\",\n          \"frame\" : {\n            \"y\" : 32,\n            \"x\" : 30,\n            \"width\" : 583,\n            \"height\" : 501\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 32,\n          \"x\" : 30,\n          \"width\" : 583,\n          \"height\" : 501\n        },\n        \"name\" : \"Text\"\n      }\n    ],\n    \"id\" : \"2412BB30-E502-4498-870B-D8F1AA55AD83\",\n    \"visible\" : true,\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"View\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"id\" : \"D44BFEE0-5289-4B72-8F59-4053667AF4CD\",\n    \"visible\" : false,\n    \"children\" : [\n\n    ],\n    \"image\" : {\n      \"path\" : \"images\\/Layer-Cover-D44BFEE0-5289-4B72-8F59-4053667AF4CD.png\",\n      \"frame\" : {\n        \"y\" : 0,\n        \"x\" : 0,\n        \"width\" : 640,\n        \"height\" : 1136\n      }\n    },\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"Cover\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"id\" : \"D67A9464-036A-4229-836C-F5A92782923A\",\n    \"visible\" : false,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"1E6D202E-B854-4CFD-8793-E2C8A8C074B2\",\n        \"visible\" : false,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-Progress-1E6D202E-B854-4CFD-8793-E2C8A8C074B2.png\",\n          \"frame\" : {\n            \"y\" : 654,\n            \"x\" : 90,\n            \"width\" : 461,\n            \"height\" : 215\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 654,\n          \"x\" : 90,\n          \"width\" : 461,\n          \"height\" : 215\n        },\n        \"name\" : \"Progress\"\n      },\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"9004E6E3-E73D-4B2D-AFE2-BADA20947D6B\",\n        \"visible\" : true,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-撰_2-9004E6E3-E73D-4B2D-AFE2-BADA20947D6B.png\",\n          \"frame\" : {\n            \"y\" : 249,\n            \"x\" : 553,\n            \"width\" : 69,\n            \"height\" : 69\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 249,\n          \"x\" : 553,\n          \"width\" : 69,\n          \"height\" : 69\n        },\n        \"name\" : \"撰_2\"\n      },\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"A3E208D9-2B37-4379-AAAE-C4D2EE147566\",\n        \"visible\" : true,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-Month_3-A3E208D9-2B37-4379-AAAE-C4D2EE147566.png\",\n          \"frame\" : {\n            \"y\" : 466,\n            \"x\" : 200,\n            \"width\" : 246,\n            \"height\" : 178\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 466,\n          \"x\" : 200,\n          \"width\" : 246,\n          \"height\" : 178\n        },\n        \"name\" : \"Month_3\"\n      }\n    ],\n    \"image\" : {\n      \"path\" : \"images\\/Layer-Month-D67A9464-036A-4229-836C-F5A92782923A.png\",\n      \"frame\" : {\n        \"y\" : 0,\n        \"x\" : 0,\n        \"width\" : 640,\n        \"height\" : 1136\n      }\n    },\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"Month\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"id\" : \"AABB1996-FED5-4126-88AE-33F5B11CEE7F\",\n    \"visible\" : false,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"967E343C-CCD3-46D9-8F11-0C9C3B8BEEAD\",\n        \"visible\" : false,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-撰_2-967E343C-CCD3-46D9-8F11-0C9C3B8BEEAD.png\",\n          \"frame\" : {\n            \"y\" : -67,\n            \"x\" : 443,\n            \"width\" : 260,\n            \"height\" : 260\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : -67,\n          \"x\" : 443,\n          \"width\" : 260,\n          \"height\" : 260\n        },\n        \"name\" : \"撰_2\"\n      }\n    ],\n    \"image\" : {\n      \"path\" : \"images\\/Layer-Home-AABB1996-FED5-4126-88AE-33F5B11CEE7F.png\",\n      \"frame\" : {\n        \"y\" : 0,\n        \"x\" : 0,\n        \"width\" : 640,\n        \"height\" : 1136\n      }\n    },\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"Home\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"id\" : \"5BDEC5C9-275A-411C-96EC-C955232D1973\",\n    \"visible\" : false,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"AD7F9CEB-8FBF-4B3E-B06E-1E3C3F3B693B\",\n        \"visible\" : false,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-终-AD7F9CEB-8FBF-4B3E-B06E-1E3C3F3B693B.png\",\n          \"frame\" : {\n            \"y\" : -83,\n            \"x\" : 463,\n            \"width\" : 252,\n            \"height\" : 252\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : -83,\n          \"x\" : 463,\n          \"width\" : 252,\n          \"height\" : 252\n        },\n        \"name\" : \"终\"\n      }\n    ],\n    \"image\" : {\n      \"path\" : \"images\\/Layer-New-5BDEC5C9-275A-411C-96EC-C955232D1973.png\",\n      \"frame\" : {\n        \"y\" : 0,\n        \"x\" : 0,\n        \"width\" : 640,\n        \"height\" : 1136\n      }\n    },\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"New\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"id\" : \"6BBC87DB-63EA-4449-B0DC-76CB150AA31A\",\n    \"visible\" : false,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"9C449D54-EACC-4578-AE0E-AE8A50CDA6C3\",\n        \"visible\" : false,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-终-9C449D54-EACC-4578-AE0E-AE8A50CDA6C3.png\",\n          \"frame\" : {\n            \"y\" : -83,\n            \"x\" : 463,\n            \"width\" : 252,\n            \"height\" : 252\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : -83,\n          \"x\" : 463,\n          \"width\" : 252,\n          \"height\" : 252\n        },\n        \"name\" : \"终\"\n      }\n    ],\n    \"image\" : {\n      \"path\" : \"images\\/Layer-New_Copy-6BBC87DB-63EA-4449-B0DC-76CB150AA31A.png\",\n      \"frame\" : {\n        \"y\" : 0,\n        \"x\" : 0,\n        \"width\" : 640,\n        \"height\" : 1136\n      }\n    },\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"New_Copy\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"8590BE93-36FE-430E-80A6-07A1FB386165\",\n        \"visible\" : true,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-日__记-8590BE93-36FE-430E-80A6-07A1FB386165.png\",\n          \"frame\" : {\n            \"y\" : 172,\n            \"x\" : 363,\n            \"width\" : 297,\n            \"height\" : 664\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 172,\n          \"x\" : 363,\n          \"width\" : 297,\n          \"height\" : 664\n        },\n        \"name\" : \"日__记\"\n      }\n    ],\n    \"id\" : \"5B09AEA1-E047-4C3E-9FD4-EF3278125572\",\n    \"visible\" : false,\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 1024,\n      \"height\" : 1024\n    },\n    \"name\" : \"Icon\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"id\" : \"847FC04B-0A07-4455-9F20-0BB6C4876EE7\",\n    \"visible\" : false,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"26E57A38-1116-4942-B185-0DD5B65A2EC0\",\n        \"visible\" : true,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-ovel2-26E57A38-1116-4942-B185-0DD5B65A2EC0.png\",\n          \"frame\" : {\n            \"y\" : 262,\n            \"x\" : 555,\n            \"width\" : 69,\n            \"height\" : 69\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 262,\n          \"x\" : 555,\n          \"width\" : 69,\n          \"height\" : 69\n        },\n        \"name\" : \"ovel2\"\n      }\n    ],\n    \"image\" : {\n      \"path\" : \"images\\/Layer-Year-847FC04B-0A07-4455-9F20-0BB6C4876EE7.png\",\n      \"frame\" : {\n        \"y\" : 0,\n        \"x\" : 0,\n        \"width\" : 640,\n        \"height\" : 1136\n      }\n    },\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"Year\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"children\" : [\n          {\n            \"maskFrame\" : null,\n            \"id\" : \"980149BA-2C3C-4E32-A36D-B5A6BFC595BE\",\n            \"visible\" : true,\n            \"children\" : [\n\n            ],\n            \"image\" : {\n              \"path\" : \"images\\/Layer-撰_2_copy-980149BA-2C3C-4E32-A36D-B5A6BFC595BE.png\",\n              \"frame\" : {\n                \"y\" : 491,\n                \"x\" : 473,\n                \"width\" : 54,\n                \"height\" : 53\n              }\n            },\n            \"imageType\" : \"png\",\n            \"layerFrame\" : {\n              \"y\" : 491,\n              \"x\" : 473,\n              \"width\" : 54,\n              \"height\" : 53\n            },\n            \"name\" : \"撰_2_copy\"\n          }\n        ],\n        \"id\" : \"E33F9719-4EF8-43B3-80B2-497BFFC8BECD\",\n        \"visible\" : true,\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 491,\n          \"x\" : 473,\n          \"width\" : 54,\n          \"height\" : 53\n        },\n        \"name\" : \"撰_2__撰_2_copy__撰_2_copy_2\"\n      },\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"B33431C3-0F1F-4599-9AEF-FD5965495BB1\",\n        \"visible\" : true,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-日__记-B33431C3-0F1F-4599-9AEF-FD5965495BB1.png\",\n          \"frame\" : {\n            \"y\" : 121,\n            \"x\" : 426,\n            \"width\" : 149,\n            \"height\" : 332\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 121,\n          \"x\" : 426,\n          \"width\" : 149,\n          \"height\" : 332\n        },\n        \"name\" : \"日__记\"\n      }\n    ],\n    \"id\" : \"FF250C42-8556-4082-88F3-D76C148BA50A\",\n    \"visible\" : false,\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 1000,\n      \"height\" : 625\n    },\n    \"name\" : \"Artboard_8\"\n  }\n]\nwindow.Framer.Defaults.DeviceView = {\n  \"deviceScale\" : -1,\n  \"orientation\" : 0,\n  \"contentScale\" : 1,\n  \"deviceType\" : \"iphone-5s-silver\"\n};\n\nwindow.Framer.Defaults.DeviceComponent = {\n  \"deviceScale\" : -1,\n  \"orientation\" : 0,\n  \"contentScale\" : 1,\n  \"deviceType\" : \"iphone-5s-silver\"\n};\n\nwindow.FramerStudioInfo = {\n  \"deviceImagesUrl\" : \"\\/_server\\/resources\\/DeviceImages\",\n  \"documentTitle\" : \"Diary.framer\"\n};\n\nFramer.Device = new Framer.DeviceView();\nFramer.Device.setupContext();\n(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==\"function\"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error(\"Cannot find module '\"+o+\"'\")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require==\"function\"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){\n'use strict';\n\n/**\n * Representation of a single EventEmitter function.\n *\n * @param {Function} fn Event handler to be called.\n * @param {Mixed} context Context for function execution.\n * @param {Boolean} once Only emit once\n * @api private\n */\nfunction EE(fn, context, once) {\n  this.fn = fn;\n  this.context = context;\n  this.once = once || false;\n}\n\n/**\n * Minimal EventEmitter interface that is molded against the Node.js\n * EventEmitter interface.\n *\n * @constructor\n * @api public\n */\nfunction EventEmitter() { /* Nothing to set */ }\n\n/**\n * Holds the assigned EventEmitters by name.\n *\n * @type {Object}\n * @private\n */\nEventEmitter.prototype._events = undefined;\n\n/**\n * Return a list of assigned event listeners.\n *\n * @param {String} event The events that should be listed.\n * @returns {Array}\n * @api public\n */\nEventEmitter.prototype.listeners = function listeners(event) {\n  if (!this._events || !this._events[event]) return [];\n  if (this._events[event].fn) return [this._events[event].fn];\n\n  for (var i = 0, l = this._events[event].length, ee = new Array(l); i < l; i++) {\n    ee[i] = this._events[event][i].fn;\n  }\n\n  return ee;\n};\n\n/**\n * Emit an event to all registered event listeners.\n *\n * @param {String} event The name of the event.\n * @returns {Boolean} Indication if we've emitted an event.\n * @api public\n */\nEventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {\n  if (!this._events || !this._events[event]) return false;\n\n  var listeners = this._events[event]\n    , len = arguments.length\n    , args\n    , i;\n\n  if ('function' === typeof listeners.fn) {\n    if (listeners.once) this.removeListener(event, listeners.fn, true);\n\n    switch (len) {\n      case 1: return listeners.fn.call(listeners.context), true;\n      case 2: return listeners.fn.call(listeners.context, a1), true;\n      case 3: return listeners.fn.call(listeners.context, a1, a2), true;\n      case 4: return listeners.fn.call(listeners.context, a1, a2, a3), true;\n      case 5: return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;\n      case 6: return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;\n    }\n\n    for (i = 1, args = new Array(len -1); i < len; i++) {\n      args[i - 1] = arguments[i];\n    }\n\n    listeners.fn.apply(listeners.context, args);\n  } else {\n    var length = listeners.length\n      , j;\n\n    for (i = 0; i < length; i++) {\n      if (listeners[i].once) this.removeListener(event, listeners[i].fn, true);\n\n      switch (len) {\n        case 1: listeners[i].fn.call(listeners[i].context); break;\n        case 2: listeners[i].fn.call(listeners[i].context, a1); break;\n        case 3: listeners[i].fn.call(listeners[i].context, a1, a2); break;\n        default:\n          if (!args) for (j = 1, args = new Array(len -1); j < len; j++) {\n            args[j - 1] = arguments[j];\n          }\n\n          listeners[i].fn.apply(listeners[i].context, args);\n      }\n    }\n  }\n\n  return true;\n};\n\n/**\n * Register a new EventListener for the given event.\n *\n * @param {String} event Name of the event.\n * @param {Functon} fn Callback function.\n * @param {Mixed} context The context of the function.\n * @api public\n */\nEventEmitter.prototype.on = function on(event, fn, context) {\n  var listener = new EE(fn, context || this);\n\n  if (!this._events) this._events = {};\n  if (!this._events[event]) this._events[event] = listener;\n  else {\n    if (!this._events[event].fn) this._events[event].push(listener);\n    else this._events[event] = [\n      this._events[event], listener\n    ];\n  }\n\n  return this;\n};\n\n/**\n * Add an EventListener that's only called once.\n *\n * @param {String} event Name of the event.\n * @param {Function} fn Callback function.\n * @param {Mixed} context The context of the function.\n * @api public\n */\nEventEmitter.prototype.once = function once(event, fn, context) {\n  var listener = new EE(fn, context || this, true);\n\n  if (!this._events) this._events = {};\n  if (!this._events[event]) this._events[event] = listener;\n  else {\n    if (!this._events[event].fn) this._events[event].push(listener);\n    else this._events[event] = [\n      this._events[event], listener\n    ];\n  }\n\n  return this;\n};\n\n/**\n * Remove event listeners.\n *\n * @param {String} event The event we want to remove.\n * @param {Function} fn The listener that we need to find.\n * @param {Boolean} once Only remove once listeners.\n * @api public\n */\nEventEmitter.prototype.removeListener = function removeListener(event, fn, once) {\n  if (!this._events || !this._events[event]) return this;\n\n  var listeners = this._events[event]\n    , events = [];\n\n  if (fn) {\n    if (listeners.fn && (listeners.fn !== fn || (once && !listeners.once))) {\n      events.push(listeners);\n    }\n    if (!listeners.fn) for (var i = 0, length = listeners.length; i < length; i++) {\n      if (listeners[i].fn !== fn || (once && !listeners[i].once)) {\n        events.push(listeners[i]);\n      }\n    }\n  }\n\n  //\n  // Reset the array, or remove it completely if we have no more listeners.\n  //\n  if (events.length) {\n    this._events[event] = events.length === 1 ? events[0] : events;\n  } else {\n    delete this._events[event];\n  }\n\n  return this;\n};\n\n/**\n * Remove all listeners or only the listeners for the specified event.\n *\n * @param {String} event The event want to remove all listeners for.\n * @api public\n */\nEventEmitter.prototype.removeAllListeners = function removeAllListeners(event) {\n  if (!this._events) return this;\n\n  if (event) delete this._events[event];\n  else this._events = {};\n\n  return this;\n};\n\n//\n// Alias methods names because people roll like that.\n//\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\nEventEmitter.prototype.addListener = EventEmitter.prototype.on;\n\n//\n// This function doesn't apply anymore.\n//\nEventEmitter.prototype.setMaxListeners = function setMaxListeners() {\n  return this;\n};\n\n//\n// Expose the module.\n//\nEventEmitter.EventEmitter = EventEmitter;\nEventEmitter.EventEmitter2 = EventEmitter;\nEventEmitter.EventEmitter3 = EventEmitter;\n\n//\n// Expose the module.\n//\nmodule.exports = EventEmitter;\n\n},{}],2:[function(require,module,exports){\nvar Bridge, EventEmitter,\n  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n  hasProp = {}.hasOwnProperty;\n\nEventEmitter = require(\"eventemitter3\");\n\nBridge = (function(superClass) {\n  extend(Bridge, superClass);\n\n  function Bridge() {\n    this.receive = bind(this.receive, this);\n    if (typeof window !== \"undefined\" && window !== null) {\n      window._receive = this.receive;\n    }\n    this.count = 0;\n  }\n\n  Bridge.prototype.receive = function(command, info) {\n    if (this.debug) {\n      console.log((this.count++) + \" bridge.receive\", command, info);\n    }\n    return this.emit(command, info);\n  };\n\n  Bridge.prototype.send = function(command, info) {\n    if (this.debug) {\n      console.log((this.count++) + \" bridge.send\", command, info);\n    }\n    return typeof window !== \"undefined\" && window !== null ? typeof window._bridge === \"function\" ? window._bridge(command, info) : void 0 : void 0;\n  };\n\n  Bridge.prototype.sendError = function(error) {\n    return this.send(\"runtime.error\", {\n      message: error.message,\n      lineNumber: error.lineNumber,\n      errorType: error.constructor.name\n    });\n  };\n\n  return Bridge;\n\n})(EventEmitter);\n\nexports.bridge = new Bridge();\n\n\n\n},{\"eventemitter3\":1}],3:[function(require,module,exports){\nvar ContextListener, ContextListenerPropertyUpdateKeys, bridge, getLayerProperties, traverseUp,\n  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },\n  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };\n\nbridge = require(\"./Bridge\").bridge;\n\ntraverseUp = function(layer) {\n  var layers;\n  layers = [];\n  while (layer.superLayer) {\n    layers.push(layer.superLayer);\n    layer = layer.superLayer;\n  }\n  return layers;\n};\n\ngetLayerProperties = function(layer) {\n  var properties;\n  properties = {\n    id: layer.id,\n    name: layer.name || layer._variableName || (\"Layer \" + layer.id),\n    superLayer: null,\n    index: layer.index,\n    visible: layer.visible\n  };\n  if (properties.visible === false) {\n    properties.visibleResult = false;\n  } else {\n    properties.visibleResult = indexOf.call(_.pluck(traverseUp(layer), \"visible\"), false) < 0;\n  }\n  if (layer.superLayer != null) {\n    properties.superLayer = layer.superLayer.id;\n  }\n  return properties;\n};\n\nContextListenerPropertyUpdateKeys = [\"name\", \"superLayer\", \"index\", \"visible\"];\n\nContextListener = (function() {\n  function ContextListener(context) {\n    this.onLayerDestroy = bind(this.onLayerDestroy, this);\n    this.onLayerCreate = bind(this.onLayerCreate, this);\n    this.onContextReset = bind(this.onContextReset, this);\n    this._update = bind(this._update, this);\n    this._context = context;\n    this.update = _.debounce(this._update, 10);\n    this._context.on(\"reset\", this.onContextReset);\n    this._context.on(\"layer:create\", this.onLayerCreate);\n    this._context.on(\"layer:destroy\", this.onLayerDestroy);\n  }\n\n  ContextListener.prototype._update = function() {\n    return bridge.send(\"ui:layers\", _.map(this._context._layerList, getLayerProperties));\n  };\n\n  ContextListener.prototype.send = function(eventName, info) {\n    return window._bridge(\"ui:\" + eventName, info);\n  };\n\n  ContextListener.prototype.onContextReset = function() {\n    return this.update();\n  };\n\n  ContextListener.prototype.onLayerCreate = function(layer) {\n    var i, key, len, results;\n    this.update();\n    results = [];\n    for (i = 0, len = ContextListenerPropertyUpdateKeys.length; i < len; i++) {\n      key = ContextListenerPropertyUpdateKeys[i];\n      results.push(layer.on(\"change:\" + key, this.update));\n    }\n    return results;\n  };\n\n  ContextListener.prototype.onLayerDestroy = function(layer) {\n    var i, key, len, results;\n    this.update();\n    results = [];\n    for (i = 0, len = ContextListenerPropertyUpdateKeys.length; i < len; i++) {\n      key = ContextListenerPropertyUpdateKeys[i];\n      results.push(layer.on(\"change:\" + key, this.update));\n    }\n    return results;\n  };\n\n  return ContextListener;\n\n})();\n\nexports.ContextListener = ContextListener;\n\n\n\n},{\"./Bridge\":2}],4:[function(require,module,exports){\nvar ANIMATING_KEYS, highlightColor,\n  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };\n\nhighlightColor = \"#00A4FF\";\n\nANIMATING_KEYS = [\"x\", \"y\", \"width\", \"height\", \"scaleX\", \"scaleY\", \"scaleZ\", \"scale\"];\n\nexports.HighlightComponent = (function() {\n  function HighlightComponent() {\n    this.update = bind(this.update, this);\n    this.highlight = bind(this.highlight, this);\n    var ctx;\n    ctx = new Framer.Context({\n      name: \"Highlight\"\n    });\n    ctx.run((function(_this) {\n      return function() {\n        _this.layer = new Layer;\n        return _this.info = new Layer;\n      };\n    })(this));\n    this.layer.style = {\n      border: \"2px solid \" + highlightColor,\n      zIndex: 10000\n    };\n    this.layer.backgroundColor = \"transparent\";\n    this.info.style = {\n      font: \"10px/1em Menlo\",\n      zIndex: 10000,\n      textAlign: \"center\"\n    };\n    this.info.color = \"white\";\n    this.info.backgroundColor = \"transparent\";\n    this.info.textElement = document.createElement(\"div\");\n    _.extend(this.info.textElement.style, {\n      color: \"#FFFFFF\",\n      display: \"inline-block\",\n      backgroundColor: \"rgba(0,164,255,0.80)\",\n      borderRadius: \"4px\",\n      border: \"1px solid #00A4FF\",\n      padding: \"5px 5px 3px 5px\",\n      textShadow: \"0px 1px 0px rgba(0,0,0,0.30)\"\n    });\n    this.info._element.appendChild(this.info.textElement);\n    this.layer.visible = false;\n    this.info.visible = false;\n    this.unhighlight();\n  }\n\n  HighlightComponent.prototype.highlight = function(layer) {\n    var i, len, p, results;\n    if (this.current === layer) {\n      return;\n    }\n    this.current = layer;\n    this.update();\n    results = [];\n    for (i = 0, len = ANIMATING_KEYS.length; i < len; i++) {\n      p = ANIMATING_KEYS[i];\n      results.push(this.current.on(\"change:\" + p, this.update));\n    }\n    return results;\n  };\n\n  HighlightComponent.prototype.unhighlight = function() {\n    var i, len, p;\n    if (!this.current) {\n      return;\n    }\n    for (i = 0, len = ANIMATING_KEYS.length; i < len; i++) {\n      p = ANIMATING_KEYS[i];\n      this.current.off(\"change:\" + p, this.update);\n    }\n    this.current = null;\n    this.layer.visible = false;\n    return this.info.visible = false;\n  };\n\n  HighlightComponent.prototype.update = function() {\n    var currentFrame;\n    if (!this.layer) {\n      return;\n    }\n    if (!this.current) {\n      return;\n    }\n    currentFrame = this.current.screenScaledFrame();\n    this.layer.visible = true;\n    this.layer.frame = currentFrame;\n    this.info.visible = true;\n    this.info.frame = currentFrame;\n    this.info.width = 500;\n    this.info.midX = this.layer.midX;\n    this.info.pixelAlign();\n    this.info.y += this.info.height + 12;\n    return this.info.textElement.textContent = \"x:\" + (this.current.x.toFixed(1)) + \" y:\" + (this.current.y.toFixed(1)) + \" width:\" + (this.current.width.toFixed(1)) + \" height:\" + (this.current.height.toFixed(1));\n  };\n\n  return HighlightComponent;\n\n})();\n\n\n\n},{}],5:[function(require,module,exports){\nvar BUILDS, EventEmitter, Runtime, bridge, parseUrl,\n  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n  hasProp = {}.hasOwnProperty;\n\nEventEmitter = require(\"eventemitter3\");\n\nbridge = require(\"./Bridge\").bridge;\n\nBUILDS = 0;\n\nparseUrl = function(url) {\n  var parser;\n  parser = document.createElement(\"a\");\n  parser.href = url;\n  return parser;\n};\n\nRuntime = (function(superClass) {\n  extend(Runtime, superClass);\n\n  function Runtime() {\n    this._errorHandler = bind(this._errorHandler, this);\n    this.setup();\n  }\n\n  Runtime.prototype.setup = function() {\n    var properties;\n    if (typeof Framer !== \"undefined\" && Framer !== null ? Framer.Device : void 0) {\n      properties = [\"deviceScale\", \"contentScale\", \"deviceType\", \"keyboard\", \"orientation\", \"fullScreen\"];\n      properties.map(function(propertyName) {\n        return Framer.Device.on(\"change:\" + propertyName, function() {\n          return bridge.send(\"device:change\");\n        });\n      });\n    }\n    return bridge.send(\"runtime.init\");\n  };\n\n  Runtime.prototype.compile = function(coffeescript) {\n    var result;\n    if (this.coffeescript === coffeescript) {\n      return;\n    }\n    console.log(\"» Framer build \" + (BUILDS++));\n    this._errorHandlerRemove();\n    this.coffeescript = coffeescript;\n    result = this.uncoffee(this.coffeescript);\n    this.sourceMap = result.sourceMap;\n    this.javascript = result.js;\n    this._errorHandlerSetup();\n    return this.javascript;\n  };\n\n  Runtime.prototype.reset = function() {\n    return Utils.reset();\n  };\n\n  Runtime.prototype.uncoffee = function(code) {\n    var e, error, result;\n    try {\n      result = CoffeeScript.compile(code, {\n        sourceMap: true,\n        filename: \"app.coffee\"\n      });\n    } catch (_error) {\n      e = _error;\n      if (e instanceof SyntaxError) {\n        error = new SyntaxError(e.message);\n        error.lineNumber = e.location.first_line + 1;\n        bridge.sendError(error);\n        throw new Error(\"Framer syntax error line \" + error.lineNumber + \": \" + e.message);\n      } else {\n        throw e;\n      }\n    }\n    return result;\n  };\n\n  Runtime.prototype._errorHandler = function(runtimeError) {\n    var error, errorFromCompiledCoffeeScript, fileName;\n    errorFromCompiledCoffeeScript = runtimeError.filename === window.location.href;\n    if (errorFromCompiledCoffeeScript) {\n      error = new Error(runtimeError.message);\n      error.lineNumber = this._lookupLine(runtimeError.lineno);\n    } else {\n      fileName = _.last(parseUrl(runtimeError.filename).pathname.split(\"/\"));\n      error = new Error(\"[\" + fileName + \"] \" + runtimeError.message);\n      error.lineNumber = -1;\n    }\n    return bridge.sendError(error);\n  };\n\n  Runtime.prototype._errorHandlerSetup = function() {\n    return window.addEventListener(\"error\", this._errorHandler);\n  };\n\n  Runtime.prototype._errorHandlerRemove = function() {\n    return window.removeEventListener(\"error\", this._errorHandler);\n  };\n\n  Runtime.prototype._lookupLine = function(lineNumber) {\n    var char, charIndex, errorColNumber, errorLine, errorLineIndex, errorLineNumber, i, len, loc, sourceLines;\n    sourceLines = this.javascript.split(\"\\n\");\n    errorLineIndex = lineNumber - 1;\n    errorLine = sourceLines[errorLineIndex];\n    if (!errorLine) {\n      return lineNumber;\n    }\n    errorLineNumber = 1;\n    errorColNumber = 0;\n    for (charIndex = i = 0, len = errorLine.length; i < len; charIndex = ++i) {\n      char = errorLine[charIndex];\n      loc = this.sourceMap.sourceLocation([errorLineIndex, charIndex]);\n      if (loc && loc[0] > errorLineNumber) {\n        errorLineNumber = loc[0] + 1;\n        errorColNumber = loc[1];\n      }\n    }\n    return errorLineNumber;\n  };\n\n  return Runtime;\n\n})(EventEmitter);\n\nexports.runtime = new Runtime();\n\n\n\n},{\"./Bridge\":2,\"eventemitter3\":1}],6:[function(require,module,exports){\nvar HighlightComponent, setupContext;\n\nexports.bridge = (require(\"./Bridge.coffee\")).bridge;\n\nexports.runtime = (require(\"./Runtime.coffee\")).runtime;\n\nexports.context = require(\"./Context.coffee\");\n\nHighlightComponent = require(\"./HighlightComponent.coffee\").HighlightComponent;\n\nif (window.require == null) {\n  window.require = function(module) {\n    throw Error(\"Module \" + module + \" can't be found\");\n  };\n}\n\nsetupContext = function() {\n  var context, getLayerById, highlighter;\n  context = new exports.context.ContextListener(Framer.CurrentContext);\n  highlighter = new HighlightComponent();\n  exports.bridge.on(\"ui:highlight\", function(info) {\n    return highlighter.highlight(getLayerById(info.id));\n  });\n  exports.bridge.on(\"ui:unhighlight\", function() {\n    return highlighter.unhighlight();\n  });\n  return getLayerById = function(id) {\n    var i, layer, len, ref;\n    ref = Framer.CurrentContext._layerList;\n    for (i = 0, len = ref.length; i < len; i++) {\n      layer = ref[i];\n      if (layer.id === id) {\n        return layer;\n      }\n    }\n  };\n};\n\nif (typeof window !== \"undefined\" && window !== null) {\n  window.FramerStudio = exports;\n}\n\n\n\n},{\"./Bridge.coffee\":2,\"./Context.coffee\":3,\"./HighlightComponent.coffee\":4,\"./Runtime.coffee\":5}]},{},[6])"
  },
  {
    "path": "Example Codes/Framer/Diary.framer/framer/framer.init.js",
    "content": "(function() {\n\nfunction isFileLoadingAllowed() {\n\treturn (window.location.protocol.indexOf(\"file\") == -1)\n}\n\nfunction isHomeScreened() {\n\treturn (\"standalone\" in window.navigator) && window.navigator.standalone == true\n}\n\nfunction isCompatibleBrowser() {\n\treturn Utils.isWebKit()\n}\n\nvar alertNode;\n\nfunction dismissAlert() {\n\talertNode.parentElement.removeChild(alertNode)\n\tloadProject()\n}\n\nfunction showAlert(html) {\n\n\talertNode = document.createElement(\"div\")\n\n\talertNode.classList.add(\"framerAlertBackground\")\n\talertNode.innerHTML = html\n\n\tdocument.addEventListener(\"DOMContentLoaded\", function(event) {\n\t\tdocument.body.appendChild(alertNode)\n\t})\n\n\twindow.dismissAlert = dismissAlert;\n}\n\nfunction showBrowserAlert() {\n\tvar html = \"\"\n\thtml += \"<div class='framerAlert'>\"\n\thtml += \"<strong>Error: Not A WebKit Browser</strong>\"\n\thtml += \"Your browser is not supported. <br> Please use Safari or Chrome.<br>\"\n\thtml += \"<a class='btn' href='javascript:void(0)' onclick='dismissAlert();'>Try anyway</a>\"\n\thtml += \"</div>\"\n\n\tshowAlert(html)\n}\n\nfunction showFileLoadingAlert() {\n\tvar html = \"\"\n\thtml += \"<div class='framerAlert'>\"\n\thtml += \"<strong>Error: Local File Restrictions</strong>\"\n\thtml += \"Preview this prototype with Framer Mirror or learn more about \"\n\thtml += \"<a href='https://github.com/koenbok/Framer/wiki/LocalLoading'>file restrictions</a>.<br>\"\n\thtml += \"<a class='btn' href='javascript:void(0)' onclick='dismissAlert();'>Try anyway</a>\"\n\thtml += \"</div>\"\n\n\tshowAlert(html)\n}\n\nfunction showHomeScreenAlert() {\n\n\tlink = document.createElement(\"link\");\n\tlink.href = \"framer/mirror.css\"\n\tlink.type = \"text/css\"\n\tlink.rel = \"stylesheet\"\n\tlink.media = \"screen\"\n\n\tdocument.addEventListener(\"DOMContentLoaded\", function(event) {\n\t\tdocument.getElementsByTagName(\"head\")[0].appendChild(link)\n\t})\n\n\tvar html = \"\"\n\thtml += \"<figure class='icon-close' href='javascript:void(0)' onclick='dismissAlert();'></figure>\"\n\thtml += \"<section class='wrapper'>\"\n\thtml += \"<figure class='icon-framer'></figure><h1>Install Prototype</h1>\"\n\thtml += \"<p>Tap <div class='share'><figure class='icon-share'></figure> Share</div>, then choose 'Add to Home Screen'</p> \"\n\thtml += \"<section class='arrow'><figure class='icon-arrow'></figure></section>\"\n\thtml += \"</section>\"\n\n\tshowAlert(html)\n}\n\nfunction loadProject() {\n\tCoffeeScript.load(\"app.coffee\")\n}\n\nfunction setDefaultPageTitle() {\n\t// If no title was set we set it to the project folder name so\n\t// you get a nice name on iOS if you bookmark to desktop.\n\tdocument.addEventListener(\"DOMContentLoaded\", function() {\n\t\tif (document.title == \"\") {\n\t\t\tif (window.FramerStudioInfo && window.FramerStudioInfo.documentTitle) {\n\t\t\t\tdocument.title = window.FramerStudioInfo.documentTitle\n\t\t\t} else {\n\t\t\t\tdocument.title = window.location.pathname.replace(/\\//g, \"\")\n\t\t\t}\n\t\t}\n\t})\n}\n\nfunction init() {\n\n\tif (Utils.isFramerStudio()) {\n\t\treturn\n\t}\n\n\tsetDefaultPageTitle()\n\n\tif (!isCompatibleBrowser()) {\n\t\treturn showBrowserAlert()\n\t}\n\n\tif (!isFileLoadingAllowed()) {\n\t\treturn showFileLoadingAlert()\n\t}\n\n\t// if (Utils.isMobile() && !isHomeScreened()) {\n\t// \treturn showHomeScreenAlert()\n\t// }\n\n\tloadProject()\n\n}\n\ninit()\n\n})()\n"
  },
  {
    "path": "Example Codes/Framer/Diary.framer/framer/framer.js",
    "content": "/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Defaults, Framer, _;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tFramer = {};\n\t\n\tFramer._ = _;\n\t\n\tFramer.Utils = __webpack_require__(2);\n\t\n\tFramer.Layer = (__webpack_require__(3)).Layer;\n\t\n\tFramer.BackgroundLayer = (__webpack_require__(4)).BackgroundLayer;\n\t\n\tFramer.VideoLayer = (__webpack_require__(5)).VideoLayer;\n\t\n\tFramer.Events = (__webpack_require__(6)).Events;\n\t\n\tFramer.Animation = (__webpack_require__(7)).Animation;\n\t\n\tFramer.AnimationGroup = (__webpack_require__(8)).AnimationGroup;\n\t\n\tFramer.Screen = (__webpack_require__(9)).Screen;\n\t\n\tFramer.Canvas = (__webpack_require__(10)).Canvas;\n\t\n\tFramer.print = (__webpack_require__(11)).print;\n\t\n\tFramer.ScrollComponent = (__webpack_require__(12)).ScrollComponent;\n\t\n\tFramer.PageComponent = (__webpack_require__(13)).PageComponent;\n\t\n\tFramer.SliderComponent = (__webpack_require__(14)).SliderComponent;\n\t\n\tFramer.DeviceComponent = (__webpack_require__(15)).DeviceComponent;\n\t\n\tFramer.DeviceView = Framer.DeviceComponent;\n\t\n\tif (window) {\n\t  _.extend(window, Framer);\n\t}\n\t\n\tFramer.Context = (__webpack_require__(16)).Context;\n\t\n\tFramer.Config = (__webpack_require__(17)).Config;\n\t\n\tFramer.EventEmitter = (__webpack_require__(18)).EventEmitter;\n\t\n\tFramer.BaseClass = (__webpack_require__(19)).BaseClass;\n\t\n\tFramer.LayerStyle = (__webpack_require__(20)).LayerStyle;\n\t\n\tFramer.AnimationLoop = (__webpack_require__(21)).AnimationLoop;\n\t\n\tFramer.LinearAnimator = (__webpack_require__(22)).LinearAnimator;\n\t\n\tFramer.BezierCurveAnimator = (__webpack_require__(23)).BezierCurveAnimator;\n\t\n\tFramer.SpringDHOAnimator = (__webpack_require__(24)).SpringDHOAnimator;\n\t\n\tFramer.SpringRK4Animator = (__webpack_require__(25)).SpringRK4Animator;\n\t\n\tFramer.LayerDraggable = (__webpack_require__(26)).LayerDraggable;\n\t\n\tFramer.Importer = (__webpack_require__(27)).Importer;\n\t\n\tFramer.Debug = (__webpack_require__(28)).Debug;\n\t\n\tFramer.Extras = __webpack_require__(29);\n\t\n\tFramer.Loop = new Framer.AnimationLoop();\n\t\n\tUtils.domComplete(Framer.Loop.start);\n\t\n\tif (window) {\n\t  window.Framer = Framer;\n\t}\n\t\n\tFramer.DefaultContext = new Framer.Context({\n\t  name: \"Default\"\n\t});\n\t\n\tFramer.CurrentContext = Framer.DefaultContext;\n\t\n\tif (Utils.isMobile()) {\n\t  Framer.Extras.MobileScrollFix.enable();\n\t}\n\t\n\tDefaults = (__webpack_require__(30)).Defaults;\n\t\n\tDefaults.setup();\n\t\n\tFramer.resetDefaults = Defaults.reset;\n\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\texports._ = __webpack_require__(39);\n\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Screen, Utils, _, __domComplete, __domReady, _textSizeNode,\n\t  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },\n\t  slice = [].slice;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tScreen = __webpack_require__(9).Screen;\n\t\n\tUtils = {};\n\t\n\tUtils.reset = function() {\n\t  return Framer.CurrentContext.reset();\n\t};\n\t\n\tUtils.getValue = function(value) {\n\t  if (_.isFunction(value)) {\n\t    return value();\n\t  }\n\t  return value;\n\t};\n\t\n\tUtils.getValueForKeyPath = function(obj, key) {\n\t  var len, m, ref, ref1, result;\n\t  result = obj;\n\t  if (ref = !\".\", indexOf.call(key, ref) >= 0) {\n\t    return obj[key];\n\t  }\n\t  ref1 = key.split(\".\");\n\t  for (m = 0, len = ref1.length; m < len; m++) {\n\t    key = ref1[m];\n\t    result = result[key];\n\t  }\n\t  return result;\n\t};\n\t\n\tUtils.setValueForKeyPath = function(obj, path, val) {\n\t  var field, fields, i, n, result;\n\t  fields = path.split('.');\n\t  result = obj;\n\t  i = 0;\n\t  n = fields.length;\n\t  while (i < n && result !== void 0) {\n\t    field = fields[i];\n\t    if (i === n - 1) {\n\t      result[field] = val;\n\t    } else {\n\t      if (typeof result[field] === 'undefined' || !_.isObject(result[field])) {\n\t        result[field] = {};\n\t      }\n\t      result = result[field];\n\t    }\n\t    i++;\n\t  }\n\t};\n\t\n\tUtils.valueOrDefault = function(value, defaultValue) {\n\t  if (value === (void 0) || value === null) {\n\t    value = defaultValue;\n\t  }\n\t  return value;\n\t};\n\t\n\tUtils.arrayNext = function(arr, item) {\n\t  return arr[arr.indexOf(item) + 1] || _.first(arr);\n\t};\n\t\n\tUtils.arrayPrev = function(arr, item) {\n\t  return arr[arr.indexOf(item) - 1] || _.last(arr);\n\t};\n\t\n\tUtils.sum = function(arr) {\n\t  return _.reduce(arr, function(a, b) {\n\t    return a + b;\n\t  });\n\t};\n\t\n\tUtils.average = function(arr) {\n\t  return Utils.sum(arr) / arr.length;\n\t};\n\t\n\tUtils.mean = Utils.average;\n\t\n\tUtils.median = function(x) {\n\t  var sorted;\n\t  if (x.length === 0) {\n\t    return null;\n\t  }\n\t  sorted = x.slice().sort(function(a, b) {\n\t    return a - b;\n\t  });\n\t  if (sorted.length % 2 === 1) {\n\t    return sorted[(sorted.length - 1) / 2];\n\t  } else {\n\t    return (sorted[(sorted.length / 2) - 1] + sorted[sorted.length / 2]) / 2;\n\t  }\n\t};\n\t\n\tif (window.requestAnimationFrame == null) {\n\t  window.requestAnimationFrame = window.webkitRequestAnimationFrame;\n\t}\n\t\n\tif (window.requestAnimationFrame == null) {\n\t  window.requestAnimationFrame = function(f) {\n\t    return Utils.delay(1 / 60, f);\n\t  };\n\t}\n\t\n\tif (window.performance) {\n\t  Utils.getTime = function() {\n\t    return window.performance.now() / 1000;\n\t  };\n\t} else {\n\t  Utils.getTime = function() {\n\t    return Date.now() / 1000;\n\t  };\n\t}\n\t\n\tUtils.delay = function(time, f) {\n\t  var timer;\n\t  timer = setTimeout(f, time * 1000);\n\t  Framer.CurrentContext._delayTimers.push(timer);\n\t  return timer;\n\t};\n\t\n\tUtils.interval = function(time, f) {\n\t  var timer;\n\t  timer = setInterval(f, time * 1000);\n\t  Framer.CurrentContext._delayIntervals.push(timer);\n\t  return timer;\n\t};\n\t\n\tUtils.debounce = function(threshold, fn, immediate) {\n\t  var timeout;\n\t  if (threshold == null) {\n\t    threshold = 0.1;\n\t  }\n\t  timeout = null;\n\t  threshold *= 1000;\n\t  return function() {\n\t    var args, delayed, obj;\n\t    args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n\t    obj = this;\n\t    delayed = function() {\n\t      if (!immediate) {\n\t        fn.apply(obj, args);\n\t      }\n\t      return timeout = null;\n\t    };\n\t    if (timeout) {\n\t      clearTimeout(timeout);\n\t    } else if (immediate) {\n\t      fn.apply(obj, args);\n\t    }\n\t    return timeout = setTimeout(delayed, threshold);\n\t  };\n\t};\n\t\n\tUtils.throttle = function(delay, fn) {\n\t  var timer;\n\t  if (delay === 0) {\n\t    return fn;\n\t  }\n\t  delay *= 1000;\n\t  timer = false;\n\t  return function() {\n\t    if (timer) {\n\t      return;\n\t    }\n\t    timer = true;\n\t    if (delay !== -1) {\n\t      setTimeout((function() {\n\t        return timer = false;\n\t      }), delay);\n\t    }\n\t    return fn.apply(null, arguments);\n\t  };\n\t};\n\t\n\tUtils.memoize = function(fn) {\n\t  return function() {\n\t    var args, currentArg, hash, i;\n\t    args = Array.prototype.slice.call(arguments);\n\t    hash = \"\";\n\t    i = args.length;\n\t    currentArg = null;\n\t    while (i--) {\n\t      currentArg = args[i];\n\t      hash += (currentArg === Object(currentArg) ? JSON.stringify(currentArg) : currentArg);\n\t      fn.memoize || (fn.memoize = {});\n\t    }\n\t    if (hash in fn.memoize) {\n\t      return fn.memoize[hash];\n\t    } else {\n\t      return fn.memoize[hash] = fn.apply(this, args);\n\t    }\n\t  };\n\t};\n\t\n\tUtils.randomColor = function(alpha) {\n\t  var c;\n\t  if (alpha == null) {\n\t    alpha = 1.0;\n\t  }\n\t  c = function() {\n\t    return parseInt(Math.random() * 255);\n\t  };\n\t  return \"rgba(\" + (c()) + \", \" + (c()) + \", \" + (c()) + \", \" + alpha + \")\";\n\t};\n\t\n\tUtils.randomChoice = function(arr) {\n\t  return arr[Math.floor(Math.random() * arr.length)];\n\t};\n\t\n\tUtils.randomNumber = function(a, b) {\n\t  if (a == null) {\n\t    a = 0;\n\t  }\n\t  if (b == null) {\n\t    b = 1;\n\t  }\n\t  return Utils.mapRange(Math.random(), 0, 1, a, b);\n\t};\n\t\n\tUtils.defineEnum = function(names, offset, geometric) {\n\t  var Enum, i, j, len, m, name;\n\t  if (names == null) {\n\t    names = [];\n\t  }\n\t  if (offset == null) {\n\t    offset = 0;\n\t  }\n\t  if (geometric == null) {\n\t    geometric = 0;\n\t  }\n\t  Enum = {};\n\t  for (i = m = 0, len = names.length; m < len; i = ++m) {\n\t    name = names[i];\n\t    j = i;\n\t    j = !offset ? j : j + offset;\n\t    j = !geometric ? j : Math.pow(geometric, j);\n\t    Enum[Enum[name] = j] = name;\n\t  }\n\t  return Enum;\n\t};\n\t\n\tUtils.labelLayer = function(layer, text, style) {\n\t  if (style == null) {\n\t    style = {};\n\t  }\n\t  style = _.extend({\n\t    font: \"10px/1em Menlo\",\n\t    lineHeight: layer.height + \"px\",\n\t    textAlign: \"center\",\n\t    color: \"#fff\"\n\t  }, style);\n\t  layer.style = style;\n\t  return layer.html = text;\n\t};\n\t\n\tUtils.stringify = function(obj) {\n\t  try {\n\t    if (_.isObject(obj)) {\n\t      return JSON.stringify(obj);\n\t    }\n\t  } catch (_error) {\n\t    \"\";\n\t  }\n\t  if (obj === null) {\n\t    return \"null\";\n\t  }\n\t  if (obj === void 0) {\n\t    return \"undefined\";\n\t  }\n\t  if (obj.toString) {\n\t    return obj.toString();\n\t  }\n\t  return obj;\n\t};\n\t\n\tUtils.inspectObjectType = function(item) {\n\t  var className, extract, ref, ref1, ref2;\n\t  if ((((ref = item.constructor) != null ? ref.name : void 0) != null) && ((ref1 = item.constructor) != null ? ref1.name : void 0) !== \"Object\") {\n\t    return item.constructor.name;\n\t  }\n\t  extract = function(str) {\n\t    var match, regex;\n\t    if (!str) {\n\t      return null;\n\t    }\n\t    regex = /\\[object (\\w+)\\]/;\n\t    match = regex.exec(str);\n\t    if (match) {\n\t      return match[1];\n\t    }\n\t    return null;\n\t  };\n\t  className = extract(item.toString());\n\t  if (className) {\n\t    return className;\n\t  }\n\t  className = extract((ref2 = item.constructor) != null ? ref2.toString() : void 0);\n\t  if (className) {\n\t    return className.replace(\"Constructor\", \"\");\n\t  }\n\t  return item;\n\t};\n\t\n\tUtils.inspect = function(item, max, l) {\n\t  var code, limit, objectInfo, objectType;\n\t  if (max == null) {\n\t    max = 5;\n\t  }\n\t  if (l == null) {\n\t    l = 0;\n\t  }\n\t  if (item === null) {\n\t    return \"null\";\n\t  }\n\t  if (item === void 0) {\n\t    return \"undefined\";\n\t  }\n\t  if (_.isFunction(item.toInspect)) {\n\t    return item.toInspect();\n\t  }\n\t  if (_.isString(item)) {\n\t    return \"\\\"\" + item + \"\\\"\";\n\t  }\n\t  if (_.isNumber(item)) {\n\t    return \"\" + item;\n\t  }\n\t  if (_.isFunction(item)) {\n\t    code = item.toString().slice(\"function \".length).replace(/\\n/g, \"\").replace(/\\s+/g, \" \");\n\t    limit = 50;\n\t    if (code.length > limit && l > 0) {\n\t      code = (_.trimRight(code.slice(0, +limit + 1 || 9e9))) + \"… }\";\n\t    }\n\t    return \"<Function \" + code + \">\";\n\t  }\n\t  if (_.isArray(item)) {\n\t    if (l > max) {\n\t      return \"[...]\";\n\t    }\n\t    return \"[\" + _.map(item, function(i) {\n\t      return Utils.inspect(i, max, l + 1);\n\t    }).join(\", \") + \"]\";\n\t  }\n\t  if (_.isObject(item)) {\n\t    objectType = Utils.inspectObjectType(item);\n\t    if (/HTML\\w+?Element/.test(objectType)) {\n\t      return \"<\" + objectType + \">\";\n\t    }\n\t    if (l > max) {\n\t      objectInfo = \"{...}\";\n\t    } else {\n\t      objectInfo = \"{\" + _.map(item, function(v, k) {\n\t        return k + \":\" + (Utils.inspect(v, max, l + 1));\n\t      }).join(\", \") + \"}\";\n\t    }\n\t    if (objectType === \"Object\") {\n\t      return objectInfo;\n\t    }\n\t    return \"<\" + objectType + \" \" + objectInfo + \">\";\n\t  }\n\t  return \"\" + item;\n\t};\n\t\n\tUtils.uuid = function() {\n\t  var chars, digit, m, output, r, random;\n\t  chars = \"0123456789abcdefghijklmnopqrstuvwxyz\".split(\"\");\n\t  output = new Array(36);\n\t  random = 0;\n\t  for (digit = m = 1; m <= 32; digit = ++m) {\n\t    if (random <= 0x02) {\n\t      random = 0x2000000 + (Math.random() * 0x1000000) | 0;\n\t    }\n\t    r = random & 0xf;\n\t    random = random >> 4;\n\t    output[digit] = chars[digit === 19 ? (r & 0x3) | 0x8 : r];\n\t  }\n\t  return output.join(\"\");\n\t};\n\t\n\tUtils.arrayFromArguments = function(args) {\n\t  if (_.isArray(args[0])) {\n\t    return args[0];\n\t  }\n\t  return Array.prototype.slice.call(args);\n\t};\n\t\n\tUtils.cycle = function() {\n\t  var args, curr;\n\t  args = Utils.arrayFromArguments(arguments);\n\t  curr = -1;\n\t  return function() {\n\t    curr++;\n\t    if (curr >= args.length) {\n\t      curr = 0;\n\t    }\n\t    return args[curr];\n\t  };\n\t};\n\t\n\tUtils.toggle = Utils.cycle;\n\t\n\tUtils.isWebKit = function() {\n\t  return window.WebKitCSSMatrix !== void 0;\n\t};\n\t\n\tUtils.webkitVersion = function() {\n\t  var regexp, result, version;\n\t  version = -1;\n\t  regexp = /AppleWebKit\\/([\\d.]+)/;\n\t  result = regexp.exec(navigator.userAgent);\n\t  if (result) {\n\t    version = parseFloat(result[1]);\n\t  }\n\t  return version;\n\t};\n\t\n\tUtils.isChrome = function() {\n\t  return /chrome/.test(navigator.userAgent.toLowerCase());\n\t};\n\t\n\tUtils.isSafari = function() {\n\t  return /safari/.test(navigator.userAgent.toLowerCase());\n\t};\n\t\n\tUtils.isTouch = function() {\n\t  return window.ontouchstart === null;\n\t};\n\t\n\tUtils.isDesktop = function() {\n\t  return Utils.deviceType() === \"desktop\";\n\t};\n\t\n\tUtils.isPhone = function() {\n\t  return Utils.deviceType() === \"phone\";\n\t};\n\t\n\tUtils.isTablet = function() {\n\t  return Utils.deviceType() === \"tablet\";\n\t};\n\t\n\tUtils.isMobile = function() {\n\t  return Utils.isPhone() || Utils.isTablet();\n\t};\n\t\n\tUtils.isLocal = function() {\n\t  return Utils.isLocalUrl(window.location.href);\n\t};\n\t\n\tUtils.isLocalUrl = function(url) {\n\t  return url.slice(0, 7) === \"file://\";\n\t};\n\t\n\tUtils.isFramerStudio = function() {\n\t  return navigator.userAgent.indexOf(\"FramerStudio\") !== -1;\n\t};\n\t\n\tUtils.devicePixelRatio = function() {\n\t  return window.devicePixelRatio;\n\t};\n\t\n\tUtils.isJP2Supported = function() {\n\t  return Utils.isWebKit() && !Utils.isChrome();\n\t};\n\t\n\tUtils.deviceType = function() {\n\t  if (/(tablet)|(iPad)|(Nexus 9)/i.test(navigator.userAgent)) {\n\t    return \"tablet\";\n\t  }\n\t  if (/(mobi)/i.test(navigator.userAgent)) {\n\t    return \"phone\";\n\t  }\n\t  return \"desktop\";\n\t};\n\t\n\tUtils.pathJoin = function() {\n\t  return Utils.arrayFromArguments(arguments).join(\"/\");\n\t};\n\t\n\tUtils.round = function(value, decimals) {\n\t  var d;\n\t  if (decimals == null) {\n\t    decimals = 0;\n\t  }\n\t  d = Math.pow(10, decimals);\n\t  return Math.round(value * d) / d;\n\t};\n\t\n\tUtils.clamp = function(value, min, max) {\n\t  if (value < min) {\n\t    value = min;\n\t  }\n\t  if (value > max) {\n\t    value = max;\n\t  }\n\t  return value;\n\t};\n\t\n\tUtils.mapRange = function(value, fromLow, fromHigh, toLow, toHigh) {\n\t  return toLow + (((value - fromLow) / (fromHigh - fromLow)) * (toHigh - toLow));\n\t};\n\t\n\tUtils.modulate = function(value, rangeA, rangeB, limit) {\n\t  var fromHigh, fromLow, result, toHigh, toLow;\n\t  if (limit == null) {\n\t    limit = false;\n\t  }\n\t  fromLow = rangeA[0], fromHigh = rangeA[1];\n\t  toLow = rangeB[0], toHigh = rangeB[1];\n\t  result = toLow + (((value - fromLow) / (fromHigh - fromLow)) * (toHigh - toLow));\n\t  if (limit === true) {\n\t    if (toLow < toHigh) {\n\t      if (result < toLow) {\n\t        return toLow;\n\t      }\n\t      if (result > toHigh) {\n\t        return toHigh;\n\t      }\n\t    } else {\n\t      if (result > toLow) {\n\t        return toLow;\n\t      }\n\t      if (result < toHigh) {\n\t        return toHigh;\n\t      }\n\t    }\n\t  }\n\t  return result;\n\t};\n\t\n\tUtils.parseFunction = function(str) {\n\t  var result;\n\t  result = {\n\t    name: \"\",\n\t    args: []\n\t  };\n\t  if (_.endsWith(str, \")\")) {\n\t    result.name = str.split(\"(\")[0];\n\t    result.args = str.split(\"(\")[1].split(\",\").map(function(a) {\n\t      return _.trim(_.trimRight(a, \")\"));\n\t    });\n\t  } else {\n\t    result.name = str;\n\t  }\n\t  return result;\n\t};\n\t\n\t__domComplete = [];\n\t\n\t__domReady = false;\n\t\n\tif (typeof document !== \"undefined\" && document !== null) {\n\t  document.onreadystatechange = (function(_this) {\n\t    return function(event) {\n\t      var f, results;\n\t      if (document.readyState === \"complete\") {\n\t        __domReady = true;\n\t        results = [];\n\t        while (__domComplete.length) {\n\t          results.push(f = __domComplete.shift()());\n\t        }\n\t        return results;\n\t      }\n\t    };\n\t  })(this);\n\t}\n\t\n\tUtils.domComplete = function(f) {\n\t  if (document.readyState === \"complete\") {\n\t    return f();\n\t  } else {\n\t    return __domComplete.push(f);\n\t  }\n\t};\n\t\n\tUtils.domCompleteCancel = function(f) {\n\t  return __domComplete = _.without(__domComplete, f);\n\t};\n\t\n\tUtils.domLoadScript = function(url, callback) {\n\t  var head, script;\n\t  script = document.createElement(\"script\");\n\t  script.type = \"text/javascript\";\n\t  script.src = url;\n\t  script.onload = callback;\n\t  head = document.getElementsByTagName(\"head\")[0];\n\t  head.appendChild(script);\n\t  return script;\n\t};\n\t\n\tUtils.domLoadData = function(path, callback) {\n\t  var request;\n\t  request = new XMLHttpRequest();\n\t  request.addEventListener(\"load\", function() {\n\t    return callback(null, request.responseText);\n\t  }, false);\n\t  request.addEventListener(\"error\", function() {\n\t    return callback(true, null);\n\t  }, false);\n\t  request.open(\"GET\", path, true);\n\t  return request.send(null);\n\t};\n\t\n\tUtils.domLoadJSON = function(path, callback) {\n\t  return Utils.domLoadData(path, function(err, data) {\n\t    return callback(err, JSON.parse(data));\n\t  });\n\t};\n\t\n\tUtils.domLoadDataSync = function(path) {\n\t  var data, e, request;\n\t  request = new XMLHttpRequest();\n\t  request.open(\"GET\", path, false);\n\t  try {\n\t    request.send(null);\n\t  } catch (_error) {\n\t    e = _error;\n\t    console.debug(\"XMLHttpRequest.error\", e);\n\t  }\n\t  data = request.responseText;\n\t  if (!data) {\n\t    throw Error(\"Utils.domLoadDataSync: no data was loaded (url not found?)\");\n\t  }\n\t  return request.responseText;\n\t};\n\t\n\tUtils.domLoadJSONSync = function(path) {\n\t  return JSON.parse(Utils.domLoadDataSync(path));\n\t};\n\t\n\tUtils.domLoadScriptSync = function(path) {\n\t  var scriptData;\n\t  scriptData = Utils.domLoadDataSync(path);\n\t  eval(scriptData);\n\t  return scriptData;\n\t};\n\t\n\tUtils.insertCSS = function(css) {\n\t  var styleElement;\n\t  styleElement = document.createElement(\"style\");\n\t  styleElement.type = \"text/css\";\n\t  styleElement.innerHTML = css;\n\t  return Utils.domComplete(function() {\n\t    return document.body.appendChild(styleElement);\n\t  });\n\t};\n\t\n\tUtils.loadImage = function(url, callback, context) {\n\t  var element;\n\t  element = new Image;\n\t  if (context == null) {\n\t    context = Framer.CurrentContext;\n\t  }\n\t  context.eventManager.wrap(element).addEventListener(\"load\", function(event) {\n\t    return callback();\n\t  });\n\t  context.eventManager.wrap(element).addEventListener(\"error\", function(event) {\n\t    return callback(true);\n\t  });\n\t  return element.src = url;\n\t};\n\t\n\tUtils.pointZero = function(args) {\n\t  if (args == null) {\n\t    args = {};\n\t  }\n\t  return _.defaults(args, {\n\t    x: 0,\n\t    y: 0\n\t  });\n\t};\n\t\n\tUtils.pointMin = function() {\n\t  var point, points;\n\t  points = Utils.arrayFromArguments(arguments);\n\t  return point = {\n\t    x: _.min(points.map(function(size) {\n\t      return size.x;\n\t    })),\n\t    y: _.min(points.map(function(size) {\n\t      return size.y;\n\t    }))\n\t  };\n\t};\n\t\n\tUtils.pointMax = function() {\n\t  var point, points;\n\t  points = Utils.arrayFromArguments(arguments);\n\t  return point = {\n\t    x: _.max(points.map(function(size) {\n\t      return size.x;\n\t    })),\n\t    y: _.max(points.map(function(size) {\n\t      return size.y;\n\t    }))\n\t  };\n\t};\n\t\n\tUtils.pointDistance = function(pointA, pointB) {\n\t  var distance;\n\t  return distance = {\n\t    x: Math.abs(pointB.x - pointA.x),\n\t    y: Math.abs(pointB.y - pointA.y)\n\t  };\n\t};\n\t\n\tUtils.pointInvert = function(point) {\n\t  return point = {\n\t    x: 0 - point.x,\n\t    y: 0 - point.y\n\t  };\n\t};\n\t\n\tUtils.pointTotal = function(point) {\n\t  return point.x + point.y;\n\t};\n\t\n\tUtils.pointAbs = function(point) {\n\t  return point = {\n\t    x: Math.abs(point.x),\n\t    y: Math.abs(point.y)\n\t  };\n\t};\n\t\n\tUtils.pointInFrame = function(point, frame) {\n\t  if (point.x < Utils.frameGetMinX(frame) || point.x > Utils.frameGetMaxX(frame)) {\n\t    return false;\n\t  }\n\t  if (point.y < Utils.frameGetMinY(frame) || point.y > Utils.frameGetMaxY(frame)) {\n\t    return false;\n\t  }\n\t  return true;\n\t};\n\t\n\tUtils.sizeZero = function(args) {\n\t  if (args == null) {\n\t    args = {};\n\t  }\n\t  return _.defaults(args, {\n\t    width: 0,\n\t    height: 0\n\t  });\n\t};\n\t\n\tUtils.sizeMin = function() {\n\t  var size, sizes;\n\t  sizes = Utils.arrayFromArguments(arguments);\n\t  return size = {\n\t    width: _.min(sizes.map(function(size) {\n\t      return size.width;\n\t    })),\n\t    height: _.min(sizes.map(function(size) {\n\t      return size.height;\n\t    }))\n\t  };\n\t};\n\t\n\tUtils.sizeMax = function() {\n\t  var size, sizes;\n\t  sizes = Utils.arrayFromArguments(arguments);\n\t  return size = {\n\t    width: _.max(sizes.map(function(size) {\n\t      return size.width;\n\t    })),\n\t    height: _.max(sizes.map(function(size) {\n\t      return size.height;\n\t    }))\n\t  };\n\t};\n\t\n\tUtils.rectZero = function(args) {\n\t  if (args == null) {\n\t    args = {};\n\t  }\n\t  return _.defaults(args, {\n\t    top: 0,\n\t    right: 0,\n\t    bottom: 0,\n\t    left: 0\n\t  });\n\t};\n\t\n\tUtils.parseRect = function(args) {\n\t  if (_.isArray(args) && _.isNumber(args[0])) {\n\t    if (args.length === 1) {\n\t      return Utils.parseRect({\n\t        top: args[0]\n\t      });\n\t    }\n\t    if (args.length === 2) {\n\t      return Utils.parseRect({\n\t        top: args[0],\n\t        right: args[1]\n\t      });\n\t    }\n\t    if (args.length === 3) {\n\t      return Utils.parseRect({\n\t        top: args[0],\n\t        right: args[1],\n\t        bottom: args[2]\n\t      });\n\t    }\n\t    if (args.length === 4) {\n\t      return Utils.parseRect({\n\t        top: args[0],\n\t        right: args[1],\n\t        bottom: args[2],\n\t        left: args[3]\n\t      });\n\t    }\n\t  }\n\t  if (_.isArray(args) && _.isObject(args[0])) {\n\t    return args[0];\n\t  }\n\t  if (_.isObject(args)) {\n\t    return args;\n\t  }\n\t  return {};\n\t};\n\t\n\tUtils.frameGetMinX = function(frame) {\n\t  return frame.x;\n\t};\n\t\n\tUtils.frameSetMinX = function(frame, value) {\n\t  return frame.x = value;\n\t};\n\t\n\tUtils.frameGetMidX = function(frame) {\n\t  if (frame.width === 0) {\n\t    return 0;\n\t  } else {\n\t    return frame.x + (frame.width / 2.0);\n\t  }\n\t};\n\t\n\tUtils.frameSetMidX = function(frame, value) {\n\t  return frame.x = frame.width === 0 ? 0 : value - (frame.width / 2.0);\n\t};\n\t\n\tUtils.frameGetMaxX = function(frame) {\n\t  if (frame.width === 0) {\n\t    return 0;\n\t  } else {\n\t    return frame.x + frame.width;\n\t  }\n\t};\n\t\n\tUtils.frameSetMaxX = function(frame, value) {\n\t  return frame.x = frame.width === 0 ? 0 : value - frame.width;\n\t};\n\t\n\tUtils.frameGetMinY = function(frame) {\n\t  return frame.y;\n\t};\n\t\n\tUtils.frameSetMinY = function(frame, value) {\n\t  return frame.y = value;\n\t};\n\t\n\tUtils.frameGetMidY = function(frame) {\n\t  if (frame.height === 0) {\n\t    return 0;\n\t  } else {\n\t    return frame.y + (frame.height / 2.0);\n\t  }\n\t};\n\t\n\tUtils.frameSetMidY = function(frame, value) {\n\t  return frame.y = frame.height === 0 ? 0 : value - (frame.height / 2.0);\n\t};\n\t\n\tUtils.frameGetMaxY = function(frame) {\n\t  if (frame.height === 0) {\n\t    return 0;\n\t  } else {\n\t    return frame.y + frame.height;\n\t  }\n\t};\n\t\n\tUtils.frameSetMaxY = function(frame, value) {\n\t  return frame.y = frame.height === 0 ? 0 : value - frame.height;\n\t};\n\t\n\tUtils.frameZero = function(args) {\n\t  if (args == null) {\n\t    args = {};\n\t  }\n\t  return _.defaults(args, {\n\t    top: 0,\n\t    right: 0,\n\t    bottom: 0,\n\t    left: 0\n\t  });\n\t};\n\t\n\tUtils.frameSize = function(frame) {\n\t  var size;\n\t  return size = {\n\t    width: frame.width,\n\t    height: frame.height\n\t  };\n\t};\n\t\n\tUtils.framePoint = function(frame) {\n\t  var point;\n\t  return point = {\n\t    x: frame.x,\n\t    y: frame.y\n\t  };\n\t};\n\t\n\tUtils.frameMerge = function() {\n\t  var frame, frames;\n\t  frames = Utils.arrayFromArguments(arguments);\n\t  frame = {\n\t    x: _.min(frames.map(Utils.frameGetMinX)),\n\t    y: _.min(frames.map(Utils.frameGetMinY))\n\t  };\n\t  frame.width = _.max(frames.map(Utils.frameGetMaxX)) - frame.x;\n\t  frame.height = _.max(frames.map(Utils.frameGetMaxY)) - frame.y;\n\t  return frame;\n\t};\n\t\n\tUtils.framePointForOrigin = function(frame, originX, originY) {\n\t  return frame = {\n\t    x: frame.x + (originX * frame.width),\n\t    y: frame.y + (originY * frame.height),\n\t    width: frame.width,\n\t    height: frame.height\n\t  };\n\t};\n\t\n\tUtils.frameInset = function(frame, inset) {\n\t  return frame = {\n\t    x: frame.x + inset.left,\n\t    y: frame.y + inset.top,\n\t    width: frame.width - inset.left - inset.right,\n\t    height: frame.height - inset.top - inset.bottom\n\t  };\n\t};\n\t\n\tUtils.frameSortByAbsoluteDistance = function(point, frames, originX, originY) {\n\t  var distance;\n\t  if (originX == null) {\n\t    originX = 0;\n\t  }\n\t  if (originY == null) {\n\t    originY = 0;\n\t  }\n\t  distance = function(frame) {\n\t    var result;\n\t    result = Utils.pointDistance(point, Utils.framePointForOrigin(frame, originX, originY));\n\t    result = Utils.pointAbs(result);\n\t    result = Utils.pointTotal(result);\n\t    return result;\n\t  };\n\t  return frames.sort(function(a, b) {\n\t    return distance(a) - distance(b);\n\t  });\n\t};\n\t\n\tUtils.pointInPolygon = function(point, vs) {\n\t  var i, inside, intersect, j, x, xi, xj, y, yi, yj;\n\t  x = point[0];\n\t  y = point[1];\n\t  inside = false;\n\t  i = 0;\n\t  j = vs.length - 1;\n\t  while (i < vs.length) {\n\t    xi = vs[i][0];\n\t    yi = vs[i][1];\n\t    xj = vs[j][0];\n\t    yj = vs[j][1];\n\t    intersect = ((yi > y && y !== yj) && yj > y) && x < (xj - xi) * (y - yi) / (yj - yi) + xi;\n\t    if (intersect) {\n\t      inside = !inside;\n\t    }\n\t    j = i++;\n\t  }\n\t  return inside;\n\t};\n\t\n\tUtils.pointAngle = function(p1, p2) {\n\t  return Math.atan2(p2.y - p1.y, p2.x - p1.x) * 180 / Math.PI;\n\t};\n\t\n\tUtils.convertPoint = function(input, layerA, layerB, context) {\n\t  var layer, len, len1, m, o, point, superLayersA, superLayersB;\n\t  if (context == null) {\n\t    context = false;\n\t  }\n\t  point = _.defaults(input, {\n\t    x: 0,\n\t    y: 0\n\t  });\n\t  superLayersA = (layerA != null ? layerA.superLayers(context) : void 0) || [];\n\t  superLayersB = (layerB != null ? layerB.superLayers(context) : void 0) || [];\n\t  if (layerB) {\n\t    superLayersB.push(layerB);\n\t  }\n\t  for (m = 0, len = superLayersA.length; m < len; m++) {\n\t    layer = superLayersA[m];\n\t    point.x += layer.x - layer.scrollFrame.x;\n\t    point.y += layer.y - layer.scrollFrame.y;\n\t  }\n\t  for (o = 0, len1 = superLayersB.length; o < len1; o++) {\n\t    layer = superLayersB[o];\n\t    point.x -= layer.x + layer.scrollFrame.x;\n\t    point.y -= layer.y + layer.scrollFrame.y;\n\t  }\n\t  return point;\n\t};\n\t\n\tUtils.globalLayers = function(importedLayers) {\n\t  var layer, layerName;\n\t  for (layerName in importedLayers) {\n\t    layer = importedLayers[layerName];\n\t    layerName = layerName.replace(/\\s/g, \"\");\n\t    if (window.hasOwnProperty(layerName) && !window.Framer._globalWarningGiven) {\n\t      print(\"Warning: Cannot make layer '\" + layerName + \"' a global, a variable with that name already exists\");\n\t    } else {\n\t      window[layerName] = layer;\n\t    }\n\t  }\n\t  return window.Framer._globalWarningGiven = true;\n\t};\n\t\n\t_textSizeNode = null;\n\t\n\tUtils.textSize = function(text, style, constraints) {\n\t  var frame, rect, shouldCreateNode;\n\t  if (style == null) {\n\t    style = {};\n\t  }\n\t  if (constraints == null) {\n\t    constraints = {};\n\t  }\n\t  shouldCreateNode = !_textSizeNode;\n\t  if (shouldCreateNode) {\n\t    _textSizeNode = document.createElement(\"div\");\n\t    _textSizeNode.id = \"_textSizeNode\";\n\t  }\n\t  _textSizeNode.innerHTML = text;\n\t  style = _.extend(style, {\n\t    position: \"fixed\",\n\t    display: \"inline\",\n\t    visibility: \"hidden\",\n\t    top: \"-10000px\",\n\t    left: \"-10000px\"\n\t  });\n\t  delete style.width;\n\t  delete style.height;\n\t  delete style.bottom;\n\t  delete style.right;\n\t  if (constraints.width) {\n\t    style.width = constraints.width + \"px\";\n\t  }\n\t  if (constraints.height) {\n\t    style.height = constraints.height + \"px\";\n\t  }\n\t  _.extend(_textSizeNode.style, style);\n\t  if (shouldCreateNode) {\n\t    if (!window.document.body) {\n\t      document.write(_textSizeNode.outerHTML);\n\t      _textSizeNode = document.getElementById(\"_textSizeNode\");\n\t    } else {\n\t      window.document.body.appendChild(_textSizeNode);\n\t    }\n\t  }\n\t  rect = _textSizeNode.getBoundingClientRect();\n\t  return frame = {\n\t    width: rect.right - rect.left,\n\t    height: rect.bottom - rect.top\n\t  };\n\t};\n\t\n\t_.extend(exports, Utils);\n\n\n/***/ },\n/* 3 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Animation, BaseClass, Config, Defaults, EventEmitter, LayerDraggable, LayerStates, LayerStyle, NoCacheDateKey, Utils, _, layerProperty, layerValueTypeError,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty,\n\t  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },\n\t  slice = [].slice;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tConfig = __webpack_require__(17).Config;\n\t\n\tDefaults = __webpack_require__(30).Defaults;\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\tEventEmitter = __webpack_require__(18).EventEmitter;\n\t\n\tAnimation = __webpack_require__(7).Animation;\n\t\n\tLayerStyle = __webpack_require__(20).LayerStyle;\n\t\n\tLayerStates = __webpack_require__(31).LayerStates;\n\t\n\tLayerDraggable = __webpack_require__(26).LayerDraggable;\n\t\n\tNoCacheDateKey = Date.now();\n\t\n\tlayerValueTypeError = function(name, value) {\n\t  throw new Error(\"Layer.\" + name + \": value '\" + value + \"' of type '\" + (typeof value) + \"'' is not valid\");\n\t};\n\t\n\tlayerProperty = function(obj, name, cssProperty, fallback, validator, options, set) {\n\t  var result;\n\t  if (options == null) {\n\t    options = {};\n\t  }\n\t  result = {\n\t    \"default\": fallback,\n\t    get: function() {\n\t      if (this._properties.hasOwnProperty(name)) {\n\t        return this._properties[name];\n\t      }\n\t      return fallback;\n\t    },\n\t    set: function(value) {\n\t      if (value && validator && !validator(value)) {\n\t        layerValueTypeError(name, value);\n\t      }\n\t      this._properties[name] = value;\n\t      this._element.style[cssProperty] = LayerStyle[cssProperty](this);\n\t      if (typeof set === \"function\") {\n\t        set(this, value);\n\t      }\n\t      this.emit(\"change:\" + name, value);\n\t      if (name === \"x\" || name === \"y\") {\n\t        this.emit(\"change:point\", value);\n\t      }\n\t      if (name === \"width\" || name === \"height\") {\n\t        this.emit(\"change:size\", value);\n\t      }\n\t      if (name === \"x\" || name === \"y\" || name === \"width\" || name === \"height\") {\n\t        this.emit(\"change:frame\", value);\n\t      }\n\t      if (name === \"rotationZ\") {\n\t        return this.emit(\"change:rotation\", value);\n\t      }\n\t    }\n\t  };\n\t  return result = _.extend(result, options);\n\t};\n\t\n\texports.Layer = (function(superClass) {\n\t  extend(Layer, superClass);\n\t\n\t  function Layer(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this.addListener = bind(this.addListener, this);\n\t    this._properties = {};\n\t    this._style = {};\n\t    this._prefer2d = false;\n\t    this._cacheImage = false;\n\t    this._createElement();\n\t    if (options.hasOwnProperty(\"frame\")) {\n\t      options = _.extend(options, options.frame);\n\t    }\n\t    options = Defaults.getDefaults(\"Layer\", options);\n\t    Layer.__super__.constructor.call(this, options);\n\t    this._context.addLayer(this);\n\t    this._id = this._context.nextLayerId();\n\t    if (!options.superLayer) {\n\t      if (!options.shadow) {\n\t        this._insertElement();\n\t      }\n\t    } else {\n\t      this.superLayer = options.superLayer;\n\t    }\n\t    if (options.hasOwnProperty(\"index\")) {\n\t      this.index = options.index;\n\t    }\n\t    this._subLayers = [];\n\t    this._context.emit(\"layer:create\", this);\n\t  }\n\t\n\t  Layer.define(\"width\", layerProperty(Layer, \"width\", \"width\", 100, _.isNumber));\n\t\n\t  Layer.define(\"height\", layerProperty(Layer, \"height\", \"height\", 100, _.isNumber));\n\t\n\t  Layer.define(\"visible\", layerProperty(Layer, \"visible\", \"display\", true, _.isBoolean));\n\t\n\t  Layer.define(\"opacity\", layerProperty(Layer, \"opacity\", \"opacity\", 1, _.isNumber));\n\t\n\t  Layer.define(\"index\", layerProperty(Layer, \"index\", \"zIndex\", 0, _.isNumber, {\n\t    importable: false,\n\t    exportable: false\n\t  }));\n\t\n\t  Layer.define(\"clip\", layerProperty(Layer, \"clip\", \"overflow\", true, _.isBoolean));\n\t\n\t  Layer.define(\"scrollHorizontal\", layerProperty(Layer, \"scrollHorizontal\", \"overflowX\", false, _.isBoolean, {}, function(layer, value) {\n\t    if (value === true) {\n\t      return layer.ignoreEvents = false;\n\t    }\n\t  }));\n\t\n\t  Layer.define(\"scrollVertical\", layerProperty(Layer, \"scrollVertical\", \"overflowY\", false, _.isBoolean, {}, function(layer, value) {\n\t    if (value === true) {\n\t      return layer.ignoreEvents = false;\n\t    }\n\t  }));\n\t\n\t  Layer.define(\"scroll\", {\n\t    get: function() {\n\t      return this.scrollHorizontal === true || this.scrollVertical === true;\n\t    },\n\t    set: function(value) {\n\t      return this.scrollHorizontal = this.scrollVertical = value;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"ignoreEvents\", layerProperty(Layer, \"ignoreEvents\", \"pointerEvents\", true, _.isBoolean));\n\t\n\t  Layer.define(\"x\", layerProperty(Layer, \"x\", \"webkitTransform\", 0, _.isNumber));\n\t\n\t  Layer.define(\"y\", layerProperty(Layer, \"y\", \"webkitTransform\", 0, _.isNumber));\n\t\n\t  Layer.define(\"z\", layerProperty(Layer, \"z\", \"webkitTransform\", 0, _.isNumber));\n\t\n\t  Layer.define(\"scaleX\", layerProperty(Layer, \"scaleX\", \"webkitTransform\", 1, _.isNumber));\n\t\n\t  Layer.define(\"scaleY\", layerProperty(Layer, \"scaleY\", \"webkitTransform\", 1, _.isNumber));\n\t\n\t  Layer.define(\"scaleZ\", layerProperty(Layer, \"scaleZ\", \"webkitTransform\", 1, _.isNumber));\n\t\n\t  Layer.define(\"scale\", layerProperty(Layer, \"scale\", \"webkitTransform\", 1, _.isNumber));\n\t\n\t  Layer.define(\"skewX\", layerProperty(Layer, \"skewX\", \"webkitTransform\", 0, _.isNumber));\n\t\n\t  Layer.define(\"skewY\", layerProperty(Layer, \"skewY\", \"webkitTransform\", 0, _.isNumber));\n\t\n\t  Layer.define(\"skew\", layerProperty(Layer, \"skew\", \"webkitTransform\", 0, _.isNumber));\n\t\n\t  Layer.define(\"originX\", layerProperty(Layer, \"originX\", \"webkitTransformOrigin\", 0.5, _.isNumber));\n\t\n\t  Layer.define(\"originY\", layerProperty(Layer, \"originY\", \"webkitTransformOrigin\", 0.5, _.isNumber));\n\t\n\t  Layer.define(\"perspective\", layerProperty(Layer, \"perspective\", \"webkitPerspective\", 0, _.isNumber));\n\t\n\t  Layer.define(\"rotationX\", layerProperty(Layer, \"rotationX\", \"webkitTransform\", 0, _.isNumber));\n\t\n\t  Layer.define(\"rotationY\", layerProperty(Layer, \"rotationY\", \"webkitTransform\", 0, _.isNumber));\n\t\n\t  Layer.define(\"rotationZ\", layerProperty(Layer, \"rotationZ\", \"webkitTransform\", 0, _.isNumber));\n\t\n\t  Layer.define(\"rotation\", {\n\t    get: function() {\n\t      return this.rotationZ;\n\t    },\n\t    set: function(value) {\n\t      return this.rotationZ = value;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"blur\", layerProperty(Layer, \"blur\", \"webkitFilter\", 0, _.isNumber));\n\t\n\t  Layer.define(\"brightness\", layerProperty(Layer, \"brightness\", \"webkitFilter\", 100, _.isNumber));\n\t\n\t  Layer.define(\"saturate\", layerProperty(Layer, \"saturate\", \"webkitFilter\", 100, _.isNumber));\n\t\n\t  Layer.define(\"hueRotate\", layerProperty(Layer, \"hueRotate\", \"webkitFilter\", 0, _.isNumber));\n\t\n\t  Layer.define(\"contrast\", layerProperty(Layer, \"contrast\", \"webkitFilter\", 100, _.isNumber));\n\t\n\t  Layer.define(\"invert\", layerProperty(Layer, \"invert\", \"webkitFilter\", 0, _.isNumber));\n\t\n\t  Layer.define(\"grayscale\", layerProperty(Layer, \"grayscale\", \"webkitFilter\", 0, _.isNumber));\n\t\n\t  Layer.define(\"sepia\", layerProperty(Layer, \"sepia\", \"webkitFilter\", 0, _.isNumber));\n\t\n\t  Layer.define(\"shadowX\", layerProperty(Layer, \"shadowX\", \"boxShadow\", 0, _.isNumber));\n\t\n\t  Layer.define(\"shadowY\", layerProperty(Layer, \"shadowY\", \"boxShadow\", 0, _.isNumber));\n\t\n\t  Layer.define(\"shadowBlur\", layerProperty(Layer, \"shadowBlur\", \"boxShadow\", 0, _.isNumber));\n\t\n\t  Layer.define(\"shadowSpread\", layerProperty(Layer, \"shadowSpread\", \"boxShadow\", 0, _.isNumber));\n\t\n\t  Layer.define(\"shadowColor\", layerProperty(Layer, \"shadowColor\", \"boxShadow\", \"\"));\n\t\n\t  Layer.define(\"backgroundColor\", layerProperty(Layer, \"backgroundColor\", \"backgroundColor\", null, _.isString));\n\t\n\t  Layer.define(\"color\", layerProperty(Layer, \"color\", \"color\", null, _.isString));\n\t\n\t  Layer.define(\"borderColor\", layerProperty(Layer, \"borderColor\", \"border\", null, _.isString));\n\t\n\t  Layer.define(\"borderWidth\", layerProperty(Layer, \"borderWidth\", \"border\", 0, _.isNumber));\n\t\n\t  Layer.define(\"force2d\", layerProperty(Layer, \"force2d\", \"webkitTransform\", false, _.isBoolean));\n\t\n\t  Layer.define(\"name\", {\n\t    \"default\": \"\",\n\t    get: function() {\n\t      return this._getPropertyValue(\"name\");\n\t    },\n\t    set: function(value) {\n\t      this._setPropertyValue(\"name\", value);\n\t      return this._element.setAttribute(\"name\", value);\n\t    }\n\t  });\n\t\n\t  Layer.define(\"borderRadius\", {\n\t    \"default\": 0,\n\t    get: function() {\n\t      return this._properties[\"borderRadius\"];\n\t    },\n\t    set: function(value) {\n\t      if (value && !_.isNumber(value)) {\n\t        console.warn(\"Layer.borderRadius should be a numeric property, not type \" + (typeof value));\n\t      }\n\t      this._properties[\"borderRadius\"] = value;\n\t      this._element.style[\"borderRadius\"] = LayerStyle[\"borderRadius\"](this);\n\t      return this.emit(\"change:borderRadius\", value);\n\t    }\n\t  });\n\t\n\t  Layer.define(\"cornerRadius\", {\n\t    importable: true,\n\t    get: function() {\n\t      return this.borderRadius;\n\t    },\n\t    set: function(value) {\n\t      return this.borderRadius = value;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"point\", {\n\t    get: function() {\n\t      return _.pick(this, [\"x\", \"y\"]);\n\t    },\n\t    set: function(point) {\n\t      var i, k, len, ref, results;\n\t      if (!point) {\n\t        return;\n\t      }\n\t      ref = [\"x\", \"y\"];\n\t      results = [];\n\t      for (i = 0, len = ref.length; i < len; i++) {\n\t        k = ref[i];\n\t        if (point.hasOwnProperty(k)) {\n\t          results.push(this[k] = point[k]);\n\t        } else {\n\t          results.push(void 0);\n\t        }\n\t      }\n\t      return results;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"size\", {\n\t    get: function() {\n\t      return _.pick(this, [\"width\", \"height\"]);\n\t    },\n\t    set: function(size) {\n\t      var i, k, len, ref, results;\n\t      if (!size) {\n\t        return;\n\t      }\n\t      ref = [\"width\", \"height\"];\n\t      results = [];\n\t      for (i = 0, len = ref.length; i < len; i++) {\n\t        k = ref[i];\n\t        if (size.hasOwnProperty(k)) {\n\t          results.push(this[k] = size[k]);\n\t        } else {\n\t          results.push(void 0);\n\t        }\n\t      }\n\t      return results;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"frame\", {\n\t    get: function() {\n\t      return _.pick(this, [\"x\", \"y\", \"width\", \"height\"]);\n\t    },\n\t    set: function(frame) {\n\t      var i, k, len, ref, results;\n\t      if (!frame) {\n\t        return;\n\t      }\n\t      ref = [\"x\", \"y\", \"width\", \"height\"];\n\t      results = [];\n\t      for (i = 0, len = ref.length; i < len; i++) {\n\t        k = ref[i];\n\t        if (frame.hasOwnProperty(k)) {\n\t          results.push(this[k] = frame[k]);\n\t        } else {\n\t          results.push(void 0);\n\t        }\n\t      }\n\t      return results;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"minX\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      return this.x;\n\t    },\n\t    set: function(value) {\n\t      return this.x = value;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"midX\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      return Utils.frameGetMidX(this);\n\t    },\n\t    set: function(value) {\n\t      return Utils.frameSetMidX(this, value);\n\t    }\n\t  });\n\t\n\t  Layer.define(\"maxX\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      return Utils.frameGetMaxX(this);\n\t    },\n\t    set: function(value) {\n\t      return Utils.frameSetMaxX(this, value);\n\t    }\n\t  });\n\t\n\t  Layer.define(\"minY\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      return this.y;\n\t    },\n\t    set: function(value) {\n\t      return this.y = value;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"midY\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      return Utils.frameGetMidY(this);\n\t    },\n\t    set: function(value) {\n\t      return Utils.frameSetMidY(this, value);\n\t    }\n\t  });\n\t\n\t  Layer.define(\"maxY\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      return Utils.frameGetMaxY(this);\n\t    },\n\t    set: function(value) {\n\t      return Utils.frameSetMaxY(this, value);\n\t    }\n\t  });\n\t\n\t  Layer.prototype.convertPoint = function(point) {\n\t    return Utils.convertPoint(point, null, this);\n\t  };\n\t\n\t  Layer.define(\"canvasFrame\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      var context;\n\t      return Utils.convertPoint(this.frame, this, null, context = true);\n\t    },\n\t    set: function(frame) {\n\t      var context;\n\t      if (!this.superLayer) {\n\t        return this.frame = frame;\n\t      } else {\n\t        return this.frame = Utils.convertPoint(frame, null, this.superLayer, context = true);\n\t      }\n\t    }\n\t  });\n\t\n\t  Layer.define(\"screenFrame\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      var context;\n\t      return Utils.convertPoint(this.frame, this, null, context = false);\n\t    },\n\t    set: function(frame) {\n\t      var context;\n\t      if (!this.superLayer) {\n\t        return this.frame = frame;\n\t      } else {\n\t        return this.frame = Utils.convertPoint(frame, null, this.superLayer, context = false);\n\t      }\n\t    }\n\t  });\n\t\n\t  Layer.prototype.contentFrame = function() {\n\t    if (!this.subLayers.length) {\n\t      return {\n\t        x: 0,\n\t        y: 0,\n\t        width: 0,\n\t        height: 0\n\t      };\n\t    }\n\t    return Utils.frameMerge(_.pluck(this.subLayers, \"frame\"));\n\t  };\n\t\n\t  Layer.prototype.centerFrame = function() {\n\t    var frame;\n\t    if (this.superLayer) {\n\t      frame = this.frame;\n\t      Utils.frameSetMidX(frame, parseInt(this.superLayer.width / 2.0));\n\t      Utils.frameSetMidY(frame, parseInt(this.superLayer.height / 2.0));\n\t      return frame;\n\t    } else {\n\t      frame = this.frame;\n\t      Utils.frameSetMidX(frame, parseInt(this._context.width / 2.0));\n\t      Utils.frameSetMidY(frame, parseInt(this._context.height / 2.0));\n\t      return frame;\n\t    }\n\t  };\n\t\n\t  Layer.prototype.center = function() {\n\t    this.frame = this.centerFrame();\n\t    return this;\n\t  };\n\t\n\t  Layer.prototype.centerX = function(offset) {\n\t    if (offset == null) {\n\t      offset = 0;\n\t    }\n\t    this.x = this.centerFrame().x + offset;\n\t    return this;\n\t  };\n\t\n\t  Layer.prototype.centerY = function(offset) {\n\t    if (offset == null) {\n\t      offset = 0;\n\t    }\n\t    this.y = this.centerFrame().y + offset;\n\t    return this;\n\t  };\n\t\n\t  Layer.prototype.pixelAlign = function() {\n\t    this.x = parseInt(this.x);\n\t    return this.y = parseInt(this.y);\n\t  };\n\t\n\t  Layer.prototype.canvasScaleX = function() {\n\t    var context, i, len, ref, scale, superLayer;\n\t    scale = this.scale * this.scaleX;\n\t    ref = this.superLayers(context = true);\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      superLayer = ref[i];\n\t      scale = scale * superLayer.scale * superLayer.scaleX;\n\t    }\n\t    return scale;\n\t  };\n\t\n\t  Layer.prototype.canvasScaleY = function() {\n\t    var context, i, len, ref, scale, superLayer;\n\t    scale = this.scale * this.scaleY;\n\t    ref = this.superLayers(context = true);\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      superLayer = ref[i];\n\t      scale = scale * superLayer.scale * superLayer.scaleY;\n\t    }\n\t    return scale;\n\t  };\n\t\n\t  Layer.prototype.screenScaleX = function() {\n\t    var context, i, len, ref, scale, superLayer;\n\t    scale = this.scale * this.scaleX;\n\t    ref = this.superLayers(context = false);\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      superLayer = ref[i];\n\t      scale = scale * superLayer.scale * superLayer.scaleX;\n\t    }\n\t    return scale;\n\t  };\n\t\n\t  Layer.prototype.screenScaleY = function() {\n\t    var context, i, len, ref, scale, superLayer;\n\t    scale = this.scale * this.scaleY;\n\t    ref = this.superLayers(context = false);\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      superLayer = ref[i];\n\t      scale = scale * superLayer.scale * superLayer.scaleY;\n\t    }\n\t    return scale;\n\t  };\n\t\n\t  Layer.prototype.screenScaledFrame = function() {\n\t    var context, factorX, factorY, frame, i, layerScaledFrame, layers, len, superLayer;\n\t    frame = {\n\t      x: 0,\n\t      y: 0,\n\t      width: this.width * this.screenScaleX(),\n\t      height: this.height * this.screenScaleY()\n\t    };\n\t    layers = this.superLayers(context = true);\n\t    layers.push(this);\n\t    layers.reverse();\n\t    for (i = 0, len = layers.length; i < len; i++) {\n\t      superLayer = layers[i];\n\t      factorX = superLayer._superOrParentLayer() ? superLayer._superOrParentLayer().screenScaleX() : 1;\n\t      factorY = superLayer._superOrParentLayer() ? superLayer._superOrParentLayer().screenScaleY() : 1;\n\t      layerScaledFrame = superLayer.scaledFrame();\n\t      frame.x += layerScaledFrame.x * factorX;\n\t      frame.y += layerScaledFrame.y * factorY;\n\t    }\n\t    return frame;\n\t  };\n\t\n\t  Layer.prototype.scaledFrame = function() {\n\t    var frame, scaleX, scaleY;\n\t    frame = this.frame;\n\t    scaleX = this.scale * this.scaleX;\n\t    scaleY = this.scale * this.scaleY;\n\t    frame.width *= scaleX;\n\t    frame.height *= scaleY;\n\t    frame.x += (1 - scaleX) * this.originX * this.width;\n\t    frame.y += (1 - scaleY) * this.originY * this.height;\n\t    return frame;\n\t  };\n\t\n\t  Layer.define(\"style\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      return this._element.style;\n\t    },\n\t    set: function(value) {\n\t      _.extend(this._element.style, value);\n\t      return this.emit(\"change:style\");\n\t    }\n\t  });\n\t\n\t  Layer.prototype.computedStyle = function() {\n\t    var getComputedStyle;\n\t    getComputedStyle = document.defaultView.getComputedStyle;\n\t    if (getComputedStyle == null) {\n\t      getComputedStyle = window.getComputedStyle;\n\t    }\n\t    return getComputedStyle(this._element);\n\t  };\n\t\n\t  Layer.define(\"classList\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      return this._element.classList;\n\t    }\n\t  });\n\t\n\t  Layer.prototype._createElement = function() {\n\t    if (this._element != null) {\n\t      return;\n\t    }\n\t    this._element = document.createElement(\"div\");\n\t    return this._element.classList.add(\"framerLayer\");\n\t  };\n\t\n\t  Layer.prototype._insertElement = function() {\n\t    this.bringToFront();\n\t    return this._context.getRootElement().appendChild(this._element);\n\t  };\n\t\n\t  Layer.define(\"html\", {\n\t    get: function() {\n\t      var ref;\n\t      return ((ref = this._elementHTML) != null ? ref.innerHTML : void 0) || \"\";\n\t    },\n\t    set: function(value) {\n\t      if (!this._elementHTML) {\n\t        this._elementHTML = document.createElement(\"div\");\n\t        this._element.appendChild(this._elementHTML);\n\t      }\n\t      this._elementHTML.innerHTML = value;\n\t      return this.emit(\"change:html\");\n\t    }\n\t  });\n\t\n\t  Layer.prototype.querySelector = function(query) {\n\t    return this._element.querySelector(query);\n\t  };\n\t\n\t  Layer.prototype.querySelectorAll = function(query) {\n\t    return this._element.querySelectorAll(query);\n\t  };\n\t\n\t  Layer.prototype.destroy = function() {\n\t    var ref;\n\t    if (this.superLayer) {\n\t      this.superLayer._subLayers = _.without(this.superLayer._subLayers, this);\n\t    }\n\t    if ((ref = this._element.parentNode) != null) {\n\t      ref.removeChild(this._element);\n\t    }\n\t    this.removeAllListeners();\n\t    this._context.removeLayer(this);\n\t    return this._context.emit(\"layer:destroy\", this);\n\t  };\n\t\n\t  Layer.prototype.copy = function() {\n\t    var copiedSublayer, i, layer, len, ref, subLayer;\n\t    layer = this.copySingle();\n\t    ref = this.subLayers;\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      subLayer = ref[i];\n\t      copiedSublayer = subLayer.copy();\n\t      copiedSublayer.superLayer = layer;\n\t    }\n\t    return layer;\n\t  };\n\t\n\t  Layer.prototype.copySingle = function() {\n\t    return new this.constructor(this.props);\n\t  };\n\t\n\t  Layer.define(\"image\", {\n\t    \"default\": \"\",\n\t    get: function() {\n\t      return this._getPropertyValue(\"image\");\n\t    },\n\t    set: function(value) {\n\t      var currentValue, imageUrl, loader, ref, ref1;\n\t      if (!(_.isString(value) || value === null)) {\n\t        layerValueTypeError(\"image\", value);\n\t      }\n\t      currentValue = this._getPropertyValue(\"image\");\n\t      if (currentValue === value) {\n\t        return this.emit(\"load\");\n\t      }\n\t      this.backgroundColor = null;\n\t      this._setPropertyValue(\"image\", value);\n\t      if (value === null || value === \"\") {\n\t        this.style[\"background-image\"] = null;\n\t        return;\n\t      }\n\t      imageUrl = value;\n\t      if (Utils.isLocal() && !imageUrl.match(/^https?:\\/\\//) && this._cacheImage === false) {\n\t        imageUrl += \"?nocache=\" + NoCacheDateKey;\n\t      }\n\t      if ((ref = this.events) != null ? ref.hasOwnProperty(\"load\" || ((ref1 = this.events) != null ? ref1.hasOwnProperty(\"error\") : void 0)) : void 0) {\n\t        loader = new Image();\n\t        loader.name = imageUrl;\n\t        loader.src = imageUrl;\n\t        loader.onload = (function(_this) {\n\t          return function() {\n\t            _this.style[\"background-image\"] = \"url('\" + imageUrl + \"')\";\n\t            return _this.emit(\"load\", loader);\n\t          };\n\t        })(this);\n\t        return loader.onerror = (function(_this) {\n\t          return function() {\n\t            return _this.emit(\"error\", loader);\n\t          };\n\t        })(this);\n\t      } else {\n\t        return this.style[\"background-image\"] = \"url('\" + imageUrl + \"')\";\n\t      }\n\t    }\n\t  });\n\t\n\t  Layer.define(\"superLayer\", {\n\t    enumerable: false,\n\t    exportable: false,\n\t    importable: true,\n\t    get: function() {\n\t      return this._superLayer || null;\n\t    },\n\t    set: function(layer) {\n\t      if (layer === this._superLayer) {\n\t        return;\n\t      }\n\t      if (!layer instanceof Layer) {\n\t        throw Error(\"Layer.superLayer needs to be a Layer object\");\n\t      }\n\t      Utils.domCompleteCancel(this.__insertElement);\n\t      if (this._superLayer) {\n\t        this._superLayer._subLayers = _.without(this._superLayer._subLayers, this);\n\t        this._superLayer._element.removeChild(this._element);\n\t        this._superLayer.emit(\"change:subLayers\", {\n\t          added: [],\n\t          removed: [this]\n\t        });\n\t      }\n\t      if (layer) {\n\t        layer._element.appendChild(this._element);\n\t        layer._subLayers.push(this);\n\t        layer.emit(\"change:subLayers\", {\n\t          added: [this],\n\t          removed: []\n\t        });\n\t      } else {\n\t        this._insertElement();\n\t      }\n\t      this._superLayer = layer;\n\t      this.bringToFront();\n\t      return this.emit(\"change:superLayer\");\n\t    }\n\t  });\n\t\n\t  Layer.define(\"subLayers\", {\n\t    enumerable: false,\n\t    exportable: false,\n\t    importable: false,\n\t    get: function() {\n\t      return _.clone(this._subLayers);\n\t    }\n\t  });\n\t\n\t  Layer.define(\"siblingLayers\", {\n\t    enumerable: false,\n\t    exportable: false,\n\t    importable: false,\n\t    get: function() {\n\t      if (this.superLayer === null) {\n\t        return _.filter(this._context.getLayers(), (function(_this) {\n\t          return function(layer) {\n\t            return layer !== _this && layer.superLayer === null;\n\t          };\n\t        })(this));\n\t      }\n\t      return _.without(this.superLayer.subLayers, this);\n\t    }\n\t  });\n\t\n\t  Layer.prototype.addSubLayer = function(layer) {\n\t    return layer.superLayer = this;\n\t  };\n\t\n\t  Layer.prototype.removeSubLayer = function(layer) {\n\t    if (indexOf.call(this.subLayers, layer) < 0) {\n\t      return;\n\t    }\n\t    return layer.superLayer = null;\n\t  };\n\t\n\t  Layer.prototype.subLayersByName = function(name) {\n\t    return _.filter(this.subLayers, function(layer) {\n\t      return layer.name === name;\n\t    });\n\t  };\n\t\n\t  Layer.prototype.superLayers = function(context) {\n\t    var currentLayer, superLayers;\n\t    if (context == null) {\n\t      context = false;\n\t    }\n\t    superLayers = [];\n\t    currentLayer = this;\n\t    if (context === false) {\n\t      while (currentLayer.superLayer) {\n\t        superLayers.push(currentLayer.superLayer);\n\t        currentLayer = currentLayer.superLayer;\n\t      }\n\t    } else {\n\t      while (currentLayer._superOrParentLayer()) {\n\t        superLayers.push(currentLayer._superOrParentLayer());\n\t        currentLayer = currentLayer._superOrParentLayer();\n\t      }\n\t    }\n\t    return superLayers;\n\t  };\n\t\n\t  Layer.prototype._superOrParentLayer = function() {\n\t    if (this.superLayer) {\n\t      return this.superLayer;\n\t    }\n\t    if (this._context._parentLayer) {\n\t      return this._context._parentLayer;\n\t    }\n\t  };\n\t\n\t  Layer.prototype.subLayersAbove = function(point, originX, originY) {\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    return _.filter(this.subLayers, function(layer) {\n\t      return Utils.framePointForOrigin(layer.frame, originX, originY).y < point.y;\n\t    });\n\t  };\n\t\n\t  Layer.prototype.subLayersBelow = function(point, originX, originY) {\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    return _.filter(this.subLayers, function(layer) {\n\t      return Utils.framePointForOrigin(layer.frame, originX, originY).y > point.y;\n\t    });\n\t  };\n\t\n\t  Layer.prototype.subLayersLeft = function(point, originX, originY) {\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    return _.filter(this.subLayers, function(layer) {\n\t      return Utils.framePointForOrigin(layer.frame, originX, originY).x < point.x;\n\t    });\n\t  };\n\t\n\t  Layer.prototype.subLayersRight = function(point, originX, originY) {\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    return _.filter(this.subLayers, function(layer) {\n\t      return Utils.framePointForOrigin(layer.frame, originX, originY).x > point.x;\n\t    });\n\t  };\n\t\n\t  Layer.prototype.animate = function(options) {\n\t    var animation, start;\n\t    start = options.start;\n\t    if (start == null) {\n\t      start = true;\n\t    }\n\t    delete options.start;\n\t    options.layer = this;\n\t    animation = new Animation(options);\n\t    if (start) {\n\t      animation.start();\n\t    }\n\t    return animation;\n\t  };\n\t\n\t  Layer.prototype.animations = function() {\n\t    return _.filter(this._context._animationList, (function(_this) {\n\t      return function(animation) {\n\t        return animation.options.layer === _this;\n\t      };\n\t    })(this));\n\t  };\n\t\n\t  Layer.prototype.animatingProperties = function() {\n\t    var animation, i, j, len, len1, properties, propertyName, ref, ref1;\n\t    properties = {};\n\t    ref = this.animations();\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      animation = ref[i];\n\t      ref1 = animation.animatingProperties();\n\t      for (j = 0, len1 = ref1.length; j < len1; j++) {\n\t        propertyName = ref1[j];\n\t        properties[propertyName] = animation;\n\t      }\n\t    }\n\t    return properties;\n\t  };\n\t\n\t  Layer.define(\"isAnimating\", {\n\t    enumerable: false,\n\t    exportable: false,\n\t    get: function() {\n\t      return this.animations().length !== 0;\n\t    }\n\t  });\n\t\n\t  Layer.prototype.animateStop = function() {\n\t    var ref;\n\t    _.invoke(this.animations(), \"stop\");\n\t    return (ref = this._draggable) != null ? ref.animateStop() : void 0;\n\t  };\n\t\n\t  Layer.prototype.bringToFront = function() {\n\t    return this.index = _.max(_.union([0], this.siblingLayers.map(function(layer) {\n\t      return layer.index;\n\t    }))) + 1;\n\t  };\n\t\n\t  Layer.prototype.sendToBack = function() {\n\t    return this.index = _.min(_.union([0], this.siblingLayers.map(function(layer) {\n\t      return layer.index;\n\t    }))) - 1;\n\t  };\n\t\n\t  Layer.prototype.placeBefore = function(layer) {\n\t    var i, l, len, ref;\n\t    if (indexOf.call(this.siblingLayers, layer) < 0) {\n\t      return;\n\t    }\n\t    ref = this.siblingLayers;\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      l = ref[i];\n\t      if (l.index <= layer.index) {\n\t        l.index -= 1;\n\t      }\n\t    }\n\t    return this.index = layer.index + 1;\n\t  };\n\t\n\t  Layer.prototype.placeBehind = function(layer) {\n\t    var i, l, len, ref;\n\t    if (indexOf.call(this.siblingLayers, layer) < 0) {\n\t      return;\n\t    }\n\t    ref = this.siblingLayers;\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      l = ref[i];\n\t      if (l.index >= layer.index) {\n\t        l.index += 1;\n\t      }\n\t    }\n\t    return this.index = layer.index - 1;\n\t  };\n\t\n\t  Layer.define(\"states\", {\n\t    enumerable: false,\n\t    exportable: false,\n\t    importable: false,\n\t    get: function() {\n\t      return this._states != null ? this._states : this._states = new LayerStates(this);\n\t    }\n\t  });\n\t\n\t  Layer.define(\"draggable\", {\n\t    importable: false,\n\t    exportable: false,\n\t    get: function() {\n\t      return this._draggable != null ? this._draggable : this._draggable = new LayerDraggable(this);\n\t    }\n\t  });\n\t\n\t  Layer.define(\"scrollFrame\", {\n\t    importable: false,\n\t    get: function() {\n\t      var frame;\n\t      return frame = {\n\t        x: this.scrollX,\n\t        y: this.scrollY,\n\t        width: this.width,\n\t        height: this.height\n\t      };\n\t    },\n\t    set: function(frame) {\n\t      this.scrollX = frame.x;\n\t      return this.scrollY = frame.y;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"scrollX\", {\n\t    get: function() {\n\t      return this._element.scrollLeft;\n\t    },\n\t    set: function(value) {\n\t      if (!_.isNumber(value)) {\n\t        layerValueTypeError(\"scrollX\", value);\n\t      }\n\t      return this._element.scrollLeft = value;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"scrollY\", {\n\t    get: function() {\n\t      return this._element.scrollTop;\n\t    },\n\t    set: function(value) {\n\t      if (!_.isNumber(value)) {\n\t        layerValueTypeError(\"scrollY\", value);\n\t      }\n\t      return this._element.scrollTop = value;\n\t    }\n\t  });\n\t\n\t  Layer.prototype.addListener = function() {\n\t    var eventName, eventNames, i, j, len, listener, originalListener, results;\n\t    eventNames = 2 <= arguments.length ? slice.call(arguments, 0, i = arguments.length - 1) : (i = 0, []), originalListener = arguments[i++];\n\t    if (!originalListener) {\n\t      return;\n\t    }\n\t    listener = (function(_this) {\n\t      return function() {\n\t        var args;\n\t        args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n\t        return originalListener.call.apply(originalListener, [_this].concat(slice.call(args), [_this]));\n\t      };\n\t    })(this);\n\t    originalListener.modifiedListener = listener;\n\t    if (typeof eventNames === 'string') {\n\t      eventNames = [eventNames];\n\t    }\n\t    results = [];\n\t    for (j = 0, len = eventNames.length; j < len; j++) {\n\t      eventName = eventNames[j];\n\t      results.push((function(_this) {\n\t        return function(eventName) {\n\t          var base;\n\t          Layer.__super__.addListener.call(_this, eventName, listener);\n\t          _this._context.eventManager.wrap(_this._element).addEventListener(eventName, listener);\n\t          if (_this._eventListeners == null) {\n\t            _this._eventListeners = {};\n\t          }\n\t          if ((base = _this._eventListeners)[eventName] == null) {\n\t            base[eventName] = [];\n\t          }\n\t          _this._eventListeners[eventName].push(listener);\n\t          if (!_.startsWith(eventName, \"change:\")) {\n\t            return _this.ignoreEvents = false;\n\t          }\n\t        };\n\t      })(this)(eventName));\n\t    }\n\t    return results;\n\t  };\n\t\n\t  Layer.prototype.removeListener = function() {\n\t    var eventName, eventNames, i, j, len, listener, results;\n\t    eventNames = 2 <= arguments.length ? slice.call(arguments, 0, i = arguments.length - 1) : (i = 0, []), listener = arguments[i++];\n\t    if (listener.modifiedListener) {\n\t      listener = listener.modifiedListener;\n\t    }\n\t    if (typeof eventNames === 'string') {\n\t      eventNames = [eventNames];\n\t    }\n\t    results = [];\n\t    for (j = 0, len = eventNames.length; j < len; j++) {\n\t      eventName = eventNames[j];\n\t      results.push((function(_this) {\n\t        return function(eventName) {\n\t          Layer.__super__.removeListener.call(_this, eventName, listener);\n\t          _this._context.eventManager.wrap(_this._element).removeEventListener(eventName, listener);\n\t          if (_this._eventListeners) {\n\t            return _this._eventListeners[eventName] = _.without(_this._eventListeners[eventName], listener);\n\t          }\n\t        };\n\t      })(this)(eventName));\n\t    }\n\t    return results;\n\t  };\n\t\n\t  Layer.prototype.once = function(eventName, listener) {\n\t    var originalListener;\n\t    originalListener = listener;\n\t    listener = (function(_this) {\n\t      return function() {\n\t        var args;\n\t        args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n\t        originalListener.call.apply(originalListener, [_this].concat(slice.call(args), [_this]));\n\t        return _this.removeListener(eventName, listener);\n\t      };\n\t    })(this);\n\t    return this.addListener(eventName, listener);\n\t  };\n\t\n\t  Layer.prototype.removeAllListeners = function() {\n\t    var eventName, listener, listeners, ref, results;\n\t    if (!this._eventListeners) {\n\t      return;\n\t    }\n\t    ref = this._eventListeners;\n\t    results = [];\n\t    for (eventName in ref) {\n\t      listeners = ref[eventName];\n\t      results.push((function() {\n\t        var i, len, results1;\n\t        results1 = [];\n\t        for (i = 0, len = listeners.length; i < len; i++) {\n\t          listener = listeners[i];\n\t          results1.push(this.removeListener(eventName, listener));\n\t        }\n\t        return results1;\n\t      }).call(this));\n\t    }\n\t    return results;\n\t  };\n\t\n\t  Layer.prototype.on = Layer.prototype.addListener;\n\t\n\t  Layer.prototype.off = Layer.prototype.removeListener;\n\t\n\t  Layer.prototype.toInspect = function() {\n\t    var round;\n\t    round = function(value) {\n\t      if (parseInt(value) === value) {\n\t        return parseInt(value);\n\t      }\n\t      return Utils.round(value, 1);\n\t    };\n\t    if (this.name) {\n\t      return \"<\" + this.constructor.name + \" id:\" + this.id + \" name:\" + this.name + \" (\" + (round(this.x)) + \",\" + (round(this.y)) + \") \" + (round(this.width)) + \"x\" + (round(this.height)) + \">\";\n\t    }\n\t    return \"<\" + this.constructor.name + \" id:\" + this.id + \" (\" + (round(this.x)) + \",\" + (round(this.y)) + \") \" + (round(this.width)) + \"x\" + (round(this.height)) + \">\";\n\t  };\n\t\n\t  return Layer;\n\t\n\t})(BaseClass);\n\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Layer,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tLayer = __webpack_require__(3).Layer;\n\t\n\t\"Todo: make it work in a parent layer\";\n\t\n\texports.BackgroundLayer = (function(superClass) {\n\t  extend(BackgroundLayer, superClass);\n\t\n\t  function BackgroundLayer(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this.layout = bind(this.layout, this);\n\t    if (options.backgroundColor == null) {\n\t      options.backgroundColor = \"#fff\";\n\t    }\n\t    BackgroundLayer.__super__.constructor.call(this, options);\n\t    this.sendToBack();\n\t    this.layout();\n\t    this._context.eventManager.wrap(window).addEventListener(\"resize\", this.layout);\n\t  }\n\t\n\t  BackgroundLayer.prototype.layout = function() {\n\t    if (this.superLayer) {\n\t      return this.frame = {\n\t        x: 0,\n\t        y: 0,\n\t        width: this.superLayer.width,\n\t        height: this.superLayer.height\n\t      };\n\t    } else if (this._context._parentLayer) {\n\t      return this.frame = {\n\t        x: 0,\n\t        y: 0,\n\t        width: this._context._parentLayer.width,\n\t        height: this._context._parentLayer.height\n\t      };\n\t    } else {\n\t      return this.frame = {\n\t        x: 0,\n\t        y: 0,\n\t        width: window.innerWidth,\n\t        height: window.innerHeight\n\t      };\n\t    }\n\t  };\n\t\n\t  return BackgroundLayer;\n\t\n\t})(Layer);\n\n\n/***/ },\n/* 5 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Layer,\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tLayer = __webpack_require__(3).Layer;\n\t\n\texports.VideoLayer = (function(superClass) {\n\t  extend(VideoLayer, superClass);\n\t\n\t  function VideoLayer(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this.player = document.createElement(\"video\");\n\t    this.player.setAttribute(\"webkit-playsinline\", \"true\");\n\t    this.player.style.width = \"100%\";\n\t    this.player.style.height = \"100%\";\n\t    VideoLayer.__super__.constructor.call(this, options);\n\t    this.player.on = this.player.addEventListener;\n\t    this.player.off = this.player.removeEventListener;\n\t    this.video = options.video;\n\t    this._element.appendChild(this.player);\n\t  }\n\t\n\t  VideoLayer.define(\"video\", {\n\t    get: function() {\n\t      return this.player.src;\n\t    },\n\t    set: function(video) {\n\t      return this.player.src = video;\n\t    }\n\t  });\n\t\n\t  return VideoLayer;\n\t\n\t})(Layer);\n\n\n/***/ },\n/* 6 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Events, Utils, _;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tEvents = {};\n\t\n\tif (Utils.isTouch()) {\n\t  Events.TouchStart = \"touchstart\";\n\t  Events.TouchEnd = \"touchend\";\n\t  Events.TouchMove = \"touchmove\";\n\t} else {\n\t  Events.TouchStart = \"mousedown\";\n\t  Events.TouchEnd = \"mouseup\";\n\t  Events.TouchMove = \"mousemove\";\n\t}\n\t\n\tEvents.Click = Events.TouchEnd;\n\t\n\tEvents.MouseOver = \"mouseover\";\n\t\n\tEvents.MouseOut = \"mouseout\";\n\t\n\tEvents.MouseMove = \"mousemove\";\n\t\n\tEvents.MouseWheel = \"mousewheel\";\n\t\n\tEvents.AnimationStart = \"start\";\n\t\n\tEvents.AnimationStop = \"stop\";\n\t\n\tEvents.AnimationEnd = \"end\";\n\t\n\tEvents.AnimationDidStart = \"start\";\n\t\n\tEvents.AnimationDidStop = \"stop\";\n\t\n\tEvents.AnimationDidEnd = \"end\";\n\t\n\tEvents.Scroll = \"scroll\";\n\t\n\tEvents.ImageLoaded = \"load\";\n\t\n\tEvents.ImageLoadError = \"error\";\n\t\n\tEvents.touchEvent = function(event) {\n\t  var ref, ref1, touchEvent;\n\t  touchEvent = (ref = event.touches) != null ? ref[0] : void 0;\n\t  if (touchEvent == null) {\n\t    touchEvent = (ref1 = event.changedTouches) != null ? ref1[0] : void 0;\n\t  }\n\t  if (touchEvent == null) {\n\t    touchEvent = event;\n\t  }\n\t  return touchEvent;\n\t};\n\t\n\tEvents.wrap = function(element) {\n\t  return Framer.CurrentContext.eventManager.wrap(element);\n\t};\n\t\n\texports.Events = Events;\n\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar AnimatorClassBezierPresets, AnimatorClasses, BezierCurveAnimator, Config, Defaults, EventEmitter, LinearAnimator, SpringDHOAnimator, SpringRK4Animator, Utils, _, evaluateRelativeProperty, isRelativeProperty, numberRE, relativePropertyRE,\n\t  slice = [].slice,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty,\n\t  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tConfig = __webpack_require__(17).Config;\n\t\n\tDefaults = __webpack_require__(30).Defaults;\n\t\n\tEventEmitter = __webpack_require__(18).EventEmitter;\n\t\n\tLinearAnimator = __webpack_require__(22).LinearAnimator;\n\t\n\tBezierCurveAnimator = __webpack_require__(23).BezierCurveAnimator;\n\t\n\tSpringRK4Animator = __webpack_require__(25).SpringRK4Animator;\n\t\n\tSpringDHOAnimator = __webpack_require__(24).SpringDHOAnimator;\n\t\n\tAnimatorClasses = {\n\t  \"linear\": LinearAnimator,\n\t  \"bezier-curve\": BezierCurveAnimator,\n\t  \"spring-rk4\": SpringRK4Animator,\n\t  \"spring-dho\": SpringDHOAnimator\n\t};\n\t\n\tAnimatorClasses[\"spring\"] = AnimatorClasses[\"spring-rk4\"];\n\t\n\tAnimatorClasses[\"cubic-bezier\"] = AnimatorClasses[\"bezier-curve\"];\n\t\n\tAnimatorClassBezierPresets = [\"ease\", \"ease-in\", \"ease-out\", \"ease-in-out\"];\n\t\n\tnumberRE = /[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/;\n\t\n\trelativePropertyRE = new RegExp('^(?:([+-])=|)(' + numberRE.source + ')([a-z%]*)$', 'i');\n\t\n\tisRelativeProperty = function(v) {\n\t  return _.isString(v) && relativePropertyRE.test(v);\n\t};\n\t\n\tevaluateRelativeProperty = function(target, k, v) {\n\t  var match, number, ref, rest, sign, unit;\n\t  ref = relativePropertyRE.exec(v), match = ref[0], sign = ref[1], number = ref[2], unit = ref[3], rest = 5 <= ref.length ? slice.call(ref, 4) : [];\n\t  if (sign) {\n\t    return target[k] + (sign + 1) * number;\n\t  }\n\t  return +number;\n\t};\n\t\n\texports.Animation = (function(superClass) {\n\t  extend(Animation, superClass);\n\t\n\t  function Animation(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this._updateValue = bind(this._updateValue, this);\n\t    this._update = bind(this._update, this);\n\t    this._start = bind(this._start, this);\n\t    this.start = bind(this.start, this);\n\t    options = Defaults.getDefaults(\"Animation\", options);\n\t    Animation.__super__.constructor.call(this, options);\n\t    this.options = _.clone(_.defaults(options, {\n\t      layer: null,\n\t      properties: {},\n\t      curve: \"linear\",\n\t      curveOptions: {},\n\t      time: 1,\n\t      repeat: 0,\n\t      delay: 0,\n\t      debug: false\n\t    }));\n\t    if (options.origin) {\n\t      console.warn(\"Animation.origin: please use layer.originX and layer.originY\");\n\t    }\n\t    this.options.properties = Animation.filterAnimatableProperties(this.options.properties);\n\t    this._parseAnimatorOptions();\n\t    this._originalState = this._currentState();\n\t    this._repeatCounter = this.options.repeat;\n\t  }\n\t\n\t  Animation.prototype.start = function() {\n\t    var AnimatorClass, animation, k, property, ref, ref1, ref2, v;\n\t    if (this.options.layer === null) {\n\t      console.error(\"Animation: missing layer\");\n\t    }\n\t    AnimatorClass = this._animatorClass();\n\t    if (this.options.debug) {\n\t      console.log(\"Animation.start \" + AnimatorClass.name, this.options.curveOptions);\n\t    }\n\t    this._animator = new AnimatorClass(this.options.curveOptions);\n\t    this._target = this.options.layer;\n\t    this._stateA = this._currentState();\n\t    this._stateB = {};\n\t    ref = this.options.properties;\n\t    for (k in ref) {\n\t      v = ref[k];\n\t      if (_.isFunction(v)) {\n\t        v = v();\n\t      } else if (isRelativeProperty(v)) {\n\t        v = evaluateRelativeProperty(this._target, k, v);\n\t      }\n\t      if (this._stateA[k] !== v) {\n\t        this._stateB[k] = v;\n\t      }\n\t    }\n\t    if (_.keys(this._stateA).length === 0) {\n\t      console.warn(\"Animation: nothing to animate, no animatable properties\");\n\t      return false;\n\t    }\n\t    if (_.isEqual(this._stateA, this._stateB)) {\n\t      console.warn(\"Animation: nothing to animate, all properties are equal to what it is now\");\n\t      return false;\n\t    }\n\t    ref1 = this._target.animatingProperties();\n\t    for (property in ref1) {\n\t      animation = ref1[property];\n\t      if (this._stateA.hasOwnProperty(property)) {\n\t        animation.stop();\n\t      }\n\t    }\n\t    if (this.options.debug) {\n\t      console.log(\"Animation.start\");\n\t      ref2 = this._stateB;\n\t      for (k in ref2) {\n\t        v = ref2[k];\n\t        console.log(\"\\t\" + k + \": \" + this._stateA[k] + \" -> \" + this._stateB[k]);\n\t      }\n\t    }\n\t    if (this._repeatCounter > 0) {\n\t      this.once(\"end\", (function(_this) {\n\t        return function() {\n\t          var ref3;\n\t          ref3 = _this._stateA;\n\t          for (k in ref3) {\n\t            v = ref3[k];\n\t            _this._target[k] = v;\n\t          }\n\t          _this._repeatCounter--;\n\t          return _this.start();\n\t        };\n\t      })(this));\n\t    }\n\t    if (this.options.delay) {\n\t      Utils.delay(this.options.delay, this._start);\n\t    } else {\n\t      this._start();\n\t    }\n\t    return true;\n\t  };\n\t\n\t  Animation.prototype.stop = function(emit) {\n\t    if (emit == null) {\n\t      emit = true;\n\t    }\n\t    this.options.layer._context._animationList = _.without(this.options.layer._context._animationList, this);\n\t    if (emit) {\n\t      this.emit(\"stop\");\n\t    }\n\t    return Framer.Loop.off(\"update\", this._update);\n\t  };\n\t\n\t  Animation.prototype.reverse = function() {\n\t    var animation, options;\n\t    options = _.clone(this.options);\n\t    options.properties = this._originalState;\n\t    animation = new Animation(options);\n\t    return animation;\n\t  };\n\t\n\t  Animation.prototype.copy = function() {\n\t    return new Animation(_.clone(this.options));\n\t  };\n\t\n\t  Animation.prototype.revert = function() {\n\t    return this.reverse();\n\t  };\n\t\n\t  Animation.prototype.inverse = function() {\n\t    return this.reverse();\n\t  };\n\t\n\t  Animation.prototype.invert = function() {\n\t    return this.reverse();\n\t  };\n\t\n\t  Animation.prototype.emit = function(event) {\n\t    Animation.__super__.emit.apply(this, arguments);\n\t    return this.options.layer.emit(event, this);\n\t  };\n\t\n\t  Animation.prototype.animatingProperties = function() {\n\t    return _.keys(this._stateA);\n\t  };\n\t\n\t  Animation.prototype._start = function() {\n\t    this.options.layer._context._animationList.push(this);\n\t    this.emit(\"start\");\n\t    return Framer.Loop.on(\"update\", this._update);\n\t  };\n\t\n\t  Animation.prototype._update = function(delta) {\n\t    var emit;\n\t    if (this._animator.finished()) {\n\t      this._updateValue(1);\n\t      this.stop(emit = false);\n\t      this.emit(\"end\");\n\t      return this.emit(\"stop\");\n\t    } else {\n\t      return this._updateValue(this._animator.next(delta));\n\t    }\n\t  };\n\t\n\t  Animation.prototype._updateValue = function(value) {\n\t    var k, ref, v;\n\t    ref = this._stateB;\n\t    for (k in ref) {\n\t      v = ref[k];\n\t      this._target[k] = Utils.mapRange(value, 0, 1, this._stateA[k], this._stateB[k]);\n\t    }\n\t  };\n\t\n\t  Animation.prototype._currentState = function() {\n\t    return _.pick(this.options.layer, _.keys(this.options.properties));\n\t  };\n\t\n\t  Animation.prototype._animatorClass = function() {\n\t    var animatorClassName, parsedCurve;\n\t    parsedCurve = Utils.parseFunction(this.options.curve);\n\t    animatorClassName = parsedCurve.name.toLowerCase();\n\t    if (AnimatorClasses.hasOwnProperty(animatorClassName)) {\n\t      return AnimatorClasses[animatorClassName];\n\t    }\n\t    if (indexOf.call(AnimatorClassBezierPresets, animatorClassName) >= 0) {\n\t      return BezierCurveAnimator;\n\t    }\n\t    return LinearAnimator;\n\t  };\n\t\n\t  Animation.prototype._parseAnimatorOptions = function() {\n\t    var animatorClass, animatorClassName, base, base1, i, j, k, l, len, len1, parsedCurve, ref, ref1, results, value;\n\t    animatorClass = this._animatorClass();\n\t    parsedCurve = Utils.parseFunction(this.options.curve);\n\t    animatorClassName = parsedCurve.name.toLowerCase();\n\t    if (animatorClass === LinearAnimator || animatorClass === BezierCurveAnimator) {\n\t      if (_.isString(this.options.curveOptions) || _.isArray(this.options.curveOptions)) {\n\t        this.options.curveOptions = {\n\t          values: this.options.curveOptions\n\t        };\n\t      }\n\t      if ((base = this.options.curveOptions).time == null) {\n\t        base.time = this.options.time;\n\t      }\n\t    }\n\t    if ((animatorClass === BezierCurveAnimator) && indexOf.call(AnimatorClassBezierPresets, animatorClassName) >= 0) {\n\t      this.options.curveOptions.values = animatorClassName;\n\t      if ((base1 = this.options.curveOptions).time == null) {\n\t        base1.time = this.options.time;\n\t      }\n\t    }\n\t    if (parsedCurve.args.length) {\n\t      if (animatorClass === BezierCurveAnimator) {\n\t        this.options.curveOptions.values = parsedCurve.args.map(function(v) {\n\t          return parseFloat(v) || 0;\n\t        });\n\t      }\n\t      if (animatorClass === SpringRK4Animator) {\n\t        ref = [\"tension\", \"friction\", \"velocity\", \"tolerance\"];\n\t        for (i = j = 0, len = ref.length; j < len; i = ++j) {\n\t          k = ref[i];\n\t          value = parseFloat(parsedCurve.args[i]);\n\t          if (value) {\n\t            this.options.curveOptions[k] = value;\n\t          }\n\t        }\n\t      }\n\t      if (animatorClass === SpringDHOAnimator) {\n\t        ref1 = [\"stiffness\", \"damping\", \"mass\", \"tolerance\"];\n\t        results = [];\n\t        for (i = l = 0, len1 = ref1.length; l < len1; i = ++l) {\n\t          k = ref1[i];\n\t          value = parseFloat(parsedCurve.args[i]);\n\t          if (value) {\n\t            results.push(this.options.curveOptions[k] = value);\n\t          } else {\n\t            results.push(void 0);\n\t          }\n\t        }\n\t        return results;\n\t      }\n\t    }\n\t  };\n\t\n\t  Animation.filterAnimatableProperties = function(properties) {\n\t    var animatableProperties, k, v;\n\t    animatableProperties = {};\n\t    for (k in properties) {\n\t      v = properties[k];\n\t      if (_.isNumber(v) || _.isFunction(v) || isRelativeProperty(v)) {\n\t        animatableProperties[k] = v;\n\t      }\n\t    }\n\t    return animatableProperties;\n\t  };\n\t\n\t  return Animation;\n\t\n\t})(EventEmitter);\n\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar AnimationGroup, EventEmitter, _,\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tEventEmitter = __webpack_require__(18).EventEmitter;\n\t\n\tAnimationGroup = (function(superClass) {\n\t  extend(AnimationGroup, superClass);\n\t\n\t  function AnimationGroup(animations) {\n\t    if (animations == null) {\n\t      animations = [];\n\t    }\n\t    this.setAnimations(animations);\n\t    this._currentAnimation = null;\n\t  }\n\t\n\t  AnimationGroup.prototype.setAnimations = function(animations) {\n\t    return this._animations = _.map(animations, function(animation) {\n\t      return animation.copy();\n\t    });\n\t  };\n\t\n\t  AnimationGroup.prototype.start = function() {\n\t    this.emit(\"start\");\n\t    _.map(this._animations, (function(_this) {\n\t      return function(animation, index) {\n\t        var nextAnimation;\n\t        nextAnimation = _this._animations[index + 1];\n\t        if (nextAnimation) {\n\t          return animation.on(Events.AnimationEnd, function() {\n\t            nextAnimation.start();\n\t            return _this._currentAnimation = animation;\n\t          });\n\t        } else {\n\t          return animation.on(Events.AnimationEnd, function() {\n\t            _this.emit(\"end\");\n\t            return _this._currentAnimation = null;\n\t          });\n\t        }\n\t      };\n\t    })(this));\n\t    return this._animations[0].start();\n\t  };\n\t\n\t  AnimationGroup.prototype.stop = function() {\n\t    var ref;\n\t    return (ref = this._currentAnimation) != null ? ref.stop() : void 0;\n\t  };\n\t\n\t  return AnimationGroup;\n\t\n\t})(EventEmitter);\n\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar BaseClass, ScreenClass,\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\tScreenClass = (function(superClass) {\n\t  extend(ScreenClass, superClass);\n\t\n\t  function ScreenClass() {\n\t    return ScreenClass.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  ScreenClass.define(\"width\", {\n\t    get: function() {\n\t      return Framer.CurrentContext.width;\n\t    }\n\t  });\n\t\n\t  ScreenClass.define(\"height\", {\n\t    get: function() {\n\t      return Framer.CurrentContext.height;\n\t    }\n\t  });\n\t\n\t  ScreenClass.define(\"size\", {\n\t    get: function() {\n\t      return {\n\t        width: this.width,\n\t        height: this.height\n\t      };\n\t    }\n\t  });\n\t\n\t  ScreenClass.define(\"frame\", {\n\t    get: function() {\n\t      return {\n\t        x: 0,\n\t        y: 0,\n\t        width: this.width,\n\t        height: this.height\n\t      };\n\t    }\n\t  });\n\t\n\t  return ScreenClass;\n\t\n\t})(BaseClass);\n\t\n\texports.Screen = new ScreenClass;\n\n\n/***/ },\n/* 10 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar BaseClass, CanvasClass, Events,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\tEvents = __webpack_require__(6).Events;\n\t\n\tCanvasClass = (function(superClass) {\n\t  extend(CanvasClass, superClass);\n\t\n\t  function CanvasClass() {\n\t    this.addListener = bind(this.addListener, this);\n\t    return CanvasClass.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  CanvasClass.define(\"width\", {\n\t    get: function() {\n\t      return window.innerWidth;\n\t    }\n\t  });\n\t\n\t  CanvasClass.define(\"height\", {\n\t    get: function() {\n\t      return window.innerHeight;\n\t    }\n\t  });\n\t\n\t  CanvasClass.define(\"size\", {\n\t    get: function() {\n\t      return {\n\t        width: this.width,\n\t        height: this.height\n\t      };\n\t    }\n\t  });\n\t\n\t  CanvasClass.define(\"frame\", {\n\t    get: function() {\n\t      return {\n\t        x: 0,\n\t        y: 0,\n\t        width: this.width,\n\t        height: this.height\n\t      };\n\t    }\n\t  });\n\t\n\t  CanvasClass.prototype.addListener = function(eventName, listener) {\n\t    if (eventName === \"resize\") {\n\t      Events.wrap(window).addEventListener(\"resize\", (function(_this) {\n\t        return function() {\n\t          return _this.emit(\"resize\");\n\t        };\n\t      })(this));\n\t    }\n\t    return CanvasClass.__super__.addListener.call(this, eventName, listener);\n\t  };\n\t\n\t  CanvasClass.prototype.on = CanvasClass.prototype.addListener;\n\t\n\t  return CanvasClass;\n\t\n\t})(BaseClass);\n\t\n\texports.Canvas = new CanvasClass;\n\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Context, Utils, printContext, printLayer,\n\t  slice = [].slice;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tContext = __webpack_require__(16).Context;\n\t\n\t\"\\nTodo:\\n- Better looks\\n- Resizable\\n- Live in own space on top of all Framer stuff\\n\";\n\t\n\tprintContext = null;\n\t\n\tprintLayer = null;\n\t\n\texports.print = function() {\n\t  var args;\n\t  args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n\t  if (!printContext) {\n\t    printContext = new Context({\n\t      name: \"Print\"\n\t    });\n\t  }\n\t  printContext.run(function() {\n\t    var printNode, printPrefix, update;\n\t    if (!printLayer) {\n\t      printLayer = new Layer;\n\t      printLayer.scrollVertical = true;\n\t      printLayer.ignoreEvents = false;\n\t      printLayer.html = \"\";\n\t      printLayer.style = {\n\t        \"font\": \"12px/1.35em Menlo\",\n\t        \"color\": \"rgba(0,0,0,.7)\",\n\t        \"padding\": \"8px\",\n\t        \"padding-bottom\": \"30px\",\n\t        \"border-top\": \"1px solid #d9d9d9\"\n\t      };\n\t      printLayer.opacity = 0.9;\n\t      printLayer.style.zIndex = 999;\n\t      printLayer.visible = true;\n\t      printLayer.backgroundColor = \"white\";\n\t      update = function() {\n\t        printLayer.width = window.innerWidth;\n\t        printLayer.height = 160;\n\t        return printLayer.maxY = window.innerHeight;\n\t      };\n\t      update();\n\t      printContext.eventManager.wrap(window).addEventListener(\"resize\", update);\n\t    }\n\t    printPrefix = \"» \";\n\t    printNode = document.createElement(\"div\");\n\t    printNode.innerHTML = _.escape(printPrefix + args.map(Utils.inspect).join(\", \")) + \"<br>\";\n\t    printNode.style[\"-webkit-user-select\"] = \"text\";\n\t    printNode.style[\"cursor\"] = \"auto\";\n\t    return printLayer._element.appendChild(printNode);\n\t  });\n\t  return Utils.delay(0, function() {\n\t    return printLayer._element.scrollTop = printLayer._element.scrollHeight;\n\t  });\n\t};\n\n\n/***/ },\n/* 12 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar EventMappers, Events, Layer, Utils, _,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty,\n\t  slice = [].slice,\n\t  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tLayer = __webpack_require__(3).Layer;\n\t\n\tEvents = __webpack_require__(6).Events;\n\t\n\t\"ScrollComponent\\n\\ncontent <Layer>\\ncontentSize <{width:n, height:n}>\\ncontentInset <{top:n, right:n, bottom:n, left:n}> TODO\\ncontentOffset <{x:n, y:n}> TODO\\nscrollFrame <{x:n, y:n, width:n, height:n}>\\nscrollPoint <{x:n, y:n}>\\nscrollHorizontal <bool>\\nscrollVertical <bool>\\nspeedX <number>\\nspeedY <number>\\ndelaysContentTouches <bool> TODO\\nloadPreset(<\\\"ios\\\"|\\\"android\\\">) TODO\\nscrollToPoint(<{x:n, y:n}>, animate=true, animationOptions={})\\nscrollToLayer(contentLayer, originX=0, originY=0)\\nscrollFrameForContentLayer(<x:n, y:n>) <{x:n, y:n, width:n, height:n}> TODO\\nclosestContentLayer(<x:n, y:n>) <Layer> TODO\\n\\nScrollComponent Events\\n\\n(all of the draggable events)\\nScrollStart -> DragStart\\nScrollWillMove -> DragWillMove\\nScrollDidMove -> DragDidMove\\nscroll -> DragMove (html compat)\\nScrollEnd -> DragEnd\";\n\t\n\tEvents.ScrollStart = \"scrollstart\";\n\t\n\tEvents.Scroll = \"scroll\";\n\t\n\tEvents.ScrollMove = Events.Scroll;\n\t\n\tEvents.ScrollEnd = \"scrollend\";\n\t\n\tEvents.ScrollAnimationDidStart = \"scrollanimationdidstart\";\n\t\n\tEvents.ScrollAnimationDidEnd = \"scrollanimationdidend\";\n\t\n\tEventMappers = {};\n\t\n\tEventMappers[Events.Move] = Events.Move;\n\t\n\tEventMappers[Events.ScrollStart] = Events.DragStart;\n\t\n\tEventMappers[Events.ScrollMove] = Events.DragMove;\n\t\n\tEventMappers[Events.ScrollEnd] = Events.DragEnd;\n\t\n\tEventMappers[Events.ScrollAnimationDidStart] = Events.DragAnimationDidStart;\n\t\n\tEventMappers[Events.ScrollAnimationDidEnd] = Events.DragAnimationDidEnd;\n\t\n\tEventMappers[Events.DirectionLockDidStart] = Events.DirectionLockDidStart;\n\t\n\texports.ScrollComponent = (function(superClass) {\n\t  extend(ScrollComponent, superClass);\n\t\n\t  ScrollComponent.define(\"velocity\", ScrollComponent.proxyProperty(\"content.draggable.velocity\", {\n\t    importable: false\n\t  }));\n\t\n\t  ScrollComponent.define(\"scrollHorizontal\", ScrollComponent.proxyProperty(\"content.draggable.horizontal\"));\n\t\n\t  ScrollComponent.define(\"scrollVertical\", ScrollComponent.proxyProperty(\"content.draggable.vertical\"));\n\t\n\t  ScrollComponent.define(\"speedX\", ScrollComponent.proxyProperty(\"content.draggable.speedX\"));\n\t\n\t  ScrollComponent.define(\"speedY\", ScrollComponent.proxyProperty(\"content.draggable.speedY\"));\n\t\n\t  ScrollComponent.define(\"isDragging\", ScrollComponent.proxyProperty(\"content.draggable.isDragging\", {\n\t    importable: false\n\t  }));\n\t\n\t  ScrollComponent.define(\"isMoving\", ScrollComponent.proxyProperty(\"content.draggable.isMoving\", {\n\t    importable: false\n\t  }));\n\t\n\t  ScrollComponent.define(\"propagateEvents\", ScrollComponent.proxyProperty(\"content.draggable.propagateEvents\"));\n\t\n\t  ScrollComponent.define(\"directionLock\", ScrollComponent.proxyProperty(\"content.draggable.directionLock\"));\n\t\n\t  ScrollComponent.define(\"directionLockThreshold\", ScrollComponent.proxyProperty(\"content.draggable.directionLockThreshold\"));\n\t\n\t  ScrollComponent.define(\"content\", {\n\t    importable: false,\n\t    exportable: false,\n\t    get: function() {\n\t      return this._content;\n\t    }\n\t  });\n\t\n\t  ScrollComponent.define(\"mouseWheelSpeedMultiplier\", ScrollComponent.simpleProperty(\"mouseWheelSpeedMultiplier\", 1));\n\t\n\t  function ScrollComponent(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this._onMouseWheel = bind(this._onMouseWheel, this);\n\t    this.updateContent = bind(this.updateContent, this);\n\t    if (options.clip == null) {\n\t      options.clip = true;\n\t    }\n\t    if (options.name == null) {\n\t      options.name = this.constructor.name;\n\t    }\n\t    if (options.mouseWheelEnabled == null) {\n\t      options.mouseWheelEnabled = false;\n\t    }\n\t    if (options.backgroundColor == null) {\n\t      options.backgroundColor = null;\n\t    }\n\t    ScrollComponent.__super__.constructor.call(this, options);\n\t    this._contentInset = options.contentInset || Utils.rectZero();\n\t    this.setContentLayer(new Layer);\n\t    this._applyOptionsAndDefaults(options);\n\t    this._enableMouseWheelHandling();\n\t  }\n\t\n\t  ScrollComponent.prototype.calculateContentFrame = function() {\n\t    var contentFrame, size;\n\t    contentFrame = this.content.contentFrame();\n\t    return size = {\n\t      x: 0,\n\t      y: 0,\n\t      width: Math.max(this.width, contentFrame.x + contentFrame.width),\n\t      height: Math.max(this.height, contentFrame.y + contentFrame.height)\n\t    };\n\t  };\n\t\n\t  ScrollComponent.prototype.setContentLayer = function(layer) {\n\t    if (this.content) {\n\t      this._content.destroy();\n\t    }\n\t    this._content = layer;\n\t    this._content.superLayer = this;\n\t    this._content.name = (this.constructor.name.replace(\"Component\", \"\")) + \"Content\";\n\t    this._content.clip = false;\n\t    this._content.draggable.enabled = true;\n\t    this._content.draggable.momentum = true;\n\t    this._content.on(\"change:subLayers\", this.updateContent);\n\t    this.on(\"change:width\", this.updateContent);\n\t    this.on(\"change:height\", this.updateContent);\n\t    this.updateContent();\n\t    this.scrollPoint = {\n\t      x: 0,\n\t      y: 0\n\t    };\n\t    return this._content;\n\t  };\n\t\n\t  ScrollComponent.prototype.updateContent = function() {\n\t    var constraintsFrame, contentFrame;\n\t    if (!this.content) {\n\t      return;\n\t    }\n\t    contentFrame = this.calculateContentFrame();\n\t    contentFrame.x = contentFrame.x + this._contentInset.left;\n\t    contentFrame.y = contentFrame.y + this._contentInset.top;\n\t    this.content.frame = contentFrame;\n\t    constraintsFrame = this.calculateContentFrame();\n\t    constraintsFrame = {\n\t      x: -constraintsFrame.width + this.width - this._contentInset.right,\n\t      y: -constraintsFrame.height + this.height - this._contentInset.bottom,\n\t      width: constraintsFrame.width + constraintsFrame.width - this.width + this._contentInset.left + this._contentInset.right,\n\t      height: constraintsFrame.height + constraintsFrame.height - this.height + this._contentInset.top + this._contentInset.bottom\n\t    };\n\t    this.content.draggable.constraints = constraintsFrame;\n\t    if (this.content.subLayers.length) {\n\t      if (this.content.backgroundColor === Framer.Defaults.Layer.backgroundColor) {\n\t        return this.content.backgroundColor = null;\n\t      }\n\t    }\n\t  };\n\t\n\t  ScrollComponent.define(\"scroll\", {\n\t    exportable: false,\n\t    get: function() {\n\t      return this.scrollHorizontal === true || this.scrollVertical === true;\n\t    },\n\t    set: function(value) {\n\t      if (!this.content) {\n\t        return;\n\t      }\n\t      if (value === false) {\n\t        this.content.animateStop();\n\t      }\n\t      return this.scrollHorizontal = this.scrollVertical = value;\n\t    }\n\t  });\n\t\n\t  ScrollComponent.prototype._calculateContentPoint = function(scrollPoint) {\n\t    var point;\n\t    scrollPoint.x -= this.contentInset.left;\n\t    scrollPoint.y -= this.contentInset.top;\n\t    point = this._pointInConstraints(scrollPoint);\n\t    return Utils.pointInvert(point);\n\t  };\n\t\n\t  ScrollComponent.define(\"scrollX\", {\n\t    get: function() {\n\t      if (!this.content) {\n\t        return 0;\n\t      }\n\t      return 0 - this.content.x + this.contentInset.left;\n\t    },\n\t    set: function(value) {\n\t      if (!this.content) {\n\t        return;\n\t      }\n\t      this.content.draggable.animateStop();\n\t      return this.content.x = this._calculateContentPoint({\n\t        x: value,\n\t        y: 0\n\t      }).x;\n\t    }\n\t  });\n\t\n\t  ScrollComponent.define(\"scrollY\", {\n\t    get: function() {\n\t      if (!this.content) {\n\t        return 0;\n\t      }\n\t      return 0 - this.content.y + this.contentInset.top;\n\t    },\n\t    set: function(value) {\n\t      if (!this.content) {\n\t        return;\n\t      }\n\t      this.content.draggable.animateStop();\n\t      return this.content.y = this._calculateContentPoint({\n\t        x: 0,\n\t        y: value\n\t      }).y;\n\t    }\n\t  });\n\t\n\t  ScrollComponent.define(\"scrollPoint\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      var point;\n\t      return point = {\n\t        x: this.scrollX,\n\t        y: this.scrollY\n\t      };\n\t    },\n\t    set: function(point) {\n\t      if (!this.content) {\n\t        return;\n\t      }\n\t      this.scrollX = point.x;\n\t      return this.scrollY = point.y;\n\t    }\n\t  });\n\t\n\t  ScrollComponent.define(\"scrollFrame\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      var rect;\n\t      rect = this.scrollPoint;\n\t      rect.width = this.width;\n\t      rect.height = this.height;\n\t      return rect;\n\t    },\n\t    set: function(value) {\n\t      return this.scrollPoint = value;\n\t    }\n\t  });\n\t\n\t  ScrollComponent.define(\"contentInset\", {\n\t    get: function() {\n\t      return _.clone(this._contentInset);\n\t    },\n\t    set: function(contentInset) {\n\t      this._contentInset = Utils.rectZero(Utils.parseRect(contentInset));\n\t      return this.updateContent();\n\t    }\n\t  });\n\t\n\t  ScrollComponent.define(\"direction\", {\n\t    importable: false,\n\t    exportable: false,\n\t    get: function() {\n\t      var direction;\n\t      direction = this.content.draggable.direction;\n\t      if (direction === \"down\") {\n\t        return \"up\";\n\t      }\n\t      if (direction === \"up\") {\n\t        return \"down\";\n\t      }\n\t      if (direction === \"right\") {\n\t        return \"left\";\n\t      }\n\t      if (direction === \"left\") {\n\t        return \"right\";\n\t      }\n\t      return direction;\n\t    }\n\t  });\n\t\n\t  ScrollComponent.define(\"angle\", {\n\t    importable: false,\n\t    exportable: false,\n\t    get: function() {\n\t      if (!this.content) {\n\t        return 0;\n\t      }\n\t      return -this.content.draggable.angle;\n\t    }\n\t  });\n\t\n\t  ScrollComponent.prototype.scrollToPoint = function(point, animate, animationOptions) {\n\t    var contentPoint;\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    if (animationOptions == null) {\n\t      animationOptions = {\n\t        curve: \"spring(500,50,0)\"\n\t      };\n\t    }\n\t    contentPoint = this._calculateContentPoint(point);\n\t    this.content.draggable.animateStop();\n\t    if (animate) {\n\t      point = {};\n\t      if (contentPoint.hasOwnProperty(\"x\")) {\n\t        point.x = contentPoint.x;\n\t      }\n\t      if (contentPoint.hasOwnProperty(\"y\")) {\n\t        point.y = contentPoint.y;\n\t      }\n\t      animationOptions.properties = point;\n\t      this.content.animateStop();\n\t      return this.content.animate(animationOptions);\n\t    } else {\n\t      return this.content.point = contentPoint;\n\t    }\n\t  };\n\t\n\t  ScrollComponent.prototype.scrollToTop = function(animate, animationOptions) {\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    if (animationOptions == null) {\n\t      animationOptions = {\n\t        curve: \"spring(500,50,0)\"\n\t      };\n\t    }\n\t    return this.scrollToPoint({\n\t      x: 0,\n\t      y: 0\n\t    }, animate, animationOptions);\n\t  };\n\t\n\t  ScrollComponent.prototype.scrollToLayer = function(contentLayer, originX, originY, animate, animationOptions) {\n\t    var scrollPoint;\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    if (animationOptions == null) {\n\t      animationOptions = {\n\t        curve: \"spring(500,50,0)\"\n\t      };\n\t    }\n\t    if (contentLayer && contentLayer.superLayer !== this.content) {\n\t      throw Error(\"This layer is not in the scroll component content\");\n\t    }\n\t    if (!contentLayer || this.content.subLayers.length === 0) {\n\t      scrollPoint = {\n\t        x: 0,\n\t        y: 0\n\t      };\n\t    } else {\n\t      scrollPoint = this._scrollPointForLayer(contentLayer, originX, originY);\n\t      scrollPoint.x -= this.width * originX;\n\t      scrollPoint.y -= this.height * originY;\n\t    }\n\t    this.scrollToPoint(scrollPoint, animate, animationOptions);\n\t    return contentLayer;\n\t  };\n\t\n\t  ScrollComponent.prototype.scrollToClosestLayer = function(originX, originY, animate, animationOptions) {\n\t    var closestLayer;\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    if (animationOptions == null) {\n\t      animationOptions = {\n\t        curve: \"spring(500,50,0)\"\n\t      };\n\t    }\n\t    closestLayer = this.closestContentLayer(originX, originY, animate, animationOptions);\n\t    if (closestLayer) {\n\t      this.scrollToLayer(closestLayer, originX, originY);\n\t      return closestLayer;\n\t    } else {\n\t      if (!closestLayer) {\n\t        this.scrollToPoint({\n\t          x: 0,\n\t          y: 0\n\t        });\n\t      }\n\t      return null;\n\t    }\n\t  };\n\t\n\t  ScrollComponent.prototype.closestContentLayer = function(originX, originY) {\n\t    var scrollPoint;\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    scrollPoint = Utils.framePointForOrigin(this.scrollFrame, originX, originY);\n\t    return this.closestContentLayerForScrollPoint(scrollPoint, originX, originY);\n\t  };\n\t\n\t  ScrollComponent.prototype.closestContentLayerForScrollPoint = function(scrollPoint, originX, originY) {\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    return _.first(this._contentLayersSortedByDistanceForScrollPoint(scrollPoint, originX, originY));\n\t  };\n\t\n\t  ScrollComponent.prototype._scrollPointForLayer = function(layer, originX, originY, clamp) {\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    if (clamp == null) {\n\t      clamp = true;\n\t    }\n\t    return Utils.framePointForOrigin(layer, originX, originY);\n\t  };\n\t\n\t  ScrollComponent.prototype._contentLayersSortedByDistanceForScrollPoint = function(scrollPoint, originX, originY) {\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    return Utils.frameSortByAbsoluteDistance(scrollPoint, this.content.subLayers, originX, originY);\n\t  };\n\t\n\t  ScrollComponent.prototype._pointInConstraints = function(point) {\n\t    var maxX, maxY, minX, minY, ref;\n\t    ref = this.content.draggable._calculateConstraints(this.content.draggable.constraints), minX = ref.minX, maxX = ref.maxX, minY = ref.minY, maxY = ref.maxY;\n\t    point = {\n\t      x: -Utils.clamp(-point.x, minX, maxX),\n\t      y: -Utils.clamp(-point.y, minY, maxY)\n\t    };\n\t    return point;\n\t  };\n\t\n\t  ScrollComponent.prototype.addListener = function() {\n\t    var eventName, eventNames, i, j, len, listener, results;\n\t    eventNames = 2 <= arguments.length ? slice.call(arguments, 0, i = arguments.length - 1) : (i = 0, []), listener = arguments[i++];\n\t    ScrollComponent.__super__.addListener.apply(this, arguments);\n\t    results = [];\n\t    for (j = 0, len = eventNames.length; j < len; j++) {\n\t      eventName = eventNames[j];\n\t      if (indexOf.call(_.keys(EventMappers), eventName) >= 0) {\n\t        results.push(this.content.on(EventMappers[eventName], listener));\n\t      } else {\n\t        results.push(void 0);\n\t      }\n\t    }\n\t    return results;\n\t  };\n\t\n\t  ScrollComponent.prototype.removeListener = function() {\n\t    var eventName, eventNames, i, j, len, listener, results;\n\t    eventNames = 2 <= arguments.length ? slice.call(arguments, 0, i = arguments.length - 1) : (i = 0, []), listener = arguments[i++];\n\t    ScrollComponent.__super__.removeListener.apply(this, arguments);\n\t    results = [];\n\t    for (j = 0, len = eventNames.length; j < len; j++) {\n\t      eventName = eventNames[j];\n\t      if (indexOf.call(_.keys(EventMappers), eventName) >= 0) {\n\t        results.push(this.content.off(EventMappers[eventName], listener));\n\t      } else {\n\t        results.push(void 0);\n\t      }\n\t    }\n\t    return results;\n\t  };\n\t\n\t  ScrollComponent.prototype.on = ScrollComponent.prototype.addListener;\n\t\n\t  ScrollComponent.prototype.off = ScrollComponent.prototype.removeListener;\n\t\n\t  ScrollComponent.define(\"mouseWheelEnabled\", {\n\t    get: function() {\n\t      return this._mouseWheelEnabled;\n\t    },\n\t    set: function(value) {\n\t      this._mouseWheelEnabled = value;\n\t      return this._enableMouseWheelHandling(value);\n\t    }\n\t  });\n\t\n\t  ScrollComponent.prototype._enableMouseWheelHandling = function(enable) {\n\t    if (enable) {\n\t      return this.on(Events.MouseWheel, this._onMouseWheel);\n\t    } else {\n\t      return this.off(Events.MouseWheel, this._onMouseWheel);\n\t    }\n\t  };\n\t\n\t  ScrollComponent.prototype._onMouseWheel = function(event) {\n\t    var maxX, maxY, minX, minY, point, ref;\n\t    if (!this._mouseWheelScrolling) {\n\t      this._mouseWheelScrolling = true;\n\t      this.emit(Events.ScrollStart, event);\n\t    }\n\t    this.content.animateStop();\n\t    ref = this.content.draggable._calculateConstraints(this.content.draggable.constraints), minX = ref.minX, maxX = ref.maxX, minY = ref.minY, maxY = ref.maxY;\n\t    point = {\n\t      x: Utils.clamp(this.content.x + (event.wheelDeltaX * this.mouseWheelSpeedMultiplier), minX, maxX),\n\t      y: Utils.clamp(this.content.y + (event.wheelDeltaY * this.mouseWheelSpeedMultiplier), minY, maxY)\n\t    };\n\t    this.content.point = point;\n\t    this.emit(Events.Scroll, event);\n\t    return this._onMouseWheelEnd(event);\n\t  };\n\t\n\t  ScrollComponent.prototype._onMouseWheelEnd = Utils.debounce(0.3, function(event) {\n\t    this.emit(Events.ScrollEnd, event);\n\t    return this._mouseWheelScrolling = false;\n\t  });\n\t\n\t  ScrollComponent.prototype.copy = function() {\n\t    var contentLayer, copy;\n\t    copy = ScrollComponent.__super__.copy.apply(this, arguments);\n\t    contentLayer = _.first(_.without(copy.subLayers, copy.content));\n\t    copy.setContentLayer(contentLayer);\n\t    copy.props = this.props;\n\t    return copy;\n\t  };\n\t\n\t  ScrollComponent.wrap = function(layer, options) {\n\t    var i, j, len, len1, propKey, ref, ref1, scroll, subLayer, subLayerIndex;\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    scroll = new this(options);\n\t    ref = [\"frame\", \"image\", \"name\"];\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      propKey = ref[i];\n\t      scroll[propKey] = layer[propKey];\n\t    }\n\t    ref1 = layer.subLayers;\n\t    for (j = 0, len1 = ref1.length; j < len1; j++) {\n\t      subLayer = ref1[j];\n\t      subLayerIndex = subLayer.index;\n\t      subLayer.superLayer = scroll.content;\n\t      subLayer.index = subLayerIndex;\n\t    }\n\t    scroll.superLayer = layer.superLayer;\n\t    scroll.index = layer.index;\n\t    layer.destroy();\n\t    return scroll;\n\t  };\n\t\n\t  return ScrollComponent;\n\t\n\t})(Layer);\n\n\n/***/ },\n/* 13 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Events, ScrollComponent,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty,\n\t  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };\n\t\n\tEvents = __webpack_require__(6).Events;\n\t\n\tScrollComponent = __webpack_require__(12).ScrollComponent;\n\t\n\t\"PageComponent\\n\\noriginX <number>\\noriginY <number>\\n\\nvelocityThreshold <number>\\nanimationOptions <animationOptions={}>\\ncurrentPage <Layer>\\nclosestPage(<originX:n, originY:n>) <Layer>\\n\\nnextPage(direction=\\\"\\\", currentPage)\\nsnapToNextPage(direction=\\\"\\\", animate, animationOptions={})\\n\";\n\t\n\texports.PageComponent = (function(superClass) {\n\t  extend(PageComponent, superClass);\n\t\n\t  PageComponent.define(\"originX\", PageComponent.simpleProperty(\"originX\", .5));\n\t\n\t  PageComponent.define(\"originY\", PageComponent.simpleProperty(\"originY\", .5));\n\t\n\t  PageComponent.define(\"velocityThreshold\", PageComponent.simpleProperty(\"velocityThreshold\", 0.1));\n\t\n\t  PageComponent.define(\"animationOptions\", PageComponent.simpleProperty(\"animationOptions\", {\n\t    curve: \"spring(500,50,0)\"\n\t  }));\n\t\n\t  function PageComponent() {\n\t    this._resetHistory = bind(this._resetHistory, this);\n\t    this._scrollEnd = bind(this._scrollEnd, this);\n\t    this._onAminationEnd = bind(this._onAminationEnd, this);\n\t    this._onAminationStep = bind(this._onAminationStep, this);\n\t    this._onAminationStart = bind(this._onAminationStart, this);\n\t    this._scrollMove = bind(this._scrollMove, this);\n\t    this._scrollStart = bind(this._scrollStart, this);\n\t    PageComponent.__super__.constructor.apply(this, arguments);\n\t    this.content.draggable.momentum = false;\n\t    this.content.draggable.bounce = false;\n\t    this.on(Events.ScrollStart, this._scrollStart);\n\t    this.on(Events.ScrollEnd, this._scrollEnd);\n\t    this.content.on(\"change:frame\", _.debounce(this._scrollMove, 16));\n\t    this.content.on(\"change:subLayers\", this._resetHistory);\n\t    this._resetHistory();\n\t  }\n\t\n\t  PageComponent.define(\"closestPage\", {\n\t    get: function() {\n\t      return this.closestContentLayerForScrollPoint(this._originScrollPoint(), this.originX, this.originY);\n\t    }\n\t  });\n\t\n\t  PageComponent.define(\"currentPage\", {\n\t    get: function() {\n\t      return _.last(this._previousPages);\n\t    }\n\t  });\n\t\n\t  PageComponent.define(\"previousPage\", {\n\t    get: function() {\n\t      return this._previousPages[this._previousPages.length - 2];\n\t    }\n\t  });\n\t\n\t  PageComponent.prototype.nextPage = function(direction, currentPage) {\n\t    var layers, point;\n\t    if (direction == null) {\n\t      direction = \"right\";\n\t    }\n\t    if (currentPage == null) {\n\t      currentPage = null;\n\t    }\n\t    if (currentPage == null) {\n\t      currentPage = this.currentPage;\n\t    }\n\t    point = {\n\t      x: 0,\n\t      y: 0\n\t    };\n\t    if (currentPage) {\n\t      point = Utils.framePointForOrigin(currentPage, this.originX, this.originY);\n\t    }\n\t    if (direction === \"up\" || direction === \"top\" || direction === \"north\") {\n\t      layers = this.content.subLayersAbove(point, this.originX, this.originY);\n\t    }\n\t    if (direction === \"down\" || direction === \"bottom\" || direction === \"south\") {\n\t      layers = this.content.subLayersBelow(point, this.originX, this.originY);\n\t    }\n\t    if (direction === \"left\" || direction === \"west\") {\n\t      layers = this.content.subLayersLeft(point, this.originX, this.originY);\n\t    }\n\t    if (direction === \"right\" || direction === \"east\") {\n\t      layers = this.content.subLayersRight(point, this.originX, this.originY);\n\t    }\n\t    layers = _.without(layers, currentPage);\n\t    layers = Utils.frameSortByAbsoluteDistance(point, layers, this.originX, this.originY);\n\t    return _.first(layers);\n\t  };\n\t\n\t  PageComponent.prototype.snapToPage = function(page, animate, animationOptions) {\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    if (animationOptions == null) {\n\t      animationOptions = null;\n\t    }\n\t    this.scrollToLayer(page, this.originX, this.originY, animate, animationOptions);\n\t    if (this.currentPage !== page) {\n\t      this._previousPages.push(page);\n\t      this.emit(\"change:previousPage\", this.previousPage);\n\t      return this.emit(\"change:currentPage\", this.currentPage);\n\t    }\n\t  };\n\t\n\t  PageComponent.prototype.snapToNextPage = function(direction, animate, animationOptions) {\n\t    var nextPage;\n\t    if (direction == null) {\n\t      direction = \"right\";\n\t    }\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    if (animationOptions == null) {\n\t      animationOptions = null;\n\t    }\n\t    if (animationOptions == null) {\n\t      animationOptions = this.animationOptions;\n\t    }\n\t    nextPage = this.nextPage(direction);\n\t    if (nextPage == null) {\n\t      nextPage = this.closestPage;\n\t    }\n\t    return this.snapToPage(nextPage, animate, animationOptions);\n\t  };\n\t\n\t  PageComponent.prototype.snapToPreviousPage = function() {\n\t    if (!this.previousPage) {\n\t      return;\n\t    }\n\t    this.snapToPage(this.previousPage);\n\t    return this._previousPages = this._previousPages.slice(0, +(this._previousPages.length - 3) + 1 || 9e9);\n\t  };\n\t\n\t  PageComponent.prototype.addPage = function(page, direction) {\n\t    var directions, point, ref;\n\t    if (direction == null) {\n\t      direction = \"right\";\n\t    }\n\t    directions = [\"down\", \"bottom\", \"south\"] + [\"right\", \"east\"];\n\t    if (ref = !direction, indexOf.call(directions, ref) >= 0) {\n\t      direction = \"right\";\n\t      throw new Error(direction + \" should be in \" + directions);\n\t    }\n\t    point = {\n\t      x: 0,\n\t      y: 0\n\t    };\n\t    if (this.content.subLayers.length) {\n\t      if (direction === \"right\" || direction === \"east\") {\n\t        point.x = Utils.frameGetMaxX(this.content.contentFrame());\n\t      }\n\t      if (direction === \"down\" || direction === \"bottom\" || direction === \"south\") {\n\t        point.y = Utils.frameGetMaxY(this.content.contentFrame());\n\t      }\n\t    }\n\t    page.point = point;\n\t    if (page.superLayer !== this.content) {\n\t      return page.superLayer = this.content;\n\t    } else {\n\t      return this.updateContent();\n\t    }\n\t  };\n\t\n\t  PageComponent.prototype.setContentLayer = function(contentLayer) {\n\t    if (this.content) {\n\t      this._onAminateStop();\n\t      this.content.off(Events.AnimationStart, this._onAminationStart);\n\t      this.content.off(Events.AnimationStop, this._onAminationEnd);\n\t    }\n\t    PageComponent.__super__.setContentLayer.call(this, contentLayer);\n\t    this.content.on(Events.AnimationStart, this._onAminationStart);\n\t    return this.content.on(Events.AnimationStop, this._onAminationEnd);\n\t  };\n\t\n\t  PageComponent.prototype.horizontalPageIndex = function(page) {\n\t    return (_.sortBy(this.content.subLayers, function(l) {\n\t      return l.x;\n\t    })).indexOf(page);\n\t  };\n\t\n\t  PageComponent.prototype.verticalPageIndex = function(page) {\n\t    return (_.sortBy(this.content.subLayers, function(l) {\n\t      return l.y;\n\t    })).indexOf(page);\n\t  };\n\t\n\t  PageComponent.prototype._scrollStart = function() {\n\t    return this._currentPage = this.currentPage;\n\t  };\n\t\n\t  PageComponent.prototype._scrollMove = function() {\n\t    var currentPage;\n\t    currentPage = this.currentPage;\n\t    if (currentPage !== _.last(this._previousPages) && currentPage !== (void 0)) {\n\t      this._previousPages.push(currentPage);\n\t      return this.emit(\"change:currentPage\", {\n\t        old: this.previousPage,\n\t        \"new\": currentPage\n\t      });\n\t    }\n\t  };\n\t\n\t  PageComponent.prototype._onAminationStart = function() {\n\t    this._isMoving = true;\n\t    this._isAnimating = true;\n\t    return this.content.on(\"change:frame\", this._onAminationStep);\n\t  };\n\t\n\t  PageComponent.prototype._onAminationStep = function() {\n\t    return this.emit(Events.Move, this.content.point);\n\t  };\n\t\n\t  PageComponent.prototype._onAminationEnd = function() {\n\t    this._isMoving = false;\n\t    this._isAnimating = false;\n\t    return this.content.off(\"change:frame\", this._onAminationStep);\n\t  };\n\t\n\t  PageComponent.prototype._scrollEnd = function() {\n\t    var nextPage, velocity;\n\t    velocity = this.content.draggable.velocity;\n\t    if (Math.max(Math.abs(velocity.x), Math.abs(velocity.y)) < this.velocityThreshold) {\n\t      this.snapToPage(this.closestPage, true, this.animationOptions);\n\t      return;\n\t    }\n\t    nextPage = this.nextPage(this.direction, this._currentPage);\n\t    if (nextPage == null) {\n\t      nextPage = this.closestPage;\n\t    }\n\t    return this.snapToPage(nextPage, true, this.animationOptions);\n\t  };\n\t\n\t  PageComponent.prototype._originScrollPoint = function() {\n\t    var scrollPoint;\n\t    scrollPoint = this.scrollPoint;\n\t    scrollPoint.x += this.width * this.originX;\n\t    scrollPoint.y += this.height * this.originY;\n\t    return scrollPoint;\n\t  };\n\t\n\t  PageComponent.prototype._resetHistory = function() {\n\t    this._currentPage = this.closestPage;\n\t    return this._previousPages = [this._currentPage];\n\t  };\n\t\n\t  return PageComponent;\n\t\n\t})(ScrollComponent);\n\n\n/***/ },\n/* 14 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Events, Layer, Utils,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tLayer = __webpack_require__(3).Layer;\n\t\n\tEvents = __webpack_require__(6).Events;\n\t\n\t\"SliderComponent\\n\\nknob <layer>\\nknobSize <width, height>\\nfill <layer>\\nmin <number>\\nmax <number>\\n\\npointForValue(<n>)\\nvalueForPoint(<n>)\\n\\nanimateToValue(value, animationOptions={})\";\n\t\n\texports.SliderComponent = (function(superClass) {\n\t  extend(SliderComponent, superClass);\n\t\n\t  function SliderComponent(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this._updateValue = bind(this._updateValue, this);\n\t    this._setRadius = bind(this._setRadius, this);\n\t    this._updateFrame = bind(this._updateFrame, this);\n\t    this._updateKnob = bind(this._updateKnob, this);\n\t    this._updateFill = bind(this._updateFill, this);\n\t    this._touchDown = bind(this._touchDown, this);\n\t    if (options.backgroundColor == null) {\n\t      options.backgroundColor = \"#ccc\";\n\t    }\n\t    if (options.borderRadius == null) {\n\t      options.borderRadius = 50;\n\t    }\n\t    if (options.clip == null) {\n\t      options.clip = false;\n\t    }\n\t    if (options.width == null) {\n\t      options.width = 300;\n\t    }\n\t    if (options.height == null) {\n\t      options.height = 10;\n\t    }\n\t    this.knob = new Layer({\n\t      backgroundColor: \"#fff\",\n\t      shadowY: 1,\n\t      shadowBlur: 3,\n\t      shadowColor: \"rgba(0,0,0,0.35)\"\n\t    });\n\t    this.fill = new Layer({\n\t      backgroundColor: \"#333\",\n\t      width: 0,\n\t      borderRadius: 50,\n\t      force2d: true\n\t    });\n\t    SliderComponent.__super__.constructor.call(this, options);\n\t    this.knobSize = options.knobSize || 30;\n\t    this.knob.superLayer = this.fill.superLayer = this;\n\t    this.fill.height = this.height;\n\t    this.knob.draggable.enabled = true;\n\t    this.knob.draggable.speedY = 0;\n\t    this.knob.draggable.overdrag = false;\n\t    this.knob.draggable.momentum = true;\n\t    this.knob.draggable.momentumOptions = {\n\t      friction: 5,\n\t      tolerance: 0.25\n\t    };\n\t    this.knob.draggable.bounce = false;\n\t    this.knob.draggable.propagateEvents = false;\n\t    this.knob.borderRadius = \"50%\";\n\t    this._updateFrame();\n\t    this.on(\"change:frame\", this._updateFrame);\n\t    this.on(\"change:borderRadius\", this._setRadius);\n\t    this.knob.on(\"change:x\", this._updateFill);\n\t    this.knob.on(\"change:x\", this._updateValue);\n\t    this.knob.on(\"change:size\", this._updateKnob);\n\t    this.knob.on(Events.DragMove, this._updateFrame);\n\t    this.on(Events.TouchStart, this._touchDown);\n\t  }\n\t\n\t  SliderComponent.prototype._touchDown = function(event) {\n\t    var offsetX;\n\t    event.preventDefault();\n\t    event.stopPropagation();\n\t    offsetX = (this.min / this.canvasScaleX()) - this.min;\n\t    this.value = this.valueForPoint(event.x - this.screenScaledFrame().x) / this.canvasScaleX() - offsetX;\n\t    return this.knob.draggable._touchStart(event);\n\t  };\n\t\n\t  SliderComponent.prototype._updateFill = function() {\n\t    return this.fill.width = this.knob.midX;\n\t  };\n\t\n\t  SliderComponent.prototype._updateKnob = function() {\n\t    this.knob.midX = this.fill.width;\n\t    return this.knob.centerY();\n\t  };\n\t\n\t  SliderComponent.prototype._updateFrame = function() {\n\t    this.knob.draggable.constraints = {\n\t      x: -this.knob.width / 2,\n\t      width: this.width + this.knob.width\n\t    };\n\t    return this.knob.centerY();\n\t  };\n\t\n\t  SliderComponent.prototype._setRadius = function() {\n\t    var radius;\n\t    radius = this.borderRadius;\n\t    return this.fill.style.borderRadius = radius + \"px 0 0 \" + radius + \"px\";\n\t  };\n\t\n\t  SliderComponent.define(\"knobSize\", {\n\t    get: function() {\n\t      return this._knobSize;\n\t    },\n\t    set: function(value) {\n\t      this._knobSize = value;\n\t      this.knob.width = this._knobSize;\n\t      this.knob.height = this._knobSize;\n\t      this.knob.centerY();\n\t      return this._updateFrame();\n\t    }\n\t  });\n\t\n\t  SliderComponent.define(\"min\", {\n\t    get: function() {\n\t      return this._min || 0;\n\t    },\n\t    set: function(value) {\n\t      return this._min = value;\n\t    }\n\t  });\n\t\n\t  SliderComponent.define(\"max\", {\n\t    get: function() {\n\t      return this._max || 1;\n\t    },\n\t    set: function(value) {\n\t      return this._max = value;\n\t    }\n\t  });\n\t\n\t  SliderComponent.define(\"value\", {\n\t    get: function() {\n\t      return this.valueForPoint(this.knob.midX);\n\t    },\n\t    set: function(value) {\n\t      this.knob.midX = this.pointForValue(value);\n\t      return this._updateFill();\n\t    }\n\t  });\n\t\n\t  SliderComponent.prototype._updateValue = function() {\n\t    return this.emit(\"change:value\", this.value);\n\t  };\n\t\n\t  SliderComponent.prototype.pointForValue = function(value) {\n\t    return Utils.modulate(value, [this.min, this.max], [0, this.width], true);\n\t  };\n\t\n\t  SliderComponent.prototype.valueForPoint = function(value) {\n\t    return Utils.modulate(value, [0, this.width], [this.min, this.max], true);\n\t  };\n\t\n\t  SliderComponent.prototype.animateToValue = function(value, animationOptions) {\n\t    if (animationOptions == null) {\n\t      animationOptions = {\n\t        curve: \"spring(300,25,0)\"\n\t      };\n\t    }\n\t    animationOptions.properties = {\n\t      x: this.pointForValue(value)\n\t    };\n\t    return this.knob.animate(animationOptions);\n\t  };\n\t\n\t  return SliderComponent;\n\t\n\t})(Layer);\n\n\n/***/ },\n/* 15 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar AppleWatch38Device, AppleWatch42Device, BaseClass, Defaults, DeviceComponentDefaultDevice, Devices, Events, Layer, Nexus5BaseDevice, Nexus5BaseDeviceHand, Nexus9BaseDevice, Utils, _, iPadAirBaseDevice, iPadAirBaseDeviceHand, iPadMiniBaseDevice, iPadMiniBaseDeviceHand, iPhone5BaseDevice, iPhone5BaseDeviceHand, iPhone5CBaseDevice, iPhone5CBaseDeviceHand, iPhone6BaseDevice, iPhone6BaseDeviceHand, iPhone6PlusBaseDevice, iPhone6PlusBaseDeviceHand,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tDeviceComponentDefaultDevice = \"iphone-6-silver\";\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\tLayer = __webpack_require__(3).Layer;\n\t\n\tDefaults = __webpack_require__(30).Defaults;\n\t\n\tEvents = __webpack_require__(6).Events;\n\t\n\t\n\t/*\n\t\n\tDevice._setup()\n\tDevice._update()\n\tDevice._setupContext()\n\t\n\tDevice.fullScreen bool\n\tDevice.deviceType str\n\tDevice.padding int\n\t\n\tDevice.orientation(orientation:float)\n\tDevice.orientationName landscape|portrait|unknown\n\tDevice.rotateLeft()\n\tDevice.rotateRight()\n\t\n\tDevice.setDeviceScale(zoom:float, animate:bool)\n\tDevice.setContentScale(zoom:float, animate:bool)\n\t\n\tDevice.keyboard bool\n\tDevice.setKeyboard(visible:bool, animate:bool)\n\tDevice.showKeyboard(animate:bool)\n\tDevice.hideKeyboard(animate:bool)\n\tDevice.toggleKeyboard(animate:bool)\n\t\n\t\n\t * Events\n\tEvents.DeviceTypeDidChange\n\tEvents.DeviceFullScreenDidChange\n\tEvents.DeviceKeyboardWillShow\n\tEvents.DeviceKeyboardDidShow\n\t */\n\t\n\texports.DeviceComponent = (function(superClass) {\n\t  extend(DeviceComponent, superClass);\n\t\n\t  DeviceComponent.define(\"context\", {\n\t    get: function() {\n\t      return this._context;\n\t    }\n\t  });\n\t\n\t  function DeviceComponent(options) {\n\t    var defaults;\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this._animateKeyboard = bind(this._animateKeyboard, this);\n\t    this._updateDeviceImage = bind(this._updateDeviceImage, this);\n\t    this._update = bind(this._update, this);\n\t    defaults = Defaults.getDefaults(\"DeviceComponent\", options);\n\t    if (Framer.Defaults.hasOwnProperty(\"DeviceView\")) {\n\t      defaults = _.extend(defaults, Framer.Defaults.DeviceView);\n\t    }\n\t    this._setup();\n\t    this.animationOptions = defaults.animationOptions;\n\t    this.deviceType = defaults.deviceType;\n\t    _.extend(this, _.defaults(options, defaults));\n\t  }\n\t\n\t  DeviceComponent.prototype._setup = function() {\n\t    var i, layer, len, ref;\n\t    if (this._setupDone) {\n\t      return;\n\t    }\n\t    this._setupDone = true;\n\t    this.background = new Layer;\n\t    this.background.clip = true;\n\t    this.background.backgroundColor = \"transparent\";\n\t    this.background.classList.add(\"DeviceBackground\");\n\t    this.phone = new Layer;\n\t    this.screen = new Layer({\n\t      superLayer: this.phone\n\t    });\n\t    this.viewport = new Layer({\n\t      superLayer: this.screen\n\t    });\n\t    this.content = new Layer({\n\t      superLayer: this.viewport\n\t    });\n\t    this.phone.backgroundColor = \"transparent\";\n\t    this.phone.classList.add(\"DevicePhone\");\n\t    this.screen.backgroundColor = \"transparent\";\n\t    this.screen.classList.add(\"DeviceScreen\");\n\t    this.viewport.backgroundColor = \"transparent\";\n\t    this.viewport.classList.add(\"DeviceComponentPort\");\n\t    this.content.backgroundColor = \"transparent\";\n\t    this.content.classList.add(\"DeviceContent\");\n\t    this.content.originX = 0;\n\t    this.content.originY = 0;\n\t    this.keyboardLayer = new Layer({\n\t      superLayer: this.viewport\n\t    });\n\t    this.keyboardLayer.on(\"click\", (function(_this) {\n\t      return function() {\n\t        return _this.toggleKeyboard();\n\t      };\n\t    })(this));\n\t    this.keyboardLayer.classList.add(\"DeviceKeyboard\");\n\t    this.keyboardLayer.backgroundColor = \"transparent\";\n\t    Framer.CurrentContext.eventManager.wrap(window).addEventListener(\"resize\", this._update);\n\t    ref = [this.background, this.phone, this.viewport, this.content, this.screen];\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      layer = ref[i];\n\t      layer.on(\"touchmove\", function(event) {\n\t        return event.preventDefault();\n\t      });\n\t    }\n\t    return this._context = new Framer.Context({\n\t      parentLayer: this.content,\n\t      name: \"Device\"\n\t    });\n\t  };\n\t\n\t  DeviceComponent.prototype._update = function() {\n\t    var backgroundOverlap, contentScaleFactor, height, i, layer, len, ref, ref1, width;\n\t    contentScaleFactor = this.contentScale;\n\t    if (contentScaleFactor > 1) {\n\t      contentScaleFactor = 1;\n\t    }\n\t    if (this._shouldRenderFullScreen()) {\n\t      ref = [this.background, this.phone, this.viewport, this.content, this.screen];\n\t      for (i = 0, len = ref.length; i < len; i++) {\n\t        layer = ref[i];\n\t        layer.x = layer.y = 0;\n\t        layer.width = window.innerWidth / contentScaleFactor;\n\t        layer.height = window.innerHeight / contentScaleFactor;\n\t        layer.scale = 1;\n\t      }\n\t      this.content.scale = contentScaleFactor;\n\t      return this._positionKeyboard();\n\t    } else {\n\t      backgroundOverlap = 100;\n\t      this.background.x = 0 - backgroundOverlap;\n\t      this.background.y = 0 - backgroundOverlap;\n\t      this.background.width = window.innerWidth + (2 * backgroundOverlap);\n\t      this.background.height = window.innerHeight + (2 * backgroundOverlap);\n\t      this.phone.scale = this._calculatePhoneScale();\n\t      this.phone.center();\n\t      ref1 = this._getOrientationDimensions(this._device.screenWidth / contentScaleFactor, this._device.screenHeight / contentScaleFactor), width = ref1[0], height = ref1[1];\n\t      this.screen.width = this._device.screenWidth;\n\t      this.screen.height = this._device.screenHeight;\n\t      this.viewport.width = this.content.width = width;\n\t      this.viewport.height = this.content.height = height;\n\t      return this.screen.center();\n\t    }\n\t  };\n\t\n\t  DeviceComponent.prototype._shouldRenderFullScreen = function() {\n\t    if (!this._device) {\n\t      return true;\n\t    }\n\t    if (this.fullScreen === true) {\n\t      return true;\n\t    }\n\t    if (this.deviceType === \"fullscreen\") {\n\t      return true;\n\t    }\n\t    if (Utils.deviceType() === \"phone\" && Utils.deviceType() === this._device.deviceType) {\n\t      return true;\n\t    }\n\t    if (Utils.deviceType() === \"tablet\" && Utils.deviceType() === this._device.deviceType) {\n\t      return true;\n\t    }\n\t    if (Utils.deviceType() === \"phone\" && this._device.deviceType === \"tablet\") {\n\t      return true;\n\t    }\n\t    return false;\n\t  };\n\t\n\t  DeviceComponent.prototype.setupContext = function() {\n\t    return Framer.CurrentContext = this._context;\n\t  };\n\t\n\t  DeviceComponent.define(\"fullScreen\", {\n\t    get: function() {\n\t      return this._fullScreen;\n\t    },\n\t    set: function(fullScreen) {\n\t      return this._setFullScreen(fullScreen);\n\t    }\n\t  });\n\t\n\t  DeviceComponent.prototype._setFullScreen = function(fullScreen) {\n\t    if (this._deviceType === \"fullscreen\") {\n\t      return;\n\t    }\n\t    if (!_.isBoolean(fullScreen)) {\n\t      return;\n\t    }\n\t    if (fullScreen === this._fullScreen) {\n\t      return;\n\t    }\n\t    this._fullScreen = fullScreen;\n\t    if (fullScreen === true) {\n\t      this.phone.image = \"\";\n\t    } else {\n\t      this._updateDeviceImage();\n\t    }\n\t    this._update();\n\t    this.keyboard = false;\n\t    this._positionKeyboard();\n\t    return this.emit(\"change:fullScreen\");\n\t  };\n\t\n\t  DeviceComponent.define(\"deviceType\", {\n\t    get: function() {\n\t      return this._deviceType;\n\t    },\n\t    set: function(deviceType) {\n\t      var device, shouldZoomToFit;\n\t      if (deviceType === this._deviceType) {\n\t        return;\n\t      }\n\t      device = null;\n\t      if (_.isString(deviceType)) {\n\t        device = Devices[deviceType.toLowerCase()];\n\t      }\n\t      if (!device) {\n\t        throw Error(\"No device named \" + deviceType + \". Options are: \" + (_.keys(Devices)));\n\t      }\n\t      if (this._device === device) {\n\t        return;\n\t      }\n\t      shouldZoomToFit = this._deviceType === \"fullscreen\";\n\t      this._device = _.clone(device);\n\t      this._deviceType = deviceType;\n\t      this.fullscreen = false;\n\t      this._updateDeviceImage();\n\t      this._update();\n\t      this.keyboard = false;\n\t      this._positionKeyboard();\n\t      this.emit(\"change:deviceType\");\n\t      if (shouldZoomToFit) {\n\t        return this.deviceScale = \"fit\";\n\t      }\n\t    }\n\t  });\n\t\n\t  DeviceComponent.prototype._updateDeviceImage = function() {\n\t    if (/PhantomJS/.test(navigator.userAgent)) {\n\t      return;\n\t    }\n\t    if (this._shouldRenderFullScreen()) {\n\t      return this.phone.image = \"\";\n\t    } else if (!this._deviceImageUrl(this._deviceImageName())) {\n\t      return this.phone.image = \"\";\n\t    } else {\n\t      this.phone._cacheImage = true;\n\t      this.phone.image = this._deviceImageUrl(this._deviceImageName());\n\t      this.phone.width = this._device.deviceImageWidth;\n\t      return this.phone.height = this._device.deviceImageHeight;\n\t    }\n\t  };\n\t\n\t  DeviceComponent.prototype._deviceImageName = function() {\n\t    if (this._device.hasOwnProperty(\"deviceImage\")) {\n\t      return this._device.deviceImage;\n\t    }\n\t    return this._deviceType + \".png\";\n\t  };\n\t\n\t  DeviceComponent.prototype._deviceImageUrl = function(name) {\n\t    var resourceUrl;\n\t    if (!name) {\n\t      return null;\n\t    }\n\t    if (_.startsWith(name, \"http://\") || _.startsWith(name, \"https://\")) {\n\t      return name;\n\t    }\n\t    if (Utils.isFramerStudio() && window.FramerStudioInfo) {\n\t      resourceUrl = window.FramerStudioInfo.deviceImagesUrl;\n\t    } else {\n\t      resourceUrl = \"//resources.framerjs.com/static/DeviceResources\";\n\t    }\n\t    if (Utils.isJP2Supported() && (this._device.deviceImageJP2 != null) === true) {\n\t      return resourceUrl + \"/\" + (name.replace(\".png\", \".jp2\"));\n\t    } else {\n\t      return resourceUrl + \"/\" + name;\n\t    }\n\t  };\n\t\n\t  DeviceComponent.define(\"deviceScale\", {\n\t    get: function() {\n\t      if (this._shouldRenderFullScreen()) {\n\t        return 1;\n\t      }\n\t      return this._deviceScale || 1;\n\t    },\n\t    set: function(deviceScale) {\n\t      return this.setDeviceScale(deviceScale, false);\n\t    }\n\t  });\n\t\n\t  DeviceComponent.prototype.setDeviceScale = function(deviceScale, animate) {\n\t    var phoneScale;\n\t    if (animate == null) {\n\t      animate = false;\n\t    }\n\t    if (deviceScale === \"fit\" || deviceScale < 0) {\n\t      deviceScale = \"fit\";\n\t    } else {\n\t      deviceScale = parseFloat(deviceScale);\n\t    }\n\t    if (deviceScale === this._deviceScale) {\n\t      return;\n\t    }\n\t    this._deviceScale = deviceScale;\n\t    if (this._shouldRenderFullScreen()) {\n\t      return;\n\t    }\n\t    if (deviceScale === \"fit\") {\n\t      phoneScale = this._calculatePhoneScale();\n\t    } else {\n\t      phoneScale = deviceScale;\n\t    }\n\t    this.phone.animateStop();\n\t    if (animate) {\n\t      this.phone.animate(_.extend(this.animationOptions, {\n\t        properties: {\n\t          scale: phoneScale\n\t        }\n\t      }));\n\t    } else {\n\t      this.phone.scale = phoneScale;\n\t      this.phone.center();\n\t    }\n\t    return this.emit(\"change:deviceScale\");\n\t  };\n\t\n\t  DeviceComponent.prototype._calculatePhoneScale = function() {\n\t    var height, paddingOffset, phoneScale, ref, ref1, width;\n\t    if (this._deviceScale && this._deviceScale !== \"fit\") {\n\t      return this._deviceScale;\n\t    }\n\t    ref = this._getOrientationDimensions(this.phone.width, this.phone.height), width = ref[0], height = ref[1];\n\t    paddingOffset = ((ref1 = this._device) != null ? ref1.paddingOffset : void 0) || 0;\n\t    phoneScale = _.min([(window.innerWidth - ((this.padding + paddingOffset) * 2)) / width, (window.innerHeight - ((this.padding + paddingOffset) * 2)) / height]);\n\t    return phoneScale;\n\t  };\n\t\n\t  DeviceComponent.define(\"contentScale\", {\n\t    get: function() {\n\t      return this._contentScale || 1;\n\t    },\n\t    set: function(contentScale) {\n\t      return this.setContentScale(contentScale, false);\n\t    }\n\t  });\n\t\n\t  DeviceComponent.prototype.setContentScale = function(contentScale, animate) {\n\t    if (animate == null) {\n\t      animate = false;\n\t    }\n\t    contentScale = parseFloat(contentScale);\n\t    if (contentScale <= 0) {\n\t      return;\n\t    }\n\t    if (contentScale === this._contentScale) {\n\t      return;\n\t    }\n\t    this._contentScale = contentScale;\n\t    if (animate) {\n\t      this.content.animate(_.extend(this.animationOptions, {\n\t        properties: {\n\t          scale: this._contentScale\n\t        }\n\t      }));\n\t    } else {\n\t      this.content.scale = this._contentScale;\n\t    }\n\t    this._update();\n\t    return this.emit(\"change:contentScale\");\n\t  };\n\t\n\t  DeviceComponent.define(\"orientation\", {\n\t    get: function() {\n\t      return this._orientation || 0;\n\t    },\n\t    set: function(orientation) {\n\t      return this.setOrientation(orientation, false);\n\t    }\n\t  });\n\t\n\t  DeviceComponent.prototype.setOrientation = function(orientation, animate) {\n\t    var _hadKeyboard, animation, contentProperties, height, phoneProperties, ref, ref1, width, x, y;\n\t    if (animate == null) {\n\t      animate = false;\n\t    }\n\t    if (orientation === \"portrait\") {\n\t      orientation = 0;\n\t    }\n\t    if (orientation === \"landscape\") {\n\t      orientation = 90;\n\t    }\n\t    if (this._shouldRenderFullScreen()) {\n\t      return;\n\t    }\n\t    orientation = parseInt(orientation);\n\t    if (orientation !== 0 && orientation !== 90 && orientation !== (-90)) {\n\t      return;\n\t    }\n\t    if (orientation === this._orientation) {\n\t      return;\n\t    }\n\t    this._orientation = orientation;\n\t    phoneProperties = {\n\t      rotationZ: this._orientation,\n\t      scale: this._calculatePhoneScale()\n\t    };\n\t    ref = this._getOrientationDimensions(this._device.screenWidth, this._device.screenHeight), width = ref[0], height = ref[1];\n\t    ref1 = [(this.screen.width - width) / 2, (this.screen.height - height) / 2], x = ref1[0], y = ref1[1];\n\t    contentProperties = {\n\t      rotationZ: -this._orientation,\n\t      width: width,\n\t      height: height,\n\t      x: x,\n\t      y: y\n\t    };\n\t    _hadKeyboard = this.keyboard;\n\t    if (_hadKeyboard) {\n\t      this.hideKeyboard(false);\n\t    }\n\t    this.phone.animateStop();\n\t    this.viewport.animateStop();\n\t    if (animate) {\n\t      animation = this.phone.animate(_.extend(this.animationOptions, {\n\t        properties: phoneProperties\n\t      }));\n\t      this.viewport.animate(_.extend(this.animationOptions, {\n\t        properties: contentProperties\n\t      }));\n\t      animation.on(Events.AnimationEnd, (function(_this) {\n\t        return function() {\n\t          return _this._update();\n\t        };\n\t      })(this));\n\t      if (_hadKeyboard) {\n\t        animation.on(Events.AnimationEnd, (function(_this) {\n\t          return function() {\n\t            return _this.showKeyboard(true);\n\t          };\n\t        })(this));\n\t      }\n\t    } else {\n\t      this.phone.props = phoneProperties;\n\t      this.viewport.props = contentProperties;\n\t      this._update();\n\t      if (_hadKeyboard) {\n\t        this.showKeyboard(true);\n\t      }\n\t    }\n\t    this._renderKeyboard();\n\t    return this.emit(\"change:orientation\");\n\t  };\n\t\n\t  DeviceComponent.prototype.isPortrait = function() {\n\t    return Math.abs(this._orientation) !== 90;\n\t  };\n\t\n\t  DeviceComponent.prototype.isLandscape = function() {\n\t    return !this.isPortrait();\n\t  };\n\t\n\t  DeviceComponent.define(\"orientationName\", {\n\t    get: function() {\n\t      if (this.isPortrait()) {\n\t        return \"portrait\";\n\t      }\n\t      if (this.isLandscape()) {\n\t        return \"landscape\";\n\t      }\n\t    },\n\t    set: function(orientationName) {\n\t      return this.setOrientation(orientationName, false);\n\t    }\n\t  });\n\t\n\t  DeviceComponent.prototype.rotateLeft = function(animate) {\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    if (this.orientation === 90) {\n\t      return;\n\t    }\n\t    return this.setOrientation(this.orientation + 90, animate);\n\t  };\n\t\n\t  DeviceComponent.prototype.rotateRight = function(animate) {\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    if (this.orientation === -90) {\n\t      return;\n\t    }\n\t    return this.setOrientation(this.orientation - 90, animate);\n\t  };\n\t\n\t  DeviceComponent.prototype._getOrientationDimensions = function(width, height) {\n\t    if (this.isLandscape()) {\n\t      return [height, width];\n\t    } else {\n\t      return [width, height];\n\t    }\n\t  };\n\t\n\t  DeviceComponent.define(\"keyboard\", {\n\t    get: function() {\n\t      return this._keyboard;\n\t    },\n\t    set: function(keyboard) {\n\t      return this.setKeyboard(keyboard, false);\n\t    }\n\t  });\n\t\n\t  DeviceComponent.prototype.setKeyboard = function(keyboard, animate) {\n\t    var ref, ref1;\n\t    if (animate == null) {\n\t      animate = false;\n\t    }\n\t    if (!this._device.hasOwnProperty(\"keyboards\")) {\n\t      return;\n\t    }\n\t    if (_.isString(keyboard)) {\n\t      if ((ref = keyboard.toLowerCase()) === \"1\" || ref === \"true\") {\n\t        keyboard = true;\n\t      } else if ((ref1 = keyboard.toLowerCase()) === \"0\" || ref1 === \"false\") {\n\t        keyboard = false;\n\t      } else {\n\t        return;\n\t      }\n\t    }\n\t    if (!_.isBoolean(keyboard)) {\n\t      return;\n\t    }\n\t    if (keyboard === this._keyboard) {\n\t      return;\n\t    }\n\t    this._keyboard = keyboard;\n\t    this.emit(\"change:keyboard\");\n\t    if (keyboard === true) {\n\t      this.emit(\"keyboard:show:start\");\n\t      return this._animateKeyboard(this._keyboardShowY(), animate, (function(_this) {\n\t        return function() {\n\t          return _this.emit(\"keyboard:show:end\");\n\t        };\n\t      })(this));\n\t    } else {\n\t      this.emit(\"keyboard:hide:start\");\n\t      return this._animateKeyboard(this._keyboardHideY(), animate, (function(_this) {\n\t        return function() {\n\t          return _this.emit(\"keyboard:hide:end\");\n\t        };\n\t      })(this));\n\t    }\n\t  };\n\t\n\t  DeviceComponent.prototype.showKeyboard = function(animate) {\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    return this.setKeyboard(true, animate);\n\t  };\n\t\n\t  DeviceComponent.prototype.hideKeyboard = function(animate) {\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    return this.setKeyboard(false, animate);\n\t  };\n\t\n\t  DeviceComponent.prototype.toggleKeyboard = function(animate) {\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    return this.setKeyboard(!this.keyboard, animate);\n\t  };\n\t\n\t  DeviceComponent.prototype._renderKeyboard = function() {\n\t    if (!this._device.keyboards) {\n\t      return;\n\t    }\n\t    this.keyboardLayer.image = this._deviceImageUrl(this._device.keyboards[this.orientationName].image);\n\t    this.keyboardLayer.width = this._device.keyboards[this.orientationName].width;\n\t    return this.keyboardLayer.height = this._device.keyboards[this.orientationName].height;\n\t  };\n\t\n\t  DeviceComponent.prototype._positionKeyboard = function() {\n\t    this.keyboardLayer.centerX();\n\t    if (this.keyboard) {\n\t      return this._animateKeyboard(this._keyboardShowY(), false);\n\t    } else {\n\t      return this._animateKeyboard(this._keyboardHideY(), false);\n\t    }\n\t  };\n\t\n\t  DeviceComponent.prototype._animateKeyboard = function(y, animate, callback) {\n\t    var animation;\n\t    this.keyboardLayer.bringToFront();\n\t    this.keyboardLayer.animateStop();\n\t    if (animate === false) {\n\t      this.keyboardLayer.y = y;\n\t      return typeof callback === \"function\" ? callback() : void 0;\n\t    } else {\n\t      animation = this.keyboardLayer.animate(_.extend(this.animationOptions, {\n\t        properties: {\n\t          y: y\n\t        }\n\t      }));\n\t      return animation.on(Events.AnimationEnd, callback);\n\t    }\n\t  };\n\t\n\t  DeviceComponent.prototype._keyboardShowY = function() {\n\t    return this.viewport.height - this.keyboardLayer.height;\n\t  };\n\t\n\t  DeviceComponent.prototype._keyboardHideY = function() {\n\t    return this.viewport.height;\n\t  };\n\t\n\t  return DeviceComponent;\n\t\n\t})(BaseClass);\n\t\n\tiPhone6BaseDevice = {\n\t  deviceImageWidth: 870,\n\t  deviceImageHeight: 1738,\n\t  deviceImageJP2: true,\n\t  screenWidth: 750,\n\t  screenHeight: 1334,\n\t  deviceType: \"phone\"\n\t};\n\t\n\tiPhone6BaseDeviceHand = _.extend({}, iPhone6BaseDevice, {\n\t  deviceImageWidth: 1988,\n\t  deviceImageHeight: 2368,\n\t  deviceImageJP2: true,\n\t  paddingOffset: -150\n\t});\n\t\n\tiPhone6PlusBaseDevice = {\n\t  deviceImageWidth: 1460,\n\t  deviceImageHeight: 2900,\n\t  deviceImageJP2: true,\n\t  screenWidth: 1242,\n\t  screenHeight: 2208,\n\t  deviceType: \"phone\"\n\t};\n\t\n\tiPhone6PlusBaseDeviceHand = _.extend({}, iPhone6PlusBaseDevice, {\n\t  deviceImageWidth: 3128,\n\t  deviceImageHeight: 3487,\n\t  deviceImageJP2: true,\n\t  paddingOffset: -150\n\t});\n\t\n\tiPhone5BaseDevice = {\n\t  deviceImageWidth: 780,\n\t  deviceImageHeight: 1608,\n\t  deviceImageJP2: true,\n\t  screenWidth: 640,\n\t  screenHeight: 1136,\n\t  deviceType: \"phone\"\n\t};\n\t\n\tiPhone5BaseDeviceHand = _.extend({}, iPhone5BaseDevice, {\n\t  deviceImageWidth: 1884,\n\t  deviceImageHeight: 2234,\n\t  deviceImageJP2: true,\n\t  paddingOffset: -200\n\t});\n\t\n\tiPhone5CBaseDevice = {\n\t  deviceImageWidth: 776,\n\t  deviceImageHeight: 1612,\n\t  deviceImageJP2: true,\n\t  screenWidth: 640,\n\t  screenHeight: 1136,\n\t  deviceType: \"phone\"\n\t};\n\t\n\tiPhone5CBaseDeviceHand = _.extend({}, iPhone5CBaseDevice, {\n\t  deviceImageWidth: 1894,\n\t  deviceImageHeight: 2244,\n\t  deviceImageJP2: true,\n\t  paddingOffset: -200\n\t});\n\t\n\tiPadMiniBaseDevice = {\n\t  deviceImageWidth: 872,\n\t  deviceImageHeight: 1292,\n\t  deviceImageJP2: true,\n\t  screenWidth: 768,\n\t  screenHeight: 1024,\n\t  deviceType: \"tablet\"\n\t};\n\t\n\tiPadMiniBaseDeviceHand = _.extend({}, iPadMiniBaseDevice, {\n\t  deviceImageWidth: 1380,\n\t  deviceImageHeight: 2072,\n\t  deviceImageJP2: true,\n\t  paddingOffset: -120\n\t});\n\t\n\tiPadAirBaseDevice = {\n\t  deviceImageWidth: 1769,\n\t  deviceImageHeight: 2509,\n\t  deviceImageJP2: true,\n\t  screenWidth: 1536,\n\t  screenHeight: 2048,\n\t  deviceType: \"tablet\"\n\t};\n\t\n\tiPadAirBaseDeviceHand = _.extend({}, iPadAirBaseDevice, {\n\t  deviceImageWidth: 4744,\n\t  deviceImageHeight: 4101,\n\t  deviceImageJP2: true,\n\t  paddingOffset: -120\n\t});\n\t\n\tNexus5BaseDevice = {\n\t  deviceImageWidth: 1208,\n\t  deviceImageHeight: 2440,\n\t  deviceImageJP2: true,\n\t  screenWidth: 1080,\n\t  screenHeight: 1920,\n\t  deviceType: \"phone\"\n\t};\n\t\n\tNexus5BaseDeviceHand = _.extend({}, Nexus5BaseDevice, {\n\t  deviceImageWidth: 2692,\n\t  deviceImageHeight: 2996,\n\t  deviceImageJP2: true,\n\t  paddingOffset: -120\n\t});\n\t\n\tNexus9BaseDevice = {\n\t  deviceImageWidth: 1733,\n\t  deviceImageHeight: 2575,\n\t  deviceImageJP2: true,\n\t  screenWidth: 1536,\n\t  screenHeight: 2048,\n\t  deviceType: \"tablet\"\n\t};\n\t\n\tAppleWatch42Device = {\n\t  deviceImageWidth: 552,\n\t  deviceImageHeight: 938,\n\t  deviceImageJP2: true,\n\t  screenWidth: 312,\n\t  screenHeight: 390\n\t};\n\t\n\tAppleWatch38Device = {\n\t  deviceImageWidth: 508,\n\t  deviceImageHeight: 900,\n\t  deviceImageJP2: true,\n\t  screenWidth: 272,\n\t  screenHeight: 340\n\t};\n\t\n\tDevices = {\n\t  \"fullscreen\": {\n\t    name: \"Fullscreen\",\n\t    deviceType: \"desktop\"\n\t  },\n\t  \"desktop-safari-1024-600\": {\n\t    deviceType: \"browser\",\n\t    name: \"Desktop Safari 1024 x 600\",\n\t    screenWidth: 1024,\n\t    screenHeight: 600,\n\t    deviceImageWidth: 1136,\n\t    deviceImageHeight: 760,\n\t    deviceImageJP2: true\n\t  },\n\t  \"desktop-safari-1280-800\": {\n\t    deviceType: \"browser\",\n\t    name: \"Desktop Safari 1280 x 800\",\n\t    screenWidth: 1280,\n\t    screenHeight: 800,\n\t    deviceImageWidth: 1392,\n\t    deviceImageHeight: 960,\n\t    deviceImageJP2: true\n\t  },\n\t  \"desktop-safari-1440-900\": {\n\t    deviceType: \"browser\",\n\t    name: \"Desktop Safari 1440 x 900\",\n\t    screenWidth: 1440,\n\t    screenHeight: 900,\n\t    deviceImageWidth: 1552,\n\t    deviceImageHeight: 1060,\n\t    deviceImageJP2: true\n\t  },\n\t  \"iphone-6-spacegray\": iPhone6BaseDevice,\n\t  \"iphone-6-spacegray-hand\": iPhone6BaseDeviceHand,\n\t  \"iphone-6-silver\": iPhone6BaseDevice,\n\t  \"iphone-6-silver-hand\": iPhone6BaseDeviceHand,\n\t  \"iphone-6-gold\": iPhone6BaseDevice,\n\t  \"iphone-6-gold-hand\": iPhone6BaseDeviceHand,\n\t  \"iphone-6plus-spacegray\": iPhone6PlusBaseDevice,\n\t  \"iphone-6plus-spacegray-hand\": iPhone6PlusBaseDeviceHand,\n\t  \"iphone-6plus-silver\": iPhone6PlusBaseDevice,\n\t  \"iphone-6plus-silver-hand\": iPhone6PlusBaseDeviceHand,\n\t  \"iphone-6plus-gold\": iPhone6PlusBaseDevice,\n\t  \"iphone-6plus-gold-hand\": iPhone6PlusBaseDeviceHand,\n\t  \"iphone-5s-spacegray\": iPhone5BaseDevice,\n\t  \"iphone-5s-spacegray-hand\": iPhone5BaseDeviceHand,\n\t  \"iphone-5s-silver\": iPhone5BaseDevice,\n\t  \"iphone-5s-silver-hand\": iPhone5BaseDeviceHand,\n\t  \"iphone-5s-gold\": iPhone5BaseDevice,\n\t  \"iphone-5s-gold-hand\": iPhone5BaseDeviceHand,\n\t  \"iphone-5c-green\": iPhone5CBaseDevice,\n\t  \"iphone-5c-green-hand\": iPhone5CBaseDeviceHand,\n\t  \"iphone-5c-blue\": iPhone5CBaseDevice,\n\t  \"iphone-5c-blue-hand\": iPhone5CBaseDeviceHand,\n\t  \"iphone-5c-pink\": iPhone5CBaseDevice,\n\t  \"iphone-5c-pink-hand\": iPhone5CBaseDeviceHand,\n\t  \"iphone-5c-white\": iPhone5CBaseDevice,\n\t  \"iphone-5c-white-hand\": iPhone5CBaseDeviceHand,\n\t  \"iphone-5c-yellow\": iPhone5CBaseDevice,\n\t  \"iphone-5c-yellow-hand\": iPhone5CBaseDeviceHand,\n\t  \"ipad-mini-spacegray\": iPadMiniBaseDevice,\n\t  \"ipad-mini-spacegray-hand\": iPadMiniBaseDeviceHand,\n\t  \"ipad-mini-silver\": iPadMiniBaseDevice,\n\t  \"ipad-mini-silver-hand\": iPadMiniBaseDeviceHand,\n\t  \"ipad-air-spacegray\": iPadAirBaseDevice,\n\t  \"ipad-air-spacegray-hand\": iPadAirBaseDeviceHand,\n\t  \"ipad-air-silver\": iPadAirBaseDevice,\n\t  \"ipad-air-silver-hand\": iPadAirBaseDeviceHand,\n\t  \"nexus-5-black\": Nexus5BaseDevice,\n\t  \"nexus-5-black-hand\": Nexus5BaseDeviceHand,\n\t  \"nexus-9\": Nexus9BaseDevice,\n\t  \"applewatchsport-38-aluminum-sportband-black\": AppleWatch38Device,\n\t  \"applewatchsport-38-aluminum-sportband-blue\": AppleWatch38Device,\n\t  \"applewatchsport-38-aluminum-sportband-green\": AppleWatch38Device,\n\t  \"applewatchsport-38-aluminum-sportband-pink\": AppleWatch38Device,\n\t  \"applewatchsport-38-aluminum-sportband-white\": AppleWatch38Device,\n\t  \"applewatch-38-black-bracelet\": AppleWatch38Device,\n\t  \"applewatch-38-steel-bracelet\": AppleWatch38Device,\n\t  \"applewatchedition-38-gold-buckle-blue\": AppleWatch38Device,\n\t  \"applewatchedition-38-gold-buckle-gray\": AppleWatch38Device,\n\t  \"applewatchedition-38-gold-buckle-red\": AppleWatch38Device,\n\t  \"applewatchedition-38-gold-sportband-black\": AppleWatch38Device,\n\t  \"applewatchedition-38-gold-sportband-white\": AppleWatch38Device,\n\t  \"applewatchsport-42-aluminum-sportband-black\": AppleWatch42Device,\n\t  \"applewatchsport-42-aluminum-sportband-blue\": AppleWatch42Device,\n\t  \"applewatchsport-42-aluminum-sportband-green\": AppleWatch42Device,\n\t  \"applewatchsport-42-aluminum-sportband-pink\": AppleWatch42Device,\n\t  \"applewatchsport-42-aluminum-sportband-white\": AppleWatch42Device,\n\t  \"applewatch-42-black-bracelet\": AppleWatch42Device,\n\t  \"applewatch-42-steel-bracelet\": AppleWatch42Device,\n\t  \"applewatchedition-42-gold-buckle-blue\": AppleWatch42Device,\n\t  \"applewatchedition-42-gold-buckle-gray\": AppleWatch42Device,\n\t  \"applewatchedition-42-gold-buckle-red\": AppleWatch42Device,\n\t  \"applewatchedition-42-gold-sportband-black\": AppleWatch42Device,\n\t  \"applewatchedition-42-gold-sportband-white\": AppleWatch42Device\n\t};\n\t\n\texports.DeviceComponent.Devices = Devices;\n\n\n/***/ },\n/* 16 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar BaseClass, Config, Counter, EventManager, Utils, _,\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty,\n\t  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };\n\t\n\tUtils = __webpack_require__(2);\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\tConfig = __webpack_require__(17).Config;\n\t\n\tEventManager = __webpack_require__(32).EventManager;\n\t\n\tCounter = 1;\n\t\n\texports.Context = (function(superClass) {\n\t  extend(Context, superClass);\n\t\n\t  function Context(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    Context.__super__.constructor.apply(this, arguments);\n\t    Counter++;\n\t    options = _.defaults(options, {\n\t      contextName: null,\n\t      parentLayer: null,\n\t      name: null\n\t    });\n\t    if (!options.name) {\n\t      throw Error(\"Contexts need a name\");\n\t    }\n\t    this._parentLayer = options.parentLayer;\n\t    this._name = options.name;\n\t    this.reset();\n\t  }\n\t\n\t  Context.prototype.reset = function() {\n\t    var animation, i, len, ref, ref1, ref2, ref3;\n\t    if ((ref = this.eventManager) != null) {\n\t      ref.reset();\n\t    }\n\t    this.eventManager = new EventManager;\n\t    if (this._rootElement) {\n\t      if (this._rootElement.parentNode) {\n\t        this._rootElement.parentNode.removeChild(this._rootElement);\n\t      } else {\n\t        this._rootElement.__cancelAppendChild = true;\n\t      }\n\t    }\n\t    this._rootElement = this._createRootElement();\n\t    if ((ref1 = this._delayTimers) != null) {\n\t      ref1.map(function(timer) {\n\t        return window.clearTimeout(timer);\n\t      });\n\t    }\n\t    if ((ref2 = this._delayIntervals) != null) {\n\t      ref2.map(function(timer) {\n\t        return window.clearInterval(timer);\n\t      });\n\t    }\n\t    if (this._animationList) {\n\t      ref3 = this._animationList;\n\t      for (i = 0, len = ref3.length; i < len; i++) {\n\t        animation = ref3[i];\n\t        animation.stop(false);\n\t      }\n\t    }\n\t    this._layerList = [];\n\t    this._animationList = [];\n\t    this._delayTimers = [];\n\t    this._delayIntervals = [];\n\t    this._layerIdCounter = 1;\n\t    return this.emit(\"reset\", this);\n\t  };\n\t\n\t  Context.prototype.destroy = function() {\n\t    this.reset();\n\t    if (this._rootElement.parentNode) {\n\t      this._rootElement.parentNode.removeChild(this._rootElement);\n\t    }\n\t    return this._rootElement.__cancelAppendChild = true;\n\t  };\n\t\n\t  Context.prototype.getRootElement = function() {\n\t    return this._rootElement;\n\t  };\n\t\n\t  Context.prototype.getLayers = function() {\n\t    return _.clone(this._layerList);\n\t  };\n\t\n\t  Context.prototype.addLayer = function(layer) {\n\t    if (indexOf.call(this._layerList, layer) >= 0) {\n\t      return;\n\t    }\n\t    this._layerList.push(layer);\n\t    return null;\n\t  };\n\t\n\t  Context.prototype.removeLayer = function(layer) {\n\t    this._layerList = _.without(this._layerList, layer);\n\t    return null;\n\t  };\n\t\n\t  Context.prototype.layerCount = function() {\n\t    return this._layerList.length;\n\t  };\n\t\n\t  Context.prototype.nextLayerId = function() {\n\t    return this._layerIdCounter++;\n\t  };\n\t\n\t  Context.prototype._createRootElement = function() {\n\t    var element, parentElement, ref;\n\t    element = document.createElement(\"div\");\n\t    element.id = \"FramerContextRoot-\" + this._name;\n\t    element.classList.add(\"framerContext\");\n\t    parentElement = (ref = this._parentLayer) != null ? ref._element : void 0;\n\t    Framer.Loop.once(\"render\", function() {\n\t      if (parentElement == null) {\n\t        parentElement = document.body;\n\t      }\n\t      if (!element.__cancelAppendChild) {\n\t        return parentElement.appendChild(element);\n\t      }\n\t    });\n\t    return element;\n\t  };\n\t\n\t  Context.prototype.run = function(f) {\n\t    var previousContext;\n\t    previousContext = Framer.CurrentContext;\n\t    Framer.CurrentContext = this;\n\t    f();\n\t    return Framer.CurrentContext = previousContext;\n\t  };\n\t\n\t  Context.define(\"width\", {\n\t    get: function() {\n\t      if (this._parentLayer) {\n\t        return this._parentLayer.width;\n\t      }\n\t      return window.innerWidth;\n\t    }\n\t  });\n\t\n\t  Context.define(\"height\", {\n\t    get: function() {\n\t      if (this._parentLayer) {\n\t        return this._parentLayer.height;\n\t      }\n\t      return window.innerHeight;\n\t    }\n\t  });\n\t\n\t  return Context;\n\t\n\t})(BaseClass);\n\n\n/***/ },\n/* 17 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar FramerCSS, Utils;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tFramerCSS = \"body {\\n\tmargin: 0;\\n}\\n\\n.framerContext {\t\\n\tposition: absolute;\\n\tleft: 0;\\n\ttop: 0;\\n\tright: 0;\\n\tbottom: 0;\\n\tpointer-events: none;\\n\toverflow: hidden;\\n}\\n\\n.framerLayer {\\n\tdisplay: block;\\n\tposition: absolute;\\n\tbackground-repeat: no-repeat;\\n\tbackground-size: cover;\\n\t-webkit-overflow-scrolling: touch;\\n\t-webkit-box-sizing: border-box;\\n\t-webkit-user-select: none;\\n}\\n\\n.framerLayer input,\\n.framerLayer textarea,\\n.framerLayer select,\\n.framerLayer option,\\n.framerLayer div[contenteditable=true]\\n{\\n\tpointer-events: auto;\\n\t-webkit-user-select: auto;\\n}\\n\\n.framerDebug {\\n\tpadding: 6px;\\n\tcolor: #fff;\\n\tfont: 10px/1em Monaco;\\n}\\n\";\n\t\n\tUtils.domComplete(function() {\n\t  return Utils.insertCSS(FramerCSS);\n\t});\n\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar EventEmitter;\n\t\n\tEventEmitter = __webpack_require__(40).EventEmitter;\n\t\n\texports.EventEmitter = EventEmitter;\n\n\n/***/ },\n/* 19 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar CounterKey, DefinedPropertiesKey, DefinedPropertiesValuesKey, EventEmitter, Utils, _, capitalizeFirstLetter,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tEventEmitter = __webpack_require__(18).EventEmitter;\n\t\n\tCounterKey = \"_ObjectCounter\";\n\t\n\tDefinedPropertiesKey = \"_DefinedPropertiesKey\";\n\t\n\tDefinedPropertiesValuesKey = \"_DefinedPropertiesValuesKey\";\n\t\n\tcapitalizeFirstLetter = function(string) {\n\t  return string.charAt(0).toUpperCase() + string.slice(1);\n\t};\n\t\n\texports.BaseClass = (function(superClass) {\n\t  extend(BaseClass, superClass);\n\t\n\t  BaseClass.define = function(propertyName, descriptor) {\n\t    var getName, i, j, len, ref, setName;\n\t    ref = [\"enumerable\", \"exportable\", \"importable\"];\n\t    for (j = 0, len = ref.length; j < len; j++) {\n\t      i = ref[j];\n\t      if (descriptor.hasOwnProperty(i)) {\n\t        if (!_.isBoolean(descriptor[i])) {\n\t          throw Error(\"woops \" + propertyName + \" \" + descriptor[i]);\n\t        }\n\t      }\n\t    }\n\t    if (this !== BaseClass) {\n\t      descriptor.propertyName = propertyName;\n\t      if (descriptor.enumerable == null) {\n\t        descriptor.enumerable = true;\n\t      }\n\t      if (descriptor.exportable == null) {\n\t        descriptor.exportable = true;\n\t      }\n\t      if (descriptor.importable == null) {\n\t        descriptor.importable = true;\n\t      }\n\t      descriptor.importable = descriptor.importable && descriptor.set;\n\t      if (descriptor.exportable || descriptor.importable) {\n\t        if (this[DefinedPropertiesKey] == null) {\n\t          this[DefinedPropertiesKey] = {};\n\t        }\n\t        this[DefinedPropertiesKey][propertyName] = descriptor;\n\t      }\n\t    }\n\t    getName = \"get\" + (capitalizeFirstLetter(propertyName));\n\t    this.prototype[getName] = descriptor.get;\n\t    descriptor.get = this.prototype[getName];\n\t    if (descriptor.set) {\n\t      setName = \"set\" + (capitalizeFirstLetter(propertyName));\n\t      this.prototype[setName] = descriptor.set;\n\t      descriptor.set = this.prototype[setName];\n\t    }\n\t    return Object.defineProperty(this.prototype, propertyName, descriptor);\n\t  };\n\t\n\t  BaseClass.simpleProperty = function(name, fallback, options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    return _.extend(options, {\n\t      \"default\": fallback,\n\t      get: function() {\n\t        return this._getPropertyValue(name);\n\t      },\n\t      set: function(value) {\n\t        return this._setPropertyValue(name, value);\n\t      }\n\t    });\n\t  };\n\t\n\t  BaseClass.proxyProperty = function(keyPath, options) {\n\t    var objectKey;\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    objectKey = keyPath.split(\".\")[0];\n\t    return _.extend(options, {\n\t      get: function() {\n\t        if (!_.isObject(this[objectKey])) {\n\t          return;\n\t        }\n\t        return Utils.getValueForKeyPath(this, keyPath);\n\t      },\n\t      set: function(value) {\n\t        if (!_.isObject(this[objectKey])) {\n\t          return;\n\t        }\n\t        return Utils.setValueForKeyPath(this, keyPath, value);\n\t      }\n\t    });\n\t  };\n\t\n\t  BaseClass.prototype._setPropertyValue = function(k, v) {\n\t    return this[DefinedPropertiesValuesKey][k] = v;\n\t  };\n\t\n\t  BaseClass.prototype._getPropertyValue = function(k) {\n\t    return Utils.valueOrDefault(this[DefinedPropertiesValuesKey][k], this._getPropertyDefaultValue(k));\n\t  };\n\t\n\t  BaseClass.prototype._getPropertyDefaultValue = function(k) {\n\t    return this._propertyList()[k][\"default\"];\n\t  };\n\t\n\t  BaseClass.prototype._propertyList = function() {\n\t    return this.constructor[DefinedPropertiesKey];\n\t  };\n\t\n\t  BaseClass.prototype.keys = function() {\n\t    return _.keys(this.props);\n\t  };\n\t\n\t  BaseClass.define(\"props\", {\n\t    importable: false,\n\t    exportable: false,\n\t    get: function() {\n\t      var descriptor, key, keys, propertyList;\n\t      keys = [];\n\t      propertyList = this._propertyList();\n\t      for (key in propertyList) {\n\t        descriptor = propertyList[key];\n\t        if (descriptor.exportable) {\n\t          keys.push(key);\n\t        }\n\t      }\n\t      return _.pick(this, keys);\n\t    },\n\t    set: function(value) {\n\t      var k, propertyList, ref, results, v;\n\t      propertyList = this._propertyList();\n\t      results = [];\n\t      for (k in value) {\n\t        v = value[k];\n\t        if ((ref = propertyList[k]) != null ? ref.importable : void 0) {\n\t          results.push(this[k] = v);\n\t        } else {\n\t          results.push(void 0);\n\t        }\n\t      }\n\t      return results;\n\t    }\n\t  });\n\t\n\t  BaseClass.define(\"id\", {\n\t    get: function() {\n\t      return this._id;\n\t    }\n\t  });\n\t\n\t  BaseClass.prototype.toInspect = function() {\n\t    return \"<\" + this.constructor.name + \" id:\" + (this.id || null) + \">\";\n\t  };\n\t\n\t  function BaseClass(options) {\n\t    this.toInspect = bind(this.toInspect, this);\n\t    this._getPropertyValue = bind(this._getPropertyValue, this);\n\t    this._setPropertyValue = bind(this._setPropertyValue, this);\n\t    var base;\n\t    BaseClass.__super__.constructor.apply(this, arguments);\n\t    this._context = typeof Framer !== \"undefined\" && Framer !== null ? Framer.CurrentContext : void 0;\n\t    this[DefinedPropertiesValuesKey] = {};\n\t    if ((base = this.constructor)[CounterKey] == null) {\n\t      base[CounterKey] = 0;\n\t    }\n\t    this.constructor[CounterKey] += 1;\n\t    this._id = this.constructor[CounterKey];\n\t    this._applyOptionsAndDefaults(options);\n\t  }\n\t\n\t  BaseClass.prototype._applyOptionsAndDefaults = function(options) {\n\t    var descriptor, key, ref, results, value;\n\t    ref = this._propertyList();\n\t    results = [];\n\t    for (key in ref) {\n\t      descriptor = ref[key];\n\t      if (descriptor.set) {\n\t        value = Utils.valueOrDefault((descriptor.importable ? options != null ? options[key] : void 0 : void 0), this._getPropertyDefaultValue(key));\n\t        if (!(value === null || value === (void 0))) {\n\t          results.push(this[key] = value);\n\t        } else {\n\t          results.push(void 0);\n\t        }\n\t      } else {\n\t        results.push(void 0);\n\t      }\n\t    }\n\t    return results;\n\t  };\n\t\n\t  return BaseClass;\n\t\n\t})(EventEmitter);\n\n\n/***/ },\n/* 20 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar _Force2DProperties, _WebkitProperties, filterFormat;\n\t\n\tfilterFormat = function(value, unit) {\n\t  return \"\" + (Utils.round(value, 2)) + unit;\n\t};\n\t\n\t_WebkitProperties = [[\"blur\", \"blur\", 0, \"px\"], [\"brightness\", \"brightness\", 100, \"%\"], [\"saturate\", \"saturate\", 100, \"%\"], [\"hue-rotate\", \"hueRotate\", 0, \"deg\"], [\"contrast\", \"contrast\", 100, \"%\"], [\"invert\", \"invert\", 0, \"%\"], [\"grayscale\", \"grayscale\", 0, \"%\"], [\"sepia\", \"sepia\", 0, \"%\"]];\n\t\n\t_Force2DProperties = {\n\t  \"z\": 0,\n\t  \"scaleX\": 1,\n\t  \"scaleY\": 1,\n\t  \"scaleZ\": 1,\n\t  \"skewX\": 0,\n\t  \"skewY\": 0,\n\t  \"rotationX\": 0,\n\t  \"rotationY\": 0\n\t};\n\t\n\texports.LayerStyle = {\n\t  width: function(layer) {\n\t    return layer._properties.width + \"px\";\n\t  },\n\t  height: function(layer) {\n\t    return layer._properties.height + \"px\";\n\t  },\n\t  display: function(layer) {\n\t    if (layer._properties.visible === true) {\n\t      return \"block\";\n\t    }\n\t    return \"none\";\n\t  },\n\t  opacity: function(layer) {\n\t    return layer._properties.opacity;\n\t  },\n\t  overflow: function(layer) {\n\t    if (layer._properties.scrollHorizontal === true || layer._properties.scrollVertical === true) {\n\t      return \"auto\";\n\t    }\n\t    if (layer._properties.clip === true) {\n\t      return \"hidden\";\n\t    }\n\t    return \"visible\";\n\t  },\n\t  overflowX: function(layer) {\n\t    if (layer._properties.scrollHorizontal === true) {\n\t      return \"scroll\";\n\t    }\n\t    if (layer._properties.clip === true) {\n\t      return \"hidden\";\n\t    }\n\t    return \"visible\";\n\t  },\n\t  overflowY: function(layer) {\n\t    if (layer._properties.scrollVertical === true) {\n\t      return \"scroll\";\n\t    }\n\t    if (layer._properties.clip === true) {\n\t      return \"hidden\";\n\t    }\n\t    return \"visible\";\n\t  },\n\t  zIndex: function(layer) {\n\t    return layer._properties.index;\n\t  },\n\t  webkitFilter: function(layer) {\n\t    var css, cssName, fallback, i, layerName, len, ref, unit;\n\t    css = [];\n\t    for (i = 0, len = _WebkitProperties.length; i < len; i++) {\n\t      ref = _WebkitProperties[i], cssName = ref[0], layerName = ref[1], fallback = ref[2], unit = ref[3];\n\t      if (layer._properties.hasOwnProperty(layerName) && layer[layerName] !== fallback) {\n\t        css.push(cssName + \"(\" + (filterFormat(layer[layerName], unit)) + \")\");\n\t      }\n\t    }\n\t    return css.join(\" \");\n\t  },\n\t  webkitTransform: function(layer) {\n\t    if (layer._prefer2d || layer._properties.force2d) {\n\t      return exports.LayerStyle.webkitTransformForce2d(layer);\n\t    }\n\t    return \"translate3d(\" + layer._properties.x + \"px,\" + layer._properties.y + \"px,\" + layer._properties.z + \"px) scale(\" + layer._properties.scale + \") scale3d(\" + layer._properties.scaleX + \",\" + layer._properties.scaleY + \",\" + layer._properties.scaleZ + \") skew(\" + layer._properties.skew + \"deg,\" + layer._properties.skew + \"deg) skewX(\" + layer._properties.skewX + \"deg) skewY(\" + layer._properties.skewY + \"deg) rotateX(\" + layer._properties.rotationX + \"deg) rotateY(\" + layer._properties.rotationY + \"deg) rotateZ(\" + layer._properties.rotationZ + \"deg)\";\n\t  },\n\t  webkitTransformForce2d: function(layer) {\n\t    var css, p, v;\n\t    css = [];\n\t    for (p in _Force2DProperties) {\n\t      v = _Force2DProperties[p];\n\t      if (layer._properties[p] !== v) {\n\t        console.warn(\"Layer property '\" + p + \"'' will be ignored with force2d enabled\");\n\t      }\n\t    }\n\t    css.push(\"translate(\" + layer._properties.x + \"px,\" + layer._properties.y + \"px)\");\n\t    css.push(\"scale(\" + layer._properties.scale + \")\");\n\t    css.push(\"skew(\" + layer._properties.skew + \"deg,\" + layer._properties.skew + \"deg)\");\n\t    css.push(\"rotate(\" + layer._properties.rotationZ + \"deg)\");\n\t    return css.join(\" \");\n\t  },\n\t  webkitTransformOrigin: function(layer) {\n\t    return (layer._properties.originX * 100) + \"% \" + (layer._properties.originY * 100) + \"%\";\n\t  },\n\t  webkitPerspective: function(layer) {\n\t    return \"\" + layer._properties.perspective;\n\t  },\n\t  pointerEvents: function(layer) {\n\t    if (layer._properties.ignoreEvents) {\n\t      return \"none\";\n\t    } else {\n\t      return \"auto\";\n\t    }\n\t  },\n\t  boxShadow: function(layer) {\n\t    if (!layer._properties.shadowColor) {\n\t      return \"\";\n\t    }\n\t    return layer._properties.shadowX + \"px \" + layer._properties.shadowY + \"px \" + layer._properties.shadowBlur + \"px \" + layer._properties.shadowSpread + \"px \" + layer._properties.shadowColor;\n\t  },\n\t  backgroundColor: function(layer) {\n\t    return layer._properties.backgroundColor;\n\t  },\n\t  color: function(layer) {\n\t    return layer._properties.color;\n\t  },\n\t  borderRadius: function(layer) {\n\t    if (!_.isNumber(layer._properties.borderRadius)) {\n\t      return layer._properties.borderRadius;\n\t    }\n\t    return layer._properties.borderRadius + \"px\";\n\t  },\n\t  border: function(layer) {\n\t    return layer._properties.borderWidth + \"px solid \" + layer._properties.borderColor;\n\t  }\n\t};\n\n\n/***/ },\n/* 21 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Config, EventEmitter, Utils, _, getTime,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tConfig = __webpack_require__(17).Config;\n\t\n\tEventEmitter = __webpack_require__(18).EventEmitter;\n\t\n\tgetTime = function() {\n\t  return Utils.getTime() * 1000;\n\t};\n\t\n\texports.AnimationLoop = (function(superClass) {\n\t  extend(AnimationLoop, superClass);\n\t\n\t  function AnimationLoop() {\n\t    this.start = bind(this.start, this);\n\t    this.delta = 1 / 60;\n\t    this.raf = true;\n\t    if (Utils.webkitVersion() > 600 && Utils.isDesktop()) {\n\t      this.raf = false;\n\t    }\n\t    if (Utils.webkitVersion() > 600 && Utils.isFramerStudio()) {\n\t      this.raf = false;\n\t    }\n\t  }\n\t\n\t  AnimationLoop.prototype.start = function() {\n\t    var _timestamp, animationLoop, tick, update;\n\t    animationLoop = this;\n\t    _timestamp = getTime();\n\t    update = function() {\n\t      var delta, timestamp;\n\t      if (animationLoop.delta) {\n\t        delta = animationLoop.delta;\n\t      } else {\n\t        timestamp = getTime();\n\t        delta = (timestamp - _timestamp) / 1000;\n\t        _timestamp = timestamp;\n\t      }\n\t      animationLoop.emit(\"update\", delta);\n\t      return animationLoop.emit(\"render\", delta);\n\t    };\n\t    tick = function(timestamp) {\n\t      if (animationLoop.raf) {\n\t        update();\n\t        return window.requestAnimationFrame(tick);\n\t      } else {\n\t        return window.setTimeout(function() {\n\t          update();\n\t          return window.requestAnimationFrame(tick);\n\t        }, 0);\n\t      }\n\t    };\n\t    return tick();\n\t  };\n\t\n\t  return AnimationLoop;\n\t\n\t})(EventEmitter);\n\n\n/***/ },\n/* 22 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Animator, Utils,\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tAnimator = __webpack_require__(33).Animator;\n\t\n\texports.LinearAnimator = (function(superClass) {\n\t  extend(LinearAnimator, superClass);\n\t\n\t  function LinearAnimator() {\n\t    return LinearAnimator.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  LinearAnimator.prototype.setup = function(options) {\n\t    this.options = _.defaults(options, {\n\t      time: 1,\n\t      precision: 1 / 1000\n\t    });\n\t    return this._time = 0;\n\t  };\n\t\n\t  LinearAnimator.prototype.next = function(delta) {\n\t    this._time += delta;\n\t    if (this.finished()) {\n\t      return 1;\n\t    }\n\t    return this._time / this.options.time;\n\t  };\n\t\n\t  LinearAnimator.prototype.finished = function() {\n\t    return this._time >= this.options.time - this.options.precision;\n\t  };\n\t\n\t  return LinearAnimator;\n\t\n\t})(Animator);\n\n\n/***/ },\n/* 23 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Animator, BezierCurveDefaults, UnitBezier, Utils, _,\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tAnimator = __webpack_require__(33).Animator;\n\t\n\tBezierCurveDefaults = {\n\t  \"linear\": [0, 0, 1, 1],\n\t  \"ease\": [.25, .1, .25, 1],\n\t  \"ease-in\": [.42, 0, 1, 1],\n\t  \"ease-out\": [0, 0, .58, 1],\n\t  \"ease-in-out\": [.42, 0, .58, 1]\n\t};\n\t\n\texports.BezierCurveAnimator = (function(superClass) {\n\t  extend(BezierCurveAnimator, superClass);\n\t\n\t  function BezierCurveAnimator() {\n\t    return BezierCurveAnimator.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  BezierCurveAnimator.prototype.setup = function(options) {\n\t    if (_.isString(options) && BezierCurveDefaults.hasOwnProperty(options.toLowerCase())) {\n\t      options = {\n\t        values: BezierCurveDefaults[options.toLowerCase()]\n\t      };\n\t    }\n\t    if (options.values && _.isString(options.values) && BezierCurveDefaults.hasOwnProperty(options.values.toLowerCase())) {\n\t      options = {\n\t        values: BezierCurveDefaults[options.values.toLowerCase()],\n\t        time: options.time\n\t      };\n\t    }\n\t    if (_.isArray(options) && options.length === 4) {\n\t      options = {\n\t        values: options\n\t      };\n\t    }\n\t    this.options = _.defaults(options, {\n\t      values: BezierCurveDefaults[\"ease-in-out\"],\n\t      time: 1,\n\t      precision: 1 / 1000\n\t    });\n\t    return this._unitBezier = new UnitBezier(this.options.values[0], this.options.values[1], this.options.values[2], this.options.values[3], this._time = 0);\n\t  };\n\t\n\t  BezierCurveAnimator.prototype.next = function(delta) {\n\t    this._time += delta;\n\t    if (this.finished()) {\n\t      return 1;\n\t    }\n\t    return this._unitBezier.solve(this._time / this.options.time);\n\t  };\n\t\n\t  BezierCurveAnimator.prototype.finished = function() {\n\t    return this._time >= this.options.time - this.options.precision;\n\t  };\n\t\n\t  return BezierCurveAnimator;\n\t\n\t})(Animator);\n\t\n\tUnitBezier = (function() {\n\t  UnitBezier.prototype.epsilon = 1e-6;\n\t\n\t  function UnitBezier(p1x, p1y, p2x, p2y) {\n\t    this.cx = 3.0 * p1x;\n\t    this.bx = 3.0 * (p2x - p1x) - this.cx;\n\t    this.ax = 1.0 - this.cx - this.bx;\n\t    this.cy = 3.0 * p1y;\n\t    this.by = 3.0 * (p2y - p1y) - this.cy;\n\t    this.ay = 1.0 - this.cy - this.by;\n\t  }\n\t\n\t  UnitBezier.prototype.sampleCurveX = function(t) {\n\t    return ((this.ax * t + this.bx) * t + this.cx) * t;\n\t  };\n\t\n\t  UnitBezier.prototype.sampleCurveY = function(t) {\n\t    return ((this.ay * t + this.by) * t + this.cy) * t;\n\t  };\n\t\n\t  UnitBezier.prototype.sampleCurveDerivativeX = function(t) {\n\t    return (3.0 * this.ax * t + 2.0 * this.bx) * t + this.cx;\n\t  };\n\t\n\t  UnitBezier.prototype.solveCurveX = function(x) {\n\t    var d2, i, t0, t1, t2, x2;\n\t    t2 = x;\n\t    i = 0;\n\t    while (i < 8) {\n\t      x2 = this.sampleCurveX(t2) - x;\n\t      if (Math.abs(x2) < this.epsilon) {\n\t        return t2;\n\t      }\n\t      d2 = this.sampleCurveDerivativeX(t2);\n\t      if (Math.abs(d2) < this.epsilon) {\n\t        break;\n\t      }\n\t      t2 = t2 - x2 / d2;\n\t      i++;\n\t    }\n\t    t0 = 0.0;\n\t    t1 = 1.0;\n\t    t2 = x;\n\t    if (t2 < t0) {\n\t      return t0;\n\t    }\n\t    if (t2 > t1) {\n\t      return t1;\n\t    }\n\t    while (t0 < t1) {\n\t      x2 = this.sampleCurveX(t2);\n\t      if (Math.abs(x2 - x) < this.epsilon) {\n\t        return t2;\n\t      }\n\t      if (x > x2) {\n\t        t0 = t2;\n\t      } else {\n\t        t1 = t2;\n\t      }\n\t      t2 = (t1 - t0) * .5 + t0;\n\t    }\n\t    return t2;\n\t  };\n\t\n\t  UnitBezier.prototype.solve = function(x) {\n\t    return this.sampleCurveY(this.solveCurveX(x));\n\t  };\n\t\n\t  return UnitBezier;\n\t\n\t})();\n\n\n/***/ },\n/* 24 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Animator, Utils,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tAnimator = __webpack_require__(33).Animator;\n\t\n\texports.SpringDHOAnimator = (function(superClass) {\n\t  extend(SpringDHOAnimator, superClass);\n\t\n\t  function SpringDHOAnimator() {\n\t    this.finished = bind(this.finished, this);\n\t    return SpringDHOAnimator.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  SpringDHOAnimator.prototype.setup = function(options) {\n\t    this.options = _.defaults(options, {\n\t      velocity: 0,\n\t      tolerance: 1 / 10000,\n\t      stiffness: 50,\n\t      damping: 2,\n\t      mass: 0.2,\n\t      time: null\n\t    });\n\t    console.log(\"SpringDHOAnimator.options\", this.options, options);\n\t    this._time = 0;\n\t    this._value = 0;\n\t    return this._velocity = this.options.velocity;\n\t  };\n\t\n\t  SpringDHOAnimator.prototype.next = function(delta) {\n\t    var F_damper, F_spring, b, k;\n\t    if (this.finished()) {\n\t      return 1;\n\t    }\n\t    this._time += delta;\n\t    k = 0 - this.options.stiffness;\n\t    b = 0 - this.options.damping;\n\t    F_spring = k * (this._value - 1);\n\t    F_damper = b * this._velocity;\n\t    this._velocity += ((F_spring + F_damper) / this.options.mass) * delta;\n\t    this._value += this._velocity * delta;\n\t    return this._value;\n\t  };\n\t\n\t  SpringDHOAnimator.prototype.finished = function() {\n\t    return this._time > 0 && Math.abs(this._velocity) < this.options.tolerance;\n\t  };\n\t\n\t  return SpringDHOAnimator;\n\t\n\t})(Animator);\n\n\n/***/ },\n/* 25 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Animator, Integrator, Utils,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tAnimator = __webpack_require__(33).Animator;\n\t\n\tIntegrator = __webpack_require__(34).Integrator;\n\t\n\texports.SpringRK4Animator = (function(superClass) {\n\t  extend(SpringRK4Animator, superClass);\n\t\n\t  function SpringRK4Animator() {\n\t    this.finished = bind(this.finished, this);\n\t    return SpringRK4Animator.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  SpringRK4Animator.prototype.setup = function(options) {\n\t    this.options = _.defaults(options, {\n\t      tension: 500,\n\t      friction: 10,\n\t      velocity: 0,\n\t      tolerance: 1 / 10000,\n\t      time: null\n\t    });\n\t    this._time = 0;\n\t    this._value = 0;\n\t    this._velocity = this.options.velocity;\n\t    this._stopSpring = false;\n\t    return this._integrator = new Integrator((function(_this) {\n\t      return function(state) {\n\t        return -_this.options.tension * state.x - _this.options.friction * state.v;\n\t      };\n\t    })(this));\n\t  };\n\t\n\t  SpringRK4Animator.prototype.next = function(delta) {\n\t    var finalVelocity, net1DVelocity, netFloat, netValueIsLow, netVelocityIsLow, stateAfter, stateBefore;\n\t    if (this.finished()) {\n\t      return 1;\n\t    }\n\t    this._time += delta;\n\t    stateBefore = {};\n\t    stateAfter = {};\n\t    stateBefore.x = this._value - 1;\n\t    stateBefore.v = this._velocity;\n\t    stateAfter = this._integrator.integrateState(stateBefore, delta);\n\t    this._value = 1 + stateAfter.x;\n\t    finalVelocity = stateAfter.v;\n\t    netFloat = stateAfter.x;\n\t    net1DVelocity = stateAfter.v;\n\t    netValueIsLow = Math.abs(netFloat) < this.options.tolerance;\n\t    netVelocityIsLow = Math.abs(net1DVelocity) < this.options.tolerance;\n\t    this._stopSpring = netValueIsLow && netVelocityIsLow;\n\t    this._velocity = finalVelocity;\n\t    return this._value;\n\t  };\n\t\n\t  SpringRK4Animator.prototype.finished = function() {\n\t    return this._stopSpring;\n\t  };\n\t\n\t  return SpringRK4Animator;\n\t\n\t})(Animator);\n\n\n/***/ },\n/* 26 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar BaseClass, Defaults, EventBuffer, Events, Simulation, Utils, _,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\tEvents = __webpack_require__(6).Events;\n\t\n\tSimulation = __webpack_require__(35).Simulation;\n\t\n\tDefaults = __webpack_require__(30).Defaults;\n\t\n\tEventBuffer = __webpack_require__(36).EventBuffer;\n\t\n\tEvents.Move = \"move\";\n\t\n\tEvents.DragStart = \"dragstart\";\n\t\n\tEvents.DragWillMove = \"dragwillmove\";\n\t\n\tEvents.DragMove = \"dragmove\";\n\t\n\tEvents.DragDidMove = \"dragmove\";\n\t\n\tEvents.Drag = \"dragmove\";\n\t\n\tEvents.DragEnd = \"dragend\";\n\t\n\tEvents.DragAnimationDidStart = \"draganimationdidstart\";\n\t\n\tEvents.DragAnimationDidEnd = \"draganimationdidend\";\n\t\n\tEvents.DirectionLockDidStart = \"directionlockdidstart\";\n\t\n\t\"         \\n┌──────┐                   │         \\n│      │                             \\n│      │  ───────────────▶ │ ◀────▶  \\n│      │                             \\n└──────┘                   │         \\n                                     \\n════════  ═════════════════ ═══════  \\n                                     \\n  Drag         Momentum      Bounce  \\n                                         \";\n\t\n\texports.LayerDraggable = (function(superClass) {\n\t  extend(LayerDraggable, superClass);\n\t\n\t  LayerDraggable.define(\"speedX\", LayerDraggable.simpleProperty(\"speedX\", 1));\n\t\n\t  LayerDraggable.define(\"speedY\", LayerDraggable.simpleProperty(\"speedY\", 1));\n\t\n\t  LayerDraggable.define(\"horizontal\", LayerDraggable.simpleProperty(\"horizontal\", true));\n\t\n\t  LayerDraggable.define(\"vertical\", LayerDraggable.simpleProperty(\"vertical\", true));\n\t\n\t  LayerDraggable.define(\"momentumVelocityMultiplier\", LayerDraggable.simpleProperty(\"momentumVelocityMultiplier\", 800));\n\t\n\t  LayerDraggable.define(\"directionLock\", LayerDraggable.simpleProperty(\"directionLock\", true));\n\t\n\t  LayerDraggable.define(\"directionLockThreshold\", LayerDraggable.simpleProperty(\"directionLockThreshold\", {\n\t    x: 10,\n\t    y: 10\n\t  }));\n\t\n\t  LayerDraggable.define(\"propagateEvents\", LayerDraggable.simpleProperty(\"propagateEvents\", true));\n\t\n\t  LayerDraggable.define(\"constraints\", {\n\t    get: function() {\n\t      return this._constraints;\n\t    },\n\t    set: function(value) {\n\t      if (value && _.isObject(value)) {\n\t        this._constraints = _.defaults(value, {\n\t          x: 0,\n\t          y: 0,\n\t          width: 0,\n\t          height: 0\n\t        });\n\t      } else {\n\t        this._constraints = {\n\t          x: 0,\n\t          y: 0,\n\t          width: 0,\n\t          height: 0\n\t        };\n\t      }\n\t      if (this._constraints) {\n\t        return this._updateSimulationConstraints(this._constraints);\n\t      }\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"isDragging\", {\n\t    get: function() {\n\t      return this._isDragging || false;\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"isAnimating\", {\n\t    get: function() {\n\t      return this._isAnimating || false;\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"isMoving\", {\n\t    get: function() {\n\t      return this._isMoving || false;\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"layerStartPoint\", {\n\t    get: function() {\n\t      return this._layerStartPoint || this.layer.point;\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"cursorStartPoint\", {\n\t    get: function() {\n\t      return this._cursorStartPoint || {\n\t        x: 0,\n\t        y: 0\n\t      };\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"layerCursorOffset\", {\n\t    get: function() {\n\t      return this._layerCursorOffset || {\n\t        x: 0,\n\t        y: 0\n\t      };\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"offset\", {\n\t    get: function() {\n\t      var offset;\n\t      if (!this._correctedLayerStartPoint) {\n\t        return {\n\t          x: 0,\n\t          y: 0\n\t        };\n\t      }\n\t      return offset = {\n\t        x: this.layer.x - this._correctedLayerStartPoint.x,\n\t        y: this.layer.y - this._correctedLayerStartPoint.y\n\t      };\n\t    }\n\t  });\n\t\n\t  function LayerDraggable(layer) {\n\t    var options;\n\t    this.layer = layer;\n\t    this._stopSimulation = bind(this._stopSimulation, this);\n\t    this._onSimulationStop = bind(this._onSimulationStop, this);\n\t    this._onSimulationStep = bind(this._onSimulationStep, this);\n\t    this._touchEnd = bind(this._touchEnd, this);\n\t    this._touchMove = bind(this._touchMove, this);\n\t    this._touchStart = bind(this._touchStart, this);\n\t    this.touchStart = bind(this.touchStart, this);\n\t    options = Defaults.getDefaults(\"LayerDraggable\", {});\n\t    LayerDraggable.__super__.constructor.call(this, options);\n\t    _.extend(this, options);\n\t    this.enabled = true;\n\t    this._eventBuffer = new EventBuffer;\n\t    this._constraints = null;\n\t    this.attach();\n\t  }\n\t\n\t  LayerDraggable.prototype.attach = function() {\n\t    return this.layer.on(Events.TouchStart, this._touchStart);\n\t  };\n\t\n\t  LayerDraggable.prototype.remove = function() {\n\t    return this.layer.off(Events.TouchStart, this._touchStart);\n\t  };\n\t\n\t  LayerDraggable.prototype.updatePosition = function(point) {\n\t    return point;\n\t  };\n\t\n\t  LayerDraggable.prototype.touchStart = function(event) {\n\t    return this._touchStart(event);\n\t  };\n\t\n\t  LayerDraggable.prototype._touchStart = function(event) {\n\t    var touchEvent;\n\t    this._isMoving = this.isAnimating;\n\t    this.layer.animateStop();\n\t    this._stopSimulation();\n\t    this._resetdirectionLock();\n\t    event.preventDefault();\n\t    if (!this.propagateEvents) {\n\t      event.stopPropagation();\n\t    }\n\t    touchEvent = Events.touchEvent(event);\n\t    this._eventBuffer.push({\n\t      x: touchEvent.clientX,\n\t      y: touchEvent.clientY,\n\t      t: Date.now()\n\t    });\n\t    this._layerStartPoint = this.layer.point;\n\t    this._correctedLayerStartPoint = this.layer.point;\n\t    if (this.constraints && this.bounce) {\n\t      this._correctedLayerStartPoint = this._constrainPosition(this._correctedLayerStartPoint, this.constraints, 1 / this.overdragScale);\n\t    }\n\t    this._cursorStartPoint = {\n\t      x: touchEvent.clientX,\n\t      y: touchEvent.clientY\n\t    };\n\t    this._layerCursorOffset = {\n\t      x: touchEvent.clientX - this._correctedLayerStartPoint.x,\n\t      y: touchEvent.clientY - this._correctedLayerStartPoint.y\n\t    };\n\t    document.addEventListener(Events.TouchMove, this._touchMove);\n\t    document.addEventListener(Events.TouchEnd, this._touchEnd);\n\t    return this.emit(Events.DragStart, event);\n\t  };\n\t\n\t  LayerDraggable.prototype._touchMove = function(event) {\n\t    var offset, point, touchEvent;\n\t    if (!this.enabled) {\n\t      return;\n\t    }\n\t    event.preventDefault();\n\t    if (!this.propagateEvents) {\n\t      event.stopPropagation();\n\t    }\n\t    touchEvent = Events.touchEvent(event);\n\t    this._eventBuffer.push({\n\t      x: touchEvent.clientX,\n\t      y: touchEvent.clientY,\n\t      t: Date.now()\n\t    });\n\t    offset = {\n\t      x: touchEvent.clientX - this._correctedLayerStartPoint.x - this._layerCursorOffset.x,\n\t      y: touchEvent.clientY - this._correctedLayerStartPoint.y - this._layerCursorOffset.y\n\t    };\n\t    offset.x = offset.x * this.speedX * (1 / this.layer.canvasScaleX()) * this.layer.scaleX * this.layer.scale;\n\t    offset.y = offset.y * this.speedY * (1 / this.layer.canvasScaleY()) * this.layer.scaleY * this.layer.scale;\n\t    point = this.layer.point;\n\t    if (this.horizontal) {\n\t      point.x = this._correctedLayerStartPoint.x + offset.x;\n\t    }\n\t    if (this.vertical) {\n\t      point.y = this._correctedLayerStartPoint.y + offset.y;\n\t    }\n\t    if (this._constraints) {\n\t      point = this._constrainPosition(point, this._constraints, this.overdragScale);\n\t    }\n\t    if (this.directionLock) {\n\t      if (!this._directionLockEnabledX && !this._directionLockEnabledY) {\n\t        this._updatedirectionLock(offset);\n\t        return;\n\t      } else {\n\t        if (this._directionLockEnabledX) {\n\t          point.x = this._layerStartPoint.x;\n\t        }\n\t        if (this._directionLockEnabledY) {\n\t          point.y = this._layerStartPoint.y;\n\t        }\n\t      }\n\t    }\n\t    if (this.pixelAlign) {\n\t      point.x = parseInt(point.x);\n\t      point.y = parseInt(point.y);\n\t    }\n\t    if (point.x !== this._layerStartPoint.x || point.y !== this._layerStartPoint.y) {\n\t      this._isDragging = true;\n\t      this._isMoving = true;\n\t    }\n\t    if (this.isDragging) {\n\t      this.emit(Events.DragWillMove, event);\n\t    }\n\t    this.layer.point = this.updatePosition(point);\n\t    if (this.isDragging) {\n\t      this.emit(Events.Move, this.layer.point);\n\t      return this.emit(Events.DragDidMove, event);\n\t    }\n\t  };\n\t\n\t  LayerDraggable.prototype._touchEnd = function(event) {\n\t    if (!this.propagateEvents) {\n\t      event.stopPropagation();\n\t    }\n\t    document.removeEventListener(Events.TouchMove, this._touchMove);\n\t    document.removeEventListener(Events.TouchEnd, this._touchEnd);\n\t    this._startSimulation();\n\t    this.emit(Events.DragEnd, event);\n\t    return this._isDragging = false;\n\t  };\n\t\n\t  LayerDraggable.define(\"constraintsOffset\", {\n\t    get: function() {\n\t      var constrainedPoint, maxX, maxY, minX, minY, offset, point, ref;\n\t      if (!this.constraints) {\n\t        return {\n\t          x: 0,\n\t          y: 0\n\t        };\n\t      }\n\t      ref = this._calculateConstraints(this.constraints), minX = ref.minX, maxX = ref.maxX, minY = ref.minY, maxY = ref.maxY;\n\t      point = this.layer.point;\n\t      constrainedPoint = {\n\t        x: Utils.clamp(point.x, minX, maxX),\n\t        y: Utils.clamp(point.y, minY, maxY)\n\t      };\n\t      offset = {\n\t        x: point.x - constrainedPoint.x,\n\t        y: point.y - constrainedPoint.y\n\t      };\n\t      return offset;\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"isBeyondConstraints\", {\n\t    get: function() {\n\t      var constraintsOffset;\n\t      constraintsOffset = this.constraintsOffset;\n\t      if (constraintsOffset.x !== 0) {\n\t        return true;\n\t      }\n\t      if (constraintsOffset.y !== 0) {\n\t        return true;\n\t      }\n\t      return false;\n\t    }\n\t  });\n\t\n\t  LayerDraggable.prototype._clampAndScale = function(value, min, max, scale) {\n\t    if (value < min) {\n\t      value = min + (value - min) * scale;\n\t    }\n\t    if (value > max) {\n\t      value = max + (value - max) * scale;\n\t    }\n\t    return value;\n\t  };\n\t\n\t  LayerDraggable.prototype._calculateConstraints = function(bounds) {\n\t    var constraints;\n\t    if (!bounds) {\n\t      return constraints = {\n\t        minX: Infinity,\n\t        maxX: Infinity,\n\t        minY: Infinity,\n\t        maxY: Infinity\n\t      };\n\t    }\n\t    constraints = {\n\t      minX: Utils.frameGetMinX(bounds),\n\t      maxX: Utils.frameGetMaxX(bounds),\n\t      minY: Utils.frameGetMinY(bounds),\n\t      maxY: Utils.frameGetMaxY(bounds)\n\t    };\n\t    constraints.maxX -= this.layer.width;\n\t    constraints.maxY -= this.layer.height;\n\t    return constraints;\n\t  };\n\t\n\t  LayerDraggable.prototype._constrainPosition = function(proposedPoint, bounds, scale) {\n\t    var maxX, maxY, minX, minY, point, ref;\n\t    ref = this._calculateConstraints(this._constraints), minX = ref.minX, maxX = ref.maxX, minY = ref.minY, maxY = ref.maxY;\n\t    if (this.overdrag) {\n\t      point = {\n\t        x: this._clampAndScale(proposedPoint.x, minX, maxX, scale),\n\t        y: this._clampAndScale(proposedPoint.y, minY, maxY, scale)\n\t      };\n\t    } else {\n\t      point = {\n\t        x: Utils.clamp(proposedPoint.x, minX, maxX),\n\t        y: Utils.clamp(proposedPoint.y, minY, maxY)\n\t      };\n\t    }\n\t    if (this.speedX === 0 || this.horizontal === false) {\n\t      point.x = proposedPoint.x;\n\t    }\n\t    if (this.speedY === 0 || this.vertical === false) {\n\t      point.y = proposedPoint.y;\n\t    }\n\t    return point;\n\t  };\n\t\n\t  LayerDraggable.define(\"velocity\", {\n\t    get: function() {\n\t      if (this.isAnimating) {\n\t        return this._calculateSimulationVelocity();\n\t      }\n\t      return this._eventBuffer.velocity;\n\t      return {\n\t        x: 0,\n\t        y: 0\n\t      };\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"angle\", {\n\t    get: function() {\n\t      return this._eventBuffer.angle;\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"direction\", {\n\t    get: function() {\n\t      var velocity;\n\t      velocity = this.velocity;\n\t      if (Math.abs(velocity.x) > Math.abs(velocity.y)) {\n\t        if (velocity.x > 0) {\n\t          return \"right\";\n\t        }\n\t        return \"left\";\n\t      } else {\n\t        if (velocity.y > 0) {\n\t          return \"down\";\n\t        }\n\t        return \"up\";\n\t      }\n\t    }\n\t  });\n\t\n\t  LayerDraggable.prototype.calculateVelocity = function() {\n\t    return this.velocity;\n\t  };\n\t\n\t  LayerDraggable.prototype._calculateSimulationVelocity = function() {\n\t    var velocity, xFinished, yFinished;\n\t    xFinished = this._simulation.x.finished();\n\t    yFinished = this._simulation.y.finished();\n\t    velocity = {\n\t      x: 0,\n\t      y: 0\n\t    };\n\t    if (!xFinished) {\n\t      velocity.x = this._simulation.x.simulator.state.v / this.momentumVelocityMultiplier;\n\t    }\n\t    if (!yFinished) {\n\t      velocity.y = this._simulation.y.simulator.state.v / this.momentumVelocityMultiplier;\n\t    }\n\t    return velocity;\n\t  };\n\t\n\t  LayerDraggable.prototype.emit = function(eventName, event) {\n\t    this.layer.emit(eventName, event, this);\n\t    return LayerDraggable.__super__.emit.call(this, eventName, event, this);\n\t  };\n\t\n\t  LayerDraggable.prototype._updatedirectionLock = function(correctedDelta) {\n\t    this._directionLockEnabledX = Math.abs(correctedDelta.y) > this.directionLockThreshold.y;\n\t    this._directionLockEnabledY = Math.abs(correctedDelta.x) > this.directionLockThreshold.x;\n\t    if (this._directionLockEnabledX || this._directionLockEnabledY) {\n\t      return this.emit(Events.DirectionLockDidStart, {\n\t        x: this._directionLockEnabledX,\n\t        y: this._directionLockEnabledY\n\t      });\n\t    }\n\t  };\n\t\n\t  LayerDraggable.prototype._resetdirectionLock = function() {\n\t    this._directionLockEnabledX = false;\n\t    return this._directionLockEnabledY = false;\n\t  };\n\t\n\t  LayerDraggable.prototype._setupSimulation = function() {\n\t    if (this._simulation) {\n\t      return;\n\t    }\n\t    this._simulation = {\n\t      x: this._setupSimulationForAxis(\"x\"),\n\t      y: this._setupSimulationForAxis(\"y\")\n\t    };\n\t    return this._updateSimulationConstraints(this.constraints);\n\t  };\n\t\n\t  LayerDraggable.prototype._setupSimulationForAxis = function(axis) {\n\t    var properties, simulation;\n\t    properties = {};\n\t    properties[axis] = true;\n\t    simulation = new Simulation({\n\t      layer: this.layer,\n\t      properties: properties,\n\t      model: \"inertial-scroll\",\n\t      modelOptions: {\n\t        momentum: this.momentumOptions,\n\t        bounce: this.bounceOptions\n\t      }\n\t    });\n\t    simulation.on(Events.SimulationStep, (function(_this) {\n\t      return function(state) {\n\t        return _this._onSimulationStep(axis, state);\n\t      };\n\t    })(this));\n\t    simulation.on(Events.SimulationStop, (function(_this) {\n\t      return function(state) {\n\t        return _this._onSimulationStop(axis, state);\n\t      };\n\t    })(this));\n\t    return simulation;\n\t  };\n\t\n\t  LayerDraggable.prototype._updateSimulationConstraints = function(constraints) {\n\t    var maxX, maxY, minX, minY, ref;\n\t    if (!this._simulation) {\n\t      return;\n\t    }\n\t    if (constraints) {\n\t      ref = this._calculateConstraints(this._constraints), minX = ref.minX, maxX = ref.maxX, minY = ref.minY, maxY = ref.maxY;\n\t      this._simulation.x.simulator.options = {\n\t        min: minX,\n\t        max: maxX\n\t      };\n\t      return this._simulation.y.simulator.options = {\n\t        min: minY,\n\t        max: maxY\n\t      };\n\t    } else {\n\t      this._simulation.x.simulator.options = {\n\t        min: -Infinity,\n\t        max: +Infinity\n\t      };\n\t      return this._simulation.y.simulator.options = {\n\t        min: -Infinity,\n\t        max: +Infinity\n\t      };\n\t    }\n\t  };\n\t\n\t  LayerDraggable.prototype._onSimulationStep = function(axis, state) {\n\t    var delta, maxX, maxY, minX, minY, ref, updatePoint;\n\t    if (axis === \"x\" && this.horizontal === false) {\n\t      return;\n\t    }\n\t    if (axis === \"y\" && this.vertical === false) {\n\t      return;\n\t    }\n\t    if (this.constraints) {\n\t      if (this.bounce) {\n\t        delta = state.x - this.layer[axis];\n\t      } else {\n\t        ref = this._calculateConstraints(this._constraints), minX = ref.minX, maxX = ref.maxX, minY = ref.minY, maxY = ref.maxY;\n\t        if (axis === \"x\") {\n\t          delta = Utils.clamp(state.x, minX, maxX) - this.layer[axis];\n\t        }\n\t        if (axis === \"y\") {\n\t          delta = Utils.clamp(state.x, minY, maxY) - this.layer[axis];\n\t        }\n\t      }\n\t    } else {\n\t      delta = state.x - this.layer[axis];\n\t    }\n\t    updatePoint = this.layer.point;\n\t    if (axis === \"x\") {\n\t      updatePoint[axis] = updatePoint[axis] + (delta * this.speedX);\n\t    }\n\t    if (axis === \"y\") {\n\t      updatePoint[axis] = updatePoint[axis] + (delta * this.speedY);\n\t    }\n\t    this.updatePosition(updatePoint);\n\t    this.layer[axis] = this.updatePosition(updatePoint)[axis];\n\t    return this.emit(Events.Move, this.layer.point);\n\t  };\n\t\n\t  LayerDraggable.prototype._onSimulationStop = function(axis, state) {\n\t    if (!this._simulation) {\n\t      return;\n\t    }\n\t    if (this.pixelAlign) {\n\t      this.layer[axis] = parseInt(this.layer[axis]);\n\t    }\n\t    if (this._simulation.x.finished() && this._simulation.y.finished()) {\n\t      return this._stopSimulation();\n\t    }\n\t  };\n\t\n\t  LayerDraggable.prototype._startSimulation = function() {\n\t    var maxX, maxY, minX, minY, ref, startSimulationX, startSimulationY, velocity, velocityX, velocityY;\n\t    if (!(this.momentum || this.bounce)) {\n\t      return;\n\t    }\n\t    if (this.isBeyondConstraints === false && this.momentum === false) {\n\t      return;\n\t    }\n\t    if (this.isBeyondConstraints === false && this.isDragging === false) {\n\t      return;\n\t    }\n\t    ref = this._calculateConstraints(this._constraints), minX = ref.minX, maxX = ref.maxX, minY = ref.minY, maxY = ref.maxY;\n\t    startSimulationX = this.overdrag === true || (this.layer.x > minX && this.layer.x < maxX);\n\t    startSimulationY = this.overdrag === true || (this.layer.y > minY && this.layer.y < maxY);\n\t    if ((startSimulationX === startSimulationY && startSimulationY === false)) {\n\t      return;\n\t    }\n\t    velocity = this.velocity;\n\t    velocityX = velocity.x * this.momentumVelocityMultiplier * this.speedX * (1 / this.layer.canvasScaleX()) * this.layer.scaleX * this.layer.scale;\n\t    velocityY = velocity.y * this.momentumVelocityMultiplier * this.speedY * (1 / this.layer.canvasScaleY()) * this.layer.scaleY * this.layer.scale;\n\t    this._setupSimulation();\n\t    this._isAnimating = true;\n\t    this._isMoving = true;\n\t    this._simulation.x.simulator.setState({\n\t      x: this.layer.x,\n\t      v: velocityX\n\t    });\n\t    if (startSimulationX) {\n\t      this._simulation.x.start();\n\t    }\n\t    this._simulation.y.simulator.setState({\n\t      x: this.layer.y,\n\t      v: velocityY\n\t    });\n\t    if (startSimulationY) {\n\t      this._simulation.y.start();\n\t    }\n\t    return this.emit(Events.DragAnimationDidStart);\n\t  };\n\t\n\t  LayerDraggable.prototype._stopSimulation = function() {\n\t    var base, base1;\n\t    this._isAnimating = false;\n\t    if (!this._simulation) {\n\t      return;\n\t    }\n\t    if (this._simulation.x) {\n\t      if (typeof (base = this._simulation.x).stop === \"function\") {\n\t        base.stop();\n\t      }\n\t    }\n\t    if (this._simulation.y) {\n\t      if (typeof (base1 = this._simulation.y).stop === \"function\") {\n\t        base1.stop();\n\t      }\n\t    }\n\t    this.emit(Events.Move, this.layer.point);\n\t    this.emit(Events.DragAnimationDidEnd);\n\t    return this._simulation = null;\n\t  };\n\t\n\t  LayerDraggable.prototype.animateStop = function() {\n\t    return this._stopSimulation();\n\t  };\n\t\n\t  return LayerDraggable;\n\t\n\t})(BaseClass);\n\n\n/***/ },\n/* 27 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar ChromeAlert, Utils, _,\n\t  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tChromeAlert = \"Importing layers is currently only supported on Safari. If you really want it to work with Chrome quit it, open a terminal and run:\\nopen -a Google\\ Chrome -–allow-file-access-from-files\";\n\t\n\texports.Importer = (function() {\n\t  function Importer(path1, extraLayerProperties) {\n\t    this.path = path1;\n\t    this.extraLayerProperties = extraLayerProperties != null ? extraLayerProperties : {};\n\t    this.paths = {\n\t      layerInfo: Utils.pathJoin(this.path, \"layers.json\"),\n\t      images: Utils.pathJoin(this.path, \"images\"),\n\t      documentName: this.path.split(\"/\").pop()\n\t    };\n\t    this._createdLayers = [];\n\t    this._createdLayersByName = {};\n\t  }\n\t\n\t  Importer.prototype.load = function() {\n\t    var i, j, layer, layerInfo, layersByName, len, len1, ref, ref1;\n\t    layersByName = {};\n\t    layerInfo = this._loadlayerInfo();\n\t    layerInfo.map((function(_this) {\n\t      return function(layerItemInfo) {\n\t        return _this._createLayer(layerItemInfo);\n\t      };\n\t    })(this));\n\t    ref = this._createdLayers;\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      layer = ref[i];\n\t      this._correctLayer(layer);\n\t    }\n\t    ref1 = this._createdLayers;\n\t    for (j = 0, len1 = ref1.length; j < len1; j++) {\n\t      layer = ref1[j];\n\t      if (!layer.superLayer) {\n\t        layer.superLayer = null;\n\t      }\n\t    }\n\t    return this._createdLayersByName;\n\t  };\n\t\n\t  Importer.prototype._loadlayerInfo = function() {\n\t    var importedKey, ref;\n\t    importedKey = this.paths.documentName + \"/layers.json.js\";\n\t    if ((ref = window.__imported__) != null ? ref.hasOwnProperty(importedKey) : void 0) {\n\t      return window.__imported__[importedKey];\n\t    }\n\t    return Framer.Utils.domLoadJSONSync(this.paths.layerInfo);\n\t  };\n\t\n\t  Importer.prototype._createLayer = function(info, superLayer) {\n\t    var LayerClass, layer, layerInfo, ref;\n\t    LayerClass = Layer;\n\t    layerInfo = {\n\t      shadow: true,\n\t      name: info.name,\n\t      frame: info.layerFrame,\n\t      clip: false,\n\t      backgroundColor: null,\n\t      visible: (ref = info.visible) != null ? ref : true\n\t    };\n\t    _.extend(layerInfo, this.extraLayerProperties);\n\t    if (info.image) {\n\t      layerInfo.frame = info.image.frame;\n\t      layerInfo.image = Utils.pathJoin(this.path, info.image.path);\n\t    }\n\t    if (info.maskFrame) {\n\t      layerInfo.frame = info.maskFrame;\n\t      layerInfo.clip = true;\n\t    }\n\t    if (info.children.length === 0 && indexOf.call(_.pluck(superLayer != null ? superLayer.superLayers() : void 0, \"clip\"), true) >= 0) {\n\t      layerInfo.frame = info.image.frame;\n\t      layerInfo.clip = false;\n\t    }\n\t    if (superLayer != null ? superLayer.contentLayer : void 0) {\n\t      layerInfo.superLayer = superLayer.contentLayer;\n\t    } else if (superLayer) {\n\t      layerInfo.superLayer = superLayer;\n\t    }\n\t    layer = new LayerClass(layerInfo);\n\t    layer.name = layerInfo.name;\n\t    if (layerInfo.name.toLowerCase().indexOf(\"scroll\") !== -1) {\n\t      layer.scroll = true;\n\t    }\n\t    if (layerInfo.name.toLowerCase().indexOf(\"draggable\") !== -1) {\n\t      layer.draggable.enabled = true;\n\t    }\n\t    if (!layer.image && !info.children.length && !info.maskFrame) {\n\t      layer.frame = Utils.frameZero();\n\t    }\n\t    _.clone(info.children).reverse().map((function(_this) {\n\t      return function(info) {\n\t        return _this._createLayer(info, layer);\n\t      };\n\t    })(this));\n\t    if (!layer.image && !info.maskFrame) {\n\t      layer.frame = layer.contentFrame();\n\t    }\n\t    layer._info = info;\n\t    this._createdLayers.push(layer);\n\t    return this._createdLayersByName[layer.name] = layer;\n\t  };\n\t\n\t  Importer.prototype._correctLayer = function(layer) {\n\t    var traverse;\n\t    traverse = function(layer) {\n\t      var i, len, ref, results, subLayer;\n\t      if (layer.superLayer) {\n\t        layer.frame = Utils.convertPoint(layer.frame, null, layer.superLayer);\n\t      }\n\t      ref = layer.subLayers;\n\t      results = [];\n\t      for (i = 0, len = ref.length; i < len; i++) {\n\t        subLayer = ref[i];\n\t        results.push(traverse(subLayer));\n\t      }\n\t      return results;\n\t    };\n\t    if (!layer.superLayer) {\n\t      return traverse(layer);\n\t    }\n\t  };\n\t\n\t  return Importer;\n\t\n\t})();\n\t\n\texports.Importer.load = function(path) {\n\t  var importer;\n\t  importer = new exports.Importer(path);\n\t  return importer.load();\n\t};\n\n\n/***/ },\n/* 28 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Context, EventKeys, Utils, _debugStyle, _errorContext, _errorShown, errorWarning, hideDebug, showDebug, toggleDebug;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tContext = __webpack_require__(16).Context;\n\t\n\t_debugStyle = {\n\t  border: \"1px solid rgba(50,150,200,.35)\",\n\t  backgroundColor: \"rgba(50,150,200,.35)\"\n\t};\n\t\n\tshowDebug = function() {\n\t  var i, layer, len, ref, results;\n\t  ref = Framer.CurrentContext.getLayers();\n\t  results = [];\n\t  for (i = 0, len = ref.length; i < len; i++) {\n\t    layer = ref[i];\n\t    layer._debugStyle = _.pick(layer.style, _.keys(_debugStyle));\n\t    layer.style = _debugStyle;\n\t    layer._debugElement = document.createElement(\"div\");\n\t    layer._debugElement.innerHTML = layer.name || layer.id;\n\t    layer._debugElement.classList.add(\"framerDebug\");\n\t    results.push(layer._element.appendChild(layer._debugElement));\n\t  }\n\t  return results;\n\t};\n\t\n\thideDebug = function() {\n\t  var i, layer, len, ref, results;\n\t  ref = Framer.CurrentContext.getLayers();\n\t  results = [];\n\t  for (i = 0, len = ref.length; i < len; i++) {\n\t    layer = ref[i];\n\t    layer.style = layer._debugStyle;\n\t    layer._debugElement.parentElement.removeChild(layer._debugElement);\n\t    results.push(layer._debugElement = null);\n\t  }\n\t  return results;\n\t};\n\t\n\ttoggleDebug = Utils.toggle(showDebug, hideDebug);\n\t\n\tEventKeys = {\n\t  Shift: 16,\n\t  Escape: 27\n\t};\n\t\n\t_errorContext = null;\n\t\n\t_errorShown = false;\n\t\n\terrorWarning = function(event) {\n\t  var _errorWarningLayer, layer;\n\t  if (!_errorContext) {\n\t    _errorContext = new Context({\n\t      name: \"Error\"\n\t    });\n\t  }\n\t  if (_errorShown) {\n\t    return;\n\t  }\n\t  _errorShown = true;\n\t  layer = new Layer({\n\t    x: 20,\n\t    y: -50,\n\t    width: 300,\n\t    height: 40\n\t  });\n\t  layer.states.add({\n\t    visible: {\n\t      x: 20,\n\t      y: 20,\n\t      width: 300,\n\t      height: 40\n\t    }\n\t  });\n\t  layer.html = \"Javascript Error, see the console\";\n\t  layer.style = {\n\t    font: \"12px/1.35em Menlo\",\n\t    color: \"white\",\n\t    textAlign: \"center\",\n\t    lineHeight: layer.height + \"px\",\n\t    borderRadius: \"5px\",\n\t    backgroundColor: \"rgba(255,0,0,.8)\"\n\t  };\n\t  layer.states.animationOptions = {\n\t    curve: \"spring\",\n\t    curveOptions: {\n\t      tension: 1000,\n\t      friction: 30\n\t    }\n\t  };\n\t  layer.states[\"switch\"](\"visible\");\n\t  layer.on(Events.Click, function() {\n\t    return this.states[\"switch\"](\"default\");\n\t  });\n\t  return _errorWarningLayer = layer;\n\t};\n\t\n\twindow.error = errorWarning;\n\n\n/***/ },\n/* 29 */\n/***/ function(module, exports, __webpack_require__) {\n\n\texports.MobileScrollFix = __webpack_require__(37);\n\t\n\texports.OmitNew = __webpack_require__(38);\n\n\n/***/ },\n/* 30 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Originals, Utils, _;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tOriginals = {\n\t  Layer: {\n\t    backgroundColor: \"rgba(0,124,255,.5)\",\n\t    width: 100,\n\t    height: 100\n\t  },\n\t  Animation: {\n\t    curve: \"ease\",\n\t    time: 1\n\t  },\n\t  DeviceComponent: {\n\t    fullScreen: false,\n\t    padding: 50,\n\t    deviceType: \"iphone-5s-spacegray\",\n\t    deviceZoom: \"fit\",\n\t    contentZoom: 1,\n\t    orientation: \"portrait\",\n\t    keyboard: false,\n\t    animationOptions: {\n\t      curve: \"spring(400,40,0)\"\n\t    }\n\t  },\n\t  LayerDraggable: {\n\t    momentum: true,\n\t    momentumOptions: {\n\t      friction: 2.1,\n\t      tolerance: 1\n\t    },\n\t    bounce: true,\n\t    bounceOptions: {\n\t      friction: 40,\n\t      tension: 200,\n\t      tolerance: 1\n\t    },\n\t    directionLock: false,\n\t    directionLockThreshold: {\n\t      x: 10,\n\t      y: 10\n\t    },\n\t    overdrag: true,\n\t    overdragScale: 0.5,\n\t    pixelAlign: true,\n\t    velocityTimeout: 100,\n\t    velocityScale: 890\n\t  },\n\t  FrictionSimulator: {\n\t    friction: 2,\n\t    tolerance: 1 / 10\n\t  },\n\t  SpringSimulator: {\n\t    tension: 500,\n\t    friction: 10,\n\t    tolerance: 1 / 10000\n\t  },\n\t  MomentumBounceSimulator: {\n\t    momentum: {\n\t      friction: 2,\n\t      tolerance: 10\n\t    },\n\t    bounce: {\n\t      tension: 500,\n\t      friction: 10,\n\t      tolerance: 1\n\t    }\n\t  }\n\t};\n\t\n\texports.Defaults = {\n\t  getDefaults: function(className, options) {\n\t    var defaults, k, ref, v;\n\t    if (!Originals.hasOwnProperty(className)) {\n\t      return {};\n\t    }\n\t    if (!Framer.Defaults.hasOwnProperty(className)) {\n\t      return {};\n\t    }\n\t    defaults = _.clone(Originals[className]);\n\t    ref = Framer.Defaults[className];\n\t    for (k in ref) {\n\t      v = ref[k];\n\t      defaults[k] = _.isFunction(v) ? v() : v;\n\t    }\n\t    for (k in defaults) {\n\t      v = defaults[k];\n\t      if (!options.hasOwnProperty(k)) {\n\t        options[k] = v;\n\t      }\n\t    }\n\t    return options;\n\t  },\n\t  setup: function() {\n\t    var className, classValues, k, ref, v;\n\t    if (window.FramerDefaults) {\n\t      ref = window.FramerDefaults;\n\t      for (className in ref) {\n\t        classValues = ref[className];\n\t        for (k in classValues) {\n\t          v = classValues[k];\n\t          Originals[className][k] = v;\n\t        }\n\t      }\n\t    }\n\t    return exports.Defaults.reset();\n\t  },\n\t  reset: function() {\n\t    return window.Framer.Defaults = _.clone(Originals);\n\t  }\n\t};\n\n\n/***/ },\n/* 31 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar BaseClass, Defaults, Events, LayerStatesIgnoredKeys, _,\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty,\n\t  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },\n\t  slice = [].slice;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tEvents = __webpack_require__(6).Events;\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\tDefaults = __webpack_require__(30).Defaults;\n\t\n\tLayerStatesIgnoredKeys = [\"ignoreEvents\"];\n\t\n\tEvents.StateWillSwitch = \"willSwitch\";\n\t\n\tEvents.StateDidSwitch = \"didSwitch\";\n\t\n\texports.LayerStates = (function(superClass) {\n\t  extend(LayerStates, superClass);\n\t\n\t  function LayerStates(layer) {\n\t    this.layer = layer;\n\t    this._states = {};\n\t    this._orderedStates = [];\n\t    this.animationOptions = {};\n\t    this.add(\"default\", this.layer.props);\n\t    this._currentState = \"default\";\n\t    this._previousStates = [];\n\t    LayerStates.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  LayerStates.prototype.add = function(stateName, properties) {\n\t    var error, k, v;\n\t    if (_.isObject(stateName)) {\n\t      for (k in stateName) {\n\t        v = stateName[k];\n\t        this.add(k, v);\n\t      }\n\t      return;\n\t    }\n\t    error = function() {\n\t      throw Error(\"Usage example: layer.states.add(\\\"someName\\\", {x:500})\");\n\t    };\n\t    if (!_.isString(stateName)) {\n\t      error();\n\t    }\n\t    if (!_.isObject(properties)) {\n\t      error();\n\t    }\n\t    this._orderedStates.push(stateName);\n\t    return this._states[stateName] = LayerStates.filterStateProperties(properties);\n\t  };\n\t\n\t  LayerStates.prototype.remove = function(stateName) {\n\t    if (!this._states.hasOwnProperty(stateName)) {\n\t      return;\n\t    }\n\t    delete this._states[stateName];\n\t    return this._orderedStates = _.without(this._orderedStates, stateName);\n\t  };\n\t\n\t  LayerStates.prototype[\"switch\"] = function(stateName, animationOptions, instant) {\n\t    var animatablePropertyKeys, animatingKeys, k, properties, propertyName, ref, ref1, v, value;\n\t    if (instant == null) {\n\t      instant = false;\n\t    }\n\t    if (!this._states.hasOwnProperty(stateName)) {\n\t      throw Error(\"No such state: '\" + stateName + \"'\");\n\t    }\n\t    this.emit(Events.StateWillSwitch, this._currentState, stateName, this);\n\t    this._previousStates.push(this._currentState);\n\t    this._currentState = stateName;\n\t    properties = {};\n\t    animatingKeys = this.animatingKeys();\n\t    ref = this._states[stateName];\n\t    for (propertyName in ref) {\n\t      value = ref[propertyName];\n\t      if (indexOf.call(LayerStatesIgnoredKeys, propertyName) >= 0) {\n\t        continue;\n\t      }\n\t      if (indexOf.call(animatingKeys, propertyName) < 0) {\n\t        continue;\n\t      }\n\t      if (_.isFunction(value)) {\n\t        value = value.call(this.layer, this.layer, stateName);\n\t      }\n\t      properties[propertyName] = value;\n\t    }\n\t    animatablePropertyKeys = [];\n\t    for (k in properties) {\n\t      v = properties[k];\n\t      if (_.isNumber(v)) {\n\t        animatablePropertyKeys.push(k);\n\t      }\n\t    }\n\t    if (animatablePropertyKeys.length === 0) {\n\t      instant = true;\n\t    }\n\t    if (instant === true) {\n\t      this.layer.props = properties;\n\t      return this.emit(Events.StateDidSwitch, _.last(this._previousStates), stateName, this);\n\t    } else {\n\t      if (animationOptions == null) {\n\t        animationOptions = this.animationOptions;\n\t      }\n\t      animationOptions.properties = properties;\n\t      if ((ref1 = this._animation) != null) {\n\t        ref1.stop();\n\t      }\n\t      this._animation = this.layer.animate(animationOptions);\n\t      return this._animation.on(\"stop\", (function(_this) {\n\t        return function() {\n\t          for (k in properties) {\n\t            v = properties[k];\n\t            if (!_.isNumber(v)) {\n\t              _this.layer[k] = v;\n\t            }\n\t          }\n\t          return _this.emit(Events.StateDidSwitch, _.last(_this._previousStates), stateName, _this);\n\t        };\n\t      })(this));\n\t    }\n\t  };\n\t\n\t  LayerStates.prototype.switchInstant = function(stateName) {\n\t    return this[\"switch\"](stateName, null, true);\n\t  };\n\t\n\t  LayerStates.define(\"state\", {\n\t    get: function() {\n\t      return this._currentState;\n\t    }\n\t  });\n\t\n\t  LayerStates.define(\"current\", {\n\t    get: function() {\n\t      return this._currentState;\n\t    }\n\t  });\n\t\n\t  LayerStates.prototype.states = function() {\n\t    return _.clone(this._orderedStates);\n\t  };\n\t\n\t  LayerStates.prototype.animatingKeys = function() {\n\t    var keys, ref, state, stateName;\n\t    keys = [];\n\t    ref = this._states;\n\t    for (stateName in ref) {\n\t      state = ref[stateName];\n\t      if (stateName === \"default\") {\n\t        continue;\n\t      }\n\t      keys = _.union(keys, _.keys(state));\n\t    }\n\t    return keys;\n\t  };\n\t\n\t  LayerStates.prototype.previous = function(states, animationOptions) {\n\t    if (states == null) {\n\t      states = this.states();\n\t    }\n\t    return this[\"switch\"](Utils.arrayPrev(states, this._currentState), animationOptions);\n\t  };\n\t\n\t  LayerStates.prototype.next = function() {\n\t    var states;\n\t    states = Utils.arrayFromArguments(arguments);\n\t    if (!states.length) {\n\t      states = this.states();\n\t    }\n\t    return this[\"switch\"](Utils.arrayNext(states, this._currentState));\n\t  };\n\t\n\t  LayerStates.prototype.last = function(animationOptions) {\n\t    return this[\"switch\"](_.last(this._previousStates), animationOptions);\n\t  };\n\t\n\t  LayerStates.prototype.emit = function() {\n\t    var args, ref;\n\t    args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n\t    LayerStates.__super__.emit.apply(this, arguments);\n\t    return (ref = this.layer).emit.apply(ref, args);\n\t  };\n\t\n\t  LayerStates.filterStateProperties = function(properties) {\n\t    var k, stateProperties, v;\n\t    stateProperties = {};\n\t    for (k in properties) {\n\t      v = properties[k];\n\t      if (_.isNumber(v) || _.isFunction(v) || _.isBoolean(v) || _.isString(v)) {\n\t        stateProperties[k] = v;\n\t      }\n\t    }\n\t    return stateProperties;\n\t  };\n\t\n\t  return LayerStates;\n\t\n\t})(BaseClass);\n\n\n/***/ },\n/* 32 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar EventManagerElement, EventManagerIdCounter,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };\n\t\n\tEventManagerIdCounter = 0;\n\t\n\tEventManagerElement = (function() {\n\t  function EventManagerElement(element1) {\n\t    this.element = element1;\n\t    this._events = {};\n\t  }\n\t\n\t  EventManagerElement.prototype.addEventListener = function(eventName, listener) {\n\t    var base;\n\t    if ((base = this._events)[eventName] == null) {\n\t      base[eventName] = [];\n\t    }\n\t    this._events[eventName].push(listener);\n\t    return this.element.addEventListener(eventName, listener);\n\t  };\n\t\n\t  EventManagerElement.prototype.removeEventListener = function(event, listener) {\n\t    if (!this._events) {\n\t      return;\n\t    }\n\t    if (!this._events[event]) {\n\t      return;\n\t    }\n\t    this._events[event] = _.without(this._events[event], listener);\n\t    this.element.removeEventListener(event, listener);\n\t  };\n\t\n\t  EventManagerElement.prototype.removeAllEventListeners = function(eventName) {\n\t    var eventListener, events, i, j, len, len1, ref;\n\t    events = eventName ? [eventName] : _.keys(this._events);\n\t    for (i = 0, len = events.length; i < len; i++) {\n\t      eventName = events[i];\n\t      ref = this._events[eventName];\n\t      for (j = 0, len1 = ref.length; j < len1; j++) {\n\t        eventListener = ref[j];\n\t        this.removeEventListener(eventName, eventListener);\n\t      }\n\t    }\n\t  };\n\t\n\t  EventManagerElement.prototype.once = function(event, listener) {\n\t    var fn;\n\t    fn = (function(_this) {\n\t      return function() {\n\t        _this.removeListener(event, fn);\n\t        return listener.apply(null, arguments);\n\t      };\n\t    })(this);\n\t    return this.on(event, fn);\n\t  };\n\t\n\t  EventManagerElement.prototype.on = EventManagerElement.prototype.addEventListener;\n\t\n\t  EventManagerElement.prototype.off = EventManagerElement.prototype.removeEventListener;\n\t\n\t  return EventManagerElement;\n\t\n\t})();\n\t\n\texports.EventManager = (function() {\n\t  function EventManager(element) {\n\t    this.wrap = bind(this.wrap, this);\n\t    this._elements = {};\n\t  }\n\t\n\t  EventManager.prototype.wrap = function(element) {\n\t    if (!element._eventManagerId) {\n\t      element._eventManagerId = EventManagerIdCounter++;\n\t    }\n\t    if (!this._elements[element._eventManagerId]) {\n\t      this._elements[element._eventManagerId] = new EventManagerElement(element);\n\t    }\n\t    return this._elements[element._eventManagerId];\n\t  };\n\t\n\t  EventManager.prototype.reset = function() {\n\t    var element, elementEventManager, ref, results;\n\t    ref = this._elements;\n\t    results = [];\n\t    for (element in ref) {\n\t      elementEventManager = ref[element];\n\t      results.push(elementEventManager.removeAllEventListeners());\n\t    }\n\t    return results;\n\t  };\n\t\n\t  return EventManager;\n\t\n\t})();\n\n\n/***/ },\n/* 33 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Config, Utils;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tConfig = __webpack_require__(17).Config;\n\t\n\texports.Animator = (function() {\n\t  \"The animator class is a very simple class that\\n\t- Takes a set of input values at setup({input values})\\n\t- Emits an output value for progress (0 -> 1) in value(progress)\";\n\t  function Animator(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this.setup(options);\n\t  }\n\t\n\t  Animator.prototype.setup = function(options) {\n\t    throw Error(\"Not implemented\");\n\t  };\n\t\n\t  Animator.prototype.next = function(delta) {\n\t    throw Error(\"Not implemented\");\n\t  };\n\t\n\t  Animator.prototype.finished = function() {\n\t    throw Error(\"Not implemented\");\n\t  };\n\t\n\t  return Animator;\n\t\n\t})();\n\n\n/***/ },\n/* 34 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Config, Utils;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tConfig = __webpack_require__(17).Config;\n\t\n\texports.Integrator = (function() {\n\t  \"Usage:\\n\t- Instantiate with a function that takes (state) -> acceleration\\n\t- Call integrateState with state={x, v} and delta\";\n\t  function Integrator(_accelerationForState) {\n\t    this._accelerationForState = _accelerationForState;\n\t    if (!_.isFunction(this._accelerationForState)) {\n\t      console.warn(\"Integrator: an integrator must be constructed with an acceleration function\");\n\t      this._accelerationForState = function() {\n\t        return 0;\n\t      };\n\t    }\n\t  }\n\t\n\t  Integrator.prototype.integrateState = function(state, dt) {\n\t    var a, b, c, d, dvdt, dxdt;\n\t    a = this._evaluateState(state);\n\t    b = this._evaluateStateWithDerivative(state, dt * 0.5, a);\n\t    c = this._evaluateStateWithDerivative(state, dt * 0.5, b);\n\t    d = this._evaluateStateWithDerivative(state, dt, c);\n\t    dxdt = 1.0 / 6.0 * (a.dx + 2.0 * (b.dx + c.dx) + d.dx);\n\t    dvdt = 1.0 / 6.0 * (a.dv + 2.0 * (b.dv + c.dv) + d.dv);\n\t    state.x = state.x + dxdt * dt;\n\t    state.v = state.v + dvdt * dt;\n\t    return state;\n\t  };\n\t\n\t  Integrator.prototype._evaluateState = function(initialState) {\n\t    var output;\n\t    output = {};\n\t    output.dx = initialState.v;\n\t    output.dv = this._accelerationForState(initialState);\n\t    return output;\n\t  };\n\t\n\t  Integrator.prototype._evaluateStateWithDerivative = function(initialState, dt, derivative) {\n\t    var output, state;\n\t    state = {};\n\t    state.x = initialState.x + derivative.dx * dt;\n\t    state.v = initialState.v + derivative.dv * dt;\n\t    output = {};\n\t    output.dx = state.v;\n\t    output.dv = this._accelerationForState(state);\n\t    return output;\n\t  };\n\t\n\t  return Integrator;\n\t\n\t})();\n\n\n/***/ },\n/* 35 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar BaseClass, Config, Defaults, Events, FrictionSimulator, MomentumBounceSimulator, SimulatorClasses, SpringSimulator, Utils, _,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty,\n\t  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tConfig = __webpack_require__(17).Config;\n\t\n\tDefaults = __webpack_require__(30).Defaults;\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\tEvents = __webpack_require__(6).Events;\n\t\n\tSpringSimulator = __webpack_require__(41).SpringSimulator;\n\t\n\tFrictionSimulator = __webpack_require__(42).FrictionSimulator;\n\t\n\tMomentumBounceSimulator = __webpack_require__(43).MomentumBounceSimulator;\n\t\n\tEvents.SimulationStart = 'simulationStart';\n\t\n\tEvents.SimulationStep = 'simulationStep';\n\t\n\tEvents.SimulationStop = 'simulationStop';\n\t\n\tSimulatorClasses = {\n\t  \"spring\": SpringSimulator,\n\t  \"friction\": FrictionSimulator,\n\t  \"inertial-scroll\": MomentumBounceSimulator\n\t};\n\t\n\texports.Simulation = (function(superClass) {\n\t  extend(Simulation, superClass);\n\t\n\t  function Simulation(options) {\n\t    var SimulatorClass;\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this._update = bind(this._update, this);\n\t    this._start = bind(this._start, this);\n\t    this.start = bind(this.start, this);\n\t    Simulation.__super__.constructor.call(this, options);\n\t    this.options = _.defaults(options, {\n\t      layer: null,\n\t      properties: {},\n\t      model: \"spring\",\n\t      modelOptions: {},\n\t      delay: 0,\n\t      debug: false\n\t    });\n\t    this._running = false;\n\t    SimulatorClass = SimulatorClasses[this.options.model] || SpringSimulator;\n\t    this._simulator = new SimulatorClass(this.options.modelOptions);\n\t  }\n\t\n\t  Simulation.prototype.animatingProperties = function() {\n\t    return _.keys(this.options.properties);\n\t  };\n\t\n\t  Simulation.prototype.start = function() {\n\t    var animatingProperties, animation, property, ref;\n\t    if (this.options.layer === null) {\n\t      console.error(\"Simulation: missing layer\");\n\t    }\n\t    if (this.options.debug) {\n\t      console.log(\"Simulation.start \" + this._simulator.constructor.name, this.options.modelOptions);\n\t    }\n\t    animatingProperties = this.animatingProperties();\n\t    ref = this.options.layer.animatingProperties();\n\t    for (property in ref) {\n\t      animation = ref[property];\n\t      if (indexOf.call(animatingProperties, property) >= 0) {\n\t        animation.stop();\n\t      }\n\t    }\n\t    if (this.options.delay) {\n\t      Utils.delay(this.options.delay, this._start);\n\t    } else {\n\t      this._start();\n\t    }\n\t    return true;\n\t  };\n\t\n\t  Simulation.prototype.stop = function(emit) {\n\t    if (emit == null) {\n\t      emit = true;\n\t    }\n\t    if (!this._running) {\n\t      return;\n\t    }\n\t    this._running = false;\n\t    this.options.layer._context._animationList = _.without(this.options.layer._context._animationList, this);\n\t    if (emit) {\n\t      this.emit(Events.SimulationStop);\n\t    }\n\t    return Framer.Loop.off(\"update\", this._update);\n\t  };\n\t\n\t  Simulation.prototype.emit = function(event) {\n\t    Simulation.__super__.emit.apply(this, arguments);\n\t    return this.options.layer.emit(event, this);\n\t  };\n\t\n\t  Simulation.prototype._start = function() {\n\t    if (this._running) {\n\t      return;\n\t    }\n\t    this._running = true;\n\t    this.options.layer._context._animationList.push(this);\n\t    this.emit(Events.SimulationStart);\n\t    return Framer.Loop.on(\"update\", this._update);\n\t  };\n\t\n\t  Simulation.prototype._update = function(delta) {\n\t    var emit, result;\n\t    if (this._simulator.finished()) {\n\t      this.stop(emit = false);\n\t      this.emit(\"end\");\n\t      return this.emit(Events.SimulationStop);\n\t    } else {\n\t      result = this._simulator.next(delta);\n\t      return this.emit(Events.SimulationStep, result, delta);\n\t    }\n\t  };\n\t\n\t  Simulation.define(\"simulator\", {\n\t    get: function() {\n\t      return this._simulator;\n\t    }\n\t  });\n\t\n\t  Simulation.prototype.finished = function() {\n\t    return this._simulator.finished();\n\t  };\n\t\n\t  return Simulation;\n\t\n\t})(BaseClass);\n\n\n/***/ },\n/* 36 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar BaseClass, Events, Utils, _,\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\tEvents = __webpack_require__(6).Events;\n\t\n\tEvents.EventBufferReset = \"eventbufferreset\";\n\t\n\tEvents.EventBufferUpdated = \"eventbufferupdated\";\n\t\n\texports.EventBuffer = (function(superClass) {\n\t  extend(EventBuffer, superClass);\n\t\n\t  function EventBuffer(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this.options = _.defaults(options, {\n\t      velocityTimeout: 100\n\t    });\n\t    this._events = [];\n\t  }\n\t\n\t  EventBuffer.prototype.push = function(event) {\n\t    this._events.push(event);\n\t    return this.emit(Events.EventBufferUpdated, event);\n\t  };\n\t\n\t  EventBuffer.prototype.reset = function() {\n\t    this._events.length = 0;\n\t    return this.emit(Events.EventBufferReset);\n\t  };\n\t\n\t  EventBuffer.define(\"length\", {\n\t    get: function() {\n\t      return this._events.length;\n\t    }\n\t  });\n\t\n\t  EventBuffer.define(\"first\", {\n\t    get: function() {\n\t      return this._events[0];\n\t    }\n\t  });\n\t\n\t  EventBuffer.define(\"offset\", {\n\t    get: function() {\n\t      var current, first, offset;\n\t      if (events.length < 2) {\n\t        return {\n\t          x: 0,\n\t          y: 0\n\t        };\n\t      }\n\t      current = events[events.length - 1];\n\t      first = events[0];\n\t      return offset = {\n\t        x: current.x - first.x,\n\t        y: current.y - first.y\n\t      };\n\t    }\n\t  });\n\t\n\t  EventBuffer.define(\"events\", {\n\t    get: function() {\n\t      var timeout;\n\t      timeout = Date.now() - this.options.velocityTimeout;\n\t      return _.filter(this._events, (function(_this) {\n\t        return function(event) {\n\t          return event.t > timeout;\n\t        };\n\t      })(this));\n\t    }\n\t  });\n\t\n\t  EventBuffer.define(\"angle\", {\n\t    get: function() {\n\t      var events, p1, p2;\n\t      events = this.events;\n\t      if (events.length < 2) {\n\t        return 0;\n\t      }\n\t      p1 = events[0];\n\t      p2 = events[1];\n\t      return Math.atan2(p2.y - p1.y, p2.x - p1.x) * 180 / Math.PI;\n\t    }\n\t  });\n\t\n\t  EventBuffer.define(\"velocity\", {\n\t    get: function() {\n\t      var current, events, first, time, velocity;\n\t      events = this.events;\n\t      if (events.length < 2) {\n\t        return {\n\t          x: 0,\n\t          y: 0\n\t        };\n\t      }\n\t      current = events[events.length - 1];\n\t      first = events[0];\n\t      time = current.t - first.t;\n\t      velocity = {\n\t        x: (current.x - first.x) / time,\n\t        y: (current.y - first.y) / time\n\t      };\n\t      if (velocity.x === Infinity) {\n\t        velocity.x = 0;\n\t      }\n\t      if (velocity.y === Infinity) {\n\t        velocity.y = 0;\n\t      }\n\t      return velocity;\n\t    }\n\t  });\n\t\n\t  return EventBuffer;\n\t\n\t})(BaseClass);\n\n\n/***/ },\n/* 37 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Utils,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\texports.enable = function() {\n\t  var MobileScrollFixLayer, handleScrollingLayerTouchMove, handleScrollingLayerTouchStart;\n\t  document.ontouchmove = function(event) {\n\t    if (event.target === document.body) {\n\t      return event.preventDefault();\n\t    }\n\t  };\n\t  handleScrollingLayerTouchMove = function(event) {\n\t    return event.stopPropagation();\n\t  };\n\t  handleScrollingLayerTouchStart = function(event) {\n\t    var element, startTopScroll;\n\t    element = this._element;\n\t    startTopScroll = element.scrollTop;\n\t    if (startTopScroll <= 0) {\n\t      element.scrollTop = 1;\n\t    }\n\t    if (startTopScroll + element.offsetHeight >= element.scrollHeight) {\n\t      return element.scrollTop = element.scrollHeight - element.offsetHeight - 1;\n\t    }\n\t  };\n\t  MobileScrollFixLayer = (function(superClass) {\n\t    extend(MobileScrollFixLayer, superClass);\n\t\n\t    function MobileScrollFixLayer(options) {\n\t      this._updateScrollListeners = bind(this._updateScrollListeners, this);\n\t      MobileScrollFixLayer.__super__.constructor.call(this, options);\n\t      if (this.constructor.name === \"Layer\") {\n\t        this.on(\"change:scrollVertical\", this._updateScrollListeners);\n\t        this._updateScrollListeners();\n\t      }\n\t    }\n\t\n\t    MobileScrollFixLayer.prototype._updateScrollListeners = function() {\n\t      if (this.scrollVertical === true) {\n\t        this.on(\"touchmove\", handleScrollingLayerTouchMove);\n\t        return this.on(\"touchstart\", handleScrollingLayerTouchStart);\n\t      } else {\n\t        this.off(\"touchmove\", handleScrollingLayerTouchMove);\n\t        return this.off(\"touchstart\", handleScrollingLayerTouchStart);\n\t      }\n\t    };\n\t\n\t    return MobileScrollFixLayer;\n\t\n\t  })(Framer.Layer);\n\t  return window.Layer = window.Framer.Layer = MobileScrollFixLayer;\n\t};\n\n\n/***/ },\n/* 38 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar slice = [].slice;\n\t\n\texports.enable = function(module) {\n\t  var ClassWrapper;\n\t  if (module == null) {\n\t    module = window;\n\t  }\n\t  ClassWrapper = function(Klass) {\n\t    return function() {\n\t      var args;\n\t      args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n\t      return this.prototype = (function(func, args, ctor) {\n\t        ctor.prototype = func.prototype;\n\t        var child = new ctor, result = func.apply(child, args);\n\t        return Object(result) === result ? result : child;\n\t      })(Klass, args, function(){});\n\t    };\n\t  };\n\t  module.Frame = ClassWrapper(Framer.Frame);\n\t  module.Layer = ClassWrapper(Framer.Layer);\n\t  module.BackgroundLayer = ClassWrapper(Framer.BackgroundLayer);\n\t  module.VideoLayer = ClassWrapper(Framer.VideoLayer);\n\t  return module.Animation = ClassWrapper(Framer.Animation);\n\t};\n\n\n/***/ },\n/* 39 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(module, global) {/**\n\t * @license\n\t * lodash 3.8.0 (Custom Build) <https://lodash.com/>\n\t * Build: `lodash modern -d -o ./index.js`\n\t * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>\n\t * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n\t * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t * Available under MIT license <https://lodash.com/license>\n\t */\n\t;(function() {\n\t\n\t  /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n\t  var undefined;\n\t\n\t  /** Used as the semantic version number. */\n\t  var VERSION = '3.8.0';\n\t\n\t  /** Used to compose bitmasks for wrapper metadata. */\n\t  var BIND_FLAG = 1,\n\t      BIND_KEY_FLAG = 2,\n\t      CURRY_BOUND_FLAG = 4,\n\t      CURRY_FLAG = 8,\n\t      CURRY_RIGHT_FLAG = 16,\n\t      PARTIAL_FLAG = 32,\n\t      PARTIAL_RIGHT_FLAG = 64,\n\t      ARY_FLAG = 128,\n\t      REARG_FLAG = 256;\n\t\n\t  /** Used as default options for `_.trunc`. */\n\t  var DEFAULT_TRUNC_LENGTH = 30,\n\t      DEFAULT_TRUNC_OMISSION = '...';\n\t\n\t  /** Used to detect when a function becomes hot. */\n\t  var HOT_COUNT = 150,\n\t      HOT_SPAN = 16;\n\t\n\t  /** Used to indicate the type of lazy iteratees. */\n\t  var LAZY_DROP_WHILE_FLAG = 0,\n\t      LAZY_FILTER_FLAG = 1,\n\t      LAZY_MAP_FLAG = 2;\n\t\n\t  /** Used as the `TypeError` message for \"Functions\" methods. */\n\t  var FUNC_ERROR_TEXT = 'Expected a function';\n\t\n\t  /** Used as the internal argument placeholder. */\n\t  var PLACEHOLDER = '__lodash_placeholder__';\n\t\n\t  /** `Object#toString` result references. */\n\t  var argsTag = '[object Arguments]',\n\t      arrayTag = '[object Array]',\n\t      boolTag = '[object Boolean]',\n\t      dateTag = '[object Date]',\n\t      errorTag = '[object Error]',\n\t      funcTag = '[object Function]',\n\t      mapTag = '[object Map]',\n\t      numberTag = '[object Number]',\n\t      objectTag = '[object Object]',\n\t      regexpTag = '[object RegExp]',\n\t      setTag = '[object Set]',\n\t      stringTag = '[object String]',\n\t      weakMapTag = '[object WeakMap]';\n\t\n\t  var arrayBufferTag = '[object ArrayBuffer]',\n\t      float32Tag = '[object Float32Array]',\n\t      float64Tag = '[object Float64Array]',\n\t      int8Tag = '[object Int8Array]',\n\t      int16Tag = '[object Int16Array]',\n\t      int32Tag = '[object Int32Array]',\n\t      uint8Tag = '[object Uint8Array]',\n\t      uint8ClampedTag = '[object Uint8ClampedArray]',\n\t      uint16Tag = '[object Uint16Array]',\n\t      uint32Tag = '[object Uint32Array]';\n\t\n\t  /** Used to match empty string literals in compiled template source. */\n\t  var reEmptyStringLeading = /\\b__p \\+= '';/g,\n\t      reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n\t      reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\t\n\t  /** Used to match HTML entities and HTML characters. */\n\t  var reEscapedHtml = /&(?:amp|lt|gt|quot|#39|#96);/g,\n\t      reUnescapedHtml = /[&<>\"'`]/g,\n\t      reHasEscapedHtml = RegExp(reEscapedHtml.source),\n\t      reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\t\n\t  /** Used to match template delimiters. */\n\t  var reEscape = /<%-([\\s\\S]+?)%>/g,\n\t      reEvaluate = /<%([\\s\\S]+?)%>/g,\n\t      reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\t\n\t  /** Used to match property names within property paths. */\n\t  var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\n\\\\]|\\\\.)*?\\1)\\]/,\n\t      reIsPlainProp = /^\\w*$/,\n\t      rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\n\\\\]|\\\\.)*?)\\2)\\]/g;\n\t\n\t  /**\n\t   * Used to match `RegExp` [special characters](http://www.regular-expressions.info/characters.html#special).\n\t   * In addition to special characters the forward slash is escaped to allow for\n\t   * easier `eval` use and `Function` compilation.\n\t   */\n\t  var reRegExpChars = /[.*+?^${}()|[\\]\\/\\\\]/g,\n\t      reHasRegExpChars = RegExp(reRegExpChars.source);\n\t\n\t  /** Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks). */\n\t  var reComboMark = /[\\u0300-\\u036f\\ufe20-\\ufe23]/g;\n\t\n\t  /** Used to match backslashes in property paths. */\n\t  var reEscapeChar = /\\\\(\\\\)?/g;\n\t\n\t  /** Used to match [ES template delimiters](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-template-literal-lexical-components). */\n\t  var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\t\n\t  /** Used to match `RegExp` flags from their coerced string values. */\n\t  var reFlags = /\\w*$/;\n\t\n\t  /** Used to detect hexadecimal string values. */\n\t  var reHasHexPrefix = /^0[xX]/;\n\t\n\t  /** Used to detect host constructors (Safari > 5). */\n\t  var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\t\n\t  /** Used to match latin-1 supplementary letters (excluding mathematical operators). */\n\t  var reLatin1 = /[\\xc0-\\xd6\\xd8-\\xde\\xdf-\\xf6\\xf8-\\xff]/g;\n\t\n\t  /** Used to ensure capturing order of template delimiters. */\n\t  var reNoMatch = /($^)/;\n\t\n\t  /** Used to match unescaped characters in compiled string literals. */\n\t  var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\t\n\t  /** Used to match words to create compound words. */\n\t  var reWords = (function() {\n\t    var upper = '[A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde]',\n\t        lower = '[a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff]+';\n\t\n\t    return RegExp(upper + '+(?=' + upper + lower + ')|' + upper + '?' + lower + '|' + upper + '+|[0-9]+', 'g');\n\t  }());\n\t\n\t  /** Used to detect and test for whitespace. */\n\t  var whitespace = (\n\t    // Basic whitespace characters.\n\t    ' \\t\\x0b\\f\\xa0\\ufeff' +\n\t\n\t    // Line terminators.\n\t    '\\n\\r\\u2028\\u2029' +\n\t\n\t    // Unicode category \"Zs\" space separators.\n\t    '\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000'\n\t  );\n\t\n\t  /** Used to assign default `context` object properties. */\n\t  var contextProps = [\n\t    'Array', 'ArrayBuffer', 'Date', 'Error', 'Float32Array', 'Float64Array',\n\t    'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Math', 'Number',\n\t    'Object', 'RegExp', 'Set', 'String', '_', 'clearTimeout', 'document',\n\t    'isFinite', 'parseInt', 'setTimeout', 'TypeError', 'Uint8Array',\n\t    'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',\n\t    'window'\n\t  ];\n\t\n\t  /** Used to make template sourceURLs easier to identify. */\n\t  var templateCounter = -1;\n\t\n\t  /** Used to identify `toStringTag` values of typed arrays. */\n\t  var typedArrayTags = {};\n\t  typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\n\t  typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\n\t  typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\n\t  typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\n\t  typedArrayTags[uint32Tag] = true;\n\t  typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\n\t  typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\n\t  typedArrayTags[dateTag] = typedArrayTags[errorTag] =\n\t  typedArrayTags[funcTag] = typedArrayTags[mapTag] =\n\t  typedArrayTags[numberTag] = typedArrayTags[objectTag] =\n\t  typedArrayTags[regexpTag] = typedArrayTags[setTag] =\n\t  typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;\n\t\n\t  /** Used to identify `toStringTag` values supported by `_.clone`. */\n\t  var cloneableTags = {};\n\t  cloneableTags[argsTag] = cloneableTags[arrayTag] =\n\t  cloneableTags[arrayBufferTag] = cloneableTags[boolTag] =\n\t  cloneableTags[dateTag] = cloneableTags[float32Tag] =\n\t  cloneableTags[float64Tag] = cloneableTags[int8Tag] =\n\t  cloneableTags[int16Tag] = cloneableTags[int32Tag] =\n\t  cloneableTags[numberTag] = cloneableTags[objectTag] =\n\t  cloneableTags[regexpTag] = cloneableTags[stringTag] =\n\t  cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\n\t  cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n\t  cloneableTags[errorTag] = cloneableTags[funcTag] =\n\t  cloneableTags[mapTag] = cloneableTags[setTag] =\n\t  cloneableTags[weakMapTag] = false;\n\t\n\t  /** Used as an internal `_.debounce` options object by `_.throttle`. */\n\t  var debounceOptions = {\n\t    'leading': false,\n\t    'maxWait': 0,\n\t    'trailing': false\n\t  };\n\t\n\t  /** Used to map latin-1 supplementary letters to basic latin letters. */\n\t  var deburredLetters = {\n\t    '\\xc0': 'A',  '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n\t    '\\xe0': 'a',  '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n\t    '\\xc7': 'C',  '\\xe7': 'c',\n\t    '\\xd0': 'D',  '\\xf0': 'd',\n\t    '\\xc8': 'E',  '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n\t    '\\xe8': 'e',  '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n\t    '\\xcC': 'I',  '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n\t    '\\xeC': 'i',  '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n\t    '\\xd1': 'N',  '\\xf1': 'n',\n\t    '\\xd2': 'O',  '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n\t    '\\xf2': 'o',  '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n\t    '\\xd9': 'U',  '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n\t    '\\xf9': 'u',  '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n\t    '\\xdd': 'Y',  '\\xfd': 'y', '\\xff': 'y',\n\t    '\\xc6': 'Ae', '\\xe6': 'ae',\n\t    '\\xde': 'Th', '\\xfe': 'th',\n\t    '\\xdf': 'ss'\n\t  };\n\t\n\t  /** Used to map characters to HTML entities. */\n\t  var htmlEscapes = {\n\t    '&': '&amp;',\n\t    '<': '&lt;',\n\t    '>': '&gt;',\n\t    '\"': '&quot;',\n\t    \"'\": '&#39;',\n\t    '`': '&#96;'\n\t  };\n\t\n\t  /** Used to map HTML entities to characters. */\n\t  var htmlUnescapes = {\n\t    '&amp;': '&',\n\t    '&lt;': '<',\n\t    '&gt;': '>',\n\t    '&quot;': '\"',\n\t    '&#39;': \"'\",\n\t    '&#96;': '`'\n\t  };\n\t\n\t  /** Used to determine if values are of the language type `Object`. */\n\t  var objectTypes = {\n\t    'function': true,\n\t    'object': true\n\t  };\n\t\n\t  /** Used to escape characters for inclusion in compiled string literals. */\n\t  var stringEscapes = {\n\t    '\\\\': '\\\\',\n\t    \"'\": \"'\",\n\t    '\\n': 'n',\n\t    '\\r': 'r',\n\t    '\\u2028': 'u2028',\n\t    '\\u2029': 'u2029'\n\t  };\n\t\n\t  /** Detect free variable `exports`. */\n\t  var freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && exports;\n\t\n\t  /** Detect free variable `module`. */\n\t  var freeModule = objectTypes[typeof module] && module && !module.nodeType && module;\n\t\n\t  /** Detect free variable `global` from Node.js. */\n\t  var freeGlobal = freeExports && freeModule && typeof global == 'object' && global && global.Object && global;\n\t\n\t  /** Detect free variable `self`. */\n\t  var freeSelf = objectTypes[typeof self] && self && self.Object && self;\n\t\n\t  /** Detect free variable `window`. */\n\t  var freeWindow = objectTypes[typeof window] && window && window.Object && window;\n\t\n\t  /** Detect the popular CommonJS extension `module.exports`. */\n\t  var moduleExports = freeModule && freeModule.exports === freeExports && freeExports;\n\t\n\t  /**\n\t   * Used as a reference to the global object.\n\t   *\n\t   * The `this` value is used if it is the global object to avoid Greasemonkey's\n\t   * restricted `window` object, otherwise the `window` object is used.\n\t   */\n\t  var root = freeGlobal || ((freeWindow !== (this && this.window)) && freeWindow) || freeSelf || this;\n\t\n\t  /**\n\t   * The base implementation of `compareAscending` which compares values and\n\t   * sorts them in ascending order without guaranteeing a stable sort.\n\t   *\n\t   * @private\n\t   * @param {*} value The value to compare to `other`.\n\t   * @param {*} other The value to compare to `value`.\n\t   * @returns {number} Returns the sort order indicator for `value`.\n\t   */\n\t  function baseCompareAscending(value, other) {\n\t    if (value !== other) {\n\t      var valIsReflexive = value === value,\n\t          othIsReflexive = other === other;\n\t\n\t      if (value > other || !valIsReflexive || (value === undefined && othIsReflexive)) {\n\t        return 1;\n\t      }\n\t      if (value < other || !othIsReflexive || (other === undefined && valIsReflexive)) {\n\t        return -1;\n\t      }\n\t    }\n\t    return 0;\n\t  }\n\t\n\t  /**\n\t   * The base implementation of `_.findIndex` and `_.findLastIndex` without\n\t   * support for callback shorthands and `this` binding.\n\t   *\n\t   * @private\n\t   * @param {Array} array The array to search.\n\t   * @param {Function} predicate The function invoked per iteration.\n\t   * @param {boolean} [fromRight] Specify iterating from right to left.\n\t   * @returns {number} Returns the index of the matched value, else `-1`.\n\t   */\n\t  function baseFindIndex(array, predicate, fromRight) {\n\t    var length = array.length,\n\t        index = fromRight ? length : -1;\n\t\n\t    while ((fromRight ? index-- : ++index < length)) {\n\t      if (predicate(array[index], index, array)) {\n\t        return index;\n\t      }\n\t    }\n\t    return -1;\n\t  }\n\t\n\t  /**\n\t   * The base implementation of `_.indexOf` without support for binary searches.\n\t   *\n\t   * @private\n\t   * @param {Array} array The array to search.\n\t   * @param {*} value The value to search for.\n\t   * @param {number} fromIndex The index to search from.\n\t   * @returns {number} Returns the index of the matched value, else `-1`.\n\t   */\n\t  function baseIndexOf(array, value, fromIndex) {\n\t    if (value !== value) {\n\t      return indexOfNaN(array, fromIndex);\n\t    }\n\t    var index = fromIndex - 1,\n\t        length = array.length;\n\t\n\t    while (++index < length) {\n\t      if (array[index] === value) {\n\t        return index;\n\t      }\n\t    }\n\t    return -1;\n\t  }\n\t\n\t  /**\n\t   * The base implementation of `_.isFunction` without support for environments\n\t   * with incorrect `typeof` results.\n\t   *\n\t   * @private\n\t   * @param {*} value The value to check.\n\t   * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t   */\n\t  function baseIsFunction(value) {\n\t    // Avoid a Chakra JIT bug in compatibility modes of IE 11.\n\t    // See https://github.com/jashkenas/underscore/issues/1621 for more details.\n\t    return typeof value == 'function' || false;\n\t  }\n\t\n\t  /**\n\t   * Converts `value` to a string if it is not one. An empty string is returned\n\t   * for `null` or `undefined` values.\n\t   *\n\t   * @private\n\t   * @param {*} value The value to process.\n\t   * @returns {string} Returns the string.\n\t   */\n\t  function baseToString(value) {\n\t    if (typeof value == 'string') {\n\t      return value;\n\t    }\n\t    return value == null ? '' : (value + '');\n\t  }\n\t\n\t  /**\n\t   * Used by `_.max` and `_.min` as the default callback for string values.\n\t   *\n\t   * @private\n\t   * @param {string} string The string to inspect.\n\t   * @returns {number} Returns the code unit of the first character of the string.\n\t   */\n\t  function charAtCallback(string) {\n\t    return string.charCodeAt(0);\n\t  }\n\t\n\t  /**\n\t   * Used by `_.trim` and `_.trimLeft` to get the index of the first character\n\t   * of `string` that is not found in `chars`.\n\t   *\n\t   * @private\n\t   * @param {string} string The string to inspect.\n\t   * @param {string} chars The characters to find.\n\t   * @returns {number} Returns the index of the first character not found in `chars`.\n\t   */\n\t  function charsLeftIndex(string, chars) {\n\t    var index = -1,\n\t        length = string.length;\n\t\n\t    while (++index < length && chars.indexOf(string.charAt(index)) > -1) {}\n\t    return index;\n\t  }\n\t\n\t  /**\n\t   * Used by `_.trim` and `_.trimRight` to get the index of the last character\n\t   * of `string` that is not found in `chars`.\n\t   *\n\t   * @private\n\t   * @param {string} string The string to inspect.\n\t   * @param {string} chars The characters to find.\n\t   * @returns {number} Returns the index of the last character not found in `chars`.\n\t   */\n\t  function charsRightIndex(string, chars) {\n\t    var index = string.length;\n\t\n\t    while (index-- && chars.indexOf(string.charAt(index)) > -1) {}\n\t    return index;\n\t  }\n\t\n\t  /**\n\t   * Used by `_.sortBy` to compare transformed elements of a collection and stable\n\t   * sort them in ascending order.\n\t   *\n\t   * @private\n\t   * @param {Object} object The object to compare to `other`.\n\t   * @param {Object} other The object to compare to `object`.\n\t   * @returns {number} Returns the sort order indicator for `object`.\n\t   */\n\t  function compareAscending(object, other) {\n\t    return baseCompareAscending(object.criteria, other.criteria) || (object.index - other.index);\n\t  }\n\t\n\t  /**\n\t   * Used by `_.sortByOrder` to compare multiple properties of each element\n\t   * in a collection and stable sort them in the following order:\n\t   *\n\t   * If `orders` is unspecified, sort in ascending order for all properties.\n\t   * Otherwise, for each property, sort in ascending order if its corresponding value in\n\t   * orders is true, and descending order if false.\n\t   *\n\t   * @private\n\t   * @param {Object} object The object to compare to `other`.\n\t   * @param {Object} other The object to compare to `object`.\n\t   * @param {boolean[]} orders The order to sort by for each property.\n\t   * @returns {number} Returns the sort order indicator for `object`.\n\t   */\n\t  function compareMultiple(object, other, orders) {\n\t    var index = -1,\n\t        objCriteria = object.criteria,\n\t        othCriteria = other.criteria,\n\t        length = objCriteria.length,\n\t        ordersLength = orders.length;\n\t\n\t    while (++index < length) {\n\t      var result = baseCompareAscending(objCriteria[index], othCriteria[index]);\n\t      if (result) {\n\t        if (index >= ordersLength) {\n\t          return result;\n\t        }\n\t        return result * (orders[index] ? 1 : -1);\n\t      }\n\t    }\n\t    // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n\t    // that causes it, under certain circumstances, to provide the same value for\n\t    // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n\t    // for more details.\n\t    //\n\t    // This also ensures a stable sort in V8 and other engines.\n\t    // See https://code.google.com/p/v8/issues/detail?id=90 for more details.\n\t    return object.index - other.index;\n\t  }\n\t\n\t  /**\n\t   * Used by `_.deburr` to convert latin-1 supplementary letters to basic latin letters.\n\t   *\n\t   * @private\n\t   * @param {string} letter The matched letter to deburr.\n\t   * @returns {string} Returns the deburred letter.\n\t   */\n\t  function deburrLetter(letter) {\n\t    return deburredLetters[letter];\n\t  }\n\t\n\t  /**\n\t   * Used by `_.escape` to convert characters to HTML entities.\n\t   *\n\t   * @private\n\t   * @param {string} chr The matched character to escape.\n\t   * @returns {string} Returns the escaped character.\n\t   */\n\t  function escapeHtmlChar(chr) {\n\t    return htmlEscapes[chr];\n\t  }\n\t\n\t  /**\n\t   * Used by `_.template` to escape characters for inclusion in compiled\n\t   * string literals.\n\t   *\n\t   * @private\n\t   * @param {string} chr The matched character to escape.\n\t   * @returns {string} Returns the escaped character.\n\t   */\n\t  function escapeStringChar(chr) {\n\t    return '\\\\' + stringEscapes[chr];\n\t  }\n\t\n\t  /**\n\t   * Gets the index at which the first occurrence of `NaN` is found in `array`.\n\t   *\n\t   * @private\n\t   * @param {Array} array The array to search.\n\t   * @param {number} fromIndex The index to search from.\n\t   * @param {boolean} [fromRight] Specify iterating from right to left.\n\t   * @returns {number} Returns the index of the matched `NaN`, else `-1`.\n\t   */\n\t  function indexOfNaN(array, fromIndex, fromRight) {\n\t    var length = array.length,\n\t        index = fromIndex + (fromRight ? 0 : -1);\n\t\n\t    while ((fromRight ? index-- : ++index < length)) {\n\t      var other = array[index];\n\t      if (other !== other) {\n\t        return index;\n\t      }\n\t    }\n\t    return -1;\n\t  }\n\t\n\t  /**\n\t   * Checks if `value` is object-like.\n\t   *\n\t   * @private\n\t   * @param {*} value The value to check.\n\t   * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n\t   */\n\t  function isObjectLike(value) {\n\t    return !!value && typeof value == 'object';\n\t  }\n\t\n\t  /**\n\t   * Used by `trimmedLeftIndex` and `trimmedRightIndex` to determine if a\n\t   * character code is whitespace.\n\t   *\n\t   * @private\n\t   * @param {number} charCode The character code to inspect.\n\t   * @returns {boolean} Returns `true` if `charCode` is whitespace, else `false`.\n\t   */\n\t  function isSpace(charCode) {\n\t    return ((charCode <= 160 && (charCode >= 9 && charCode <= 13) || charCode == 32 || charCode == 160) || charCode == 5760 || charCode == 6158 ||\n\t      (charCode >= 8192 && (charCode <= 8202 || charCode == 8232 || charCode == 8233 || charCode == 8239 || charCode == 8287 || charCode == 12288 || charCode == 65279)));\n\t  }\n\t\n\t  /**\n\t   * Replaces all `placeholder` elements in `array` with an internal placeholder\n\t   * and returns an array of their indexes.\n\t   *\n\t   * @private\n\t   * @param {Array} array The array to modify.\n\t   * @param {*} placeholder The placeholder to replace.\n\t   * @returns {Array} Returns the new array of placeholder indexes.\n\t   */\n\t  function replaceHolders(array, placeholder) {\n\t    var index = -1,\n\t        length = array.length,\n\t        resIndex = -1,\n\t        result = [];\n\t\n\t    while (++index < length) {\n\t      if (array[index] === placeholder) {\n\t        array[index] = PLACEHOLDER;\n\t        result[++resIndex] = index;\n\t      }\n\t    }\n\t    return result;\n\t  }\n\t\n\t  /**\n\t   * An implementation of `_.uniq` optimized for sorted arrays without support\n\t   * for callback shorthands and `this` binding.\n\t   *\n\t   * @private\n\t   * @param {Array} array The array to inspect.\n\t   * @param {Function} [iteratee] The function invoked per iteration.\n\t   * @returns {Array} Returns the new duplicate-value-free array.\n\t   */\n\t  function sortedUniq(array, iteratee) {\n\t    var seen,\n\t        index = -1,\n\t        length = array.length,\n\t        resIndex = -1,\n\t        result = [];\n\t\n\t    while (++index < length) {\n\t      var value = array[index],\n\t          computed = iteratee ? iteratee(value, index, array) : value;\n\t\n\t      if (!index || seen !== computed) {\n\t        seen = computed;\n\t        result[++resIndex] = value;\n\t      }\n\t    }\n\t    return result;\n\t  }\n\t\n\t  /**\n\t   * Used by `_.trim` and `_.trimLeft` to get the index of the first non-whitespace\n\t   * character of `string`.\n\t   *\n\t   * @private\n\t   * @param {string} string The string to inspect.\n\t   * @returns {number} Returns the index of the first non-whitespace character.\n\t   */\n\t  function trimmedLeftIndex(string) {\n\t    var index = -1,\n\t        length = string.length;\n\t\n\t    while (++index < length && isSpace(string.charCodeAt(index))) {}\n\t    return index;\n\t  }\n\t\n\t  /**\n\t   * Used by `_.trim` and `_.trimRight` to get the index of the last non-whitespace\n\t   * character of `string`.\n\t   *\n\t   * @private\n\t   * @param {string} string The string to inspect.\n\t   * @returns {number} Returns the index of the last non-whitespace character.\n\t   */\n\t  function trimmedRightIndex(string) {\n\t    var index = string.length;\n\t\n\t    while (index-- && isSpace(string.charCodeAt(index))) {}\n\t    return index;\n\t  }\n\t\n\t  /**\n\t   * Used by `_.unescape` to convert HTML entities to characters.\n\t   *\n\t   * @private\n\t   * @param {string} chr The matched character to unescape.\n\t   * @returns {string} Returns the unescaped character.\n\t   */\n\t  function unescapeHtmlChar(chr) {\n\t    return htmlUnescapes[chr];\n\t  }\n\t\n\t  /**\n\t   * Create a new pristine `lodash` function using the given `context` object.\n\t   *\n\t   * @static\n\t   * @memberOf _\n\t   * @category Utility\n\t   * @param {Object} [context=root] The context object.\n\t   * @returns {Function} Returns a new `lodash` function.\n\t   * @example\n\t   *\n\t   * _.mixin({ 'foo': _.constant('foo') });\n\t   *\n\t   * var lodash = _.runInContext();\n\t   * lodash.mixin({ 'bar': lodash.constant('bar') });\n\t   *\n\t   * _.isFunction(_.foo);\n\t   * // => true\n\t   * _.isFunction(_.bar);\n\t   * // => false\n\t   *\n\t   * lodash.isFunction(lodash.foo);\n\t   * // => false\n\t   * lodash.isFunction(lodash.bar);\n\t   * // => true\n\t   *\n\t   * // using `context` to mock `Date#getTime` use in `_.now`\n\t   * var mock = _.runInContext({\n\t   *   'Date': function() {\n\t   *     return { 'getTime': getTimeMock };\n\t   *   }\n\t   * });\n\t   *\n\t   * // or creating a suped-up `defer` in Node.js\n\t   * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n\t   */\n\t  function runInContext(context) {\n\t    // Avoid issues with some ES3 environments that attempt to use values, named\n\t    // after built-in constructors like `Object`, for the creation of literals.\n\t    // ES5 clears this up by stating that literals must use built-in constructors.\n\t    // See https://es5.github.io/#x11.1.5 for more details.\n\t    context = context ? _.defaults(root.Object(), context, _.pick(root, contextProps)) : root;\n\t\n\t    /** Native constructor references. */\n\t    var Array = context.Array,\n\t        Date = context.Date,\n\t        Error = context.Error,\n\t        Function = context.Function,\n\t        Math = context.Math,\n\t        Number = context.Number,\n\t        Object = context.Object,\n\t        RegExp = context.RegExp,\n\t        String = context.String,\n\t        TypeError = context.TypeError;\n\t\n\t    /** Used for native method references. */\n\t    var arrayProto = Array.prototype,\n\t        objectProto = Object.prototype,\n\t        stringProto = String.prototype;\n\t\n\t    /** Used to detect DOM support. */\n\t    var document = (document = context.window) && document.document;\n\t\n\t    /** Used to resolve the decompiled source of functions. */\n\t    var fnToString = Function.prototype.toString;\n\t\n\t    /** Used to check objects for own properties. */\n\t    var hasOwnProperty = objectProto.hasOwnProperty;\n\t\n\t    /** Used to generate unique IDs. */\n\t    var idCounter = 0;\n\t\n\t    /**\n\t     * Used to resolve the [`toStringTag`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring)\n\t     * of values.\n\t     */\n\t    var objToString = objectProto.toString;\n\t\n\t    /** Used to restore the original `_` reference in `_.noConflict`. */\n\t    var oldDash = context._;\n\t\n\t    /** Used to detect if a method is native. */\n\t    var reIsNative = RegExp('^' +\n\t      escapeRegExp(objToString)\n\t      .replace(/toString|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n\t    );\n\t\n\t    /** Native method references. */\n\t    var ArrayBuffer = isNative(ArrayBuffer = context.ArrayBuffer) && ArrayBuffer,\n\t        bufferSlice = isNative(bufferSlice = ArrayBuffer && new ArrayBuffer(0).slice) && bufferSlice,\n\t        ceil = Math.ceil,\n\t        clearTimeout = context.clearTimeout,\n\t        floor = Math.floor,\n\t        getOwnPropertySymbols = isNative(getOwnPropertySymbols = Object.getOwnPropertySymbols) && getOwnPropertySymbols,\n\t        getPrototypeOf = isNative(getPrototypeOf = Object.getPrototypeOf) && getPrototypeOf,\n\t        push = arrayProto.push,\n\t        preventExtensions = isNative(preventExtensions = Object.preventExtensions) && preventExtensions,\n\t        propertyIsEnumerable = objectProto.propertyIsEnumerable,\n\t        Set = isNative(Set = context.Set) && Set,\n\t        setTimeout = context.setTimeout,\n\t        splice = arrayProto.splice,\n\t        Uint8Array = isNative(Uint8Array = context.Uint8Array) && Uint8Array,\n\t        WeakMap = isNative(WeakMap = context.WeakMap) && WeakMap;\n\t\n\t    /** Used to clone array buffers. */\n\t    var Float64Array = (function() {\n\t      // Safari 5 errors when using an array buffer to initialize a typed array\n\t      // where the array buffer's `byteLength` is not a multiple of the typed\n\t      // array's `BYTES_PER_ELEMENT`.\n\t      try {\n\t        var func = isNative(func = context.Float64Array) && func,\n\t            result = new func(new ArrayBuffer(10), 0, 1) && func;\n\t      } catch(e) {}\n\t      return result;\n\t    }());\n\t\n\t    /** Used as `baseAssign`. */\n\t    var nativeAssign = (function() {\n\t      // Avoid `Object.assign` in Firefox 34-37 which have an early implementation\n\t      // with a now defunct try/catch behavior. See https://bugzilla.mozilla.org/show_bug.cgi?id=1103344\n\t      // for more details.\n\t      //\n\t      // Use `Object.preventExtensions` on a plain object instead of simply using\n\t      // `Object('x')` because Chrome and IE fail to throw an error when attempting\n\t      // to assign values to readonly indexes of strings.\n\t      var func = preventExtensions && isNative(func = Object.assign) && func;\n\t      try {\n\t        if (func) {\n\t          var object = preventExtensions({ '1': 0 });\n\t          object[0] = 1;\n\t        }\n\t      } catch(e) {\n\t        // Only attempt in strict mode.\n\t        try { func(object, 'xo'); } catch(e) {}\n\t        return !object[1] && func;\n\t      }\n\t      return false;\n\t    }());\n\t\n\t    /* Native method references for those with the same name as other `lodash` methods. */\n\t    var nativeIsArray = isNative(nativeIsArray = Array.isArray) && nativeIsArray,\n\t        nativeCreate = isNative(nativeCreate = Object.create) && nativeCreate,\n\t        nativeIsFinite = context.isFinite,\n\t        nativeKeys = isNative(nativeKeys = Object.keys) && nativeKeys,\n\t        nativeMax = Math.max,\n\t        nativeMin = Math.min,\n\t        nativeNow = isNative(nativeNow = Date.now) && nativeNow,\n\t        nativeNumIsFinite = isNative(nativeNumIsFinite = Number.isFinite) && nativeNumIsFinite,\n\t        nativeParseInt = context.parseInt,\n\t        nativeRandom = Math.random;\n\t\n\t    /** Used as references for `-Infinity` and `Infinity`. */\n\t    var NEGATIVE_INFINITY = Number.NEGATIVE_INFINITY,\n\t        POSITIVE_INFINITY = Number.POSITIVE_INFINITY;\n\t\n\t    /** Used as references for the maximum length and index of an array. */\n\t    var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1,\n\t        MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n\t        HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n\t\n\t    /** Used as the size, in bytes, of each `Float64Array` element. */\n\t    var FLOAT64_BYTES_PER_ELEMENT = Float64Array ? Float64Array.BYTES_PER_ELEMENT : 0;\n\t\n\t    /**\n\t     * Used as the [maximum length](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)\n\t     * of an array-like value.\n\t     */\n\t    var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;\n\t\n\t    /** Used to store function metadata. */\n\t    var metaMap = WeakMap && new WeakMap;\n\t\n\t    /** Used to lookup unminified function names. */\n\t    var realNames = {};\n\t\n\t    /**\n\t     * Creates a `lodash` object which wraps `value` to enable implicit chaining.\n\t     * Methods that operate on and return arrays, collections, and functions can\n\t     * be chained together. Methods that return a boolean or single value will\n\t     * automatically end the chain returning the unwrapped value. Explicit chaining\n\t     * may be enabled using `_.chain`. The execution of chained methods is lazy,\n\t     * that is, execution is deferred until `_#value` is implicitly or explicitly\n\t     * called.\n\t     *\n\t     * Lazy evaluation allows several methods to support shortcut fusion. Shortcut\n\t     * fusion is an optimization that merges iteratees to avoid creating intermediate\n\t     * arrays and reduce the number of iteratee executions.\n\t     *\n\t     * Chaining is supported in custom builds as long as the `_#value` method is\n\t     * directly or indirectly included in the build.\n\t     *\n\t     * In addition to lodash methods, wrappers have `Array` and `String` methods.\n\t     *\n\t     * The wrapper `Array` methods are:\n\t     * `concat`, `join`, `pop`, `push`, `reverse`, `shift`, `slice`, `sort`,\n\t     * `splice`, and `unshift`\n\t     *\n\t     * The wrapper `String` methods are:\n\t     * `replace` and `split`\n\t     *\n\t     * The wrapper methods that support shortcut fusion are:\n\t     * `compact`, `drop`, `dropRight`, `dropRightWhile`, `dropWhile`, `filter`,\n\t     * `first`, `initial`, `last`, `map`, `pluck`, `reject`, `rest`, `reverse`,\n\t     * `slice`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, `toArray`,\n\t     * and `where`\n\t     *\n\t     * The chainable wrapper methods are:\n\t     * `after`, `ary`, `assign`, `at`, `before`, `bind`, `bindAll`, `bindKey`,\n\t     * `callback`, `chain`, `chunk`, `commit`, `compact`, `concat`, `constant`,\n\t     * `countBy`, `create`, `curry`, `debounce`, `defaults`, `defer`, `delay`,\n\t     * `difference`, `drop`, `dropRight`, `dropRightWhile`, `dropWhile`, `fill`,\n\t     * `filter`, `flatten`, `flattenDeep`, `flow`, `flowRight`, `forEach`,\n\t     * `forEachRight`, `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `functions`,\n\t     * `groupBy`, `indexBy`, `initial`, `intersection`, `invert`, `invoke`, `keys`,\n\t     * `keysIn`, `map`, `mapValues`, `matches`, `matchesProperty`, `memoize`,\n\t     * `merge`, `mixin`, `negate`, `omit`, `once`, `pairs`, `partial`, `partialRight`,\n\t     * `partition`, `pick`, `plant`, `pluck`, `property`, `propertyOf`, `pull`,\n\t     * `pullAt`, `push`, `range`, `rearg`, `reject`, `remove`, `rest`, `reverse`,\n\t     * `shuffle`, `slice`, `sort`, `sortBy`, `sortByAll`, `sortByOrder`, `splice`,\n\t     * `spread`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, `tap`,\n\t     * `throttle`, `thru`, `times`, `toArray`, `toPlainObject`, `transform`,\n\t     * `union`, `uniq`, `unshift`, `unzip`, `values`, `valuesIn`, `where`,\n\t     * `without`, `wrap`, `xor`, `zip`, and `zipObject`\n\t     *\n\t     * The wrapper methods that are **not** chainable by default are:\n\t     * `add`, `attempt`, `camelCase`, `capitalize`, `clone`, `cloneDeep`, `deburr`,\n\t     * `endsWith`, `escape`, `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`,\n\t     * `findLast`, `findLastIndex`, `findLastKey`, `findWhere`, `first`, `has`,\n\t     * `identity`, `includes`, `indexOf`, `inRange`, `isArguments`, `isArray`,\n\t     * `isBoolean`, `isDate`, `isElement`, `isEmpty`, `isEqual`, `isError`, `isFinite`\n\t     * `isFunction`, `isMatch`, `isNative`, `isNaN`, `isNull`, `isNumber`, `isObject`,\n\t     * `isPlainObject`, `isRegExp`, `isString`, `isUndefined`, `isTypedArray`,\n\t     * `join`, `kebabCase`, `last`, `lastIndexOf`, `max`, `min`, `noConflict`,\n\t     * `noop`, `now`, `pad`, `padLeft`, `padRight`, `parseInt`, `pop`, `random`,\n\t     * `reduce`, `reduceRight`, `repeat`, `result`, `runInContext`, `shift`, `size`,\n\t     * `snakeCase`, `some`, `sortedIndex`, `sortedLastIndex`, `startCase`, `startsWith`,\n\t     * `sum`, `template`, `trim`, `trimLeft`, `trimRight`, `trunc`, `unescape`,\n\t     * `uniqueId`, `value`, and `words`\n\t     *\n\t     * The wrapper method `sample` will return a wrapped value when `n` is provided,\n\t     * otherwise an unwrapped value is returned.\n\t     *\n\t     * @name _\n\t     * @constructor\n\t     * @category Chain\n\t     * @param {*} value The value to wrap in a `lodash` instance.\n\t     * @returns {Object} Returns the new `lodash` wrapper instance.\n\t     * @example\n\t     *\n\t     * var wrapped = _([1, 2, 3]);\n\t     *\n\t     * // returns an unwrapped value\n\t     * wrapped.reduce(function(total, n) {\n\t     *   return total + n;\n\t     * });\n\t     * // => 6\n\t     *\n\t     * // returns a wrapped value\n\t     * var squares = wrapped.map(function(n) {\n\t     *   return n * n;\n\t     * });\n\t     *\n\t     * _.isArray(squares);\n\t     * // => false\n\t     *\n\t     * _.isArray(squares.value());\n\t     * // => true\n\t     */\n\t    function lodash(value) {\n\t      if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n\t        if (value instanceof LodashWrapper) {\n\t          return value;\n\t        }\n\t        if (hasOwnProperty.call(value, '__chain__') && hasOwnProperty.call(value, '__wrapped__')) {\n\t          return wrapperClone(value);\n\t        }\n\t      }\n\t      return new LodashWrapper(value);\n\t    }\n\t\n\t    /**\n\t     * The function whose prototype all chaining wrappers inherit from.\n\t     *\n\t     * @private\n\t     */\n\t    function baseLodash() {\n\t      // No operation performed.\n\t    }\n\t\n\t    /**\n\t     * The base constructor for creating `lodash` wrapper objects.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to wrap.\n\t     * @param {boolean} [chainAll] Enable chaining for all wrapper methods.\n\t     * @param {Array} [actions=[]] Actions to peform to resolve the unwrapped value.\n\t     */\n\t    function LodashWrapper(value, chainAll, actions) {\n\t      this.__wrapped__ = value;\n\t      this.__actions__ = actions || [];\n\t      this.__chain__ = !!chainAll;\n\t    }\n\t\n\t    /**\n\t     * An object environment feature flags.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @type Object\n\t     */\n\t    var support = lodash.support = {};\n\t\n\t    (function(x) {\n\t      var Ctor = function() { this.x = x; },\n\t          args = arguments,\n\t          object = { '0': x, 'length': x },\n\t          props = [];\n\t\n\t      Ctor.prototype = { 'valueOf': x, 'y': x };\n\t      for (var key in new Ctor) { props.push(key); }\n\t\n\t      /**\n\t       * Detect if functions can be decompiled by `Function#toString`\n\t       * (all but Firefox OS certified apps, older Opera mobile browsers, and\n\t       * the PlayStation 3; forced `false` for Windows 8 apps).\n\t       *\n\t       * @memberOf _.support\n\t       * @type boolean\n\t       */\n\t      support.funcDecomp = /\\bthis\\b/.test(function() { return this; });\n\t\n\t      /**\n\t       * Detect if `Function#name` is supported (all but IE).\n\t       *\n\t       * @memberOf _.support\n\t       * @type boolean\n\t       */\n\t      support.funcNames = typeof Function.name == 'string';\n\t\n\t      /**\n\t       * Detect if the DOM is supported.\n\t       *\n\t       * @memberOf _.support\n\t       * @type boolean\n\t       */\n\t      try {\n\t        support.dom = document.createDocumentFragment().nodeType === 11;\n\t      } catch(e) {\n\t        support.dom = false;\n\t      }\n\t\n\t      /**\n\t       * Detect if `arguments` object indexes are non-enumerable.\n\t       *\n\t       * In Firefox < 4, IE < 9, PhantomJS, and Safari < 5.1 `arguments` object\n\t       * indexes are non-enumerable. Chrome < 25 and Node.js < 0.11.0 treat\n\t       * `arguments` object indexes as non-enumerable and fail `hasOwnProperty`\n\t       * checks for indexes that exceed the number of function parameters and\n\t       * whose associated argument values are `0`.\n\t       *\n\t       * @memberOf _.support\n\t       * @type boolean\n\t       */\n\t      try {\n\t        support.nonEnumArgs = !propertyIsEnumerable.call(args, 1);\n\t      } catch(e) {\n\t        support.nonEnumArgs = true;\n\t      }\n\t    }(1, 0));\n\t\n\t    /**\n\t     * By default, the template delimiters used by lodash are like those in\n\t     * embedded Ruby (ERB). Change the following template settings to use\n\t     * alternative delimiters.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @type Object\n\t     */\n\t    lodash.templateSettings = {\n\t\n\t      /**\n\t       * Used to detect `data` property values to be HTML-escaped.\n\t       *\n\t       * @memberOf _.templateSettings\n\t       * @type RegExp\n\t       */\n\t      'escape': reEscape,\n\t\n\t      /**\n\t       * Used to detect code to be evaluated.\n\t       *\n\t       * @memberOf _.templateSettings\n\t       * @type RegExp\n\t       */\n\t      'evaluate': reEvaluate,\n\t\n\t      /**\n\t       * Used to detect `data` property values to inject.\n\t       *\n\t       * @memberOf _.templateSettings\n\t       * @type RegExp\n\t       */\n\t      'interpolate': reInterpolate,\n\t\n\t      /**\n\t       * Used to reference the data object in the template text.\n\t       *\n\t       * @memberOf _.templateSettings\n\t       * @type string\n\t       */\n\t      'variable': '',\n\t\n\t      /**\n\t       * Used to import variables into the compiled template.\n\t       *\n\t       * @memberOf _.templateSettings\n\t       * @type Object\n\t       */\n\t      'imports': {\n\t\n\t        /**\n\t         * A reference to the `lodash` function.\n\t         *\n\t         * @memberOf _.templateSettings.imports\n\t         * @type Function\n\t         */\n\t        '_': lodash\n\t      }\n\t    };\n\t\n\t    /**\n\t     * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to wrap.\n\t     */\n\t    function LazyWrapper(value) {\n\t      this.__wrapped__ = value;\n\t      this.__actions__ = null;\n\t      this.__dir__ = 1;\n\t      this.__dropCount__ = 0;\n\t      this.__filtered__ = false;\n\t      this.__iteratees__ = null;\n\t      this.__takeCount__ = POSITIVE_INFINITY;\n\t      this.__views__ = null;\n\t    }\n\t\n\t    /**\n\t     * Creates a clone of the lazy wrapper object.\n\t     *\n\t     * @private\n\t     * @name clone\n\t     * @memberOf LazyWrapper\n\t     * @returns {Object} Returns the cloned `LazyWrapper` object.\n\t     */\n\t    function lazyClone() {\n\t      var actions = this.__actions__,\n\t          iteratees = this.__iteratees__,\n\t          views = this.__views__,\n\t          result = new LazyWrapper(this.__wrapped__);\n\t\n\t      result.__actions__ = actions ? arrayCopy(actions) : null;\n\t      result.__dir__ = this.__dir__;\n\t      result.__filtered__ = this.__filtered__;\n\t      result.__iteratees__ = iteratees ? arrayCopy(iteratees) : null;\n\t      result.__takeCount__ = this.__takeCount__;\n\t      result.__views__ = views ? arrayCopy(views) : null;\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Reverses the direction of lazy iteration.\n\t     *\n\t     * @private\n\t     * @name reverse\n\t     * @memberOf LazyWrapper\n\t     * @returns {Object} Returns the new reversed `LazyWrapper` object.\n\t     */\n\t    function lazyReverse() {\n\t      if (this.__filtered__) {\n\t        var result = new LazyWrapper(this);\n\t        result.__dir__ = -1;\n\t        result.__filtered__ = true;\n\t      } else {\n\t        result = this.clone();\n\t        result.__dir__ *= -1;\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Extracts the unwrapped value from its lazy wrapper.\n\t     *\n\t     * @private\n\t     * @name value\n\t     * @memberOf LazyWrapper\n\t     * @returns {*} Returns the unwrapped value.\n\t     */\n\t    function lazyValue() {\n\t      var array = this.__wrapped__.value();\n\t      if (!isArray(array)) {\n\t        return baseWrapperValue(array, this.__actions__);\n\t      }\n\t      var dir = this.__dir__,\n\t          isRight = dir < 0,\n\t          view = getView(0, array.length, this.__views__),\n\t          start = view.start,\n\t          end = view.end,\n\t          length = end - start,\n\t          index = isRight ? end : (start - 1),\n\t          takeCount = nativeMin(length, this.__takeCount__),\n\t          iteratees = this.__iteratees__,\n\t          iterLength = iteratees ? iteratees.length : 0,\n\t          resIndex = 0,\n\t          result = [];\n\t\n\t      outer:\n\t      while (length-- && resIndex < takeCount) {\n\t        index += dir;\n\t\n\t        var iterIndex = -1,\n\t            value = array[index];\n\t\n\t        while (++iterIndex < iterLength) {\n\t          var data = iteratees[iterIndex],\n\t              iteratee = data.iteratee,\n\t              type = data.type;\n\t\n\t          if (type == LAZY_DROP_WHILE_FLAG) {\n\t            if (data.done && (isRight ? (index > data.index) : (index < data.index))) {\n\t              data.count = 0;\n\t              data.done = false;\n\t            }\n\t            data.index = index;\n\t            if (!data.done) {\n\t              var limit = data.limit;\n\t              if (!(data.done = limit > -1 ? (data.count++ >= limit) : !iteratee(value))) {\n\t                continue outer;\n\t              }\n\t            }\n\t          } else {\n\t            var computed = iteratee(value);\n\t            if (type == LAZY_MAP_FLAG) {\n\t              value = computed;\n\t            } else if (!computed) {\n\t              if (type == LAZY_FILTER_FLAG) {\n\t                continue outer;\n\t              } else {\n\t                break outer;\n\t              }\n\t            }\n\t          }\n\t        }\n\t        result[resIndex++] = value;\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Creates a cache object to store key/value pairs.\n\t     *\n\t     * @private\n\t     * @static\n\t     * @name Cache\n\t     * @memberOf _.memoize\n\t     */\n\t    function MapCache() {\n\t      this.__data__ = {};\n\t    }\n\t\n\t    /**\n\t     * Removes `key` and its value from the cache.\n\t     *\n\t     * @private\n\t     * @name delete\n\t     * @memberOf _.memoize.Cache\n\t     * @param {string} key The key of the value to remove.\n\t     * @returns {boolean} Returns `true` if the entry was removed successfully, else `false`.\n\t     */\n\t    function mapDelete(key) {\n\t      return this.has(key) && delete this.__data__[key];\n\t    }\n\t\n\t    /**\n\t     * Gets the cached value for `key`.\n\t     *\n\t     * @private\n\t     * @name get\n\t     * @memberOf _.memoize.Cache\n\t     * @param {string} key The key of the value to get.\n\t     * @returns {*} Returns the cached value.\n\t     */\n\t    function mapGet(key) {\n\t      return key == '__proto__' ? undefined : this.__data__[key];\n\t    }\n\t\n\t    /**\n\t     * Checks if a cached value for `key` exists.\n\t     *\n\t     * @private\n\t     * @name has\n\t     * @memberOf _.memoize.Cache\n\t     * @param {string} key The key of the entry to check.\n\t     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n\t     */\n\t    function mapHas(key) {\n\t      return key != '__proto__' && hasOwnProperty.call(this.__data__, key);\n\t    }\n\t\n\t    /**\n\t     * Sets `value` to `key` of the cache.\n\t     *\n\t     * @private\n\t     * @name set\n\t     * @memberOf _.memoize.Cache\n\t     * @param {string} key The key of the value to cache.\n\t     * @param {*} value The value to cache.\n\t     * @returns {Object} Returns the cache object.\n\t     */\n\t    function mapSet(key, value) {\n\t      if (key != '__proto__') {\n\t        this.__data__[key] = value;\n\t      }\n\t      return this;\n\t    }\n\t\n\t    /**\n\t     *\n\t     * Creates a cache object to store unique values.\n\t     *\n\t     * @private\n\t     * @param {Array} [values] The values to cache.\n\t     */\n\t    function SetCache(values) {\n\t      var length = values ? values.length : 0;\n\t\n\t      this.data = { 'hash': nativeCreate(null), 'set': new Set };\n\t      while (length--) {\n\t        this.push(values[length]);\n\t      }\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is in `cache` mimicking the return signature of\n\t     * `_.indexOf` by returning `0` if the value is found, else `-1`.\n\t     *\n\t     * @private\n\t     * @param {Object} cache The cache to search.\n\t     * @param {*} value The value to search for.\n\t     * @returns {number} Returns `0` if `value` is found, else `-1`.\n\t     */\n\t    function cacheIndexOf(cache, value) {\n\t      var data = cache.data,\n\t          result = (typeof value == 'string' || isObject(value)) ? data.set.has(value) : data.hash[value];\n\t\n\t      return result ? 0 : -1;\n\t    }\n\t\n\t    /**\n\t     * Adds `value` to the cache.\n\t     *\n\t     * @private\n\t     * @name push\n\t     * @memberOf SetCache\n\t     * @param {*} value The value to cache.\n\t     */\n\t    function cachePush(value) {\n\t      var data = this.data;\n\t      if (typeof value == 'string' || isObject(value)) {\n\t        data.set.add(value);\n\t      } else {\n\t        data.hash[value] = true;\n\t      }\n\t    }\n\t\n\t    /**\n\t     * Copies the values of `source` to `array`.\n\t     *\n\t     * @private\n\t     * @param {Array} source The array to copy values from.\n\t     * @param {Array} [array=[]] The array to copy values to.\n\t     * @returns {Array} Returns `array`.\n\t     */\n\t    function arrayCopy(source, array) {\n\t      var index = -1,\n\t          length = source.length;\n\t\n\t      array || (array = Array(length));\n\t      while (++index < length) {\n\t        array[index] = source[index];\n\t      }\n\t      return array;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.forEach` for arrays without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {Array} Returns `array`.\n\t     */\n\t    function arrayEach(array, iteratee) {\n\t      var index = -1,\n\t          length = array.length;\n\t\n\t      while (++index < length) {\n\t        if (iteratee(array[index], index, array) === false) {\n\t          break;\n\t        }\n\t      }\n\t      return array;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.forEachRight` for arrays without support for\n\t     * callback shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {Array} Returns `array`.\n\t     */\n\t    function arrayEachRight(array, iteratee) {\n\t      var length = array.length;\n\t\n\t      while (length--) {\n\t        if (iteratee(array[length], length, array) === false) {\n\t          break;\n\t        }\n\t      }\n\t      return array;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.every` for arrays without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @param {Function} predicate The function invoked per iteration.\n\t     * @returns {boolean} Returns `true` if all elements pass the predicate check,\n\t     *  else `false`.\n\t     */\n\t    function arrayEvery(array, predicate) {\n\t      var index = -1,\n\t          length = array.length;\n\t\n\t      while (++index < length) {\n\t        if (!predicate(array[index], index, array)) {\n\t          return false;\n\t        }\n\t      }\n\t      return true;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.filter` for arrays without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @param {Function} predicate The function invoked per iteration.\n\t     * @returns {Array} Returns the new filtered array.\n\t     */\n\t    function arrayFilter(array, predicate) {\n\t      var index = -1,\n\t          length = array.length,\n\t          resIndex = -1,\n\t          result = [];\n\t\n\t      while (++index < length) {\n\t        var value = array[index];\n\t        if (predicate(value, index, array)) {\n\t          result[++resIndex] = value;\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.map` for arrays without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {Array} Returns the new mapped array.\n\t     */\n\t    function arrayMap(array, iteratee) {\n\t      var index = -1,\n\t          length = array.length,\n\t          result = Array(length);\n\t\n\t      while (++index < length) {\n\t        result[index] = iteratee(array[index], index, array);\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.max` for arrays without support for iteratees.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @returns {*} Returns the maximum value.\n\t     */\n\t    function arrayMax(array) {\n\t      var index = -1,\n\t          length = array.length,\n\t          result = NEGATIVE_INFINITY;\n\t\n\t      while (++index < length) {\n\t        var value = array[index];\n\t        if (value > result) {\n\t          result = value;\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.min` for arrays without support for iteratees.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @returns {*} Returns the minimum value.\n\t     */\n\t    function arrayMin(array) {\n\t      var index = -1,\n\t          length = array.length,\n\t          result = POSITIVE_INFINITY;\n\t\n\t      while (++index < length) {\n\t        var value = array[index];\n\t        if (value < result) {\n\t          result = value;\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.reduce` for arrays without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @param {*} [accumulator] The initial value.\n\t     * @param {boolean} [initFromArray] Specify using the first element of `array`\n\t     *  as the initial value.\n\t     * @returns {*} Returns the accumulated value.\n\t     */\n\t    function arrayReduce(array, iteratee, accumulator, initFromArray) {\n\t      var index = -1,\n\t          length = array.length;\n\t\n\t      if (initFromArray && length) {\n\t        accumulator = array[++index];\n\t      }\n\t      while (++index < length) {\n\t        accumulator = iteratee(accumulator, array[index], index, array);\n\t      }\n\t      return accumulator;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.reduceRight` for arrays without support for\n\t     * callback shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @param {*} [accumulator] The initial value.\n\t     * @param {boolean} [initFromArray] Specify using the last element of `array`\n\t     *  as the initial value.\n\t     * @returns {*} Returns the accumulated value.\n\t     */\n\t    function arrayReduceRight(array, iteratee, accumulator, initFromArray) {\n\t      var length = array.length;\n\t      if (initFromArray && length) {\n\t        accumulator = array[--length];\n\t      }\n\t      while (length--) {\n\t        accumulator = iteratee(accumulator, array[length], length, array);\n\t      }\n\t      return accumulator;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.some` for arrays without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @param {Function} predicate The function invoked per iteration.\n\t     * @returns {boolean} Returns `true` if any element passes the predicate check,\n\t     *  else `false`.\n\t     */\n\t    function arraySome(array, predicate) {\n\t      var index = -1,\n\t          length = array.length;\n\t\n\t      while (++index < length) {\n\t        if (predicate(array[index], index, array)) {\n\t          return true;\n\t        }\n\t      }\n\t      return false;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.sum` for arrays without support for iteratees.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @returns {number} Returns the sum.\n\t     */\n\t    function arraySum(array) {\n\t      var length = array.length,\n\t          result = 0;\n\t\n\t      while (length--) {\n\t        result += +array[length] || 0;\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Used by `_.defaults` to customize its `_.assign` use.\n\t     *\n\t     * @private\n\t     * @param {*} objectValue The destination object property value.\n\t     * @param {*} sourceValue The source object property value.\n\t     * @returns {*} Returns the value to assign to the destination object.\n\t     */\n\t    function assignDefaults(objectValue, sourceValue) {\n\t      return objectValue === undefined ? sourceValue : objectValue;\n\t    }\n\t\n\t    /**\n\t     * Used by `_.template` to customize its `_.assign` use.\n\t     *\n\t     * **Note:** This function is like `assignDefaults` except that it ignores\n\t     * inherited property values when checking if a property is `undefined`.\n\t     *\n\t     * @private\n\t     * @param {*} objectValue The destination object property value.\n\t     * @param {*} sourceValue The source object property value.\n\t     * @param {string} key The key associated with the object and source values.\n\t     * @param {Object} object The destination object.\n\t     * @returns {*} Returns the value to assign to the destination object.\n\t     */\n\t    function assignOwnDefaults(objectValue, sourceValue, key, object) {\n\t      return (objectValue === undefined || !hasOwnProperty.call(object, key))\n\t        ? sourceValue\n\t        : objectValue;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.assign` for customizing assigned values without\n\t     * support for argument juggling, multiple sources, and `this` binding `customizer`\n\t     * functions.\n\t     *\n\t     * @private\n\t     * @param {Object} object The destination object.\n\t     * @param {Object} source The source object.\n\t     * @param {Function} customizer The function to customize assigned values.\n\t     * @returns {Object} Returns `object`.\n\t     */\n\t    function assignWith(object, source, customizer) {\n\t      var props = keys(source);\n\t      push.apply(props, getSymbols(source));\n\t\n\t      var index = -1,\n\t          length = props.length;\n\t\n\t      while (++index < length) {\n\t        var key = props[index],\n\t            value = object[key],\n\t            result = customizer(value, source[key], key, object, source);\n\t\n\t        if ((result === result ? (result !== value) : (value === value)) ||\n\t            (value === undefined && !(key in object))) {\n\t          object[key] = result;\n\t        }\n\t      }\n\t      return object;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.assign` without support for argument juggling,\n\t     * multiple sources, and `customizer` functions.\n\t     *\n\t     * @private\n\t     * @param {Object} object The destination object.\n\t     * @param {Object} source The source object.\n\t     * @returns {Object} Returns `object`.\n\t     */\n\t    var baseAssign = nativeAssign || function(object, source) {\n\t      return source == null\n\t        ? object\n\t        : baseCopy(source, getSymbols(source), baseCopy(source, keys(source), object));\n\t    };\n\t\n\t    /**\n\t     * The base implementation of `_.at` without support for string collections\n\t     * and individual key arguments.\n\t     *\n\t     * @private\n\t     * @param {Array|Object} collection The collection to iterate over.\n\t     * @param {number[]|string[]} props The property names or indexes of elements to pick.\n\t     * @returns {Array} Returns the new array of picked elements.\n\t     */\n\t    function baseAt(collection, props) {\n\t      var index = -1,\n\t          isNil = collection == null,\n\t          isArr = !isNil && isArrayLike(collection),\n\t          length = isArr && collection.length,\n\t          propsLength = props.length,\n\t          result = Array(propsLength);\n\t\n\t      while(++index < propsLength) {\n\t        var key = props[index];\n\t        if (isArr) {\n\t          result[index] = isIndex(key, length) ? collection[key] : undefined;\n\t        } else {\n\t          result[index] = isNil ? undefined : collection[key];\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Copies properties of `source` to `object`.\n\t     *\n\t     * @private\n\t     * @param {Object} source The object to copy properties from.\n\t     * @param {Array} props The property names to copy.\n\t     * @param {Object} [object={}] The object to copy properties to.\n\t     * @returns {Object} Returns `object`.\n\t     */\n\t    function baseCopy(source, props, object) {\n\t      object || (object = {});\n\t\n\t      var index = -1,\n\t          length = props.length;\n\t\n\t      while (++index < length) {\n\t        var key = props[index];\n\t        object[key] = source[key];\n\t      }\n\t      return object;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.callback` which supports specifying the\n\t     * number of arguments to provide to `func`.\n\t     *\n\t     * @private\n\t     * @param {*} [func=_.identity] The value to convert to a callback.\n\t     * @param {*} [thisArg] The `this` binding of `func`.\n\t     * @param {number} [argCount] The number of arguments to provide to `func`.\n\t     * @returns {Function} Returns the callback.\n\t     */\n\t    function baseCallback(func, thisArg, argCount) {\n\t      var type = typeof func;\n\t      if (type == 'function') {\n\t        return thisArg === undefined\n\t          ? func\n\t          : bindCallback(func, thisArg, argCount);\n\t      }\n\t      if (func == null) {\n\t        return identity;\n\t      }\n\t      if (type == 'object') {\n\t        return baseMatches(func);\n\t      }\n\t      return thisArg === undefined\n\t        ? property(func)\n\t        : baseMatchesProperty(func, thisArg);\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.clone` without support for argument juggling\n\t     * and `this` binding `customizer` functions.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to clone.\n\t     * @param {boolean} [isDeep] Specify a deep clone.\n\t     * @param {Function} [customizer] The function to customize cloning values.\n\t     * @param {string} [key] The key of `value`.\n\t     * @param {Object} [object] The object `value` belongs to.\n\t     * @param {Array} [stackA=[]] Tracks traversed source objects.\n\t     * @param {Array} [stackB=[]] Associates clones with source counterparts.\n\t     * @returns {*} Returns the cloned value.\n\t     */\n\t    function baseClone(value, isDeep, customizer, key, object, stackA, stackB) {\n\t      var result;\n\t      if (customizer) {\n\t        result = object ? customizer(value, key, object) : customizer(value);\n\t      }\n\t      if (result !== undefined) {\n\t        return result;\n\t      }\n\t      if (!isObject(value)) {\n\t        return value;\n\t      }\n\t      var isArr = isArray(value);\n\t      if (isArr) {\n\t        result = initCloneArray(value);\n\t        if (!isDeep) {\n\t          return arrayCopy(value, result);\n\t        }\n\t      } else {\n\t        var tag = objToString.call(value),\n\t            isFunc = tag == funcTag;\n\t\n\t        if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n\t          result = initCloneObject(isFunc ? {} : value);\n\t          if (!isDeep) {\n\t            return baseAssign(result, value);\n\t          }\n\t        } else {\n\t          return cloneableTags[tag]\n\t            ? initCloneByTag(value, tag, isDeep)\n\t            : (object ? value : {});\n\t        }\n\t      }\n\t      // Check for circular references and return corresponding clone.\n\t      stackA || (stackA = []);\n\t      stackB || (stackB = []);\n\t\n\t      var length = stackA.length;\n\t      while (length--) {\n\t        if (stackA[length] == value) {\n\t          return stackB[length];\n\t        }\n\t      }\n\t      // Add the source value to the stack of traversed objects and associate it with its clone.\n\t      stackA.push(value);\n\t      stackB.push(result);\n\t\n\t      // Recursively populate clone (susceptible to call stack limits).\n\t      (isArr ? arrayEach : baseForOwn)(value, function(subValue, key) {\n\t        result[key] = baseClone(subValue, isDeep, customizer, key, value, stackA, stackB);\n\t      });\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.create` without support for assigning\n\t     * properties to the created object.\n\t     *\n\t     * @private\n\t     * @param {Object} prototype The object to inherit from.\n\t     * @returns {Object} Returns the new object.\n\t     */\n\t    var baseCreate = (function() {\n\t      function Object() {}\n\t      return function(prototype) {\n\t        if (isObject(prototype)) {\n\t          Object.prototype = prototype;\n\t          var result = new Object;\n\t          Object.prototype = null;\n\t        }\n\t        return result || context.Object();\n\t      };\n\t    }());\n\t\n\t    /**\n\t     * The base implementation of `_.delay` and `_.defer` which accepts an index\n\t     * of where to slice the arguments to provide to `func`.\n\t     *\n\t     * @private\n\t     * @param {Function} func The function to delay.\n\t     * @param {number} wait The number of milliseconds to delay invocation.\n\t     * @param {Object} args The arguments provide to `func`.\n\t     * @returns {number} Returns the timer id.\n\t     */\n\t    function baseDelay(func, wait, args) {\n\t      if (typeof func != 'function') {\n\t        throw new TypeError(FUNC_ERROR_TEXT);\n\t      }\n\t      return setTimeout(function() { func.apply(undefined, args); }, wait);\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.difference` which accepts a single array\n\t     * of values to exclude.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to inspect.\n\t     * @param {Array} values The values to exclude.\n\t     * @returns {Array} Returns the new array of filtered values.\n\t     */\n\t    function baseDifference(array, values) {\n\t      var length = array ? array.length : 0,\n\t          result = [];\n\t\n\t      if (!length) {\n\t        return result;\n\t      }\n\t      var index = -1,\n\t          indexOf = getIndexOf(),\n\t          isCommon = indexOf == baseIndexOf,\n\t          cache = (isCommon && values.length >= 200) ? createCache(values) : null,\n\t          valuesLength = values.length;\n\t\n\t      if (cache) {\n\t        indexOf = cacheIndexOf;\n\t        isCommon = false;\n\t        values = cache;\n\t      }\n\t      outer:\n\t      while (++index < length) {\n\t        var value = array[index];\n\t\n\t        if (isCommon && value === value) {\n\t          var valuesIndex = valuesLength;\n\t          while (valuesIndex--) {\n\t            if (values[valuesIndex] === value) {\n\t              continue outer;\n\t            }\n\t          }\n\t          result.push(value);\n\t        }\n\t        else if (indexOf(values, value, 0) < 0) {\n\t          result.push(value);\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.forEach` without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {Array|Object|string} Returns `collection`.\n\t     */\n\t    var baseEach = createBaseEach(baseForOwn);\n\t\n\t    /**\n\t     * The base implementation of `_.forEachRight` without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {Array|Object|string} Returns `collection`.\n\t     */\n\t    var baseEachRight = createBaseEach(baseForOwnRight, true);\n\t\n\t    /**\n\t     * The base implementation of `_.every` without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} predicate The function invoked per iteration.\n\t     * @returns {boolean} Returns `true` if all elements pass the predicate check,\n\t     *  else `false`\n\t     */\n\t    function baseEvery(collection, predicate) {\n\t      var result = true;\n\t      baseEach(collection, function(value, index, collection) {\n\t        result = !!predicate(value, index, collection);\n\t        return result;\n\t      });\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.fill` without an iteratee call guard.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to fill.\n\t     * @param {*} value The value to fill `array` with.\n\t     * @param {number} [start=0] The start position.\n\t     * @param {number} [end=array.length] The end position.\n\t     * @returns {Array} Returns `array`.\n\t     */\n\t    function baseFill(array, value, start, end) {\n\t      var length = array.length;\n\t\n\t      start = start == null ? 0 : (+start || 0);\n\t      if (start < 0) {\n\t        start = -start > length ? 0 : (length + start);\n\t      }\n\t      end = (end === undefined || end > length) ? length : (+end || 0);\n\t      if (end < 0) {\n\t        end += length;\n\t      }\n\t      length = start > end ? 0 : (end >>> 0);\n\t      start >>>= 0;\n\t\n\t      while (start < length) {\n\t        array[start++] = value;\n\t      }\n\t      return array;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.filter` without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} predicate The function invoked per iteration.\n\t     * @returns {Array} Returns the new filtered array.\n\t     */\n\t    function baseFilter(collection, predicate) {\n\t      var result = [];\n\t      baseEach(collection, function(value, index, collection) {\n\t        if (predicate(value, index, collection)) {\n\t          result.push(value);\n\t        }\n\t      });\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.find`, `_.findLast`, `_.findKey`, and `_.findLastKey`,\n\t     * without support for callback shorthands and `this` binding, which iterates\n\t     * over `collection` using the provided `eachFunc`.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to search.\n\t     * @param {Function} predicate The function invoked per iteration.\n\t     * @param {Function} eachFunc The function to iterate over `collection`.\n\t     * @param {boolean} [retKey] Specify returning the key of the found element\n\t     *  instead of the element itself.\n\t     * @returns {*} Returns the found element or its key, else `undefined`.\n\t     */\n\t    function baseFind(collection, predicate, eachFunc, retKey) {\n\t      var result;\n\t      eachFunc(collection, function(value, key, collection) {\n\t        if (predicate(value, key, collection)) {\n\t          result = retKey ? key : value;\n\t          return false;\n\t        }\n\t      });\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.flatten` with added support for restricting\n\t     * flattening and specifying the start index.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to flatten.\n\t     * @param {boolean} [isDeep] Specify a deep flatten.\n\t     * @param {boolean} [isStrict] Restrict flattening to arrays-like objects.\n\t     * @returns {Array} Returns the new flattened array.\n\t     */\n\t    function baseFlatten(array, isDeep, isStrict) {\n\t      var index = -1,\n\t          length = array.length,\n\t          resIndex = -1,\n\t          result = [];\n\t\n\t      while (++index < length) {\n\t        var value = array[index];\n\t        if (isObjectLike(value) && isArrayLike(value) &&\n\t            (isStrict || isArray(value) || isArguments(value))) {\n\t          if (isDeep) {\n\t            // Recursively flatten arrays (susceptible to call stack limits).\n\t            value = baseFlatten(value, isDeep, isStrict);\n\t          }\n\t          var valIndex = -1,\n\t              valLength = value.length;\n\t\n\t          while (++valIndex < valLength) {\n\t            result[++resIndex] = value[valIndex];\n\t          }\n\t        } else if (!isStrict) {\n\t          result[++resIndex] = value;\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `baseForIn` and `baseForOwn` which iterates\n\t     * over `object` properties returned by `keysFunc` invoking `iteratee` for\n\t     * each property. Iteratee functions may exit iteration early by explicitly\n\t     * returning `false`.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @param {Function} keysFunc The function to get the keys of `object`.\n\t     * @returns {Object} Returns `object`.\n\t     */\n\t    var baseFor = createBaseFor();\n\t\n\t    /**\n\t     * This function is like `baseFor` except that it iterates over properties\n\t     * in the opposite order.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @param {Function} keysFunc The function to get the keys of `object`.\n\t     * @returns {Object} Returns `object`.\n\t     */\n\t    var baseForRight = createBaseFor(true);\n\t\n\t    /**\n\t     * The base implementation of `_.forIn` without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {Object} Returns `object`.\n\t     */\n\t    function baseForIn(object, iteratee) {\n\t      return baseFor(object, iteratee, keysIn);\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.forOwn` without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {Object} Returns `object`.\n\t     */\n\t    function baseForOwn(object, iteratee) {\n\t      return baseFor(object, iteratee, keys);\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.forOwnRight` without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {Object} Returns `object`.\n\t     */\n\t    function baseForOwnRight(object, iteratee) {\n\t      return baseForRight(object, iteratee, keys);\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.functions` which creates an array of\n\t     * `object` function property names filtered from those provided.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to inspect.\n\t     * @param {Array} props The property names to filter.\n\t     * @returns {Array} Returns the new array of filtered property names.\n\t     */\n\t    function baseFunctions(object, props) {\n\t      var index = -1,\n\t          length = props.length,\n\t          resIndex = -1,\n\t          result = [];\n\t\n\t      while (++index < length) {\n\t        var key = props[index];\n\t        if (isFunction(object[key])) {\n\t          result[++resIndex] = key;\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `get` without support for string paths\n\t     * and default values.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to query.\n\t     * @param {Array} path The path of the property to get.\n\t     * @param {string} [pathKey] The key representation of path.\n\t     * @returns {*} Returns the resolved value.\n\t     */\n\t    function baseGet(object, path, pathKey) {\n\t      if (object == null) {\n\t        return;\n\t      }\n\t      if (pathKey !== undefined && pathKey in toObject(object)) {\n\t        path = [pathKey];\n\t      }\n\t      var index = -1,\n\t          length = path.length;\n\t\n\t      while (object != null && ++index < length) {\n\t        object = object[path[index]];\n\t      }\n\t      return (index && index == length) ? object : undefined;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.isEqual` without support for `this` binding\n\t     * `customizer` functions.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to compare.\n\t     * @param {*} other The other value to compare.\n\t     * @param {Function} [customizer] The function to customize comparing values.\n\t     * @param {boolean} [isLoose] Specify performing partial comparisons.\n\t     * @param {Array} [stackA] Tracks traversed `value` objects.\n\t     * @param {Array} [stackB] Tracks traversed `other` objects.\n\t     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n\t     */\n\t    function baseIsEqual(value, other, customizer, isLoose, stackA, stackB) {\n\t      // Exit early for identical values.\n\t      if (value === other) {\n\t        return true;\n\t      }\n\t      var valType = typeof value,\n\t          othType = typeof other;\n\t\n\t      // Exit early for unlike primitive values.\n\t      if ((valType != 'function' && valType != 'object' && othType != 'function' && othType != 'object') ||\n\t          value == null || other == null) {\n\t        // Return `false` unless both values are `NaN`.\n\t        return value !== value && other !== other;\n\t      }\n\t      return baseIsEqualDeep(value, other, baseIsEqual, customizer, isLoose, stackA, stackB);\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `baseIsEqual` for arrays and objects which performs\n\t     * deep comparisons and tracks traversed objects enabling objects with circular\n\t     * references to be compared.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to compare.\n\t     * @param {Object} other The other object to compare.\n\t     * @param {Function} equalFunc The function to determine equivalents of values.\n\t     * @param {Function} [customizer] The function to customize comparing objects.\n\t     * @param {boolean} [isLoose] Specify performing partial comparisons.\n\t     * @param {Array} [stackA=[]] Tracks traversed `value` objects.\n\t     * @param {Array} [stackB=[]] Tracks traversed `other` objects.\n\t     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n\t     */\n\t    function baseIsEqualDeep(object, other, equalFunc, customizer, isLoose, stackA, stackB) {\n\t      var objIsArr = isArray(object),\n\t          othIsArr = isArray(other),\n\t          objTag = arrayTag,\n\t          othTag = arrayTag;\n\t\n\t      if (!objIsArr) {\n\t        objTag = objToString.call(object);\n\t        if (objTag == argsTag) {\n\t          objTag = objectTag;\n\t        } else if (objTag != objectTag) {\n\t          objIsArr = isTypedArray(object);\n\t        }\n\t      }\n\t      if (!othIsArr) {\n\t        othTag = objToString.call(other);\n\t        if (othTag == argsTag) {\n\t          othTag = objectTag;\n\t        } else if (othTag != objectTag) {\n\t          othIsArr = isTypedArray(other);\n\t        }\n\t      }\n\t      var objIsObj = objTag == objectTag,\n\t          othIsObj = othTag == objectTag,\n\t          isSameTag = objTag == othTag;\n\t\n\t      if (isSameTag && !(objIsArr || objIsObj)) {\n\t        return equalByTag(object, other, objTag);\n\t      }\n\t      if (!isLoose) {\n\t        var valWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n\t            othWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\t\n\t        if (valWrapped || othWrapped) {\n\t          return equalFunc(valWrapped ? object.value() : object, othWrapped ? other.value() : other, customizer, isLoose, stackA, stackB);\n\t        }\n\t      }\n\t      if (!isSameTag) {\n\t        return false;\n\t      }\n\t      // Assume cyclic values are equal.\n\t      // For more information on detecting circular references see https://es5.github.io/#JO.\n\t      stackA || (stackA = []);\n\t      stackB || (stackB = []);\n\t\n\t      var length = stackA.length;\n\t      while (length--) {\n\t        if (stackA[length] == object) {\n\t          return stackB[length] == other;\n\t        }\n\t      }\n\t      // Add `object` and `other` to the stack of traversed objects.\n\t      stackA.push(object);\n\t      stackB.push(other);\n\t\n\t      var result = (objIsArr ? equalArrays : equalObjects)(object, other, equalFunc, customizer, isLoose, stackA, stackB);\n\t\n\t      stackA.pop();\n\t      stackB.pop();\n\t\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.isMatch` without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to inspect.\n\t     * @param {Array} props The source property names to match.\n\t     * @param {Array} values The source values to match.\n\t     * @param {Array} strictCompareFlags Strict comparison flags for source values.\n\t     * @param {Function} [customizer] The function to customize comparing objects.\n\t     * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n\t     */\n\t    function baseIsMatch(object, props, values, strictCompareFlags, customizer) {\n\t      var index = -1,\n\t          length = props.length,\n\t          noCustomizer = !customizer;\n\t\n\t      while (++index < length) {\n\t        if ((noCustomizer && strictCompareFlags[index])\n\t              ? values[index] !== object[props[index]]\n\t              : !(props[index] in object)\n\t            ) {\n\t          return false;\n\t        }\n\t      }\n\t      index = -1;\n\t      while (++index < length) {\n\t        var key = props[index],\n\t            objValue = object[key],\n\t            srcValue = values[index];\n\t\n\t        if (noCustomizer && strictCompareFlags[index]) {\n\t          var result = objValue !== undefined || (key in object);\n\t        } else {\n\t          result = customizer ? customizer(objValue, srcValue, key) : undefined;\n\t          if (result === undefined) {\n\t            result = baseIsEqual(srcValue, objValue, customizer, true);\n\t          }\n\t        }\n\t        if (!result) {\n\t          return false;\n\t        }\n\t      }\n\t      return true;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.map` without support for callback shorthands\n\t     * and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {Array} Returns the new mapped array.\n\t     */\n\t    function baseMap(collection, iteratee) {\n\t      var index = -1,\n\t          result = isArrayLike(collection) ? Array(collection.length) : [];\n\t\n\t      baseEach(collection, function(value, key, collection) {\n\t        result[++index] = iteratee(value, key, collection);\n\t      });\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.matches` which does not clone `source`.\n\t     *\n\t     * @private\n\t     * @param {Object} source The object of property values to match.\n\t     * @returns {Function} Returns the new function.\n\t     */\n\t    function baseMatches(source) {\n\t      var props = keys(source),\n\t          length = props.length;\n\t\n\t      if (!length) {\n\t        return constant(true);\n\t      }\n\t      if (length == 1) {\n\t        var key = props[0],\n\t            value = source[key];\n\t\n\t        if (isStrictComparable(value)) {\n\t          return function(object) {\n\t            if (object == null) {\n\t              return false;\n\t            }\n\t            return object[key] === value && (value !== undefined || (key in toObject(object)));\n\t          };\n\t        }\n\t      }\n\t      var values = Array(length),\n\t          strictCompareFlags = Array(length);\n\t\n\t      while (length--) {\n\t        value = source[props[length]];\n\t        values[length] = value;\n\t        strictCompareFlags[length] = isStrictComparable(value);\n\t      }\n\t      return function(object) {\n\t        return object != null && baseIsMatch(toObject(object), props, values, strictCompareFlags);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.matchesProperty` which does not which does\n\t     * not clone `value`.\n\t     *\n\t     * @private\n\t     * @param {string} path The path of the property to get.\n\t     * @param {*} value The value to compare.\n\t     * @returns {Function} Returns the new function.\n\t     */\n\t    function baseMatchesProperty(path, value) {\n\t      var isArr = isArray(path),\n\t          isCommon = isKey(path) && isStrictComparable(value),\n\t          pathKey = (path + '');\n\t\n\t      path = toPath(path);\n\t      return function(object) {\n\t        if (object == null) {\n\t          return false;\n\t        }\n\t        var key = pathKey;\n\t        object = toObject(object);\n\t        if ((isArr || !isCommon) && !(key in object)) {\n\t          object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\n\t          if (object == null) {\n\t            return false;\n\t          }\n\t          key = last(path);\n\t          object = toObject(object);\n\t        }\n\t        return object[key] === value\n\t          ? (value !== undefined || (key in object))\n\t          : baseIsEqual(value, object[key], null, true);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.merge` without support for argument juggling,\n\t     * multiple sources, and `this` binding `customizer` functions.\n\t     *\n\t     * @private\n\t     * @param {Object} object The destination object.\n\t     * @param {Object} source The source object.\n\t     * @param {Function} [customizer] The function to customize merging properties.\n\t     * @param {Array} [stackA=[]] Tracks traversed source objects.\n\t     * @param {Array} [stackB=[]] Associates values with source counterparts.\n\t     * @returns {Object} Returns `object`.\n\t     */\n\t    function baseMerge(object, source, customizer, stackA, stackB) {\n\t      if (!isObject(object)) {\n\t        return object;\n\t      }\n\t      var isSrcArr = isArrayLike(source) && (isArray(source) || isTypedArray(source));\n\t      if (!isSrcArr) {\n\t        var props = keys(source);\n\t        push.apply(props, getSymbols(source));\n\t      }\n\t      arrayEach(props || source, function(srcValue, key) {\n\t        if (props) {\n\t          key = srcValue;\n\t          srcValue = source[key];\n\t        }\n\t        if (isObjectLike(srcValue)) {\n\t          stackA || (stackA = []);\n\t          stackB || (stackB = []);\n\t          baseMergeDeep(object, source, key, baseMerge, customizer, stackA, stackB);\n\t        }\n\t        else {\n\t          var value = object[key],\n\t              result = customizer ? customizer(value, srcValue, key, object, source) : undefined,\n\t              isCommon = result === undefined;\n\t\n\t          if (isCommon) {\n\t            result = srcValue;\n\t          }\n\t          if ((isSrcArr || result !== undefined) &&\n\t              (isCommon || (result === result ? (result !== value) : (value === value)))) {\n\t            object[key] = result;\n\t          }\n\t        }\n\t      });\n\t      return object;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `baseMerge` for arrays and objects which performs\n\t     * deep merges and tracks traversed objects enabling objects with circular\n\t     * references to be merged.\n\t     *\n\t     * @private\n\t     * @param {Object} object The destination object.\n\t     * @param {Object} source The source object.\n\t     * @param {string} key The key of the value to merge.\n\t     * @param {Function} mergeFunc The function to merge values.\n\t     * @param {Function} [customizer] The function to customize merging properties.\n\t     * @param {Array} [stackA=[]] Tracks traversed source objects.\n\t     * @param {Array} [stackB=[]] Associates values with source counterparts.\n\t     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n\t     */\n\t    function baseMergeDeep(object, source, key, mergeFunc, customizer, stackA, stackB) {\n\t      var length = stackA.length,\n\t          srcValue = source[key];\n\t\n\t      while (length--) {\n\t        if (stackA[length] == srcValue) {\n\t          object[key] = stackB[length];\n\t          return;\n\t        }\n\t      }\n\t      var value = object[key],\n\t          result = customizer ? customizer(value, srcValue, key, object, source) : undefined,\n\t          isCommon = result === undefined;\n\t\n\t      if (isCommon) {\n\t        result = srcValue;\n\t        if (isArrayLike(srcValue) && (isArray(srcValue) || isTypedArray(srcValue))) {\n\t          result = isArray(value)\n\t            ? value\n\t            : (isArrayLike(value) ? arrayCopy(value) : []);\n\t        }\n\t        else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n\t          result = isArguments(value)\n\t            ? toPlainObject(value)\n\t            : (isPlainObject(value) ? value : {});\n\t        }\n\t        else {\n\t          isCommon = false;\n\t        }\n\t      }\n\t      // Add the source value to the stack of traversed objects and associate\n\t      // it with its merged value.\n\t      stackA.push(srcValue);\n\t      stackB.push(result);\n\t\n\t      if (isCommon) {\n\t        // Recursively merge objects and arrays (susceptible to call stack limits).\n\t        object[key] = mergeFunc(result, srcValue, customizer, stackA, stackB);\n\t      } else if (result === result ? (result !== value) : (value === value)) {\n\t        object[key] = result;\n\t      }\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.property` without support for deep paths.\n\t     *\n\t     * @private\n\t     * @param {string} key The key of the property to get.\n\t     * @returns {Function} Returns the new function.\n\t     */\n\t    function baseProperty(key) {\n\t      return function(object) {\n\t        return object == null ? undefined : object[key];\n\t      };\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `baseProperty` which supports deep paths.\n\t     *\n\t     * @private\n\t     * @param {Array|string} path The path of the property to get.\n\t     * @returns {Function} Returns the new function.\n\t     */\n\t    function basePropertyDeep(path) {\n\t      var pathKey = (path + '');\n\t      path = toPath(path);\n\t      return function(object) {\n\t        return baseGet(object, path, pathKey);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.pullAt` without support for individual\n\t     * index arguments and capturing the removed elements.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to modify.\n\t     * @param {number[]} indexes The indexes of elements to remove.\n\t     * @returns {Array} Returns `array`.\n\t     */\n\t    function basePullAt(array, indexes) {\n\t      var length = array ? indexes.length : 0;\n\t      while (length--) {\n\t        var index = parseFloat(indexes[length]);\n\t        if (index != previous && isIndex(index)) {\n\t          var previous = index;\n\t          splice.call(array, index, 1);\n\t        }\n\t      }\n\t      return array;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.random` without support for argument juggling\n\t     * and returning floating-point numbers.\n\t     *\n\t     * @private\n\t     * @param {number} min The minimum possible value.\n\t     * @param {number} max The maximum possible value.\n\t     * @returns {number} Returns the random number.\n\t     */\n\t    function baseRandom(min, max) {\n\t      return min + floor(nativeRandom() * (max - min + 1));\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.reduce` and `_.reduceRight` without support\n\t     * for callback shorthands and `this` binding, which iterates over `collection`\n\t     * using the provided `eachFunc`.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @param {*} accumulator The initial value.\n\t     * @param {boolean} initFromCollection Specify using the first or last element\n\t     *  of `collection` as the initial value.\n\t     * @param {Function} eachFunc The function to iterate over `collection`.\n\t     * @returns {*} Returns the accumulated value.\n\t     */\n\t    function baseReduce(collection, iteratee, accumulator, initFromCollection, eachFunc) {\n\t      eachFunc(collection, function(value, index, collection) {\n\t        accumulator = initFromCollection\n\t          ? (initFromCollection = false, value)\n\t          : iteratee(accumulator, value, index, collection);\n\t      });\n\t      return accumulator;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `setData` without support for hot loop detection.\n\t     *\n\t     * @private\n\t     * @param {Function} func The function to associate metadata with.\n\t     * @param {*} data The metadata.\n\t     * @returns {Function} Returns `func`.\n\t     */\n\t    var baseSetData = !metaMap ? identity : function(func, data) {\n\t      metaMap.set(func, data);\n\t      return func;\n\t    };\n\t\n\t    /**\n\t     * The base implementation of `_.slice` without an iteratee call guard.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to slice.\n\t     * @param {number} [start=0] The start position.\n\t     * @param {number} [end=array.length] The end position.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     */\n\t    function baseSlice(array, start, end) {\n\t      var index = -1,\n\t          length = array.length;\n\t\n\t      start = start == null ? 0 : (+start || 0);\n\t      if (start < 0) {\n\t        start = -start > length ? 0 : (length + start);\n\t      }\n\t      end = (end === undefined || end > length) ? length : (+end || 0);\n\t      if (end < 0) {\n\t        end += length;\n\t      }\n\t      length = start > end ? 0 : ((end - start) >>> 0);\n\t      start >>>= 0;\n\t\n\t      var result = Array(length);\n\t      while (++index < length) {\n\t        result[index] = array[index + start];\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.some` without support for callback shorthands\n\t     * and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} predicate The function invoked per iteration.\n\t     * @returns {boolean} Returns `true` if any element passes the predicate check,\n\t     *  else `false`.\n\t     */\n\t    function baseSome(collection, predicate) {\n\t      var result;\n\t\n\t      baseEach(collection, function(value, index, collection) {\n\t        result = predicate(value, index, collection);\n\t        return !result;\n\t      });\n\t      return !!result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.sortBy` which uses `comparer` to define\n\t     * the sort order of `array` and replaces criteria objects with their\n\t     * corresponding values.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to sort.\n\t     * @param {Function} comparer The function to define sort order.\n\t     * @returns {Array} Returns `array`.\n\t     */\n\t    function baseSortBy(array, comparer) {\n\t      var length = array.length;\n\t\n\t      array.sort(comparer);\n\t      while (length--) {\n\t        array[length] = array[length].value;\n\t      }\n\t      return array;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.sortByOrder` without param guards.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n\t     * @param {boolean[]} orders The sort orders of `iteratees`.\n\t     * @returns {Array} Returns the new sorted array.\n\t     */\n\t    function baseSortByOrder(collection, iteratees, orders) {\n\t      var callback = getCallback(),\n\t          index = -1;\n\t\n\t      iteratees = arrayMap(iteratees, function(iteratee) { return callback(iteratee); });\n\t\n\t      var result = baseMap(collection, function(value) {\n\t        var criteria = arrayMap(iteratees, function(iteratee) { return iteratee(value); });\n\t        return { 'criteria': criteria, 'index': ++index, 'value': value };\n\t      });\n\t\n\t      return baseSortBy(result, function(object, other) {\n\t        return compareMultiple(object, other, orders);\n\t      });\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.sum` without support for callback shorthands\n\t     * and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {number} Returns the sum.\n\t     */\n\t    function baseSum(collection, iteratee) {\n\t      var result = 0;\n\t      baseEach(collection, function(value, index, collection) {\n\t        result += +iteratee(value, index, collection) || 0;\n\t      });\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.uniq` without support for callback shorthands\n\t     * and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to inspect.\n\t     * @param {Function} [iteratee] The function invoked per iteration.\n\t     * @returns {Array} Returns the new duplicate-value-free array.\n\t     */\n\t    function baseUniq(array, iteratee) {\n\t      var index = -1,\n\t          indexOf = getIndexOf(),\n\t          length = array.length,\n\t          isCommon = indexOf == baseIndexOf,\n\t          isLarge = isCommon && length >= 200,\n\t          seen = isLarge ? createCache() : null,\n\t          result = [];\n\t\n\t      if (seen) {\n\t        indexOf = cacheIndexOf;\n\t        isCommon = false;\n\t      } else {\n\t        isLarge = false;\n\t        seen = iteratee ? [] : result;\n\t      }\n\t      outer:\n\t      while (++index < length) {\n\t        var value = array[index],\n\t            computed = iteratee ? iteratee(value, index, array) : value;\n\t\n\t        if (isCommon && value === value) {\n\t          var seenIndex = seen.length;\n\t          while (seenIndex--) {\n\t            if (seen[seenIndex] === computed) {\n\t              continue outer;\n\t            }\n\t          }\n\t          if (iteratee) {\n\t            seen.push(computed);\n\t          }\n\t          result.push(value);\n\t        }\n\t        else if (indexOf(seen, computed, 0) < 0) {\n\t          if (iteratee || isLarge) {\n\t            seen.push(computed);\n\t          }\n\t          result.push(value);\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.values` and `_.valuesIn` which creates an\n\t     * array of `object` property values corresponding to the property names\n\t     * of `props`.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to query.\n\t     * @param {Array} props The property names to get values for.\n\t     * @returns {Object} Returns the array of property values.\n\t     */\n\t    function baseValues(object, props) {\n\t      var index = -1,\n\t          length = props.length,\n\t          result = Array(length);\n\t\n\t      while (++index < length) {\n\t        result[index] = object[props[index]];\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.dropRightWhile`, `_.dropWhile`, `_.takeRightWhile`,\n\t     * and `_.takeWhile` without support for callback shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to query.\n\t     * @param {Function} predicate The function invoked per iteration.\n\t     * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n\t     * @param {boolean} [fromRight] Specify iterating from right to left.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     */\n\t    function baseWhile(array, predicate, isDrop, fromRight) {\n\t      var length = array.length,\n\t          index = fromRight ? length : -1;\n\t\n\t      while ((fromRight ? index-- : ++index < length) && predicate(array[index], index, array)) {}\n\t      return isDrop\n\t        ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\n\t        : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `wrapperValue` which returns the result of\n\t     * performing a sequence of actions on the unwrapped `value`, where each\n\t     * successive action is supplied the return value of the previous.\n\t     *\n\t     * @private\n\t     * @param {*} value The unwrapped value.\n\t     * @param {Array} actions Actions to peform to resolve the unwrapped value.\n\t     * @returns {*} Returns the resolved value.\n\t     */\n\t    function baseWrapperValue(value, actions) {\n\t      var result = value;\n\t      if (result instanceof LazyWrapper) {\n\t        result = result.value();\n\t      }\n\t      var index = -1,\n\t          length = actions.length;\n\t\n\t      while (++index < length) {\n\t        var args = [result],\n\t            action = actions[index];\n\t\n\t        push.apply(args, action.args);\n\t        result = action.func.apply(action.thisArg, args);\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Performs a binary search of `array` to determine the index at which `value`\n\t     * should be inserted into `array` in order to maintain its sort order.\n\t     *\n\t     * @private\n\t     * @param {Array} array The sorted array to inspect.\n\t     * @param {*} value The value to evaluate.\n\t     * @param {boolean} [retHighest] Specify returning the highest qualified index.\n\t     * @returns {number} Returns the index at which `value` should be inserted\n\t     *  into `array`.\n\t     */\n\t    function binaryIndex(array, value, retHighest) {\n\t      var low = 0,\n\t          high = array ? array.length : low;\n\t\n\t      if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n\t        while (low < high) {\n\t          var mid = (low + high) >>> 1,\n\t              computed = array[mid];\n\t\n\t          if (retHighest ? (computed <= value) : (computed < value)) {\n\t            low = mid + 1;\n\t          } else {\n\t            high = mid;\n\t          }\n\t        }\n\t        return high;\n\t      }\n\t      return binaryIndexBy(array, value, identity, retHighest);\n\t    }\n\t\n\t    /**\n\t     * This function is like `binaryIndex` except that it invokes `iteratee` for\n\t     * `value` and each element of `array` to compute their sort ranking. The\n\t     * iteratee is invoked with one argument; (value).\n\t     *\n\t     * @private\n\t     * @param {Array} array The sorted array to inspect.\n\t     * @param {*} value The value to evaluate.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @param {boolean} [retHighest] Specify returning the highest qualified index.\n\t     * @returns {number} Returns the index at which `value` should be inserted\n\t     *  into `array`.\n\t     */\n\t    function binaryIndexBy(array, value, iteratee, retHighest) {\n\t      value = iteratee(value);\n\t\n\t      var low = 0,\n\t          high = array ? array.length : 0,\n\t          valIsNaN = value !== value,\n\t          valIsUndef = value === undefined;\n\t\n\t      while (low < high) {\n\t        var mid = floor((low + high) / 2),\n\t            computed = iteratee(array[mid]),\n\t            isReflexive = computed === computed;\n\t\n\t        if (valIsNaN) {\n\t          var setLow = isReflexive || retHighest;\n\t        } else if (valIsUndef) {\n\t          setLow = isReflexive && (retHighest || computed !== undefined);\n\t        } else {\n\t          setLow = retHighest ? (computed <= value) : (computed < value);\n\t        }\n\t        if (setLow) {\n\t          low = mid + 1;\n\t        } else {\n\t          high = mid;\n\t        }\n\t      }\n\t      return nativeMin(high, MAX_ARRAY_INDEX);\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `baseCallback` which only supports `this` binding\n\t     * and specifying the number of arguments to provide to `func`.\n\t     *\n\t     * @private\n\t     * @param {Function} func The function to bind.\n\t     * @param {*} thisArg The `this` binding of `func`.\n\t     * @param {number} [argCount] The number of arguments to provide to `func`.\n\t     * @returns {Function} Returns the callback.\n\t     */\n\t    function bindCallback(func, thisArg, argCount) {\n\t      if (typeof func != 'function') {\n\t        return identity;\n\t      }\n\t      if (thisArg === undefined) {\n\t        return func;\n\t      }\n\t      switch (argCount) {\n\t        case 1: return function(value) {\n\t          return func.call(thisArg, value);\n\t        };\n\t        case 3: return function(value, index, collection) {\n\t          return func.call(thisArg, value, index, collection);\n\t        };\n\t        case 4: return function(accumulator, value, index, collection) {\n\t          return func.call(thisArg, accumulator, value, index, collection);\n\t        };\n\t        case 5: return function(value, other, key, object, source) {\n\t          return func.call(thisArg, value, other, key, object, source);\n\t        };\n\t      }\n\t      return function() {\n\t        return func.apply(thisArg, arguments);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a clone of the given array buffer.\n\t     *\n\t     * @private\n\t     * @param {ArrayBuffer} buffer The array buffer to clone.\n\t     * @returns {ArrayBuffer} Returns the cloned array buffer.\n\t     */\n\t    function bufferClone(buffer) {\n\t      return bufferSlice.call(buffer, 0);\n\t    }\n\t    if (!bufferSlice) {\n\t      // PhantomJS has `ArrayBuffer` and `Uint8Array` but not `Float64Array`.\n\t      bufferClone = !(ArrayBuffer && Uint8Array) ? constant(null) : function(buffer) {\n\t        var byteLength = buffer.byteLength,\n\t            floatLength = Float64Array ? floor(byteLength / FLOAT64_BYTES_PER_ELEMENT) : 0,\n\t            offset = floatLength * FLOAT64_BYTES_PER_ELEMENT,\n\t            result = new ArrayBuffer(byteLength);\n\t\n\t        if (floatLength) {\n\t          var view = new Float64Array(result, 0, floatLength);\n\t          view.set(new Float64Array(buffer, 0, floatLength));\n\t        }\n\t        if (byteLength != offset) {\n\t          view = new Uint8Array(result, offset);\n\t          view.set(new Uint8Array(buffer, offset));\n\t        }\n\t        return result;\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates an array that is the composition of partially applied arguments,\n\t     * placeholders, and provided arguments into a single array of arguments.\n\t     *\n\t     * @private\n\t     * @param {Array|Object} args The provided arguments.\n\t     * @param {Array} partials The arguments to prepend to those provided.\n\t     * @param {Array} holders The `partials` placeholder indexes.\n\t     * @returns {Array} Returns the new array of composed arguments.\n\t     */\n\t    function composeArgs(args, partials, holders) {\n\t      var holdersLength = holders.length,\n\t          argsIndex = -1,\n\t          argsLength = nativeMax(args.length - holdersLength, 0),\n\t          leftIndex = -1,\n\t          leftLength = partials.length,\n\t          result = Array(argsLength + leftLength);\n\t\n\t      while (++leftIndex < leftLength) {\n\t        result[leftIndex] = partials[leftIndex];\n\t      }\n\t      while (++argsIndex < holdersLength) {\n\t        result[holders[argsIndex]] = args[argsIndex];\n\t      }\n\t      while (argsLength--) {\n\t        result[leftIndex++] = args[argsIndex++];\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * This function is like `composeArgs` except that the arguments composition\n\t     * is tailored for `_.partialRight`.\n\t     *\n\t     * @private\n\t     * @param {Array|Object} args The provided arguments.\n\t     * @param {Array} partials The arguments to append to those provided.\n\t     * @param {Array} holders The `partials` placeholder indexes.\n\t     * @returns {Array} Returns the new array of composed arguments.\n\t     */\n\t    function composeArgsRight(args, partials, holders) {\n\t      var holdersIndex = -1,\n\t          holdersLength = holders.length,\n\t          argsIndex = -1,\n\t          argsLength = nativeMax(args.length - holdersLength, 0),\n\t          rightIndex = -1,\n\t          rightLength = partials.length,\n\t          result = Array(argsLength + rightLength);\n\t\n\t      while (++argsIndex < argsLength) {\n\t        result[argsIndex] = args[argsIndex];\n\t      }\n\t      var offset = argsIndex;\n\t      while (++rightIndex < rightLength) {\n\t        result[offset + rightIndex] = partials[rightIndex];\n\t      }\n\t      while (++holdersIndex < holdersLength) {\n\t        result[offset + holders[holdersIndex]] = args[argsIndex++];\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Creates a function that aggregates a collection, creating an accumulator\n\t     * object composed from the results of running each element in the collection\n\t     * through an iteratee.\n\t     *\n\t     * **Note:** This function is used to create `_.countBy`, `_.groupBy`, `_.indexBy`,\n\t     * and `_.partition`.\n\t     *\n\t     * @private\n\t     * @param {Function} setter The function to set keys and values of the accumulator object.\n\t     * @param {Function} [initializer] The function to initialize the accumulator object.\n\t     * @returns {Function} Returns the new aggregator function.\n\t     */\n\t    function createAggregator(setter, initializer) {\n\t      return function(collection, iteratee, thisArg) {\n\t        var result = initializer ? initializer() : {};\n\t        iteratee = getCallback(iteratee, thisArg, 3);\n\t\n\t        if (isArray(collection)) {\n\t          var index = -1,\n\t              length = collection.length;\n\t\n\t          while (++index < length) {\n\t            var value = collection[index];\n\t            setter(result, value, iteratee(value, index, collection), collection);\n\t          }\n\t        } else {\n\t          baseEach(collection, function(value, key, collection) {\n\t            setter(result, value, iteratee(value, key, collection), collection);\n\t          });\n\t        }\n\t        return result;\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that assigns properties of source object(s) to a given\n\t     * destination object.\n\t     *\n\t     * **Note:** This function is used to create `_.assign`, `_.defaults`, and `_.merge`.\n\t     *\n\t     * @private\n\t     * @param {Function} assigner The function to assign values.\n\t     * @returns {Function} Returns the new assigner function.\n\t     */\n\t    function createAssigner(assigner) {\n\t      return restParam(function(object, sources) {\n\t        var index = -1,\n\t            length = object == null ? 0 : sources.length,\n\t            customizer = length > 2 && sources[length - 2],\n\t            guard = length > 2 && sources[2],\n\t            thisArg = length > 1 && sources[length - 1];\n\t\n\t        if (typeof customizer == 'function') {\n\t          customizer = bindCallback(customizer, thisArg, 5);\n\t          length -= 2;\n\t        } else {\n\t          customizer = typeof thisArg == 'function' ? thisArg : null;\n\t          length -= (customizer ? 1 : 0);\n\t        }\n\t        if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n\t          customizer = length < 3 ? null : customizer;\n\t          length = 1;\n\t        }\n\t        while (++index < length) {\n\t          var source = sources[index];\n\t          if (source) {\n\t            assigner(object, source, customizer);\n\t          }\n\t        }\n\t        return object;\n\t      });\n\t    }\n\t\n\t    /**\n\t     * Creates a `baseEach` or `baseEachRight` function.\n\t     *\n\t     * @private\n\t     * @param {Function} eachFunc The function to iterate over a collection.\n\t     * @param {boolean} [fromRight] Specify iterating from right to left.\n\t     * @returns {Function} Returns the new base function.\n\t     */\n\t    function createBaseEach(eachFunc, fromRight) {\n\t      return function(collection, iteratee) {\n\t        var length = collection ? getLength(collection) : 0;\n\t        if (!isLength(length)) {\n\t          return eachFunc(collection, iteratee);\n\t        }\n\t        var index = fromRight ? length : -1,\n\t            iterable = toObject(collection);\n\t\n\t        while ((fromRight ? index-- : ++index < length)) {\n\t          if (iteratee(iterable[index], index, iterable) === false) {\n\t            break;\n\t          }\n\t        }\n\t        return collection;\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a base function for `_.forIn` or `_.forInRight`.\n\t     *\n\t     * @private\n\t     * @param {boolean} [fromRight] Specify iterating from right to left.\n\t     * @returns {Function} Returns the new base function.\n\t     */\n\t    function createBaseFor(fromRight) {\n\t      return function(object, iteratee, keysFunc) {\n\t        var iterable = toObject(object),\n\t            props = keysFunc(object),\n\t            length = props.length,\n\t            index = fromRight ? length : -1;\n\t\n\t        while ((fromRight ? index-- : ++index < length)) {\n\t          var key = props[index];\n\t          if (iteratee(iterable[key], key, iterable) === false) {\n\t            break;\n\t          }\n\t        }\n\t        return object;\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that wraps `func` and invokes it with the `this`\n\t     * binding of `thisArg`.\n\t     *\n\t     * @private\n\t     * @param {Function} func The function to bind.\n\t     * @param {*} [thisArg] The `this` binding of `func`.\n\t     * @returns {Function} Returns the new bound function.\n\t     */\n\t    function createBindWrapper(func, thisArg) {\n\t      var Ctor = createCtorWrapper(func);\n\t\n\t      function wrapper() {\n\t        var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\t        return fn.apply(thisArg, arguments);\n\t      }\n\t      return wrapper;\n\t    }\n\t\n\t    /**\n\t     * Creates a `Set` cache object to optimize linear searches of large arrays.\n\t     *\n\t     * @private\n\t     * @param {Array} [values] The values to cache.\n\t     * @returns {null|Object} Returns the new cache object if `Set` is supported, else `null`.\n\t     */\n\t    var createCache = !(nativeCreate && Set) ? constant(null) : function(values) {\n\t      return new SetCache(values);\n\t    };\n\t\n\t    /**\n\t     * Creates a function that produces compound words out of the words in a\n\t     * given string.\n\t     *\n\t     * @private\n\t     * @param {Function} callback The function to combine each word.\n\t     * @returns {Function} Returns the new compounder function.\n\t     */\n\t    function createCompounder(callback) {\n\t      return function(string) {\n\t        var index = -1,\n\t            array = words(deburr(string)),\n\t            length = array.length,\n\t            result = '';\n\t\n\t        while (++index < length) {\n\t          result = callback(result, array[index], index);\n\t        }\n\t        return result;\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that produces an instance of `Ctor` regardless of\n\t     * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n\t     *\n\t     * @private\n\t     * @param {Function} Ctor The constructor to wrap.\n\t     * @returns {Function} Returns the new wrapped function.\n\t     */\n\t    function createCtorWrapper(Ctor) {\n\t      return function() {\n\t        var thisBinding = baseCreate(Ctor.prototype),\n\t            result = Ctor.apply(thisBinding, arguments);\n\t\n\t        // Mimic the constructor's `return` behavior.\n\t        // See https://es5.github.io/#x13.2.2 for more details.\n\t        return isObject(result) ? result : thisBinding;\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a `_.curry` or `_.curryRight` function.\n\t     *\n\t     * @private\n\t     * @param {boolean} flag The curry bit flag.\n\t     * @returns {Function} Returns the new curry function.\n\t     */\n\t    function createCurry(flag) {\n\t      function curryFunc(func, arity, guard) {\n\t        if (guard && isIterateeCall(func, arity, guard)) {\n\t          arity = null;\n\t        }\n\t        var result = createWrapper(func, flag, null, null, null, null, null, arity);\n\t        result.placeholder = curryFunc.placeholder;\n\t        return result;\n\t      }\n\t      return curryFunc;\n\t    }\n\t\n\t    /**\n\t     * Creates a `_.max` or `_.min` function.\n\t     *\n\t     * @private\n\t     * @param {Function} arrayFunc The function to get the extremum value from an array.\n\t     * @param {boolean} [isMin] Specify returning the minimum, instead of the maximum,\n\t     *  extremum value.\n\t     * @returns {Function} Returns the new extremum function.\n\t     */\n\t    function createExtremum(arrayFunc, isMin) {\n\t      return function(collection, iteratee, thisArg) {\n\t        if (thisArg && isIterateeCall(collection, iteratee, thisArg)) {\n\t          iteratee = null;\n\t        }\n\t        var func = getCallback(),\n\t            noIteratee = iteratee == null;\n\t\n\t        if (!(func === baseCallback && noIteratee)) {\n\t          noIteratee = false;\n\t          iteratee = func(iteratee, thisArg, 3);\n\t        }\n\t        if (noIteratee) {\n\t          var isArr = isArray(collection);\n\t          if (!isArr && isString(collection)) {\n\t            iteratee = charAtCallback;\n\t          } else {\n\t            return arrayFunc(isArr ? collection : toIterable(collection));\n\t          }\n\t        }\n\t        return extremumBy(collection, iteratee, isMin);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a `_.find` or `_.findLast` function.\n\t     *\n\t     * @private\n\t     * @param {Function} eachFunc The function to iterate over a collection.\n\t     * @param {boolean} [fromRight] Specify iterating from right to left.\n\t     * @returns {Function} Returns the new find function.\n\t     */\n\t    function createFind(eachFunc, fromRight) {\n\t      return function(collection, predicate, thisArg) {\n\t        predicate = getCallback(predicate, thisArg, 3);\n\t        if (isArray(collection)) {\n\t          var index = baseFindIndex(collection, predicate, fromRight);\n\t          return index > -1 ? collection[index] : undefined;\n\t        }\n\t        return baseFind(collection, predicate, eachFunc);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a `_.findIndex` or `_.findLastIndex` function.\n\t     *\n\t     * @private\n\t     * @param {boolean} [fromRight] Specify iterating from right to left.\n\t     * @returns {Function} Returns the new find function.\n\t     */\n\t    function createFindIndex(fromRight) {\n\t      return function(array, predicate, thisArg) {\n\t        if (!(array && array.length)) {\n\t          return -1;\n\t        }\n\t        predicate = getCallback(predicate, thisArg, 3);\n\t        return baseFindIndex(array, predicate, fromRight);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a `_.findKey` or `_.findLastKey` function.\n\t     *\n\t     * @private\n\t     * @param {Function} objectFunc The function to iterate over an object.\n\t     * @returns {Function} Returns the new find function.\n\t     */\n\t    function createFindKey(objectFunc) {\n\t      return function(object, predicate, thisArg) {\n\t        predicate = getCallback(predicate, thisArg, 3);\n\t        return baseFind(object, predicate, objectFunc, true);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a `_.flow` or `_.flowRight` function.\n\t     *\n\t     * @private\n\t     * @param {boolean} [fromRight] Specify iterating from right to left.\n\t     * @returns {Function} Returns the new flow function.\n\t     */\n\t    function createFlow(fromRight) {\n\t      return function() {\n\t        var length = arguments.length;\n\t        if (!length) {\n\t          return function() { return arguments[0]; };\n\t        }\n\t        var wrapper,\n\t            index = fromRight ? length : -1,\n\t            leftIndex = 0,\n\t            funcs = Array(length);\n\t\n\t        while ((fromRight ? index-- : ++index < length)) {\n\t          var func = funcs[leftIndex++] = arguments[index];\n\t          if (typeof func != 'function') {\n\t            throw new TypeError(FUNC_ERROR_TEXT);\n\t          }\n\t          var funcName = wrapper ? '' : getFuncName(func);\n\t          wrapper = funcName == 'wrapper' ? new LodashWrapper([]) : wrapper;\n\t        }\n\t        index = wrapper ? -1 : length;\n\t        while (++index < length) {\n\t          func = funcs[index];\n\t          funcName = getFuncName(func);\n\t\n\t          var data = funcName == 'wrapper' ? getData(func) : null;\n\t          if (data && isLaziable(data[0]) && data[1] == (ARY_FLAG | CURRY_FLAG | PARTIAL_FLAG | REARG_FLAG) && !data[4].length && data[9] == 1) {\n\t            wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n\t          } else {\n\t            wrapper = (func.length == 1 && isLaziable(func)) ? wrapper[funcName]() : wrapper.thru(func);\n\t          }\n\t        }\n\t        return function() {\n\t          var args = arguments;\n\t          if (wrapper && args.length == 1 && isArray(args[0])) {\n\t            return wrapper.plant(args[0]).value();\n\t          }\n\t          var index = 0,\n\t              result = funcs[index].apply(this, args);\n\t\n\t          while (++index < length) {\n\t            result = funcs[index].call(this, result);\n\t          }\n\t          return result;\n\t        };\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function for `_.forEach` or `_.forEachRight`.\n\t     *\n\t     * @private\n\t     * @param {Function} arrayFunc The function to iterate over an array.\n\t     * @param {Function} eachFunc The function to iterate over a collection.\n\t     * @returns {Function} Returns the new each function.\n\t     */\n\t    function createForEach(arrayFunc, eachFunc) {\n\t      return function(collection, iteratee, thisArg) {\n\t        return (typeof iteratee == 'function' && thisArg === undefined && isArray(collection))\n\t          ? arrayFunc(collection, iteratee)\n\t          : eachFunc(collection, bindCallback(iteratee, thisArg, 3));\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function for `_.forIn` or `_.forInRight`.\n\t     *\n\t     * @private\n\t     * @param {Function} objectFunc The function to iterate over an object.\n\t     * @returns {Function} Returns the new each function.\n\t     */\n\t    function createForIn(objectFunc) {\n\t      return function(object, iteratee, thisArg) {\n\t        if (typeof iteratee != 'function' || thisArg !== undefined) {\n\t          iteratee = bindCallback(iteratee, thisArg, 3);\n\t        }\n\t        return objectFunc(object, iteratee, keysIn);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function for `_.forOwn` or `_.forOwnRight`.\n\t     *\n\t     * @private\n\t     * @param {Function} objectFunc The function to iterate over an object.\n\t     * @returns {Function} Returns the new each function.\n\t     */\n\t    function createForOwn(objectFunc) {\n\t      return function(object, iteratee, thisArg) {\n\t        if (typeof iteratee != 'function' || thisArg !== undefined) {\n\t          iteratee = bindCallback(iteratee, thisArg, 3);\n\t        }\n\t        return objectFunc(object, iteratee);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function for `_.mapKeys` or `_.mapValues`.\n\t     *\n\t     * @private\n\t     * @param {boolean} [isMapKeys] Specify mapping keys instead of values.\n\t     * @returns {Function} Returns the new map function.\n\t     */\n\t    function createObjectMapper(isMapKeys) {\n\t      return function(object, iteratee, thisArg) {\n\t        var result = {};\n\t        iteratee = getCallback(iteratee, thisArg, 3);\n\t\n\t        baseForOwn(object, function(value, key, object) {\n\t          var mapped = iteratee(value, key, object);\n\t          key = isMapKeys ? mapped : key;\n\t          value = isMapKeys ? value : mapped;\n\t          result[key] = value;\n\t        });\n\t        return result;\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function for `_.padLeft` or `_.padRight`.\n\t     *\n\t     * @private\n\t     * @param {boolean} [fromRight] Specify padding from the right.\n\t     * @returns {Function} Returns the new pad function.\n\t     */\n\t    function createPadDir(fromRight) {\n\t      return function(string, length, chars) {\n\t        string = baseToString(string);\n\t        return (fromRight ? string : '') + createPadding(string, length, chars) + (fromRight ? '' : string);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a `_.partial` or `_.partialRight` function.\n\t     *\n\t     * @private\n\t     * @param {boolean} flag The partial bit flag.\n\t     * @returns {Function} Returns the new partial function.\n\t     */\n\t    function createPartial(flag) {\n\t      var partialFunc = restParam(function(func, partials) {\n\t        var holders = replaceHolders(partials, partialFunc.placeholder);\n\t        return createWrapper(func, flag, null, partials, holders);\n\t      });\n\t      return partialFunc;\n\t    }\n\t\n\t    /**\n\t     * Creates a function for `_.reduce` or `_.reduceRight`.\n\t     *\n\t     * @private\n\t     * @param {Function} arrayFunc The function to iterate over an array.\n\t     * @param {Function} eachFunc The function to iterate over a collection.\n\t     * @returns {Function} Returns the new each function.\n\t     */\n\t    function createReduce(arrayFunc, eachFunc) {\n\t      return function(collection, iteratee, accumulator, thisArg) {\n\t        var initFromArray = arguments.length < 3;\n\t        return (typeof iteratee == 'function' && thisArg === undefined && isArray(collection))\n\t          ? arrayFunc(collection, iteratee, accumulator, initFromArray)\n\t          : baseReduce(collection, getCallback(iteratee, thisArg, 4), accumulator, initFromArray, eachFunc);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that wraps `func` and invokes it with optional `this`\n\t     * binding of, partial application, and currying.\n\t     *\n\t     * @private\n\t     * @param {Function|string} func The function or method name to reference.\n\t     * @param {number} bitmask The bitmask of flags. See `createWrapper` for more details.\n\t     * @param {*} [thisArg] The `this` binding of `func`.\n\t     * @param {Array} [partials] The arguments to prepend to those provided to the new function.\n\t     * @param {Array} [holders] The `partials` placeholder indexes.\n\t     * @param {Array} [partialsRight] The arguments to append to those provided to the new function.\n\t     * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n\t     * @param {Array} [argPos] The argument positions of the new function.\n\t     * @param {number} [ary] The arity cap of `func`.\n\t     * @param {number} [arity] The arity of `func`.\n\t     * @returns {Function} Returns the new wrapped function.\n\t     */\n\t    function createHybridWrapper(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n\t      var isAry = bitmask & ARY_FLAG,\n\t          isBind = bitmask & BIND_FLAG,\n\t          isBindKey = bitmask & BIND_KEY_FLAG,\n\t          isCurry = bitmask & CURRY_FLAG,\n\t          isCurryBound = bitmask & CURRY_BOUND_FLAG,\n\t          isCurryRight = bitmask & CURRY_RIGHT_FLAG;\n\t\n\t      var Ctor = !isBindKey && createCtorWrapper(func),\n\t          key = func;\n\t\n\t      function wrapper() {\n\t        // Avoid `arguments` object use disqualifying optimizations by\n\t        // converting it to an array before providing it to other functions.\n\t        var length = arguments.length,\n\t            index = length,\n\t            args = Array(length);\n\t\n\t        while (index--) {\n\t          args[index] = arguments[index];\n\t        }\n\t        if (partials) {\n\t          args = composeArgs(args, partials, holders);\n\t        }\n\t        if (partialsRight) {\n\t          args = composeArgsRight(args, partialsRight, holdersRight);\n\t        }\n\t        if (isCurry || isCurryRight) {\n\t          var placeholder = wrapper.placeholder,\n\t              argsHolders = replaceHolders(args, placeholder);\n\t\n\t          length -= argsHolders.length;\n\t          if (length < arity) {\n\t            var newArgPos = argPos ? arrayCopy(argPos) : null,\n\t                newArity = nativeMax(arity - length, 0),\n\t                newsHolders = isCurry ? argsHolders : null,\n\t                newHoldersRight = isCurry ? null : argsHolders,\n\t                newPartials = isCurry ? args : null,\n\t                newPartialsRight = isCurry ? null : args;\n\t\n\t            bitmask |= (isCurry ? PARTIAL_FLAG : PARTIAL_RIGHT_FLAG);\n\t            bitmask &= ~(isCurry ? PARTIAL_RIGHT_FLAG : PARTIAL_FLAG);\n\t\n\t            if (!isCurryBound) {\n\t              bitmask &= ~(BIND_FLAG | BIND_KEY_FLAG);\n\t            }\n\t            var newData = [func, bitmask, thisArg, newPartials, newsHolders, newPartialsRight, newHoldersRight, newArgPos, ary, newArity],\n\t                result = createHybridWrapper.apply(undefined, newData);\n\t\n\t            if (isLaziable(func)) {\n\t              setData(result, newData);\n\t            }\n\t            result.placeholder = placeholder;\n\t            return result;\n\t          }\n\t        }\n\t        var thisBinding = isBind ? thisArg : this;\n\t        if (isBindKey) {\n\t          func = thisBinding[key];\n\t        }\n\t        if (argPos) {\n\t          args = reorder(args, argPos);\n\t        }\n\t        if (isAry && ary < args.length) {\n\t          args.length = ary;\n\t        }\n\t        var fn = (this && this !== root && this instanceof wrapper) ? (Ctor || createCtorWrapper(func)) : func;\n\t        return fn.apply(thisBinding, args);\n\t      }\n\t      return wrapper;\n\t    }\n\t\n\t    /**\n\t     * Creates the padding required for `string` based on the given `length`.\n\t     * The `chars` string is truncated if the number of characters exceeds `length`.\n\t     *\n\t     * @private\n\t     * @param {string} string The string to create padding for.\n\t     * @param {number} [length=0] The padding length.\n\t     * @param {string} [chars=' '] The string used as padding.\n\t     * @returns {string} Returns the pad for `string`.\n\t     */\n\t    function createPadding(string, length, chars) {\n\t      var strLength = string.length;\n\t      length = +length;\n\t\n\t      if (strLength >= length || !nativeIsFinite(length)) {\n\t        return '';\n\t      }\n\t      var padLength = length - strLength;\n\t      chars = chars == null ? ' ' : (chars + '');\n\t      return repeat(chars, ceil(padLength / chars.length)).slice(0, padLength);\n\t    }\n\t\n\t    /**\n\t     * Creates a function that wraps `func` and invokes it with the optional `this`\n\t     * binding of `thisArg` and the `partials` prepended to those provided to\n\t     * the wrapper.\n\t     *\n\t     * @private\n\t     * @param {Function} func The function to partially apply arguments to.\n\t     * @param {number} bitmask The bitmask of flags. See `createWrapper` for more details.\n\t     * @param {*} thisArg The `this` binding of `func`.\n\t     * @param {Array} partials The arguments to prepend to those provided to the new function.\n\t     * @returns {Function} Returns the new bound function.\n\t     */\n\t    function createPartialWrapper(func, bitmask, thisArg, partials) {\n\t      var isBind = bitmask & BIND_FLAG,\n\t          Ctor = createCtorWrapper(func);\n\t\n\t      function wrapper() {\n\t        // Avoid `arguments` object use disqualifying optimizations by\n\t        // converting it to an array before providing it `func`.\n\t        var argsIndex = -1,\n\t            argsLength = arguments.length,\n\t            leftIndex = -1,\n\t            leftLength = partials.length,\n\t            args = Array(argsLength + leftLength);\n\t\n\t        while (++leftIndex < leftLength) {\n\t          args[leftIndex] = partials[leftIndex];\n\t        }\n\t        while (argsLength--) {\n\t          args[leftIndex++] = arguments[++argsIndex];\n\t        }\n\t        var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\t        return fn.apply(isBind ? thisArg : this, args);\n\t      }\n\t      return wrapper;\n\t    }\n\t\n\t    /**\n\t     * Creates a `_.sortedIndex` or `_.sortedLastIndex` function.\n\t     *\n\t     * @private\n\t     * @param {boolean} [retHighest] Specify returning the highest qualified index.\n\t     * @returns {Function} Returns the new index function.\n\t     */\n\t    function createSortedIndex(retHighest) {\n\t      return function(array, value, iteratee, thisArg) {\n\t        var func = getCallback(iteratee);\n\t        return (func === baseCallback && iteratee == null)\n\t          ? binaryIndex(array, value, retHighest)\n\t          : binaryIndexBy(array, value, func(iteratee, thisArg, 1), retHighest);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that either curries or invokes `func` with optional\n\t     * `this` binding and partially applied arguments.\n\t     *\n\t     * @private\n\t     * @param {Function|string} func The function or method name to reference.\n\t     * @param {number} bitmask The bitmask of flags.\n\t     *  The bitmask may be composed of the following flags:\n\t     *     1 - `_.bind`\n\t     *     2 - `_.bindKey`\n\t     *     4 - `_.curry` or `_.curryRight` of a bound function\n\t     *     8 - `_.curry`\n\t     *    16 - `_.curryRight`\n\t     *    32 - `_.partial`\n\t     *    64 - `_.partialRight`\n\t     *   128 - `_.rearg`\n\t     *   256 - `_.ary`\n\t     * @param {*} [thisArg] The `this` binding of `func`.\n\t     * @param {Array} [partials] The arguments to be partially applied.\n\t     * @param {Array} [holders] The `partials` placeholder indexes.\n\t     * @param {Array} [argPos] The argument positions of the new function.\n\t     * @param {number} [ary] The arity cap of `func`.\n\t     * @param {number} [arity] The arity of `func`.\n\t     * @returns {Function} Returns the new wrapped function.\n\t     */\n\t    function createWrapper(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n\t      var isBindKey = bitmask & BIND_KEY_FLAG;\n\t      if (!isBindKey && typeof func != 'function') {\n\t        throw new TypeError(FUNC_ERROR_TEXT);\n\t      }\n\t      var length = partials ? partials.length : 0;\n\t      if (!length) {\n\t        bitmask &= ~(PARTIAL_FLAG | PARTIAL_RIGHT_FLAG);\n\t        partials = holders = null;\n\t      }\n\t      length -= (holders ? holders.length : 0);\n\t      if (bitmask & PARTIAL_RIGHT_FLAG) {\n\t        var partialsRight = partials,\n\t            holdersRight = holders;\n\t\n\t        partials = holders = null;\n\t      }\n\t      var data = isBindKey ? null : getData(func),\n\t          newData = [func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity];\n\t\n\t      if (data) {\n\t        mergeData(newData, data);\n\t        bitmask = newData[1];\n\t        arity = newData[9];\n\t      }\n\t      newData[9] = arity == null\n\t        ? (isBindKey ? 0 : func.length)\n\t        : (nativeMax(arity - length, 0) || 0);\n\t\n\t      if (bitmask == BIND_FLAG) {\n\t        var result = createBindWrapper(newData[0], newData[2]);\n\t      } else if ((bitmask == PARTIAL_FLAG || bitmask == (BIND_FLAG | PARTIAL_FLAG)) && !newData[4].length) {\n\t        result = createPartialWrapper.apply(undefined, newData);\n\t      } else {\n\t        result = createHybridWrapper.apply(undefined, newData);\n\t      }\n\t      var setter = data ? baseSetData : setData;\n\t      return setter(result, newData);\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `baseIsEqualDeep` for arrays with support for\n\t     * partial deep comparisons.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to compare.\n\t     * @param {Array} other The other array to compare.\n\t     * @param {Function} equalFunc The function to determine equivalents of values.\n\t     * @param {Function} [customizer] The function to customize comparing arrays.\n\t     * @param {boolean} [isLoose] Specify performing partial comparisons.\n\t     * @param {Array} [stackA] Tracks traversed `value` objects.\n\t     * @param {Array} [stackB] Tracks traversed `other` objects.\n\t     * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n\t     */\n\t    function equalArrays(array, other, equalFunc, customizer, isLoose, stackA, stackB) {\n\t      var index = -1,\n\t          arrLength = array.length,\n\t          othLength = other.length,\n\t          result = true;\n\t\n\t      if (arrLength != othLength && !(isLoose && othLength > arrLength)) {\n\t        return false;\n\t      }\n\t      // Deep compare the contents, ignoring non-numeric properties.\n\t      while (result && ++index < arrLength) {\n\t        var arrValue = array[index],\n\t            othValue = other[index];\n\t\n\t        result = undefined;\n\t        if (customizer) {\n\t          result = isLoose\n\t            ? customizer(othValue, arrValue, index)\n\t            : customizer(arrValue, othValue, index);\n\t        }\n\t        if (result === undefined) {\n\t          // Recursively compare arrays (susceptible to call stack limits).\n\t          if (isLoose) {\n\t            var othIndex = othLength;\n\t            while (othIndex--) {\n\t              othValue = other[othIndex];\n\t              result = (arrValue && arrValue === othValue) || equalFunc(arrValue, othValue, customizer, isLoose, stackA, stackB);\n\t              if (result) {\n\t                break;\n\t              }\n\t            }\n\t          } else {\n\t            result = (arrValue && arrValue === othValue) || equalFunc(arrValue, othValue, customizer, isLoose, stackA, stackB);\n\t          }\n\t        }\n\t      }\n\t      return !!result;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `baseIsEqualDeep` for comparing objects of\n\t     * the same `toStringTag`.\n\t     *\n\t     * **Note:** This function only supports comparing values with tags of\n\t     * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n\t     *\n\t     * @private\n\t     * @param {Object} value The object to compare.\n\t     * @param {Object} other The other object to compare.\n\t     * @param {string} tag The `toStringTag` of the objects to compare.\n\t     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n\t     */\n\t    function equalByTag(object, other, tag) {\n\t      switch (tag) {\n\t        case boolTag:\n\t        case dateTag:\n\t          // Coerce dates and booleans to numbers, dates to milliseconds and booleans\n\t          // to `1` or `0` treating invalid dates coerced to `NaN` as not equal.\n\t          return +object == +other;\n\t\n\t        case errorTag:\n\t          return object.name == other.name && object.message == other.message;\n\t\n\t        case numberTag:\n\t          // Treat `NaN` vs. `NaN` as equal.\n\t          return (object != +object)\n\t            ? other != +other\n\t            : object == +other;\n\t\n\t        case regexpTag:\n\t        case stringTag:\n\t          // Coerce regexes to strings and treat strings primitives and string\n\t          // objects as equal. See https://es5.github.io/#x15.10.6.4 for more details.\n\t          return object == (other + '');\n\t      }\n\t      return false;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `baseIsEqualDeep` for objects with support for\n\t     * partial deep comparisons.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to compare.\n\t     * @param {Object} other The other object to compare.\n\t     * @param {Function} equalFunc The function to determine equivalents of values.\n\t     * @param {Function} [customizer] The function to customize comparing values.\n\t     * @param {boolean} [isLoose] Specify performing partial comparisons.\n\t     * @param {Array} [stackA] Tracks traversed `value` objects.\n\t     * @param {Array} [stackB] Tracks traversed `other` objects.\n\t     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n\t     */\n\t    function equalObjects(object, other, equalFunc, customizer, isLoose, stackA, stackB) {\n\t      var objProps = keys(object),\n\t          objLength = objProps.length,\n\t          othProps = keys(other),\n\t          othLength = othProps.length;\n\t\n\t      if (objLength != othLength && !isLoose) {\n\t        return false;\n\t      }\n\t      var skipCtor = isLoose,\n\t          index = -1;\n\t\n\t      while (++index < objLength) {\n\t        var key = objProps[index],\n\t            result = isLoose ? key in other : hasOwnProperty.call(other, key);\n\t\n\t        if (result) {\n\t          var objValue = object[key],\n\t              othValue = other[key];\n\t\n\t          result = undefined;\n\t          if (customizer) {\n\t            result = isLoose\n\t              ? customizer(othValue, objValue, key)\n\t              : customizer(objValue, othValue, key);\n\t          }\n\t          if (result === undefined) {\n\t            // Recursively compare objects (susceptible to call stack limits).\n\t            result = (objValue && objValue === othValue) || equalFunc(objValue, othValue, customizer, isLoose, stackA, stackB);\n\t          }\n\t        }\n\t        if (!result) {\n\t          return false;\n\t        }\n\t        skipCtor || (skipCtor = key == 'constructor');\n\t      }\n\t      if (!skipCtor) {\n\t        var objCtor = object.constructor,\n\t            othCtor = other.constructor;\n\t\n\t        // Non `Object` object instances with different constructors are not equal.\n\t        if (objCtor != othCtor &&\n\t            ('constructor' in object && 'constructor' in other) &&\n\t            !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n\t              typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n\t          return false;\n\t        }\n\t      }\n\t      return true;\n\t    }\n\t\n\t    /**\n\t     * Gets the extremum value of `collection` invoking `iteratee` for each value\n\t     * in `collection` to generate the criterion by which the value is ranked.\n\t     * The `iteratee` is invoked with three arguments: (value, index, collection).\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @param {boolean} [isMin] Specify returning the minimum, instead of the\n\t     *  maximum, extremum value.\n\t     * @returns {*} Returns the extremum value.\n\t     */\n\t    function extremumBy(collection, iteratee, isMin) {\n\t      var exValue = isMin ? POSITIVE_INFINITY : NEGATIVE_INFINITY,\n\t          computed = exValue,\n\t          result = computed;\n\t\n\t      baseEach(collection, function(value, index, collection) {\n\t        var current = iteratee(value, index, collection);\n\t        if ((isMin ? (current < computed) : (current > computed)) ||\n\t            (current === exValue && current === result)) {\n\t          computed = current;\n\t          result = value;\n\t        }\n\t      });\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Gets the appropriate \"callback\" function. If the `_.callback` method is\n\t     * customized this function returns the custom method, otherwise it returns\n\t     * the `baseCallback` function. If arguments are provided the chosen function\n\t     * is invoked with them and its result is returned.\n\t     *\n\t     * @private\n\t     * @returns {Function} Returns the chosen function or its result.\n\t     */\n\t    function getCallback(func, thisArg, argCount) {\n\t      var result = lodash.callback || callback;\n\t      result = result === callback ? baseCallback : result;\n\t      return argCount ? result(func, thisArg, argCount) : result;\n\t    }\n\t\n\t    /**\n\t     * Gets metadata for `func`.\n\t     *\n\t     * @private\n\t     * @param {Function} func The function to query.\n\t     * @returns {*} Returns the metadata for `func`.\n\t     */\n\t    var getData = !metaMap ? noop : function(func) {\n\t      return metaMap.get(func);\n\t    };\n\t\n\t    /**\n\t     * Gets the name of `func`.\n\t     *\n\t     * @private\n\t     * @param {Function} func The function to query.\n\t     * @returns {string} Returns the function name.\n\t     */\n\t    var getFuncName = (function() {\n\t      if (!support.funcNames) {\n\t        return constant('');\n\t      }\n\t      if (constant.name == 'constant') {\n\t        return baseProperty('name');\n\t      }\n\t      return function(func) {\n\t        var result = func.name,\n\t            array = realNames[result],\n\t            length = array ? array.length : 0;\n\t\n\t        while (length--) {\n\t          var data = array[length],\n\t              otherFunc = data.func;\n\t\n\t          if (otherFunc == null || otherFunc == func) {\n\t            return data.name;\n\t          }\n\t        }\n\t        return result;\n\t      };\n\t    }());\n\t\n\t    /**\n\t     * Gets the appropriate \"indexOf\" function. If the `_.indexOf` method is\n\t     * customized this function returns the custom method, otherwise it returns\n\t     * the `baseIndexOf` function. If arguments are provided the chosen function\n\t     * is invoked with them and its result is returned.\n\t     *\n\t     * @private\n\t     * @returns {Function|number} Returns the chosen function or its result.\n\t     */\n\t    function getIndexOf(collection, target, fromIndex) {\n\t      var result = lodash.indexOf || indexOf;\n\t      result = result === indexOf ? baseIndexOf : result;\n\t      return collection ? result(collection, target, fromIndex) : result;\n\t    }\n\t\n\t    /**\n\t     * Gets the \"length\" property value of `object`.\n\t     *\n\t     * **Note:** This function is used to avoid a [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792)\n\t     * that affects Safari on at least iOS 8.1-8.3 ARM64.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to query.\n\t     * @returns {*} Returns the \"length\" value.\n\t     */\n\t    var getLength = baseProperty('length');\n\t\n\t    /**\n\t     * Creates an array of the own symbols of `object`.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to query.\n\t     * @returns {Array} Returns the array of symbols.\n\t     */\n\t    var getSymbols = !getOwnPropertySymbols ? constant([]) : function(object) {\n\t      return getOwnPropertySymbols(toObject(object));\n\t    };\n\t\n\t    /**\n\t     * Gets the view, applying any `transforms` to the `start` and `end` positions.\n\t     *\n\t     * @private\n\t     * @param {number} start The start of the view.\n\t     * @param {number} end The end of the view.\n\t     * @param {Array} [transforms] The transformations to apply to the view.\n\t     * @returns {Object} Returns an object containing the `start` and `end`\n\t     *  positions of the view.\n\t     */\n\t    function getView(start, end, transforms) {\n\t      var index = -1,\n\t          length = transforms ? transforms.length : 0;\n\t\n\t      while (++index < length) {\n\t        var data = transforms[index],\n\t            size = data.size;\n\t\n\t        switch (data.type) {\n\t          case 'drop':      start += size; break;\n\t          case 'dropRight': end -= size; break;\n\t          case 'take':      end = nativeMin(end, start + size); break;\n\t          case 'takeRight': start = nativeMax(start, end - size); break;\n\t        }\n\t      }\n\t      return { 'start': start, 'end': end };\n\t    }\n\t\n\t    /**\n\t     * Initializes an array clone.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to clone.\n\t     * @returns {Array} Returns the initialized clone.\n\t     */\n\t    function initCloneArray(array) {\n\t      var length = array.length,\n\t          result = new array.constructor(length);\n\t\n\t      // Add array properties assigned by `RegExp#exec`.\n\t      if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n\t        result.index = array.index;\n\t        result.input = array.input;\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Initializes an object clone.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to clone.\n\t     * @returns {Object} Returns the initialized clone.\n\t     */\n\t    function initCloneObject(object) {\n\t      var Ctor = object.constructor;\n\t      if (!(typeof Ctor == 'function' && Ctor instanceof Ctor)) {\n\t        Ctor = Object;\n\t      }\n\t      return new Ctor;\n\t    }\n\t\n\t    /**\n\t     * Initializes an object clone based on its `toStringTag`.\n\t     *\n\t     * **Note:** This function only supports cloning values with tags of\n\t     * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to clone.\n\t     * @param {string} tag The `toStringTag` of the object to clone.\n\t     * @param {boolean} [isDeep] Specify a deep clone.\n\t     * @returns {Object} Returns the initialized clone.\n\t     */\n\t    function initCloneByTag(object, tag, isDeep) {\n\t      var Ctor = object.constructor;\n\t      switch (tag) {\n\t        case arrayBufferTag:\n\t          return bufferClone(object);\n\t\n\t        case boolTag:\n\t        case dateTag:\n\t          return new Ctor(+object);\n\t\n\t        case float32Tag: case float64Tag:\n\t        case int8Tag: case int16Tag: case int32Tag:\n\t        case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n\t          var buffer = object.buffer;\n\t          return new Ctor(isDeep ? bufferClone(buffer) : buffer, object.byteOffset, object.length);\n\t\n\t        case numberTag:\n\t        case stringTag:\n\t          return new Ctor(object);\n\t\n\t        case regexpTag:\n\t          var result = new Ctor(object.source, reFlags.exec(object));\n\t          result.lastIndex = object.lastIndex;\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Invokes the method at `path` on `object`.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to query.\n\t     * @param {Array|string} path The path of the method to invoke.\n\t     * @param {Array} args The arguments to invoke the method with.\n\t     * @returns {*} Returns the result of the invoked method.\n\t     */\n\t    function invokePath(object, path, args) {\n\t      if (object != null && !isKey(path, object)) {\n\t        path = toPath(path);\n\t        object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\n\t        path = last(path);\n\t      }\n\t      var func = object == null ? object : object[path];\n\t      return func == null ? undefined : func.apply(object, args);\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is array-like.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n\t     */\n\t    function isArrayLike(value) {\n\t      return value != null && isLength(getLength(value));\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is a valid array-like index.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to check.\n\t     * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n\t     * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n\t     */\n\t    function isIndex(value, length) {\n\t      value = +value;\n\t      length = length == null ? MAX_SAFE_INTEGER : length;\n\t      return value > -1 && value % 1 == 0 && value < length;\n\t    }\n\t\n\t    /**\n\t     * Checks if the provided arguments are from an iteratee call.\n\t     *\n\t     * @private\n\t     * @param {*} value The potential iteratee value argument.\n\t     * @param {*} index The potential iteratee index or key argument.\n\t     * @param {*} object The potential iteratee object argument.\n\t     * @returns {boolean} Returns `true` if the arguments are from an iteratee call, else `false`.\n\t     */\n\t    function isIterateeCall(value, index, object) {\n\t      if (!isObject(object)) {\n\t        return false;\n\t      }\n\t      var type = typeof index;\n\t      if (type == 'number'\n\t          ? (isArrayLike(object) && isIndex(index, object.length))\n\t          : (type == 'string' && index in object)) {\n\t        var other = object[index];\n\t        return value === value ? (value === other) : (other !== other);\n\t      }\n\t      return false;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is a property name and not a property path.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to check.\n\t     * @param {Object} [object] The object to query keys on.\n\t     * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n\t     */\n\t    function isKey(value, object) {\n\t      var type = typeof value;\n\t      if ((type == 'string' && reIsPlainProp.test(value)) || type == 'number') {\n\t        return true;\n\t      }\n\t      if (isArray(value)) {\n\t        return false;\n\t      }\n\t      var result = !reIsDeepProp.test(value);\n\t      return result || (object != null && value in toObject(object));\n\t    }\n\t\n\t    /**\n\t     * Checks if `func` has a lazy counterpart.\n\t     *\n\t     * @private\n\t     * @param {Function} func The function to check.\n\t     * @returns {boolean} Returns `true` if `func` has a lazy counterpart, else `false`.\n\t     */\n\t    function isLaziable(func) {\n\t      var funcName = getFuncName(func);\n\t      return !!funcName && func === lodash[funcName] && funcName in LazyWrapper.prototype;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is a valid array-like length.\n\t     *\n\t     * **Note:** This function is based on [`ToLength`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength).\n\t     *\n\t     * @private\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n\t     */\n\t    function isLength(value) {\n\t      return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` if suitable for strict\n\t     *  equality comparisons, else `false`.\n\t     */\n\t    function isStrictComparable(value) {\n\t      return value === value && !isObject(value);\n\t    }\n\t\n\t    /**\n\t     * Merges the function metadata of `source` into `data`.\n\t     *\n\t     * Merging metadata reduces the number of wrappers required to invoke a function.\n\t     * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n\t     * may be applied regardless of execution order. Methods like `_.ary` and `_.rearg`\n\t     * augment function arguments, making the order in which they are executed important,\n\t     * preventing the merging of metadata. However, we make an exception for a safe\n\t     * common case where curried functions have `_.ary` and or `_.rearg` applied.\n\t     *\n\t     * @private\n\t     * @param {Array} data The destination metadata.\n\t     * @param {Array} source The source metadata.\n\t     * @returns {Array} Returns `data`.\n\t     */\n\t    function mergeData(data, source) {\n\t      var bitmask = data[1],\n\t          srcBitmask = source[1],\n\t          newBitmask = bitmask | srcBitmask,\n\t          isCommon = newBitmask < ARY_FLAG;\n\t\n\t      var isCombo =\n\t        (srcBitmask == ARY_FLAG && bitmask == CURRY_FLAG) ||\n\t        (srcBitmask == ARY_FLAG && bitmask == REARG_FLAG && data[7].length <= source[8]) ||\n\t        (srcBitmask == (ARY_FLAG | REARG_FLAG) && bitmask == CURRY_FLAG);\n\t\n\t      // Exit early if metadata can't be merged.\n\t      if (!(isCommon || isCombo)) {\n\t        return data;\n\t      }\n\t      // Use source `thisArg` if available.\n\t      if (srcBitmask & BIND_FLAG) {\n\t        data[2] = source[2];\n\t        // Set when currying a bound function.\n\t        newBitmask |= (bitmask & BIND_FLAG) ? 0 : CURRY_BOUND_FLAG;\n\t      }\n\t      // Compose partial arguments.\n\t      var value = source[3];\n\t      if (value) {\n\t        var partials = data[3];\n\t        data[3] = partials ? composeArgs(partials, value, source[4]) : arrayCopy(value);\n\t        data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : arrayCopy(source[4]);\n\t      }\n\t      // Compose partial right arguments.\n\t      value = source[5];\n\t      if (value) {\n\t        partials = data[5];\n\t        data[5] = partials ? composeArgsRight(partials, value, source[6]) : arrayCopy(value);\n\t        data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : arrayCopy(source[6]);\n\t      }\n\t      // Use source `argPos` if available.\n\t      value = source[7];\n\t      if (value) {\n\t        data[7] = arrayCopy(value);\n\t      }\n\t      // Use source `ary` if it's smaller.\n\t      if (srcBitmask & ARY_FLAG) {\n\t        data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n\t      }\n\t      // Use source `arity` if one is not provided.\n\t      if (data[9] == null) {\n\t        data[9] = source[9];\n\t      }\n\t      // Use source `func` and merge bitmasks.\n\t      data[0] = source[0];\n\t      data[1] = newBitmask;\n\t\n\t      return data;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.pick` which picks `object` properties specified\n\t     * by `props`.\n\t     *\n\t     * @private\n\t     * @param {Object} object The source object.\n\t     * @param {string[]} props The property names to pick.\n\t     * @returns {Object} Returns the new object.\n\t     */\n\t    function pickByArray(object, props) {\n\t      object = toObject(object);\n\t\n\t      var index = -1,\n\t          length = props.length,\n\t          result = {};\n\t\n\t      while (++index < length) {\n\t        var key = props[index];\n\t        if (key in object) {\n\t          result[key] = object[key];\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.pick` which picks `object` properties `predicate`\n\t     * returns truthy for.\n\t     *\n\t     * @private\n\t     * @param {Object} object The source object.\n\t     * @param {Function} predicate The function invoked per iteration.\n\t     * @returns {Object} Returns the new object.\n\t     */\n\t    function pickByCallback(object, predicate) {\n\t      var result = {};\n\t      baseForIn(object, function(value, key, object) {\n\t        if (predicate(value, key, object)) {\n\t          result[key] = value;\n\t        }\n\t      });\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Reorder `array` according to the specified indexes where the element at\n\t     * the first index is assigned as the first element, the element at\n\t     * the second index is assigned as the second element, and so on.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to reorder.\n\t     * @param {Array} indexes The arranged array indexes.\n\t     * @returns {Array} Returns `array`.\n\t     */\n\t    function reorder(array, indexes) {\n\t      var arrLength = array.length,\n\t          length = nativeMin(indexes.length, arrLength),\n\t          oldArray = arrayCopy(array);\n\t\n\t      while (length--) {\n\t        var index = indexes[length];\n\t        array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n\t      }\n\t      return array;\n\t    }\n\t\n\t    /**\n\t     * Sets metadata for `func`.\n\t     *\n\t     * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n\t     * period of time, it will trip its breaker and transition to an identity function\n\t     * to avoid garbage collection pauses in V8. See [V8 issue 2070](https://code.google.com/p/v8/issues/detail?id=2070)\n\t     * for more details.\n\t     *\n\t     * @private\n\t     * @param {Function} func The function to associate metadata with.\n\t     * @param {*} data The metadata.\n\t     * @returns {Function} Returns `func`.\n\t     */\n\t    var setData = (function() {\n\t      var count = 0,\n\t          lastCalled = 0;\n\t\n\t      return function(key, value) {\n\t        var stamp = now(),\n\t            remaining = HOT_SPAN - (stamp - lastCalled);\n\t\n\t        lastCalled = stamp;\n\t        if (remaining > 0) {\n\t          if (++count >= HOT_COUNT) {\n\t            return key;\n\t          }\n\t        } else {\n\t          count = 0;\n\t        }\n\t        return baseSetData(key, value);\n\t      };\n\t    }());\n\t\n\t    /**\n\t     * A fallback implementation of `_.isPlainObject` which checks if `value`\n\t     * is an object created by the `Object` constructor or has a `[[Prototype]]`\n\t     * of `null`.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n\t     */\n\t    function shimIsPlainObject(value) {\n\t      var Ctor,\n\t          support = lodash.support;\n\t\n\t      // Exit early for non `Object` objects.\n\t      if (!(isObjectLike(value) && objToString.call(value) == objectTag) ||\n\t          (!hasOwnProperty.call(value, 'constructor') &&\n\t            (Ctor = value.constructor, typeof Ctor == 'function' && !(Ctor instanceof Ctor)))) {\n\t        return false;\n\t      }\n\t      // IE < 9 iterates inherited properties before own properties. If the first\n\t      // iterated property is an object's own property then there are no inherited\n\t      // enumerable properties.\n\t      var result;\n\t      // In most environments an object's own properties are iterated before\n\t      // its inherited properties. If the last iterated property is an object's\n\t      // own property then there are no inherited enumerable properties.\n\t      baseForIn(value, function(subValue, key) {\n\t        result = key;\n\t      });\n\t      return result === undefined || hasOwnProperty.call(value, result);\n\t    }\n\t\n\t    /**\n\t     * A fallback implementation of `Object.keys` which creates an array of the\n\t     * own enumerable property names of `object`.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to query.\n\t     * @returns {Array} Returns the array of property names.\n\t     */\n\t    function shimKeys(object) {\n\t      var props = keysIn(object),\n\t          propsLength = props.length,\n\t          length = propsLength && object.length,\n\t          support = lodash.support;\n\t\n\t      var allowIndexes = length && isLength(length) &&\n\t        (isArray(object) || (support.nonEnumArgs && isArguments(object)));\n\t\n\t      var index = -1,\n\t          result = [];\n\t\n\t      while (++index < propsLength) {\n\t        var key = props[index];\n\t        if ((allowIndexes && isIndex(key, length)) || hasOwnProperty.call(object, key)) {\n\t          result.push(key);\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Converts `value` to an array-like object if it is not one.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to process.\n\t     * @returns {Array|Object} Returns the array-like object.\n\t     */\n\t    function toIterable(value) {\n\t      if (value == null) {\n\t        return [];\n\t      }\n\t      if (!isArrayLike(value)) {\n\t        return values(value);\n\t      }\n\t      return isObject(value) ? value : Object(value);\n\t    }\n\t\n\t    /**\n\t     * Converts `value` to an object if it is not one.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to process.\n\t     * @returns {Object} Returns the object.\n\t     */\n\t    function toObject(value) {\n\t      return isObject(value) ? value : Object(value);\n\t    }\n\t\n\t    /**\n\t     * Converts `value` to property path array if it is not one.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to process.\n\t     * @returns {Array} Returns the property path array.\n\t     */\n\t    function toPath(value) {\n\t      if (isArray(value)) {\n\t        return value;\n\t      }\n\t      var result = [];\n\t      baseToString(value).replace(rePropName, function(match, number, quote, string) {\n\t        result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));\n\t      });\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Creates a clone of `wrapper`.\n\t     *\n\t     * @private\n\t     * @param {Object} wrapper The wrapper to clone.\n\t     * @returns {Object} Returns the cloned wrapper.\n\t     */\n\t    function wrapperClone(wrapper) {\n\t      return wrapper instanceof LazyWrapper\n\t        ? wrapper.clone()\n\t        : new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__, arrayCopy(wrapper.__actions__));\n\t    }\n\t\n\t    /**\n\t     * Creates an array of elements split into groups the length of `size`.\n\t     * If `collection` can't be split evenly, the final chunk will be the remaining\n\t     * elements.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to process.\n\t     * @param {number} [size=1] The length of each chunk.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Array} Returns the new array containing chunks.\n\t     * @example\n\t     *\n\t     * _.chunk(['a', 'b', 'c', 'd'], 2);\n\t     * // => [['a', 'b'], ['c', 'd']]\n\t     *\n\t     * _.chunk(['a', 'b', 'c', 'd'], 3);\n\t     * // => [['a', 'b', 'c'], ['d']]\n\t     */\n\t    function chunk(array, size, guard) {\n\t      if (guard ? isIterateeCall(array, size, guard) : size == null) {\n\t        size = 1;\n\t      } else {\n\t        size = nativeMax(+size || 1, 1);\n\t      }\n\t      var index = 0,\n\t          length = array ? array.length : 0,\n\t          resIndex = -1,\n\t          result = Array(ceil(length / size));\n\t\n\t      while (index < length) {\n\t        result[++resIndex] = baseSlice(array, index, (index += size));\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Creates an array with all falsey values removed. The values `false`, `null`,\n\t     * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to compact.\n\t     * @returns {Array} Returns the new array of filtered values.\n\t     * @example\n\t     *\n\t     * _.compact([0, 1, false, 2, '', 3]);\n\t     * // => [1, 2, 3]\n\t     */\n\t    function compact(array) {\n\t      var index = -1,\n\t          length = array ? array.length : 0,\n\t          resIndex = -1,\n\t          result = [];\n\t\n\t      while (++index < length) {\n\t        var value = array[index];\n\t        if (value) {\n\t          result[++resIndex] = value;\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Creates an array excluding all values of the provided arrays using\n\t     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\n\t     * for equality comparisons.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to inspect.\n\t     * @param {...Array} [values] The arrays of values to exclude.\n\t     * @returns {Array} Returns the new array of filtered values.\n\t     * @example\n\t     *\n\t     * _.difference([1, 2, 3], [4, 2]);\n\t     * // => [1, 3]\n\t     */\n\t    var difference = restParam(function(array, values) {\n\t      return isArrayLike(array)\n\t        ? baseDifference(array, baseFlatten(values, false, true))\n\t        : [];\n\t    });\n\t\n\t    /**\n\t     * Creates a slice of `array` with `n` elements dropped from the beginning.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @param {number} [n=1] The number of elements to drop.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.drop([1, 2, 3]);\n\t     * // => [2, 3]\n\t     *\n\t     * _.drop([1, 2, 3], 2);\n\t     * // => [3]\n\t     *\n\t     * _.drop([1, 2, 3], 5);\n\t     * // => []\n\t     *\n\t     * _.drop([1, 2, 3], 0);\n\t     * // => [1, 2, 3]\n\t     */\n\t    function drop(array, n, guard) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return [];\n\t      }\n\t      if (guard ? isIterateeCall(array, n, guard) : n == null) {\n\t        n = 1;\n\t      }\n\t      return baseSlice(array, n < 0 ? 0 : n);\n\t    }\n\t\n\t    /**\n\t     * Creates a slice of `array` with `n` elements dropped from the end.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @param {number} [n=1] The number of elements to drop.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.dropRight([1, 2, 3]);\n\t     * // => [1, 2]\n\t     *\n\t     * _.dropRight([1, 2, 3], 2);\n\t     * // => [1]\n\t     *\n\t     * _.dropRight([1, 2, 3], 5);\n\t     * // => []\n\t     *\n\t     * _.dropRight([1, 2, 3], 0);\n\t     * // => [1, 2, 3]\n\t     */\n\t    function dropRight(array, n, guard) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return [];\n\t      }\n\t      if (guard ? isIterateeCall(array, n, guard) : n == null) {\n\t        n = 1;\n\t      }\n\t      n = length - (+n || 0);\n\t      return baseSlice(array, 0, n < 0 ? 0 : n);\n\t    }\n\t\n\t    /**\n\t     * Creates a slice of `array` excluding elements dropped from the end.\n\t     * Elements are dropped until `predicate` returns falsey. The predicate is\n\t     * bound to `thisArg` and invoked with three arguments: (value, index, array).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that match the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.dropRightWhile([1, 2, 3], function(n) {\n\t     *   return n > 1;\n\t     * });\n\t     * // => [1]\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney',  'active': true },\n\t     *   { 'user': 'fred',    'active': false },\n\t     *   { 'user': 'pebbles', 'active': false }\n\t     * ];\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.pluck(_.dropRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user');\n\t     * // => ['barney', 'fred']\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.pluck(_.dropRightWhile(users, 'active', false), 'user');\n\t     * // => ['barney']\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.pluck(_.dropRightWhile(users, 'active'), 'user');\n\t     * // => ['barney', 'fred', 'pebbles']\n\t     */\n\t    function dropRightWhile(array, predicate, thisArg) {\n\t      return (array && array.length)\n\t        ? baseWhile(array, getCallback(predicate, thisArg, 3), true, true)\n\t        : [];\n\t    }\n\t\n\t    /**\n\t     * Creates a slice of `array` excluding elements dropped from the beginning.\n\t     * Elements are dropped until `predicate` returns falsey. The predicate is\n\t     * bound to `thisArg` and invoked with three arguments: (value, index, array).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.dropWhile([1, 2, 3], function(n) {\n\t     *   return n < 3;\n\t     * });\n\t     * // => [3]\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney',  'active': false },\n\t     *   { 'user': 'fred',    'active': false },\n\t     *   { 'user': 'pebbles', 'active': true }\n\t     * ];\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.pluck(_.dropWhile(users, { 'user': 'barney', 'active': false }), 'user');\n\t     * // => ['fred', 'pebbles']\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.pluck(_.dropWhile(users, 'active', false), 'user');\n\t     * // => ['pebbles']\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.pluck(_.dropWhile(users, 'active'), 'user');\n\t     * // => ['barney', 'fred', 'pebbles']\n\t     */\n\t    function dropWhile(array, predicate, thisArg) {\n\t      return (array && array.length)\n\t        ? baseWhile(array, getCallback(predicate, thisArg, 3), true)\n\t        : [];\n\t    }\n\t\n\t    /**\n\t     * Fills elements of `array` with `value` from `start` up to, but not\n\t     * including, `end`.\n\t     *\n\t     * **Note:** This method mutates `array`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to fill.\n\t     * @param {*} value The value to fill `array` with.\n\t     * @param {number} [start=0] The start position.\n\t     * @param {number} [end=array.length] The end position.\n\t     * @returns {Array} Returns `array`.\n\t     * @example\n\t     *\n\t     * var array = [1, 2, 3];\n\t     *\n\t     * _.fill(array, 'a');\n\t     * console.log(array);\n\t     * // => ['a', 'a', 'a']\n\t     *\n\t     * _.fill(Array(3), 2);\n\t     * // => [2, 2, 2]\n\t     *\n\t     * _.fill([4, 6, 8], '*', 1, 2);\n\t     * // => [4, '*', 8]\n\t     */\n\t    function fill(array, value, start, end) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return [];\n\t      }\n\t      if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n\t        start = 0;\n\t        end = length;\n\t      }\n\t      return baseFill(array, value, start, end);\n\t    }\n\t\n\t    /**\n\t     * This method is like `_.find` except that it returns the index of the first\n\t     * element `predicate` returns truthy for instead of the element itself.\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to search.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {number} Returns the index of the found element, else `-1`.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney',  'active': false },\n\t     *   { 'user': 'fred',    'active': false },\n\t     *   { 'user': 'pebbles', 'active': true }\n\t     * ];\n\t     *\n\t     * _.findIndex(users, function(chr) {\n\t     *   return chr.user == 'barney';\n\t     * });\n\t     * // => 0\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.findIndex(users, { 'user': 'fred', 'active': false });\n\t     * // => 1\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.findIndex(users, 'active', false);\n\t     * // => 0\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.findIndex(users, 'active');\n\t     * // => 2\n\t     */\n\t    var findIndex = createFindIndex();\n\t\n\t    /**\n\t     * This method is like `_.findIndex` except that it iterates over elements\n\t     * of `collection` from right to left.\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to search.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {number} Returns the index of the found element, else `-1`.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney',  'active': true },\n\t     *   { 'user': 'fred',    'active': false },\n\t     *   { 'user': 'pebbles', 'active': false }\n\t     * ];\n\t     *\n\t     * _.findLastIndex(users, function(chr) {\n\t     *   return chr.user == 'pebbles';\n\t     * });\n\t     * // => 2\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n\t     * // => 0\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.findLastIndex(users, 'active', false);\n\t     * // => 2\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.findLastIndex(users, 'active');\n\t     * // => 0\n\t     */\n\t    var findLastIndex = createFindIndex(true);\n\t\n\t    /**\n\t     * Gets the first element of `array`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias head\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @returns {*} Returns the first element of `array`.\n\t     * @example\n\t     *\n\t     * _.first([1, 2, 3]);\n\t     * // => 1\n\t     *\n\t     * _.first([]);\n\t     * // => undefined\n\t     */\n\t    function first(array) {\n\t      return array ? array[0] : undefined;\n\t    }\n\t\n\t    /**\n\t     * Flattens a nested array. If `isDeep` is `true` the array is recursively\n\t     * flattened, otherwise it is only flattened a single level.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to flatten.\n\t     * @param {boolean} [isDeep] Specify a deep flatten.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Array} Returns the new flattened array.\n\t     * @example\n\t     *\n\t     * _.flatten([1, [2, 3, [4]]]);\n\t     * // => [1, 2, 3, [4]]\n\t     *\n\t     * // using `isDeep`\n\t     * _.flatten([1, [2, 3, [4]]], true);\n\t     * // => [1, 2, 3, 4]\n\t     */\n\t    function flatten(array, isDeep, guard) {\n\t      var length = array ? array.length : 0;\n\t      if (guard && isIterateeCall(array, isDeep, guard)) {\n\t        isDeep = false;\n\t      }\n\t      return length ? baseFlatten(array, isDeep) : [];\n\t    }\n\t\n\t    /**\n\t     * Recursively flattens a nested array.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to recursively flatten.\n\t     * @returns {Array} Returns the new flattened array.\n\t     * @example\n\t     *\n\t     * _.flattenDeep([1, [2, 3, [4]]]);\n\t     * // => [1, 2, 3, 4]\n\t     */\n\t    function flattenDeep(array) {\n\t      var length = array ? array.length : 0;\n\t      return length ? baseFlatten(array, true) : [];\n\t    }\n\t\n\t    /**\n\t     * Gets the index at which the first occurrence of `value` is found in `array`\n\t     * using [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\n\t     * for equality comparisons. If `fromIndex` is negative, it is used as the offset\n\t     * from the end of `array`. If `array` is sorted providing `true` for `fromIndex`\n\t     * performs a faster binary search.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to search.\n\t     * @param {*} value The value to search for.\n\t     * @param {boolean|number} [fromIndex=0] The index to search from or `true`\n\t     *  to perform a binary search on a sorted array.\n\t     * @returns {number} Returns the index of the matched value, else `-1`.\n\t     * @example\n\t     *\n\t     * _.indexOf([1, 2, 1, 2], 2);\n\t     * // => 1\n\t     *\n\t     * // using `fromIndex`\n\t     * _.indexOf([1, 2, 1, 2], 2, 2);\n\t     * // => 3\n\t     *\n\t     * // performing a binary search\n\t     * _.indexOf([1, 1, 2, 2], 2, true);\n\t     * // => 2\n\t     */\n\t    function indexOf(array, value, fromIndex) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return -1;\n\t      }\n\t      if (typeof fromIndex == 'number') {\n\t        fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : fromIndex;\n\t      } else if (fromIndex) {\n\t        var index = binaryIndex(array, value),\n\t            other = array[index];\n\t\n\t        if (value === value ? (value === other) : (other !== other)) {\n\t          return index;\n\t        }\n\t        return -1;\n\t      }\n\t      return baseIndexOf(array, value, fromIndex || 0);\n\t    }\n\t\n\t    /**\n\t     * Gets all but the last element of `array`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.initial([1, 2, 3]);\n\t     * // => [1, 2]\n\t     */\n\t    function initial(array) {\n\t      return dropRight(array, 1);\n\t    }\n\t\n\t    /**\n\t     * Creates an array of unique values in all provided arrays using\n\t     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\n\t     * for equality comparisons.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {...Array} [arrays] The arrays to inspect.\n\t     * @returns {Array} Returns the new array of shared values.\n\t     * @example\n\t     * _.intersection([1, 2], [4, 2], [2, 1]);\n\t     * // => [2]\n\t     */\n\t    function intersection() {\n\t      var args = [],\n\t          argsIndex = -1,\n\t          argsLength = arguments.length,\n\t          caches = [],\n\t          indexOf = getIndexOf(),\n\t          isCommon = indexOf == baseIndexOf,\n\t          result = [];\n\t\n\t      while (++argsIndex < argsLength) {\n\t        var value = arguments[argsIndex];\n\t        if (isArrayLike(value)) {\n\t          args.push(value);\n\t          caches.push((isCommon && value.length >= 120) ? createCache(argsIndex && value) : null);\n\t        }\n\t      }\n\t      argsLength = args.length;\n\t      if (argsLength < 2) {\n\t        return result;\n\t      }\n\t      var array = args[0],\n\t          index = -1,\n\t          length = array ? array.length : 0,\n\t          seen = caches[0];\n\t\n\t      outer:\n\t      while (++index < length) {\n\t        value = array[index];\n\t        if ((seen ? cacheIndexOf(seen, value) : indexOf(result, value, 0)) < 0) {\n\t          argsIndex = argsLength;\n\t          while (--argsIndex) {\n\t            var cache = caches[argsIndex];\n\t            if ((cache ? cacheIndexOf(cache, value) : indexOf(args[argsIndex], value, 0)) < 0) {\n\t              continue outer;\n\t            }\n\t          }\n\t          if (seen) {\n\t            seen.push(value);\n\t          }\n\t          result.push(value);\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Gets the last element of `array`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @returns {*} Returns the last element of `array`.\n\t     * @example\n\t     *\n\t     * _.last([1, 2, 3]);\n\t     * // => 3\n\t     */\n\t    function last(array) {\n\t      var length = array ? array.length : 0;\n\t      return length ? array[length - 1] : undefined;\n\t    }\n\t\n\t    /**\n\t     * This method is like `_.indexOf` except that it iterates over elements of\n\t     * `array` from right to left.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to search.\n\t     * @param {*} value The value to search for.\n\t     * @param {boolean|number} [fromIndex=array.length-1] The index to search from\n\t     *  or `true` to perform a binary search on a sorted array.\n\t     * @returns {number} Returns the index of the matched value, else `-1`.\n\t     * @example\n\t     *\n\t     * _.lastIndexOf([1, 2, 1, 2], 2);\n\t     * // => 3\n\t     *\n\t     * // using `fromIndex`\n\t     * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n\t     * // => 1\n\t     *\n\t     * // performing a binary search\n\t     * _.lastIndexOf([1, 1, 2, 2], 2, true);\n\t     * // => 3\n\t     */\n\t    function lastIndexOf(array, value, fromIndex) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return -1;\n\t      }\n\t      var index = length;\n\t      if (typeof fromIndex == 'number') {\n\t        index = (fromIndex < 0 ? nativeMax(length + fromIndex, 0) : nativeMin(fromIndex || 0, length - 1)) + 1;\n\t      } else if (fromIndex) {\n\t        index = binaryIndex(array, value, true) - 1;\n\t        var other = array[index];\n\t        if (value === value ? (value === other) : (other !== other)) {\n\t          return index;\n\t        }\n\t        return -1;\n\t      }\n\t      if (value !== value) {\n\t        return indexOfNaN(array, index, true);\n\t      }\n\t      while (index--) {\n\t        if (array[index] === value) {\n\t          return index;\n\t        }\n\t      }\n\t      return -1;\n\t    }\n\t\n\t    /**\n\t     * Removes all provided values from `array` using\n\t     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\n\t     * for equality comparisons.\n\t     *\n\t     * **Note:** Unlike `_.without`, this method mutates `array`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to modify.\n\t     * @param {...*} [values] The values to remove.\n\t     * @returns {Array} Returns `array`.\n\t     * @example\n\t     *\n\t     * var array = [1, 2, 3, 1, 2, 3];\n\t     *\n\t     * _.pull(array, 2, 3);\n\t     * console.log(array);\n\t     * // => [1, 1]\n\t     */\n\t    function pull() {\n\t      var args = arguments,\n\t          array = args[0];\n\t\n\t      if (!(array && array.length)) {\n\t        return array;\n\t      }\n\t      var index = 0,\n\t          indexOf = getIndexOf(),\n\t          length = args.length;\n\t\n\t      while (++index < length) {\n\t        var fromIndex = 0,\n\t            value = args[index];\n\t\n\t        while ((fromIndex = indexOf(array, value, fromIndex)) > -1) {\n\t          splice.call(array, fromIndex, 1);\n\t        }\n\t      }\n\t      return array;\n\t    }\n\t\n\t    /**\n\t     * Removes elements from `array` corresponding to the given indexes and returns\n\t     * an array of the removed elements. Indexes may be specified as an array of\n\t     * indexes or as individual arguments.\n\t     *\n\t     * **Note:** Unlike `_.at`, this method mutates `array`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to modify.\n\t     * @param {...(number|number[])} [indexes] The indexes of elements to remove,\n\t     *  specified as individual indexes or arrays of indexes.\n\t     * @returns {Array} Returns the new array of removed elements.\n\t     * @example\n\t     *\n\t     * var array = [5, 10, 15, 20];\n\t     * var evens = _.pullAt(array, 1, 3);\n\t     *\n\t     * console.log(array);\n\t     * // => [5, 15]\n\t     *\n\t     * console.log(evens);\n\t     * // => [10, 20]\n\t     */\n\t    var pullAt = restParam(function(array, indexes) {\n\t      indexes = baseFlatten(indexes);\n\t\n\t      var result = baseAt(array, indexes);\n\t      basePullAt(array, indexes.sort(baseCompareAscending));\n\t      return result;\n\t    });\n\t\n\t    /**\n\t     * Removes all elements from `array` that `predicate` returns truthy for\n\t     * and returns an array of the removed elements. The predicate is bound to\n\t     * `thisArg` and invoked with three arguments: (value, index, array).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * **Note:** Unlike `_.filter`, this method mutates `array`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to modify.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Array} Returns the new array of removed elements.\n\t     * @example\n\t     *\n\t     * var array = [1, 2, 3, 4];\n\t     * var evens = _.remove(array, function(n) {\n\t     *   return n % 2 == 0;\n\t     * });\n\t     *\n\t     * console.log(array);\n\t     * // => [1, 3]\n\t     *\n\t     * console.log(evens);\n\t     * // => [2, 4]\n\t     */\n\t    function remove(array, predicate, thisArg) {\n\t      var result = [];\n\t      if (!(array && array.length)) {\n\t        return result;\n\t      }\n\t      var index = -1,\n\t          indexes = [],\n\t          length = array.length;\n\t\n\t      predicate = getCallback(predicate, thisArg, 3);\n\t      while (++index < length) {\n\t        var value = array[index];\n\t        if (predicate(value, index, array)) {\n\t          result.push(value);\n\t          indexes.push(index);\n\t        }\n\t      }\n\t      basePullAt(array, indexes);\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Gets all but the first element of `array`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias tail\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.rest([1, 2, 3]);\n\t     * // => [2, 3]\n\t     */\n\t    function rest(array) {\n\t      return drop(array, 1);\n\t    }\n\t\n\t    /**\n\t     * Creates a slice of `array` from `start` up to, but not including, `end`.\n\t     *\n\t     * **Note:** This method is used instead of `Array#slice` to support node\n\t     * lists in IE < 9 and to ensure dense arrays are returned.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to slice.\n\t     * @param {number} [start=0] The start position.\n\t     * @param {number} [end=array.length] The end position.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     */\n\t    function slice(array, start, end) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return [];\n\t      }\n\t      if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n\t        start = 0;\n\t        end = length;\n\t      }\n\t      return baseSlice(array, start, end);\n\t    }\n\t\n\t    /**\n\t     * Uses a binary search to determine the lowest index at which `value` should\n\t     * be inserted into `array` in order to maintain its sort order. If an iteratee\n\t     * function is provided it is invoked for `value` and each element of `array`\n\t     * to compute their sort ranking. The iteratee is bound to `thisArg` and\n\t     * invoked with one argument; (value).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The sorted array to inspect.\n\t     * @param {*} value The value to evaluate.\n\t     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {number} Returns the index at which `value` should be inserted\n\t     *  into `array`.\n\t     * @example\n\t     *\n\t     * _.sortedIndex([30, 50], 40);\n\t     * // => 1\n\t     *\n\t     * _.sortedIndex([4, 4, 5, 5], 5);\n\t     * // => 2\n\t     *\n\t     * var dict = { 'data': { 'thirty': 30, 'forty': 40, 'fifty': 50 } };\n\t     *\n\t     * // using an iteratee function\n\t     * _.sortedIndex(['thirty', 'fifty'], 'forty', function(word) {\n\t     *   return this.data[word];\n\t     * }, dict);\n\t     * // => 1\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.sortedIndex([{ 'x': 30 }, { 'x': 50 }], { 'x': 40 }, 'x');\n\t     * // => 1\n\t     */\n\t    var sortedIndex = createSortedIndex();\n\t\n\t    /**\n\t     * This method is like `_.sortedIndex` except that it returns the highest\n\t     * index at which `value` should be inserted into `array` in order to\n\t     * maintain its sort order.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The sorted array to inspect.\n\t     * @param {*} value The value to evaluate.\n\t     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {number} Returns the index at which `value` should be inserted\n\t     *  into `array`.\n\t     * @example\n\t     *\n\t     * _.sortedLastIndex([4, 4, 5, 5], 5);\n\t     * // => 4\n\t     */\n\t    var sortedLastIndex = createSortedIndex(true);\n\t\n\t    /**\n\t     * Creates a slice of `array` with `n` elements taken from the beginning.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @param {number} [n=1] The number of elements to take.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.take([1, 2, 3]);\n\t     * // => [1]\n\t     *\n\t     * _.take([1, 2, 3], 2);\n\t     * // => [1, 2]\n\t     *\n\t     * _.take([1, 2, 3], 5);\n\t     * // => [1, 2, 3]\n\t     *\n\t     * _.take([1, 2, 3], 0);\n\t     * // => []\n\t     */\n\t    function take(array, n, guard) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return [];\n\t      }\n\t      if (guard ? isIterateeCall(array, n, guard) : n == null) {\n\t        n = 1;\n\t      }\n\t      return baseSlice(array, 0, n < 0 ? 0 : n);\n\t    }\n\t\n\t    /**\n\t     * Creates a slice of `array` with `n` elements taken from the end.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @param {number} [n=1] The number of elements to take.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.takeRight([1, 2, 3]);\n\t     * // => [3]\n\t     *\n\t     * _.takeRight([1, 2, 3], 2);\n\t     * // => [2, 3]\n\t     *\n\t     * _.takeRight([1, 2, 3], 5);\n\t     * // => [1, 2, 3]\n\t     *\n\t     * _.takeRight([1, 2, 3], 0);\n\t     * // => []\n\t     */\n\t    function takeRight(array, n, guard) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return [];\n\t      }\n\t      if (guard ? isIterateeCall(array, n, guard) : n == null) {\n\t        n = 1;\n\t      }\n\t      n = length - (+n || 0);\n\t      return baseSlice(array, n < 0 ? 0 : n);\n\t    }\n\t\n\t    /**\n\t     * Creates a slice of `array` with elements taken from the end. Elements are\n\t     * taken until `predicate` returns falsey. The predicate is bound to `thisArg`\n\t     * and invoked with three arguments: (value, index, array).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.takeRightWhile([1, 2, 3], function(n) {\n\t     *   return n > 1;\n\t     * });\n\t     * // => [2, 3]\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney',  'active': true },\n\t     *   { 'user': 'fred',    'active': false },\n\t     *   { 'user': 'pebbles', 'active': false }\n\t     * ];\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.pluck(_.takeRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user');\n\t     * // => ['pebbles']\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.pluck(_.takeRightWhile(users, 'active', false), 'user');\n\t     * // => ['fred', 'pebbles']\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.pluck(_.takeRightWhile(users, 'active'), 'user');\n\t     * // => []\n\t     */\n\t    function takeRightWhile(array, predicate, thisArg) {\n\t      return (array && array.length)\n\t        ? baseWhile(array, getCallback(predicate, thisArg, 3), false, true)\n\t        : [];\n\t    }\n\t\n\t    /**\n\t     * Creates a slice of `array` with elements taken from the beginning. Elements\n\t     * are taken until `predicate` returns falsey. The predicate is bound to\n\t     * `thisArg` and invoked with three arguments: (value, index, array).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.takeWhile([1, 2, 3], function(n) {\n\t     *   return n < 3;\n\t     * });\n\t     * // => [1, 2]\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney',  'active': false },\n\t     *   { 'user': 'fred',    'active': false},\n\t     *   { 'user': 'pebbles', 'active': true }\n\t     * ];\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.pluck(_.takeWhile(users, { 'user': 'barney', 'active': false }), 'user');\n\t     * // => ['barney']\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.pluck(_.takeWhile(users, 'active', false), 'user');\n\t     * // => ['barney', 'fred']\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.pluck(_.takeWhile(users, 'active'), 'user');\n\t     * // => []\n\t     */\n\t    function takeWhile(array, predicate, thisArg) {\n\t      return (array && array.length)\n\t        ? baseWhile(array, getCallback(predicate, thisArg, 3))\n\t        : [];\n\t    }\n\t\n\t    /**\n\t     * Creates an array of unique values, in order, of the provided arrays using\n\t     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\n\t     * for equality comparisons.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {...Array} [arrays] The arrays to inspect.\n\t     * @returns {Array} Returns the new array of combined values.\n\t     * @example\n\t     *\n\t     * _.union([1, 2], [4, 2], [2, 1]);\n\t     * // => [1, 2, 4]\n\t     */\n\t    var union = restParam(function(arrays) {\n\t      return baseUniq(baseFlatten(arrays, false, true));\n\t    });\n\t\n\t    /**\n\t     * Creates a duplicate-free version of an array, using\n\t     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\n\t     * for equality comparisons, in which only the first occurence of each element\n\t     * is kept. Providing `true` for `isSorted` performs a faster search algorithm\n\t     * for sorted arrays. If an iteratee function is provided it is invoked for\n\t     * each element in the array to generate the criterion by which uniqueness\n\t     * is computed. The `iteratee` is bound to `thisArg` and invoked with three\n\t     * arguments: (value, index, array).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias unique\n\t     * @category Array\n\t     * @param {Array} array The array to inspect.\n\t     * @param {boolean} [isSorted] Specify the array is sorted.\n\t     * @param {Function|Object|string} [iteratee] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Array} Returns the new duplicate-value-free array.\n\t     * @example\n\t     *\n\t     * _.uniq([2, 1, 2]);\n\t     * // => [2, 1]\n\t     *\n\t     * // using `isSorted`\n\t     * _.uniq([1, 1, 2], true);\n\t     * // => [1, 2]\n\t     *\n\t     * // using an iteratee function\n\t     * _.uniq([1, 2.5, 1.5, 2], function(n) {\n\t     *   return this.floor(n);\n\t     * }, Math);\n\t     * // => [1, 2.5]\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.uniq([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n\t     * // => [{ 'x': 1 }, { 'x': 2 }]\n\t     */\n\t    function uniq(array, isSorted, iteratee, thisArg) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return [];\n\t      }\n\t      if (isSorted != null && typeof isSorted != 'boolean') {\n\t        thisArg = iteratee;\n\t        iteratee = isIterateeCall(array, isSorted, thisArg) ? null : isSorted;\n\t        isSorted = false;\n\t      }\n\t      var func = getCallback();\n\t      if (!(func === baseCallback && iteratee == null)) {\n\t        iteratee = func(iteratee, thisArg, 3);\n\t      }\n\t      return (isSorted && getIndexOf() == baseIndexOf)\n\t        ? sortedUniq(array, iteratee)\n\t        : baseUniq(array, iteratee);\n\t    }\n\t\n\t    /**\n\t     * This method is like `_.zip` except that it accepts an array of grouped\n\t     * elements and creates an array regrouping the elements to their pre-zip\n\t     * configuration.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array of grouped elements to process.\n\t     * @returns {Array} Returns the new array of regrouped elements.\n\t     * @example\n\t     *\n\t     * var zipped = _.zip(['fred', 'barney'], [30, 40], [true, false]);\n\t     * // => [['fred', 30, true], ['barney', 40, false]]\n\t     *\n\t     * _.unzip(zipped);\n\t     * // => [['fred', 'barney'], [30, 40], [true, false]]\n\t     */\n\t    function unzip(array) {\n\t      if (!(array && array.length)) {\n\t        return [];\n\t      }\n\t      var index = -1,\n\t          length = 0;\n\t\n\t      array = arrayFilter(array, function(group) {\n\t        if (isArrayLike(group)) {\n\t          length = nativeMax(group.length, length);\n\t          return true;\n\t        }\n\t      });\n\t      var result = Array(length);\n\t      while (++index < length) {\n\t        result[index] = arrayMap(array, baseProperty(index));\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * This method is like `_.unzip` except that it accepts an iteratee to specify\n\t     * how regrouped values should be combined. The `iteratee` is bound to `thisArg`\n\t     * and invoked with four arguments: (accumulator, value, index, group).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array of grouped elements to process.\n\t     * @param {Function} [iteratee] The function to combine regrouped values.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Array} Returns the new array of regrouped elements.\n\t     * @example\n\t     *\n\t     * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n\t     * // => [[1, 10, 100], [2, 20, 200]]\n\t     *\n\t     * _.unzipWith(zipped, _.add);\n\t     * // => [3, 30, 300]\n\t     */\n\t    function unzipWith(array, iteratee, thisArg) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return [];\n\t      }\n\t      var result = unzip(array);\n\t      if (iteratee == null) {\n\t        return result;\n\t      }\n\t      iteratee = bindCallback(iteratee, thisArg, 4);\n\t      return arrayMap(result, function(group) {\n\t        return arrayReduce(group, iteratee, undefined, true);\n\t      });\n\t    }\n\t\n\t    /**\n\t     * Creates an array excluding all provided values using\n\t     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\n\t     * for equality comparisons.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to filter.\n\t     * @param {...*} [values] The values to exclude.\n\t     * @returns {Array} Returns the new array of filtered values.\n\t     * @example\n\t     *\n\t     * _.without([1, 2, 1, 3], 1, 2);\n\t     * // => [3]\n\t     */\n\t    var without = restParam(function(array, values) {\n\t      return isArrayLike(array)\n\t        ? baseDifference(array, values)\n\t        : [];\n\t    });\n\t\n\t    /**\n\t     * Creates an array that is the [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n\t     * of the provided arrays.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {...Array} [arrays] The arrays to inspect.\n\t     * @returns {Array} Returns the new array of values.\n\t     * @example\n\t     *\n\t     * _.xor([1, 2], [4, 2]);\n\t     * // => [1, 4]\n\t     */\n\t    function xor() {\n\t      var index = -1,\n\t          length = arguments.length;\n\t\n\t      while (++index < length) {\n\t        var array = arguments[index];\n\t        if (isArrayLike(array)) {\n\t          var result = result\n\t            ? baseDifference(result, array).concat(baseDifference(array, result))\n\t            : array;\n\t        }\n\t      }\n\t      return result ? baseUniq(result) : [];\n\t    }\n\t\n\t    /**\n\t     * Creates an array of grouped elements, the first of which contains the first\n\t     * elements of the given arrays, the second of which contains the second elements\n\t     * of the given arrays, and so on.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {...Array} [arrays] The arrays to process.\n\t     * @returns {Array} Returns the new array of grouped elements.\n\t     * @example\n\t     *\n\t     * _.zip(['fred', 'barney'], [30, 40], [true, false]);\n\t     * // => [['fred', 30, true], ['barney', 40, false]]\n\t     */\n\t    var zip = restParam(unzip);\n\t\n\t    /**\n\t     * The inverse of `_.pairs`; this method returns an object composed from arrays\n\t     * of property names and values. Provide either a single two dimensional array,\n\t     * e.g. `[[key1, value1], [key2, value2]]` or two arrays, one of property names\n\t     * and one of corresponding values.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias object\n\t     * @category Array\n\t     * @param {Array} props The property names.\n\t     * @param {Array} [values=[]] The property values.\n\t     * @returns {Object} Returns the new object.\n\t     * @example\n\t     *\n\t     * _.zipObject([['fred', 30], ['barney', 40]]);\n\t     * // => { 'fred': 30, 'barney': 40 }\n\t     *\n\t     * _.zipObject(['fred', 'barney'], [30, 40]);\n\t     * // => { 'fred': 30, 'barney': 40 }\n\t     */\n\t    function zipObject(props, values) {\n\t      var index = -1,\n\t          length = props ? props.length : 0,\n\t          result = {};\n\t\n\t      if (length && !values && !isArray(props[0])) {\n\t        values = [];\n\t      }\n\t      while (++index < length) {\n\t        var key = props[index];\n\t        if (values) {\n\t          result[key] = values[index];\n\t        } else if (key) {\n\t          result[key[0]] = key[1];\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * This method is like `_.zip` except that it accepts an iteratee to specify\n\t     * how grouped values should be combined. The `iteratee` is bound to `thisArg`\n\t     * and invoked with four arguments: (accumulator, value, index, group).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {...Array} [arrays] The arrays to process.\n\t     * @param {Function} [iteratee] The function to combine grouped values.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Array} Returns the new array of grouped elements.\n\t     * @example\n\t     *\n\t     * _.zipWith([1, 2], [10, 20], [100, 200], _.add);\n\t     * // => [111, 222]\n\t     */\n\t    var zipWith = restParam(function(arrays) {\n\t      var length = arrays.length,\n\t          iteratee = arrays[length - 2],\n\t          thisArg = arrays[length - 1];\n\t\n\t      if (length > 2 && typeof iteratee == 'function') {\n\t        length -= 2;\n\t      } else {\n\t        iteratee = (length > 1 && typeof thisArg == 'function') ? (--length, thisArg) : undefined;\n\t        thisArg = undefined;\n\t      }\n\t      arrays.length = length;\n\t      return unzipWith(arrays, iteratee, thisArg);\n\t    });\n\t\n\t    /**\n\t     * Creates a `lodash` object that wraps `value` with explicit method\n\t     * chaining enabled.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Chain\n\t     * @param {*} value The value to wrap.\n\t     * @returns {Object} Returns the new `lodash` wrapper instance.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney',  'age': 36 },\n\t     *   { 'user': 'fred',    'age': 40 },\n\t     *   { 'user': 'pebbles', 'age': 1 }\n\t     * ];\n\t     *\n\t     * var youngest = _.chain(users)\n\t     *   .sortBy('age')\n\t     *   .map(function(chr) {\n\t     *     return chr.user + ' is ' + chr.age;\n\t     *   })\n\t     *   .first()\n\t     *   .value();\n\t     * // => 'pebbles is 1'\n\t     */\n\t    function chain(value) {\n\t      var result = lodash(value);\n\t      result.__chain__ = true;\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * This method invokes `interceptor` and returns `value`. The interceptor is\n\t     * bound to `thisArg` and invoked with one argument; (value). The purpose of\n\t     * this method is to \"tap into\" a method chain in order to perform operations\n\t     * on intermediate results within the chain.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Chain\n\t     * @param {*} value The value to provide to `interceptor`.\n\t     * @param {Function} interceptor The function to invoke.\n\t     * @param {*} [thisArg] The `this` binding of `interceptor`.\n\t     * @returns {*} Returns `value`.\n\t     * @example\n\t     *\n\t     * _([1, 2, 3])\n\t     *  .tap(function(array) {\n\t     *    array.pop();\n\t     *  })\n\t     *  .reverse()\n\t     *  .value();\n\t     * // => [2, 1]\n\t     */\n\t    function tap(value, interceptor, thisArg) {\n\t      interceptor.call(thisArg, value);\n\t      return value;\n\t    }\n\t\n\t    /**\n\t     * This method is like `_.tap` except that it returns the result of `interceptor`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Chain\n\t     * @param {*} value The value to provide to `interceptor`.\n\t     * @param {Function} interceptor The function to invoke.\n\t     * @param {*} [thisArg] The `this` binding of `interceptor`.\n\t     * @returns {*} Returns the result of `interceptor`.\n\t     * @example\n\t     *\n\t     * _('  abc  ')\n\t     *  .chain()\n\t     *  .trim()\n\t     *  .thru(function(value) {\n\t     *    return [value];\n\t     *  })\n\t     *  .value();\n\t     * // => ['abc']\n\t     */\n\t    function thru(value, interceptor, thisArg) {\n\t      return interceptor.call(thisArg, value);\n\t    }\n\t\n\t    /**\n\t     * Enables explicit method chaining on the wrapper object.\n\t     *\n\t     * @name chain\n\t     * @memberOf _\n\t     * @category Chain\n\t     * @returns {Object} Returns the new `lodash` wrapper instance.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36 },\n\t     *   { 'user': 'fred',   'age': 40 }\n\t     * ];\n\t     *\n\t     * // without explicit chaining\n\t     * _(users).first();\n\t     * // => { 'user': 'barney', 'age': 36 }\n\t     *\n\t     * // with explicit chaining\n\t     * _(users).chain()\n\t     *   .first()\n\t     *   .pick('user')\n\t     *   .value();\n\t     * // => { 'user': 'barney' }\n\t     */\n\t    function wrapperChain() {\n\t      return chain(this);\n\t    }\n\t\n\t    /**\n\t     * Executes the chained sequence and returns the wrapped result.\n\t     *\n\t     * @name commit\n\t     * @memberOf _\n\t     * @category Chain\n\t     * @returns {Object} Returns the new `lodash` wrapper instance.\n\t     * @example\n\t     *\n\t     * var array = [1, 2];\n\t     * var wrapper = _(array).push(3);\n\t     *\n\t     * console.log(array);\n\t     * // => [1, 2]\n\t     *\n\t     * wrapper = wrapper.commit();\n\t     * console.log(array);\n\t     * // => [1, 2, 3]\n\t     *\n\t     * wrapper.last();\n\t     * // => 3\n\t     *\n\t     * console.log(array);\n\t     * // => [1, 2, 3]\n\t     */\n\t    function wrapperCommit() {\n\t      return new LodashWrapper(this.value(), this.__chain__);\n\t    }\n\t\n\t    /**\n\t     * Creates a clone of the chained sequence planting `value` as the wrapped value.\n\t     *\n\t     * @name plant\n\t     * @memberOf _\n\t     * @category Chain\n\t     * @returns {Object} Returns the new `lodash` wrapper instance.\n\t     * @example\n\t     *\n\t     * var array = [1, 2];\n\t     * var wrapper = _(array).map(function(value) {\n\t     *   return Math.pow(value, 2);\n\t     * });\n\t     *\n\t     * var other = [3, 4];\n\t     * var otherWrapper = wrapper.plant(other);\n\t     *\n\t     * otherWrapper.value();\n\t     * // => [9, 16]\n\t     *\n\t     * wrapper.value();\n\t     * // => [1, 4]\n\t     */\n\t    function wrapperPlant(value) {\n\t      var result,\n\t          parent = this;\n\t\n\t      while (parent instanceof baseLodash) {\n\t        var clone = wrapperClone(parent);\n\t        if (result) {\n\t          previous.__wrapped__ = clone;\n\t        } else {\n\t          result = clone;\n\t        }\n\t        var previous = clone;\n\t        parent = parent.__wrapped__;\n\t      }\n\t      previous.__wrapped__ = value;\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Reverses the wrapped array so the first element becomes the last, the\n\t     * second element becomes the second to last, and so on.\n\t     *\n\t     * **Note:** This method mutates the wrapped array.\n\t     *\n\t     * @name reverse\n\t     * @memberOf _\n\t     * @category Chain\n\t     * @returns {Object} Returns the new reversed `lodash` wrapper instance.\n\t     * @example\n\t     *\n\t     * var array = [1, 2, 3];\n\t     *\n\t     * _(array).reverse().value()\n\t     * // => [3, 2, 1]\n\t     *\n\t     * console.log(array);\n\t     * // => [3, 2, 1]\n\t     */\n\t    function wrapperReverse() {\n\t      var value = this.__wrapped__;\n\t      if (value instanceof LazyWrapper) {\n\t        if (this.__actions__.length) {\n\t          value = new LazyWrapper(this);\n\t        }\n\t        return new LodashWrapper(value.reverse(), this.__chain__);\n\t      }\n\t      return this.thru(function(value) {\n\t        return value.reverse();\n\t      });\n\t    }\n\t\n\t    /**\n\t     * Produces the result of coercing the unwrapped value to a string.\n\t     *\n\t     * @name toString\n\t     * @memberOf _\n\t     * @category Chain\n\t     * @returns {string} Returns the coerced string value.\n\t     * @example\n\t     *\n\t     * _([1, 2, 3]).toString();\n\t     * // => '1,2,3'\n\t     */\n\t    function wrapperToString() {\n\t      return (this.value() + '');\n\t    }\n\t\n\t    /**\n\t     * Executes the chained sequence to extract the unwrapped value.\n\t     *\n\t     * @name value\n\t     * @memberOf _\n\t     * @alias run, toJSON, valueOf\n\t     * @category Chain\n\t     * @returns {*} Returns the resolved unwrapped value.\n\t     * @example\n\t     *\n\t     * _([1, 2, 3]).value();\n\t     * // => [1, 2, 3]\n\t     */\n\t    function wrapperValue() {\n\t      return baseWrapperValue(this.__wrapped__, this.__actions__);\n\t    }\n\t\n\t    /**\n\t     * Creates an array of elements corresponding to the given keys, or indexes,\n\t     * of `collection`. Keys may be specified as individual arguments or as arrays\n\t     * of keys.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {...(number|number[]|string|string[])} [props] The property names\n\t     *  or indexes of elements to pick, specified individually or in arrays.\n\t     * @returns {Array} Returns the new array of picked elements.\n\t     * @example\n\t     *\n\t     * _.at(['a', 'b', 'c'], [0, 2]);\n\t     * // => ['a', 'c']\n\t     *\n\t     * _.at(['barney', 'fred', 'pebbles'], 0, 2);\n\t     * // => ['barney', 'pebbles']\n\t     */\n\t    var at = restParam(function(collection, props) {\n\t      return baseAt(collection, baseFlatten(props));\n\t    });\n\t\n\t    /**\n\t     * Creates an object composed of keys generated from the results of running\n\t     * each element of `collection` through `iteratee`. The corresponding value\n\t     * of each key is the number of times the key was returned by `iteratee`.\n\t     * The `iteratee` is bound to `thisArg` and invoked with three arguments:\n\t     * (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Object} Returns the composed aggregate object.\n\t     * @example\n\t     *\n\t     * _.countBy([4.3, 6.1, 6.4], function(n) {\n\t     *   return Math.floor(n);\n\t     * });\n\t     * // => { '4': 1, '6': 2 }\n\t     *\n\t     * _.countBy([4.3, 6.1, 6.4], function(n) {\n\t     *   return this.floor(n);\n\t     * }, Math);\n\t     * // => { '4': 1, '6': 2 }\n\t     *\n\t     * _.countBy(['one', 'two', 'three'], 'length');\n\t     * // => { '3': 2, '5': 1 }\n\t     */\n\t    var countBy = createAggregator(function(result, value, key) {\n\t      hasOwnProperty.call(result, key) ? ++result[key] : (result[key] = 1);\n\t    });\n\t\n\t    /**\n\t     * Checks if `predicate` returns truthy for **all** elements of `collection`.\n\t     * The predicate is bound to `thisArg` and invoked with three arguments:\n\t     * (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias all\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {boolean} Returns `true` if all elements pass the predicate check,\n\t     *  else `false`.\n\t     * @example\n\t     *\n\t     * _.every([true, 1, null, 'yes'], Boolean);\n\t     * // => false\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'active': false },\n\t     *   { 'user': 'fred',   'active': false }\n\t     * ];\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.every(users, { 'user': 'barney', 'active': false });\n\t     * // => false\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.every(users, 'active', false);\n\t     * // => true\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.every(users, 'active');\n\t     * // => false\n\t     */\n\t    function every(collection, predicate, thisArg) {\n\t      var func = isArray(collection) ? arrayEvery : baseEvery;\n\t      if (thisArg && isIterateeCall(collection, predicate, thisArg)) {\n\t        predicate = null;\n\t      }\n\t      if (typeof predicate != 'function' || thisArg !== undefined) {\n\t        predicate = getCallback(predicate, thisArg, 3);\n\t      }\n\t      return func(collection, predicate);\n\t    }\n\t\n\t    /**\n\t     * Iterates over elements of `collection`, returning an array of all elements\n\t     * `predicate` returns truthy for. The predicate is bound to `thisArg` and\n\t     * invoked with three arguments: (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias select\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Array} Returns the new filtered array.\n\t     * @example\n\t     *\n\t     * _.filter([4, 5, 6], function(n) {\n\t     *   return n % 2 == 0;\n\t     * });\n\t     * // => [4, 6]\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36, 'active': true },\n\t     *   { 'user': 'fred',   'age': 40, 'active': false }\n\t     * ];\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.pluck(_.filter(users, { 'age': 36, 'active': true }), 'user');\n\t     * // => ['barney']\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.pluck(_.filter(users, 'active', false), 'user');\n\t     * // => ['fred']\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.pluck(_.filter(users, 'active'), 'user');\n\t     * // => ['barney']\n\t     */\n\t    function filter(collection, predicate, thisArg) {\n\t      var func = isArray(collection) ? arrayFilter : baseFilter;\n\t      predicate = getCallback(predicate, thisArg, 3);\n\t      return func(collection, predicate);\n\t    }\n\t\n\t    /**\n\t     * Iterates over elements of `collection`, returning the first element\n\t     * `predicate` returns truthy for. The predicate is bound to `thisArg` and\n\t     * invoked with three arguments: (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias detect\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to search.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {*} Returns the matched element, else `undefined`.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney',  'age': 36, 'active': true },\n\t     *   { 'user': 'fred',    'age': 40, 'active': false },\n\t     *   { 'user': 'pebbles', 'age': 1,  'active': true }\n\t     * ];\n\t     *\n\t     * _.result(_.find(users, function(chr) {\n\t     *   return chr.age < 40;\n\t     * }), 'user');\n\t     * // => 'barney'\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.result(_.find(users, { 'age': 1, 'active': true }), 'user');\n\t     * // => 'pebbles'\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.result(_.find(users, 'active', false), 'user');\n\t     * // => 'fred'\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.result(_.find(users, 'active'), 'user');\n\t     * // => 'barney'\n\t     */\n\t    var find = createFind(baseEach);\n\t\n\t    /**\n\t     * This method is like `_.find` except that it iterates over elements of\n\t     * `collection` from right to left.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to search.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {*} Returns the matched element, else `undefined`.\n\t     * @example\n\t     *\n\t     * _.findLast([1, 2, 3, 4], function(n) {\n\t     *   return n % 2 == 1;\n\t     * });\n\t     * // => 3\n\t     */\n\t    var findLast = createFind(baseEachRight, true);\n\t\n\t    /**\n\t     * Performs a deep comparison between each element in `collection` and the\n\t     * source object, returning the first element that has equivalent property\n\t     * values.\n\t     *\n\t     * **Note:** This method supports comparing arrays, booleans, `Date` objects,\n\t     * numbers, `Object` objects, regexes, and strings. Objects are compared by\n\t     * their own, not inherited, enumerable properties. For comparing a single\n\t     * own or inherited property value see `_.matchesProperty`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to search.\n\t     * @param {Object} source The object of property values to match.\n\t     * @returns {*} Returns the matched element, else `undefined`.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36, 'active': true },\n\t     *   { 'user': 'fred',   'age': 40, 'active': false }\n\t     * ];\n\t     *\n\t     * _.result(_.findWhere(users, { 'age': 36, 'active': true }), 'user');\n\t     * // => 'barney'\n\t     *\n\t     * _.result(_.findWhere(users, { 'age': 40, 'active': false }), 'user');\n\t     * // => 'fred'\n\t     */\n\t    function findWhere(collection, source) {\n\t      return find(collection, baseMatches(source));\n\t    }\n\t\n\t    /**\n\t     * Iterates over elements of `collection` invoking `iteratee` for each element.\n\t     * The `iteratee` is bound to `thisArg` and invoked with three arguments:\n\t     * (value, index|key, collection). Iteratee functions may exit iteration early\n\t     * by explicitly returning `false`.\n\t     *\n\t     * **Note:** As with other \"Collections\" methods, objects with a \"length\" property\n\t     * are iterated like arrays. To avoid this behavior `_.forIn` or `_.forOwn`\n\t     * may be used for object iteration.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias each\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Array|Object|string} Returns `collection`.\n\t     * @example\n\t     *\n\t     * _([1, 2]).forEach(function(n) {\n\t     *   console.log(n);\n\t     * }).value();\n\t     * // => logs each value from left to right and returns the array\n\t     *\n\t     * _.forEach({ 'a': 1, 'b': 2 }, function(n, key) {\n\t     *   console.log(n, key);\n\t     * });\n\t     * // => logs each value-key pair and returns the object (iteration order is not guaranteed)\n\t     */\n\t    var forEach = createForEach(arrayEach, baseEach);\n\t\n\t    /**\n\t     * This method is like `_.forEach` except that it iterates over elements of\n\t     * `collection` from right to left.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias eachRight\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Array|Object|string} Returns `collection`.\n\t     * @example\n\t     *\n\t     * _([1, 2]).forEachRight(function(n) {\n\t     *   console.log(n);\n\t     * }).value();\n\t     * // => logs each value from right to left and returns the array\n\t     */\n\t    var forEachRight = createForEach(arrayEachRight, baseEachRight);\n\t\n\t    /**\n\t     * Creates an object composed of keys generated from the results of running\n\t     * each element of `collection` through `iteratee`. The corresponding value\n\t     * of each key is an array of the elements responsible for generating the key.\n\t     * The `iteratee` is bound to `thisArg` and invoked with three arguments:\n\t     * (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Object} Returns the composed aggregate object.\n\t     * @example\n\t     *\n\t     * _.groupBy([4.2, 6.1, 6.4], function(n) {\n\t     *   return Math.floor(n);\n\t     * });\n\t     * // => { '4': [4.2], '6': [6.1, 6.4] }\n\t     *\n\t     * _.groupBy([4.2, 6.1, 6.4], function(n) {\n\t     *   return this.floor(n);\n\t     * }, Math);\n\t     * // => { '4': [4.2], '6': [6.1, 6.4] }\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.groupBy(['one', 'two', 'three'], 'length');\n\t     * // => { '3': ['one', 'two'], '5': ['three'] }\n\t     */\n\t    var groupBy = createAggregator(function(result, value, key) {\n\t      if (hasOwnProperty.call(result, key)) {\n\t        result[key].push(value);\n\t      } else {\n\t        result[key] = [value];\n\t      }\n\t    });\n\t\n\t    /**\n\t     * Checks if `value` is in `collection` using\n\t     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\n\t     * for equality comparisons. If `fromIndex` is negative, it is used as the offset\n\t     * from the end of `collection`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias contains, include\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to search.\n\t     * @param {*} target The value to search for.\n\t     * @param {number} [fromIndex=0] The index to search from.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.reduce`.\n\t     * @returns {boolean} Returns `true` if a matching element is found, else `false`.\n\t     * @example\n\t     *\n\t     * _.includes([1, 2, 3], 1);\n\t     * // => true\n\t     *\n\t     * _.includes([1, 2, 3], 1, 2);\n\t     * // => false\n\t     *\n\t     * _.includes({ 'user': 'fred', 'age': 40 }, 'fred');\n\t     * // => true\n\t     *\n\t     * _.includes('pebbles', 'eb');\n\t     * // => true\n\t     */\n\t    function includes(collection, target, fromIndex, guard) {\n\t      var length = collection ? getLength(collection) : 0;\n\t      if (!isLength(length)) {\n\t        collection = values(collection);\n\t        length = collection.length;\n\t      }\n\t      if (!length) {\n\t        return false;\n\t      }\n\t      if (typeof fromIndex != 'number' || (guard && isIterateeCall(target, fromIndex, guard))) {\n\t        fromIndex = 0;\n\t      } else {\n\t        fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : (fromIndex || 0);\n\t      }\n\t      return (typeof collection == 'string' || !isArray(collection) && isString(collection))\n\t        ? (fromIndex < length && collection.indexOf(target, fromIndex) > -1)\n\t        : (getIndexOf(collection, target, fromIndex) > -1);\n\t    }\n\t\n\t    /**\n\t     * Creates an object composed of keys generated from the results of running\n\t     * each element of `collection` through `iteratee`. The corresponding value\n\t     * of each key is the last element responsible for generating the key. The\n\t     * iteratee function is bound to `thisArg` and invoked with three arguments:\n\t     * (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Object} Returns the composed aggregate object.\n\t     * @example\n\t     *\n\t     * var keyData = [\n\t     *   { 'dir': 'left', 'code': 97 },\n\t     *   { 'dir': 'right', 'code': 100 }\n\t     * ];\n\t     *\n\t     * _.indexBy(keyData, 'dir');\n\t     * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n\t     *\n\t     * _.indexBy(keyData, function(object) {\n\t     *   return String.fromCharCode(object.code);\n\t     * });\n\t     * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n\t     *\n\t     * _.indexBy(keyData, function(object) {\n\t     *   return this.fromCharCode(object.code);\n\t     * }, String);\n\t     * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n\t     */\n\t    var indexBy = createAggregator(function(result, value, key) {\n\t      result[key] = value;\n\t    });\n\t\n\t    /**\n\t     * Invokes the method at `path` on each element in `collection`, returning\n\t     * an array of the results of each invoked method. Any additional arguments\n\t     * are provided to each invoked method. If `methodName` is a function it is\n\t     * invoked for, and `this` bound to, each element in `collection`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Array|Function|string} path The path of the method to invoke or\n\t     *  the function invoked per iteration.\n\t     * @param {...*} [args] The arguments to invoke the method with.\n\t     * @returns {Array} Returns the array of results.\n\t     * @example\n\t     *\n\t     * _.invoke([[5, 1, 7], [3, 2, 1]], 'sort');\n\t     * // => [[1, 5, 7], [1, 2, 3]]\n\t     *\n\t     * _.invoke([123, 456], String.prototype.split, '');\n\t     * // => [['1', '2', '3'], ['4', '5', '6']]\n\t     */\n\t    var invoke = restParam(function(collection, path, args) {\n\t      var index = -1,\n\t          isFunc = typeof path == 'function',\n\t          isProp = isKey(path),\n\t          result = isArrayLike(collection) ? Array(collection.length) : [];\n\t\n\t      baseEach(collection, function(value) {\n\t        var func = isFunc ? path : (isProp && value != null && value[path]);\n\t        result[++index] = func ? func.apply(value, args) : invokePath(value, path, args);\n\t      });\n\t      return result;\n\t    });\n\t\n\t    /**\n\t     * Creates an array of values by running each element in `collection` through\n\t     * `iteratee`. The `iteratee` is bound to `thisArg` and invoked with three\n\t     * arguments: (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * Many lodash methods are guarded to work as interatees for methods like\n\t     * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n\t     *\n\t     * The guarded methods are:\n\t     * `ary`, `callback`, `chunk`, `clone`, `create`, `curry`, `curryRight`,\n\t     * `drop`, `dropRight`, `every`, `fill`, `flatten`, `invert`, `max`, `min`,\n\t     * `parseInt`, `slice`, `sortBy`, `take`, `takeRight`, `template`, `trim`,\n\t     * `trimLeft`, `trimRight`, `trunc`, `random`, `range`, `sample`, `some`,\n\t     * `sum`, `uniq`, and `words`\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias collect\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Array} Returns the new mapped array.\n\t     * @example\n\t     *\n\t     * function timesThree(n) {\n\t     *   return n * 3;\n\t     * }\n\t     *\n\t     * _.map([1, 2], timesThree);\n\t     * // => [3, 6]\n\t     *\n\t     * _.map({ 'a': 1, 'b': 2 }, timesThree);\n\t     * // => [3, 6] (iteration order is not guaranteed)\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney' },\n\t     *   { 'user': 'fred' }\n\t     * ];\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.map(users, 'user');\n\t     * // => ['barney', 'fred']\n\t     */\n\t    function map(collection, iteratee, thisArg) {\n\t      var func = isArray(collection) ? arrayMap : baseMap;\n\t      iteratee = getCallback(iteratee, thisArg, 3);\n\t      return func(collection, iteratee);\n\t    }\n\t\n\t    /**\n\t     * Creates an array of elements split into two groups, the first of which\n\t     * contains elements `predicate` returns truthy for, while the second of which\n\t     * contains elements `predicate` returns falsey for. The predicate is bound\n\t     * to `thisArg` and invoked with three arguments: (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Array} Returns the array of grouped elements.\n\t     * @example\n\t     *\n\t     * _.partition([1, 2, 3], function(n) {\n\t     *   return n % 2;\n\t     * });\n\t     * // => [[1, 3], [2]]\n\t     *\n\t     * _.partition([1.2, 2.3, 3.4], function(n) {\n\t     *   return this.floor(n) % 2;\n\t     * }, Math);\n\t     * // => [[1.2, 3.4], [2.3]]\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney',  'age': 36, 'active': false },\n\t     *   { 'user': 'fred',    'age': 40, 'active': true },\n\t     *   { 'user': 'pebbles', 'age': 1,  'active': false }\n\t     * ];\n\t     *\n\t     * var mapper = function(array) {\n\t     *   return _.pluck(array, 'user');\n\t     * };\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.map(_.partition(users, { 'age': 1, 'active': false }), mapper);\n\t     * // => [['pebbles'], ['barney', 'fred']]\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.map(_.partition(users, 'active', false), mapper);\n\t     * // => [['barney', 'pebbles'], ['fred']]\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.map(_.partition(users, 'active'), mapper);\n\t     * // => [['fred'], ['barney', 'pebbles']]\n\t     */\n\t    var partition = createAggregator(function(result, value, key) {\n\t      result[key ? 0 : 1].push(value);\n\t    }, function() { return [[], []]; });\n\t\n\t    /**\n\t     * Gets the property value of `path` from all elements in `collection`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Array|string} path The path of the property to pluck.\n\t     * @returns {Array} Returns the property values.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36 },\n\t     *   { 'user': 'fred',   'age': 40 }\n\t     * ];\n\t     *\n\t     * _.pluck(users, 'user');\n\t     * // => ['barney', 'fred']\n\t     *\n\t     * var userIndex = _.indexBy(users, 'user');\n\t     * _.pluck(userIndex, 'age');\n\t     * // => [36, 40] (iteration order is not guaranteed)\n\t     */\n\t    function pluck(collection, path) {\n\t      return map(collection, property(path));\n\t    }\n\t\n\t    /**\n\t     * Reduces `collection` to a value which is the accumulated result of running\n\t     * each element in `collection` through `iteratee`, where each successive\n\t     * invocation is supplied the return value of the previous. If `accumulator`\n\t     * is not provided the first element of `collection` is used as the initial\n\t     * value. The `iteratee` is bound to `thisArg` and invoked with four arguments:\n\t     * (accumulator, value, index|key, collection).\n\t     *\n\t     * Many lodash methods are guarded to work as interatees for methods like\n\t     * `_.reduce`, `_.reduceRight`, and `_.transform`.\n\t     *\n\t     * The guarded methods are:\n\t     * `assign`, `defaults`, `includes`, `merge`, `sortByAll`, and `sortByOrder`\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias foldl, inject\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [accumulator] The initial value.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {*} Returns the accumulated value.\n\t     * @example\n\t     *\n\t     * _.reduce([1, 2], function(total, n) {\n\t     *   return total + n;\n\t     * });\n\t     * // => 3\n\t     *\n\t     * _.reduce({ 'a': 1, 'b': 2 }, function(result, n, key) {\n\t     *   result[key] = n * 3;\n\t     *   return result;\n\t     * }, {});\n\t     * // => { 'a': 3, 'b': 6 } (iteration order is not guaranteed)\n\t     */\n\t    var reduce = createReduce(arrayReduce, baseEach);\n\t\n\t    /**\n\t     * This method is like `_.reduce` except that it iterates over elements of\n\t     * `collection` from right to left.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias foldr\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [accumulator] The initial value.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {*} Returns the accumulated value.\n\t     * @example\n\t     *\n\t     * var array = [[0, 1], [2, 3], [4, 5]];\n\t     *\n\t     * _.reduceRight(array, function(flattened, other) {\n\t     *   return flattened.concat(other);\n\t     * }, []);\n\t     * // => [4, 5, 2, 3, 0, 1]\n\t     */\n\t    var reduceRight = createReduce(arrayReduceRight, baseEachRight);\n\t\n\t    /**\n\t     * The opposite of `_.filter`; this method returns the elements of `collection`\n\t     * that `predicate` does **not** return truthy for.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Array} Returns the new filtered array.\n\t     * @example\n\t     *\n\t     * _.reject([1, 2, 3, 4], function(n) {\n\t     *   return n % 2 == 0;\n\t     * });\n\t     * // => [1, 3]\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36, 'active': false },\n\t     *   { 'user': 'fred',   'age': 40, 'active': true }\n\t     * ];\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.pluck(_.reject(users, { 'age': 40, 'active': true }), 'user');\n\t     * // => ['barney']\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.pluck(_.reject(users, 'active', false), 'user');\n\t     * // => ['fred']\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.pluck(_.reject(users, 'active'), 'user');\n\t     * // => ['barney']\n\t     */\n\t    function reject(collection, predicate, thisArg) {\n\t      var func = isArray(collection) ? arrayFilter : baseFilter;\n\t      predicate = getCallback(predicate, thisArg, 3);\n\t      return func(collection, function(value, index, collection) {\n\t        return !predicate(value, index, collection);\n\t      });\n\t    }\n\t\n\t    /**\n\t     * Gets a random element or `n` random elements from a collection.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to sample.\n\t     * @param {number} [n] The number of elements to sample.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {*} Returns the random sample(s).\n\t     * @example\n\t     *\n\t     * _.sample([1, 2, 3, 4]);\n\t     * // => 2\n\t     *\n\t     * _.sample([1, 2, 3, 4], 2);\n\t     * // => [3, 1]\n\t     */\n\t    function sample(collection, n, guard) {\n\t      if (guard ? isIterateeCall(collection, n, guard) : n == null) {\n\t        collection = toIterable(collection);\n\t        var length = collection.length;\n\t        return length > 0 ? collection[baseRandom(0, length - 1)] : undefined;\n\t      }\n\t      var result = shuffle(collection);\n\t      result.length = nativeMin(n < 0 ? 0 : (+n || 0), result.length);\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Creates an array of shuffled values, using a version of the\n\t     * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to shuffle.\n\t     * @returns {Array} Returns the new shuffled array.\n\t     * @example\n\t     *\n\t     * _.shuffle([1, 2, 3, 4]);\n\t     * // => [4, 1, 3, 2]\n\t     */\n\t    function shuffle(collection) {\n\t      collection = toIterable(collection);\n\t\n\t      var index = -1,\n\t          length = collection.length,\n\t          result = Array(length);\n\t\n\t      while (++index < length) {\n\t        var rand = baseRandom(0, index);\n\t        if (index != rand) {\n\t          result[index] = result[rand];\n\t        }\n\t        result[rand] = collection[index];\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Gets the size of `collection` by returning its length for array-like\n\t     * values or the number of own enumerable properties for objects.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to inspect.\n\t     * @returns {number} Returns the size of `collection`.\n\t     * @example\n\t     *\n\t     * _.size([1, 2, 3]);\n\t     * // => 3\n\t     *\n\t     * _.size({ 'a': 1, 'b': 2 });\n\t     * // => 2\n\t     *\n\t     * _.size('pebbles');\n\t     * // => 7\n\t     */\n\t    function size(collection) {\n\t      var length = collection ? getLength(collection) : 0;\n\t      return isLength(length) ? length : keys(collection).length;\n\t    }\n\t\n\t    /**\n\t     * Checks if `predicate` returns truthy for **any** element of `collection`.\n\t     * The function returns as soon as it finds a passing value and does not iterate\n\t     * over the entire collection. The predicate is bound to `thisArg` and invoked\n\t     * with three arguments: (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias any\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {boolean} Returns `true` if any element passes the predicate check,\n\t     *  else `false`.\n\t     * @example\n\t     *\n\t     * _.some([null, 0, 'yes', false], Boolean);\n\t     * // => true\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'active': true },\n\t     *   { 'user': 'fred',   'active': false }\n\t     * ];\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.some(users, { 'user': 'barney', 'active': false });\n\t     * // => false\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.some(users, 'active', false);\n\t     * // => true\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.some(users, 'active');\n\t     * // => true\n\t     */\n\t    function some(collection, predicate, thisArg) {\n\t      var func = isArray(collection) ? arraySome : baseSome;\n\t      if (thisArg && isIterateeCall(collection, predicate, thisArg)) {\n\t        predicate = null;\n\t      }\n\t      if (typeof predicate != 'function' || thisArg !== undefined) {\n\t        predicate = getCallback(predicate, thisArg, 3);\n\t      }\n\t      return func(collection, predicate);\n\t    }\n\t\n\t    /**\n\t     * Creates an array of elements, sorted in ascending order by the results of\n\t     * running each element in a collection through `iteratee`. This method performs\n\t     * a stable sort, that is, it preserves the original sort order of equal elements.\n\t     * The `iteratee` is bound to `thisArg` and invoked with three arguments:\n\t     * (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Array} Returns the new sorted array.\n\t     * @example\n\t     *\n\t     * _.sortBy([1, 2, 3], function(n) {\n\t     *   return Math.sin(n);\n\t     * });\n\t     * // => [3, 1, 2]\n\t     *\n\t     * _.sortBy([1, 2, 3], function(n) {\n\t     *   return this.sin(n);\n\t     * }, Math);\n\t     * // => [3, 1, 2]\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'fred' },\n\t     *   { 'user': 'pebbles' },\n\t     *   { 'user': 'barney' }\n\t     * ];\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.pluck(_.sortBy(users, 'user'), 'user');\n\t     * // => ['barney', 'fred', 'pebbles']\n\t     */\n\t    function sortBy(collection, iteratee, thisArg) {\n\t      if (collection == null) {\n\t        return [];\n\t      }\n\t      if (thisArg && isIterateeCall(collection, iteratee, thisArg)) {\n\t        iteratee = null;\n\t      }\n\t      var index = -1;\n\t      iteratee = getCallback(iteratee, thisArg, 3);\n\t\n\t      var result = baseMap(collection, function(value, key, collection) {\n\t        return { 'criteria': iteratee(value, key, collection), 'index': ++index, 'value': value };\n\t      });\n\t      return baseSortBy(result, compareAscending);\n\t    }\n\t\n\t    /**\n\t     * This method is like `_.sortBy` except that it can sort by multiple iteratees\n\t     * or property names.\n\t     *\n\t     * If a property name is provided for an iteratee the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If an object is provided for an iteratee the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {...(Function|Function[]|Object|Object[]|string|string[])} iteratees\n\t     *  The iteratees to sort by, specified as individual values or arrays of values.\n\t     * @returns {Array} Returns the new sorted array.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'fred',   'age': 48 },\n\t     *   { 'user': 'barney', 'age': 36 },\n\t     *   { 'user': 'fred',   'age': 42 },\n\t     *   { 'user': 'barney', 'age': 34 }\n\t     * ];\n\t     *\n\t     * _.map(_.sortByAll(users, ['user', 'age']), _.values);\n\t     * // => [['barney', 34], ['barney', 36], ['fred', 42], ['fred', 48]]\n\t     *\n\t     * _.map(_.sortByAll(users, 'user', function(chr) {\n\t     *   return Math.floor(chr.age / 10);\n\t     * }), _.values);\n\t     * // => [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]]\n\t     */\n\t    var sortByAll = restParam(function(collection, iteratees) {\n\t      if (collection == null) {\n\t        return [];\n\t      }\n\t      var guard = iteratees[2];\n\t      if (guard && isIterateeCall(iteratees[0], iteratees[1], guard)) {\n\t        iteratees.length = 1;\n\t      }\n\t      return baseSortByOrder(collection, baseFlatten(iteratees), []);\n\t    });\n\t\n\t    /**\n\t     * This method is like `_.sortByAll` except that it allows specifying the\n\t     * sort orders of the iteratees to sort by. A truthy value in `orders` will\n\t     * sort the corresponding property name in ascending order while a falsey\n\t     * value will sort it in descending order.\n\t     *\n\t     * If a property name is provided for an iteratee the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If an object is provided for an iteratee the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n\t     * @param {boolean[]} orders The sort orders of `iteratees`.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.reduce`.\n\t     * @returns {Array} Returns the new sorted array.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'fred',   'age': 48 },\n\t     *   { 'user': 'barney', 'age': 34 },\n\t     *   { 'user': 'fred',   'age': 42 },\n\t     *   { 'user': 'barney', 'age': 36 }\n\t     * ];\n\t     *\n\t     * // sort by `user` in ascending order and by `age` in descending order\n\t     * _.map(_.sortByOrder(users, ['user', 'age'], [true, false]), _.values);\n\t     * // => [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]]\n\t     */\n\t    function sortByOrder(collection, iteratees, orders, guard) {\n\t      if (collection == null) {\n\t        return [];\n\t      }\n\t      if (guard && isIterateeCall(iteratees, orders, guard)) {\n\t        orders = null;\n\t      }\n\t      if (!isArray(iteratees)) {\n\t        iteratees = iteratees == null ? [] : [iteratees];\n\t      }\n\t      if (!isArray(orders)) {\n\t        orders = orders == null ? [] : [orders];\n\t      }\n\t      return baseSortByOrder(collection, iteratees, orders);\n\t    }\n\t\n\t    /**\n\t     * Performs a deep comparison between each element in `collection` and the\n\t     * source object, returning an array of all elements that have equivalent\n\t     * property values.\n\t     *\n\t     * **Note:** This method supports comparing arrays, booleans, `Date` objects,\n\t     * numbers, `Object` objects, regexes, and strings. Objects are compared by\n\t     * their own, not inherited, enumerable properties. For comparing a single\n\t     * own or inherited property value see `_.matchesProperty`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to search.\n\t     * @param {Object} source The object of property values to match.\n\t     * @returns {Array} Returns the new filtered array.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36, 'active': false, 'pets': ['hoppy'] },\n\t     *   { 'user': 'fred',   'age': 40, 'active': true, 'pets': ['baby puss', 'dino'] }\n\t     * ];\n\t     *\n\t     * _.pluck(_.where(users, { 'age': 36, 'active': false }), 'user');\n\t     * // => ['barney']\n\t     *\n\t     * _.pluck(_.where(users, { 'pets': ['dino'] }), 'user');\n\t     * // => ['fred']\n\t     */\n\t    function where(collection, source) {\n\t      return filter(collection, baseMatches(source));\n\t    }\n\t\n\t    /**\n\t     * Gets the number of milliseconds that have elapsed since the Unix epoch\n\t     * (1 January 1970 00:00:00 UTC).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Date\n\t     * @example\n\t     *\n\t     * _.defer(function(stamp) {\n\t     *   console.log(_.now() - stamp);\n\t     * }, _.now());\n\t     * // => logs the number of milliseconds it took for the deferred function to be invoked\n\t     */\n\t    var now = nativeNow || function() {\n\t      return new Date().getTime();\n\t    };\n\t\n\t    /**\n\t     * The opposite of `_.before`; this method creates a function that invokes\n\t     * `func` once it is called `n` or more times.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {number} n The number of calls before `func` is invoked.\n\t     * @param {Function} func The function to restrict.\n\t     * @returns {Function} Returns the new restricted function.\n\t     * @example\n\t     *\n\t     * var saves = ['profile', 'settings'];\n\t     *\n\t     * var done = _.after(saves.length, function() {\n\t     *   console.log('done saving!');\n\t     * });\n\t     *\n\t     * _.forEach(saves, function(type) {\n\t     *   asyncSave({ 'type': type, 'complete': done });\n\t     * });\n\t     * // => logs 'done saving!' after the two async saves have completed\n\t     */\n\t    function after(n, func) {\n\t      if (typeof func != 'function') {\n\t        if (typeof n == 'function') {\n\t          var temp = n;\n\t          n = func;\n\t          func = temp;\n\t        } else {\n\t          throw new TypeError(FUNC_ERROR_TEXT);\n\t        }\n\t      }\n\t      n = nativeIsFinite(n = +n) ? n : 0;\n\t      return function() {\n\t        if (--n < 1) {\n\t          return func.apply(this, arguments);\n\t        }\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that accepts up to `n` arguments ignoring any\n\t     * additional arguments.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to cap arguments for.\n\t     * @param {number} [n=func.length] The arity cap.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n\t     * // => [6, 8, 10]\n\t     */\n\t    function ary(func, n, guard) {\n\t      if (guard && isIterateeCall(func, n, guard)) {\n\t        n = null;\n\t      }\n\t      n = (func && n == null) ? func.length : nativeMax(+n || 0, 0);\n\t      return createWrapper(func, ARY_FLAG, null, null, null, null, n);\n\t    }\n\t\n\t    /**\n\t     * Creates a function that invokes `func`, with the `this` binding and arguments\n\t     * of the created function, while it is called less than `n` times. Subsequent\n\t     * calls to the created function return the result of the last `func` invocation.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {number} n The number of calls at which `func` is no longer invoked.\n\t     * @param {Function} func The function to restrict.\n\t     * @returns {Function} Returns the new restricted function.\n\t     * @example\n\t     *\n\t     * jQuery('#add').on('click', _.before(5, addContactToList));\n\t     * // => allows adding up to 4 contacts to the list\n\t     */\n\t    function before(n, func) {\n\t      var result;\n\t      if (typeof func != 'function') {\n\t        if (typeof n == 'function') {\n\t          var temp = n;\n\t          n = func;\n\t          func = temp;\n\t        } else {\n\t          throw new TypeError(FUNC_ERROR_TEXT);\n\t        }\n\t      }\n\t      return function() {\n\t        if (--n > 0) {\n\t          result = func.apply(this, arguments);\n\t        }\n\t        if (n <= 1) {\n\t          func = null;\n\t        }\n\t        return result;\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that invokes `func` with the `this` binding of `thisArg`\n\t     * and prepends any additional `_.bind` arguments to those provided to the\n\t     * bound function.\n\t     *\n\t     * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n\t     * may be used as a placeholder for partially applied arguments.\n\t     *\n\t     * **Note:** Unlike native `Function#bind` this method does not set the \"length\"\n\t     * property of bound functions.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to bind.\n\t     * @param {*} thisArg The `this` binding of `func`.\n\t     * @param {...*} [partials] The arguments to be partially applied.\n\t     * @returns {Function} Returns the new bound function.\n\t     * @example\n\t     *\n\t     * var greet = function(greeting, punctuation) {\n\t     *   return greeting + ' ' + this.user + punctuation;\n\t     * };\n\t     *\n\t     * var object = { 'user': 'fred' };\n\t     *\n\t     * var bound = _.bind(greet, object, 'hi');\n\t     * bound('!');\n\t     * // => 'hi fred!'\n\t     *\n\t     * // using placeholders\n\t     * var bound = _.bind(greet, object, _, '!');\n\t     * bound('hi');\n\t     * // => 'hi fred!'\n\t     */\n\t    var bind = restParam(function(func, thisArg, partials) {\n\t      var bitmask = BIND_FLAG;\n\t      if (partials.length) {\n\t        var holders = replaceHolders(partials, bind.placeholder);\n\t        bitmask |= PARTIAL_FLAG;\n\t      }\n\t      return createWrapper(func, bitmask, thisArg, partials, holders);\n\t    });\n\t\n\t    /**\n\t     * Binds methods of an object to the object itself, overwriting the existing\n\t     * method. Method names may be specified as individual arguments or as arrays\n\t     * of method names. If no method names are provided all enumerable function\n\t     * properties, own and inherited, of `object` are bound.\n\t     *\n\t     * **Note:** This method does not set the \"length\" property of bound functions.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Object} object The object to bind and assign the bound methods to.\n\t     * @param {...(string|string[])} [methodNames] The object method names to bind,\n\t     *  specified as individual method names or arrays of method names.\n\t     * @returns {Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * var view = {\n\t     *   'label': 'docs',\n\t     *   'onClick': function() {\n\t     *     console.log('clicked ' + this.label);\n\t     *   }\n\t     * };\n\t     *\n\t     * _.bindAll(view);\n\t     * jQuery('#docs').on('click', view.onClick);\n\t     * // => logs 'clicked docs' when the element is clicked\n\t     */\n\t    var bindAll = restParam(function(object, methodNames) {\n\t      methodNames = methodNames.length ? baseFlatten(methodNames) : functions(object);\n\t\n\t      var index = -1,\n\t          length = methodNames.length;\n\t\n\t      while (++index < length) {\n\t        var key = methodNames[index];\n\t        object[key] = createWrapper(object[key], BIND_FLAG, object);\n\t      }\n\t      return object;\n\t    });\n\t\n\t    /**\n\t     * Creates a function that invokes the method at `object[key]` and prepends\n\t     * any additional `_.bindKey` arguments to those provided to the bound function.\n\t     *\n\t     * This method differs from `_.bind` by allowing bound functions to reference\n\t     * methods that may be redefined or don't yet exist.\n\t     * See [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n\t     * for more details.\n\t     *\n\t     * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n\t     * builds, may be used as a placeholder for partially applied arguments.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Object} object The object the method belongs to.\n\t     * @param {string} key The key of the method.\n\t     * @param {...*} [partials] The arguments to be partially applied.\n\t     * @returns {Function} Returns the new bound function.\n\t     * @example\n\t     *\n\t     * var object = {\n\t     *   'user': 'fred',\n\t     *   'greet': function(greeting, punctuation) {\n\t     *     return greeting + ' ' + this.user + punctuation;\n\t     *   }\n\t     * };\n\t     *\n\t     * var bound = _.bindKey(object, 'greet', 'hi');\n\t     * bound('!');\n\t     * // => 'hi fred!'\n\t     *\n\t     * object.greet = function(greeting, punctuation) {\n\t     *   return greeting + 'ya ' + this.user + punctuation;\n\t     * };\n\t     *\n\t     * bound('!');\n\t     * // => 'hiya fred!'\n\t     *\n\t     * // using placeholders\n\t     * var bound = _.bindKey(object, 'greet', _, '!');\n\t     * bound('hi');\n\t     * // => 'hiya fred!'\n\t     */\n\t    var bindKey = restParam(function(object, key, partials) {\n\t      var bitmask = BIND_FLAG | BIND_KEY_FLAG;\n\t      if (partials.length) {\n\t        var holders = replaceHolders(partials, bindKey.placeholder);\n\t        bitmask |= PARTIAL_FLAG;\n\t      }\n\t      return createWrapper(key, bitmask, object, partials, holders);\n\t    });\n\t\n\t    /**\n\t     * Creates a function that accepts one or more arguments of `func` that when\n\t     * called either invokes `func` returning its result, if all `func` arguments\n\t     * have been provided, or returns a function that accepts one or more of the\n\t     * remaining `func` arguments, and so on. The arity of `func` may be specified\n\t     * if `func.length` is not sufficient.\n\t     *\n\t     * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n\t     * may be used as a placeholder for provided arguments.\n\t     *\n\t     * **Note:** This method does not set the \"length\" property of curried functions.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to curry.\n\t     * @param {number} [arity=func.length] The arity of `func`.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Function} Returns the new curried function.\n\t     * @example\n\t     *\n\t     * var abc = function(a, b, c) {\n\t     *   return [a, b, c];\n\t     * };\n\t     *\n\t     * var curried = _.curry(abc);\n\t     *\n\t     * curried(1)(2)(3);\n\t     * // => [1, 2, 3]\n\t     *\n\t     * curried(1, 2)(3);\n\t     * // => [1, 2, 3]\n\t     *\n\t     * curried(1, 2, 3);\n\t     * // => [1, 2, 3]\n\t     *\n\t     * // using placeholders\n\t     * curried(1)(_, 3)(2);\n\t     * // => [1, 2, 3]\n\t     */\n\t    var curry = createCurry(CURRY_FLAG);\n\t\n\t    /**\n\t     * This method is like `_.curry` except that arguments are applied to `func`\n\t     * in the manner of `_.partialRight` instead of `_.partial`.\n\t     *\n\t     * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n\t     * builds, may be used as a placeholder for provided arguments.\n\t     *\n\t     * **Note:** This method does not set the \"length\" property of curried functions.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to curry.\n\t     * @param {number} [arity=func.length] The arity of `func`.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Function} Returns the new curried function.\n\t     * @example\n\t     *\n\t     * var abc = function(a, b, c) {\n\t     *   return [a, b, c];\n\t     * };\n\t     *\n\t     * var curried = _.curryRight(abc);\n\t     *\n\t     * curried(3)(2)(1);\n\t     * // => [1, 2, 3]\n\t     *\n\t     * curried(2, 3)(1);\n\t     * // => [1, 2, 3]\n\t     *\n\t     * curried(1, 2, 3);\n\t     * // => [1, 2, 3]\n\t     *\n\t     * // using placeholders\n\t     * curried(3)(1, _)(2);\n\t     * // => [1, 2, 3]\n\t     */\n\t    var curryRight = createCurry(CURRY_RIGHT_FLAG);\n\t\n\t    /**\n\t     * Creates a function that delays invoking `func` until after `wait` milliseconds\n\t     * have elapsed since the last time it was invoked. The created function comes\n\t     * with a `cancel` method to cancel delayed invocations. Provide an options\n\t     * object to indicate that `func` should be invoked on the leading and/or\n\t     * trailing edge of the `wait` timeout. Subsequent calls to the debounced\n\t     * function return the result of the last `func` invocation.\n\t     *\n\t     * **Note:** If `leading` and `trailing` options are `true`, `func` is invoked\n\t     * on the trailing edge of the timeout only if the the debounced function is\n\t     * invoked more than once during the `wait` timeout.\n\t     *\n\t     * See [David Corbacho's article](http://drupalmotion.com/article/debounce-and-throttle-visual-explanation)\n\t     * for details over the differences between `_.debounce` and `_.throttle`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to debounce.\n\t     * @param {number} [wait=0] The number of milliseconds to delay.\n\t     * @param {Object} [options] The options object.\n\t     * @param {boolean} [options.leading=false] Specify invoking on the leading\n\t     *  edge of the timeout.\n\t     * @param {number} [options.maxWait] The maximum time `func` is allowed to be\n\t     *  delayed before it is invoked.\n\t     * @param {boolean} [options.trailing=true] Specify invoking on the trailing\n\t     *  edge of the timeout.\n\t     * @returns {Function} Returns the new debounced function.\n\t     * @example\n\t     *\n\t     * // avoid costly calculations while the window size is in flux\n\t     * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n\t     *\n\t     * // invoke `sendMail` when the click event is fired, debouncing subsequent calls\n\t     * jQuery('#postbox').on('click', _.debounce(sendMail, 300, {\n\t     *   'leading': true,\n\t     *   'trailing': false\n\t     * }));\n\t     *\n\t     * // ensure `batchLog` is invoked once after 1 second of debounced calls\n\t     * var source = new EventSource('/stream');\n\t     * jQuery(source).on('message', _.debounce(batchLog, 250, {\n\t     *   'maxWait': 1000\n\t     * }));\n\t     *\n\t     * // cancel a debounced call\n\t     * var todoChanges = _.debounce(batchLog, 1000);\n\t     * Object.observe(models.todo, todoChanges);\n\t     *\n\t     * Object.observe(models, function(changes) {\n\t     *   if (_.find(changes, { 'user': 'todo', 'type': 'delete'})) {\n\t     *     todoChanges.cancel();\n\t     *   }\n\t     * }, ['delete']);\n\t     *\n\t     * // ...at some point `models.todo` is changed\n\t     * models.todo.completed = true;\n\t     *\n\t     * // ...before 1 second has passed `models.todo` is deleted\n\t     * // which cancels the debounced `todoChanges` call\n\t     * delete models.todo;\n\t     */\n\t    function debounce(func, wait, options) {\n\t      var args,\n\t          maxTimeoutId,\n\t          result,\n\t          stamp,\n\t          thisArg,\n\t          timeoutId,\n\t          trailingCall,\n\t          lastCalled = 0,\n\t          maxWait = false,\n\t          trailing = true;\n\t\n\t      if (typeof func != 'function') {\n\t        throw new TypeError(FUNC_ERROR_TEXT);\n\t      }\n\t      wait = wait < 0 ? 0 : (+wait || 0);\n\t      if (options === true) {\n\t        var leading = true;\n\t        trailing = false;\n\t      } else if (isObject(options)) {\n\t        leading = options.leading;\n\t        maxWait = 'maxWait' in options && nativeMax(+options.maxWait || 0, wait);\n\t        trailing = 'trailing' in options ? options.trailing : trailing;\n\t      }\n\t\n\t      function cancel() {\n\t        if (timeoutId) {\n\t          clearTimeout(timeoutId);\n\t        }\n\t        if (maxTimeoutId) {\n\t          clearTimeout(maxTimeoutId);\n\t        }\n\t        maxTimeoutId = timeoutId = trailingCall = undefined;\n\t      }\n\t\n\t      function delayed() {\n\t        var remaining = wait - (now() - stamp);\n\t        if (remaining <= 0 || remaining > wait) {\n\t          if (maxTimeoutId) {\n\t            clearTimeout(maxTimeoutId);\n\t          }\n\t          var isCalled = trailingCall;\n\t          maxTimeoutId = timeoutId = trailingCall = undefined;\n\t          if (isCalled) {\n\t            lastCalled = now();\n\t            result = func.apply(thisArg, args);\n\t            if (!timeoutId && !maxTimeoutId) {\n\t              args = thisArg = null;\n\t            }\n\t          }\n\t        } else {\n\t          timeoutId = setTimeout(delayed, remaining);\n\t        }\n\t      }\n\t\n\t      function maxDelayed() {\n\t        if (timeoutId) {\n\t          clearTimeout(timeoutId);\n\t        }\n\t        maxTimeoutId = timeoutId = trailingCall = undefined;\n\t        if (trailing || (maxWait !== wait)) {\n\t          lastCalled = now();\n\t          result = func.apply(thisArg, args);\n\t          if (!timeoutId && !maxTimeoutId) {\n\t            args = thisArg = null;\n\t          }\n\t        }\n\t      }\n\t\n\t      function debounced() {\n\t        args = arguments;\n\t        stamp = now();\n\t        thisArg = this;\n\t        trailingCall = trailing && (timeoutId || !leading);\n\t\n\t        if (maxWait === false) {\n\t          var leadingCall = leading && !timeoutId;\n\t        } else {\n\t          if (!maxTimeoutId && !leading) {\n\t            lastCalled = stamp;\n\t          }\n\t          var remaining = maxWait - (stamp - lastCalled),\n\t              isCalled = remaining <= 0 || remaining > maxWait;\n\t\n\t          if (isCalled) {\n\t            if (maxTimeoutId) {\n\t              maxTimeoutId = clearTimeout(maxTimeoutId);\n\t            }\n\t            lastCalled = stamp;\n\t            result = func.apply(thisArg, args);\n\t          }\n\t          else if (!maxTimeoutId) {\n\t            maxTimeoutId = setTimeout(maxDelayed, remaining);\n\t          }\n\t        }\n\t        if (isCalled && timeoutId) {\n\t          timeoutId = clearTimeout(timeoutId);\n\t        }\n\t        else if (!timeoutId && wait !== maxWait) {\n\t          timeoutId = setTimeout(delayed, wait);\n\t        }\n\t        if (leadingCall) {\n\t          isCalled = true;\n\t          result = func.apply(thisArg, args);\n\t        }\n\t        if (isCalled && !timeoutId && !maxTimeoutId) {\n\t          args = thisArg = null;\n\t        }\n\t        return result;\n\t      }\n\t      debounced.cancel = cancel;\n\t      return debounced;\n\t    }\n\t\n\t    /**\n\t     * Defers invoking the `func` until the current call stack has cleared. Any\n\t     * additional arguments are provided to `func` when it is invoked.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to defer.\n\t     * @param {...*} [args] The arguments to invoke the function with.\n\t     * @returns {number} Returns the timer id.\n\t     * @example\n\t     *\n\t     * _.defer(function(text) {\n\t     *   console.log(text);\n\t     * }, 'deferred');\n\t     * // logs 'deferred' after one or more milliseconds\n\t     */\n\t    var defer = restParam(function(func, args) {\n\t      return baseDelay(func, 1, args);\n\t    });\n\t\n\t    /**\n\t     * Invokes `func` after `wait` milliseconds. Any additional arguments are\n\t     * provided to `func` when it is invoked.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to delay.\n\t     * @param {number} wait The number of milliseconds to delay invocation.\n\t     * @param {...*} [args] The arguments to invoke the function with.\n\t     * @returns {number} Returns the timer id.\n\t     * @example\n\t     *\n\t     * _.delay(function(text) {\n\t     *   console.log(text);\n\t     * }, 1000, 'later');\n\t     * // => logs 'later' after one second\n\t     */\n\t    var delay = restParam(function(func, wait, args) {\n\t      return baseDelay(func, wait, args);\n\t    });\n\t\n\t    /**\n\t     * Creates a function that returns the result of invoking the provided\n\t     * functions with the `this` binding of the created function, where each\n\t     * successive invocation is supplied the return value of the previous.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {...Function} [funcs] Functions to invoke.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * function square(n) {\n\t     *   return n * n;\n\t     * }\n\t     *\n\t     * var addSquare = _.flow(_.add, square);\n\t     * addSquare(1, 2);\n\t     * // => 9\n\t     */\n\t    var flow = createFlow();\n\t\n\t    /**\n\t     * This method is like `_.flow` except that it creates a function that\n\t     * invokes the provided functions from right to left.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias backflow, compose\n\t     * @category Function\n\t     * @param {...Function} [funcs] Functions to invoke.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * function square(n) {\n\t     *   return n * n;\n\t     * }\n\t     *\n\t     * var addSquare = _.flowRight(square, _.add);\n\t     * addSquare(1, 2);\n\t     * // => 9\n\t     */\n\t    var flowRight = createFlow(true);\n\t\n\t    /**\n\t     * Creates a function that memoizes the result of `func`. If `resolver` is\n\t     * provided it determines the cache key for storing the result based on the\n\t     * arguments provided to the memoized function. By default, the first argument\n\t     * provided to the memoized function is coerced to a string and used as the\n\t     * cache key. The `func` is invoked with the `this` binding of the memoized\n\t     * function.\n\t     *\n\t     * **Note:** The cache is exposed as the `cache` property on the memoized\n\t     * function. Its creation may be customized by replacing the `_.memoize.Cache`\n\t     * constructor with one whose instances implement the [`Map`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-properties-of-the-map-prototype-object)\n\t     * method interface of `get`, `has`, and `set`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to have its output memoized.\n\t     * @param {Function} [resolver] The function to resolve the cache key.\n\t     * @returns {Function} Returns the new memoizing function.\n\t     * @example\n\t     *\n\t     * var upperCase = _.memoize(function(string) {\n\t     *   return string.toUpperCase();\n\t     * });\n\t     *\n\t     * upperCase('fred');\n\t     * // => 'FRED'\n\t     *\n\t     * // modifying the result cache\n\t     * upperCase.cache.set('fred', 'BARNEY');\n\t     * upperCase('fred');\n\t     * // => 'BARNEY'\n\t     *\n\t     * // replacing `_.memoize.Cache`\n\t     * var object = { 'user': 'fred' };\n\t     * var other = { 'user': 'barney' };\n\t     * var identity = _.memoize(_.identity);\n\t     *\n\t     * identity(object);\n\t     * // => { 'user': 'fred' }\n\t     * identity(other);\n\t     * // => { 'user': 'fred' }\n\t     *\n\t     * _.memoize.Cache = WeakMap;\n\t     * var identity = _.memoize(_.identity);\n\t     *\n\t     * identity(object);\n\t     * // => { 'user': 'fred' }\n\t     * identity(other);\n\t     * // => { 'user': 'barney' }\n\t     */\n\t    function memoize(func, resolver) {\n\t      if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {\n\t        throw new TypeError(FUNC_ERROR_TEXT);\n\t      }\n\t      var memoized = function() {\n\t        var args = arguments,\n\t            cache = memoized.cache,\n\t            key = resolver ? resolver.apply(this, args) : args[0];\n\t\n\t        if (cache.has(key)) {\n\t          return cache.get(key);\n\t        }\n\t        var result = func.apply(this, args);\n\t        cache.set(key, result);\n\t        return result;\n\t      };\n\t      memoized.cache = new memoize.Cache;\n\t      return memoized;\n\t    }\n\t\n\t    /**\n\t     * Creates a function that negates the result of the predicate `func`. The\n\t     * `func` predicate is invoked with the `this` binding and arguments of the\n\t     * created function.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} predicate The predicate to negate.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * function isEven(n) {\n\t     *   return n % 2 == 0;\n\t     * }\n\t     *\n\t     * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n\t     * // => [1, 3, 5]\n\t     */\n\t    function negate(predicate) {\n\t      if (typeof predicate != 'function') {\n\t        throw new TypeError(FUNC_ERROR_TEXT);\n\t      }\n\t      return function() {\n\t        return !predicate.apply(this, arguments);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that is restricted to invoking `func` once. Repeat calls\n\t     * to the function return the value of the first call. The `func` is invoked\n\t     * with the `this` binding and arguments of the created function.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to restrict.\n\t     * @returns {Function} Returns the new restricted function.\n\t     * @example\n\t     *\n\t     * var initialize = _.once(createApplication);\n\t     * initialize();\n\t     * initialize();\n\t     * // `initialize` invokes `createApplication` once\n\t     */\n\t    function once(func) {\n\t      return before(2, func);\n\t    }\n\t\n\t    /**\n\t     * Creates a function that invokes `func` with `partial` arguments prepended\n\t     * to those provided to the new function. This method is like `_.bind` except\n\t     * it does **not** alter the `this` binding.\n\t     *\n\t     * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n\t     * builds, may be used as a placeholder for partially applied arguments.\n\t     *\n\t     * **Note:** This method does not set the \"length\" property of partially\n\t     * applied functions.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to partially apply arguments to.\n\t     * @param {...*} [partials] The arguments to be partially applied.\n\t     * @returns {Function} Returns the new partially applied function.\n\t     * @example\n\t     *\n\t     * var greet = function(greeting, name) {\n\t     *   return greeting + ' ' + name;\n\t     * };\n\t     *\n\t     * var sayHelloTo = _.partial(greet, 'hello');\n\t     * sayHelloTo('fred');\n\t     * // => 'hello fred'\n\t     *\n\t     * // using placeholders\n\t     * var greetFred = _.partial(greet, _, 'fred');\n\t     * greetFred('hi');\n\t     * // => 'hi fred'\n\t     */\n\t    var partial = createPartial(PARTIAL_FLAG);\n\t\n\t    /**\n\t     * This method is like `_.partial` except that partially applied arguments\n\t     * are appended to those provided to the new function.\n\t     *\n\t     * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n\t     * builds, may be used as a placeholder for partially applied arguments.\n\t     *\n\t     * **Note:** This method does not set the \"length\" property of partially\n\t     * applied functions.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to partially apply arguments to.\n\t     * @param {...*} [partials] The arguments to be partially applied.\n\t     * @returns {Function} Returns the new partially applied function.\n\t     * @example\n\t     *\n\t     * var greet = function(greeting, name) {\n\t     *   return greeting + ' ' + name;\n\t     * };\n\t     *\n\t     * var greetFred = _.partialRight(greet, 'fred');\n\t     * greetFred('hi');\n\t     * // => 'hi fred'\n\t     *\n\t     * // using placeholders\n\t     * var sayHelloTo = _.partialRight(greet, 'hello', _);\n\t     * sayHelloTo('fred');\n\t     * // => 'hello fred'\n\t     */\n\t    var partialRight = createPartial(PARTIAL_RIGHT_FLAG);\n\t\n\t    /**\n\t     * Creates a function that invokes `func` with arguments arranged according\n\t     * to the specified indexes where the argument value at the first index is\n\t     * provided as the first argument, the argument value at the second index is\n\t     * provided as the second argument, and so on.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to rearrange arguments for.\n\t     * @param {...(number|number[])} indexes The arranged argument indexes,\n\t     *  specified as individual indexes or arrays of indexes.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var rearged = _.rearg(function(a, b, c) {\n\t     *   return [a, b, c];\n\t     * }, 2, 0, 1);\n\t     *\n\t     * rearged('b', 'c', 'a')\n\t     * // => ['a', 'b', 'c']\n\t     *\n\t     * var map = _.rearg(_.map, [1, 0]);\n\t     * map(function(n) {\n\t     *   return n * 3;\n\t     * }, [1, 2, 3]);\n\t     * // => [3, 6, 9]\n\t     */\n\t    var rearg = restParam(function(func, indexes) {\n\t      return createWrapper(func, REARG_FLAG, null, null, null, baseFlatten(indexes));\n\t    });\n\t\n\t    /**\n\t     * Creates a function that invokes `func` with the `this` binding of the\n\t     * created function and arguments from `start` and beyond provided as an array.\n\t     *\n\t     * **Note:** This method is based on the [rest parameter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to apply a rest parameter to.\n\t     * @param {number} [start=func.length-1] The start position of the rest parameter.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var say = _.restParam(function(what, names) {\n\t     *   return what + ' ' + _.initial(names).join(', ') +\n\t     *     (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n\t     * });\n\t     *\n\t     * say('hello', 'fred', 'barney', 'pebbles');\n\t     * // => 'hello fred, barney, & pebbles'\n\t     */\n\t    function restParam(func, start) {\n\t      if (typeof func != 'function') {\n\t        throw new TypeError(FUNC_ERROR_TEXT);\n\t      }\n\t      start = nativeMax(start === undefined ? (func.length - 1) : (+start || 0), 0);\n\t      return function() {\n\t        var args = arguments,\n\t            index = -1,\n\t            length = nativeMax(args.length - start, 0),\n\t            rest = Array(length);\n\t\n\t        while (++index < length) {\n\t          rest[index] = args[start + index];\n\t        }\n\t        switch (start) {\n\t          case 0: return func.call(this, rest);\n\t          case 1: return func.call(this, args[0], rest);\n\t          case 2: return func.call(this, args[0], args[1], rest);\n\t        }\n\t        var otherArgs = Array(start + 1);\n\t        index = -1;\n\t        while (++index < start) {\n\t          otherArgs[index] = args[index];\n\t        }\n\t        otherArgs[start] = rest;\n\t        return func.apply(this, otherArgs);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that invokes `func` with the `this` binding of the created\n\t     * function and an array of arguments much like [`Function#apply`](https://es5.github.io/#x15.3.4.3).\n\t     *\n\t     * **Note:** This method is based on the [spread operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to spread arguments over.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var say = _.spread(function(who, what) {\n\t     *   return who + ' says ' + what;\n\t     * });\n\t     *\n\t     * say(['fred', 'hello']);\n\t     * // => 'fred says hello'\n\t     *\n\t     * // with a Promise\n\t     * var numbers = Promise.all([\n\t     *   Promise.resolve(40),\n\t     *   Promise.resolve(36)\n\t     * ]);\n\t     *\n\t     * numbers.then(_.spread(function(x, y) {\n\t     *   return x + y;\n\t     * }));\n\t     * // => a Promise of 76\n\t     */\n\t    function spread(func) {\n\t      if (typeof func != 'function') {\n\t        throw new TypeError(FUNC_ERROR_TEXT);\n\t      }\n\t      return function(array) {\n\t        return func.apply(this, array);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that only invokes `func` at most once per every `wait`\n\t     * milliseconds. The created function comes with a `cancel` method to cancel\n\t     * delayed invocations. Provide an options object to indicate that `func`\n\t     * should be invoked on the leading and/or trailing edge of the `wait` timeout.\n\t     * Subsequent calls to the throttled function return the result of the last\n\t     * `func` call.\n\t     *\n\t     * **Note:** If `leading` and `trailing` options are `true`, `func` is invoked\n\t     * on the trailing edge of the timeout only if the the throttled function is\n\t     * invoked more than once during the `wait` timeout.\n\t     *\n\t     * See [David Corbacho's article](http://drupalmotion.com/article/debounce-and-throttle-visual-explanation)\n\t     * for details over the differences between `_.throttle` and `_.debounce`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to throttle.\n\t     * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n\t     * @param {Object} [options] The options object.\n\t     * @param {boolean} [options.leading=true] Specify invoking on the leading\n\t     *  edge of the timeout.\n\t     * @param {boolean} [options.trailing=true] Specify invoking on the trailing\n\t     *  edge of the timeout.\n\t     * @returns {Function} Returns the new throttled function.\n\t     * @example\n\t     *\n\t     * // avoid excessively updating the position while scrolling\n\t     * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n\t     *\n\t     * // invoke `renewToken` when the click event is fired, but not more than once every 5 minutes\n\t     * jQuery('.interactive').on('click', _.throttle(renewToken, 300000, {\n\t     *   'trailing': false\n\t     * }));\n\t     *\n\t     * // cancel a trailing throttled call\n\t     * jQuery(window).on('popstate', throttled.cancel);\n\t     */\n\t    function throttle(func, wait, options) {\n\t      var leading = true,\n\t          trailing = true;\n\t\n\t      if (typeof func != 'function') {\n\t        throw new TypeError(FUNC_ERROR_TEXT);\n\t      }\n\t      if (options === false) {\n\t        leading = false;\n\t      } else if (isObject(options)) {\n\t        leading = 'leading' in options ? !!options.leading : leading;\n\t        trailing = 'trailing' in options ? !!options.trailing : trailing;\n\t      }\n\t      debounceOptions.leading = leading;\n\t      debounceOptions.maxWait = +wait;\n\t      debounceOptions.trailing = trailing;\n\t      return debounce(func, wait, debounceOptions);\n\t    }\n\t\n\t    /**\n\t     * Creates a function that provides `value` to the wrapper function as its\n\t     * first argument. Any additional arguments provided to the function are\n\t     * appended to those provided to the wrapper function. The wrapper is invoked\n\t     * with the `this` binding of the created function.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {*} value The value to wrap.\n\t     * @param {Function} wrapper The wrapper function.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var p = _.wrap(_.escape, function(func, text) {\n\t     *   return '<p>' + func(text) + '</p>';\n\t     * });\n\t     *\n\t     * p('fred, barney, & pebbles');\n\t     * // => '<p>fred, barney, &amp; pebbles</p>'\n\t     */\n\t    function wrap(value, wrapper) {\n\t      wrapper = wrapper == null ? identity : wrapper;\n\t      return createWrapper(wrapper, PARTIAL_FLAG, null, [value], []);\n\t    }\n\t\n\t    /**\n\t     * Creates a clone of `value`. If `isDeep` is `true` nested objects are cloned,\n\t     * otherwise they are assigned by reference. If `customizer` is provided it is\n\t     * invoked to produce the cloned values. If `customizer` returns `undefined`\n\t     * cloning is handled by the method instead. The `customizer` is bound to\n\t     * `thisArg` and invoked with two argument; (value [, index|key, object]).\n\t     *\n\t     * **Note:** This method is loosely based on the\n\t     * [structured clone algorithm](http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm).\n\t     * The enumerable properties of `arguments` objects and objects created by\n\t     * constructors other than `Object` are cloned to plain `Object` objects. An\n\t     * empty object is returned for uncloneable values such as functions, DOM nodes,\n\t     * Maps, Sets, and WeakMaps.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to clone.\n\t     * @param {boolean} [isDeep] Specify a deep clone.\n\t     * @param {Function} [customizer] The function to customize cloning values.\n\t     * @param {*} [thisArg] The `this` binding of `customizer`.\n\t     * @returns {*} Returns the cloned value.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney' },\n\t     *   { 'user': 'fred' }\n\t     * ];\n\t     *\n\t     * var shallow = _.clone(users);\n\t     * shallow[0] === users[0];\n\t     * // => true\n\t     *\n\t     * var deep = _.clone(users, true);\n\t     * deep[0] === users[0];\n\t     * // => false\n\t     *\n\t     * // using a customizer callback\n\t     * var el = _.clone(document.body, function(value) {\n\t     *   if (_.isElement(value)) {\n\t     *     return value.cloneNode(false);\n\t     *   }\n\t     * });\n\t     *\n\t     * el === document.body\n\t     * // => false\n\t     * el.nodeName\n\t     * // => BODY\n\t     * el.childNodes.length;\n\t     * // => 0\n\t     */\n\t    function clone(value, isDeep, customizer, thisArg) {\n\t      if (isDeep && typeof isDeep != 'boolean' && isIterateeCall(value, isDeep, customizer)) {\n\t        isDeep = false;\n\t      }\n\t      else if (typeof isDeep == 'function') {\n\t        thisArg = customizer;\n\t        customizer = isDeep;\n\t        isDeep = false;\n\t      }\n\t      customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 1);\n\t      return baseClone(value, isDeep, customizer);\n\t    }\n\t\n\t    /**\n\t     * Creates a deep clone of `value`. If `customizer` is provided it is invoked\n\t     * to produce the cloned values. If `customizer` returns `undefined` cloning\n\t     * is handled by the method instead. The `customizer` is bound to `thisArg`\n\t     * and invoked with two argument; (value [, index|key, object]).\n\t     *\n\t     * **Note:** This method is loosely based on the\n\t     * [structured clone algorithm](http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm).\n\t     * The enumerable properties of `arguments` objects and objects created by\n\t     * constructors other than `Object` are cloned to plain `Object` objects. An\n\t     * empty object is returned for uncloneable values such as functions, DOM nodes,\n\t     * Maps, Sets, and WeakMaps.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to deep clone.\n\t     * @param {Function} [customizer] The function to customize cloning values.\n\t     * @param {*} [thisArg] The `this` binding of `customizer`.\n\t     * @returns {*} Returns the deep cloned value.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney' },\n\t     *   { 'user': 'fred' }\n\t     * ];\n\t     *\n\t     * var deep = _.cloneDeep(users);\n\t     * deep[0] === users[0];\n\t     * // => false\n\t     *\n\t     * // using a customizer callback\n\t     * var el = _.cloneDeep(document.body, function(value) {\n\t     *   if (_.isElement(value)) {\n\t     *     return value.cloneNode(true);\n\t     *   }\n\t     * });\n\t     *\n\t     * el === document.body\n\t     * // => false\n\t     * el.nodeName\n\t     * // => BODY\n\t     * el.childNodes.length;\n\t     * // => 20\n\t     */\n\t    function cloneDeep(value, customizer, thisArg) {\n\t      customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 1);\n\t      return baseClone(value, true, customizer);\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is classified as an `arguments` object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t     * @example\n\t     *\n\t     * _.isArguments(function() { return arguments; }());\n\t     * // => true\n\t     *\n\t     * _.isArguments([1, 2, 3]);\n\t     * // => false\n\t     */\n\t    function isArguments(value) {\n\t      return isObjectLike(value) && isArrayLike(value) && objToString.call(value) == argsTag;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is classified as an `Array` object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t     * @example\n\t     *\n\t     * _.isArray([1, 2, 3]);\n\t     * // => true\n\t     *\n\t     * _.isArray(function() { return arguments; }());\n\t     * // => false\n\t     */\n\t    var isArray = nativeIsArray || function(value) {\n\t      return isObjectLike(value) && isLength(value.length) && objToString.call(value) == arrayTag;\n\t    };\n\t\n\t    /**\n\t     * Checks if `value` is classified as a boolean primitive or object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t     * @example\n\t     *\n\t     * _.isBoolean(false);\n\t     * // => true\n\t     *\n\t     * _.isBoolean(null);\n\t     * // => false\n\t     */\n\t    function isBoolean(value) {\n\t      return value === true || value === false || (isObjectLike(value) && objToString.call(value) == boolTag);\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is classified as a `Date` object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t     * @example\n\t     *\n\t     * _.isDate(new Date);\n\t     * // => true\n\t     *\n\t     * _.isDate('Mon April 23 2012');\n\t     * // => false\n\t     */\n\t    function isDate(value) {\n\t      return isObjectLike(value) && objToString.call(value) == dateTag;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is a DOM element.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n\t     * @example\n\t     *\n\t     * _.isElement(document.body);\n\t     * // => true\n\t     *\n\t     * _.isElement('<body>');\n\t     * // => false\n\t     */\n\t    function isElement(value) {\n\t      return !!value && value.nodeType === 1 && isObjectLike(value) &&\n\t        (objToString.call(value).indexOf('Element') > -1);\n\t    }\n\t    // Fallback for environments without DOM support.\n\t    if (!support.dom) {\n\t      isElement = function(value) {\n\t        return !!value && value.nodeType === 1 && isObjectLike(value) && !isPlainObject(value);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is empty. A value is considered empty unless it is an\n\t     * `arguments` object, array, string, or jQuery-like collection with a length\n\t     * greater than `0` or an object with own enumerable properties.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {Array|Object|string} value The value to inspect.\n\t     * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n\t     * @example\n\t     *\n\t     * _.isEmpty(null);\n\t     * // => true\n\t     *\n\t     * _.isEmpty(true);\n\t     * // => true\n\t     *\n\t     * _.isEmpty(1);\n\t     * // => true\n\t     *\n\t     * _.isEmpty([1, 2, 3]);\n\t     * // => false\n\t     *\n\t     * _.isEmpty({ 'a': 1 });\n\t     * // => false\n\t     */\n\t    function isEmpty(value) {\n\t      if (value == null) {\n\t        return true;\n\t      }\n\t      if (isArrayLike(value) && (isArray(value) || isString(value) || isArguments(value) ||\n\t          (isObjectLike(value) && isFunction(value.splice)))) {\n\t        return !value.length;\n\t      }\n\t      return !keys(value).length;\n\t    }\n\t\n\t    /**\n\t     * Performs a deep comparison between two values to determine if they are\n\t     * equivalent. If `customizer` is provided it is invoked to compare values.\n\t     * If `customizer` returns `undefined` comparisons are handled by the method\n\t     * instead. The `customizer` is bound to `thisArg` and invoked with three\n\t     * arguments: (value, other [, index|key]).\n\t     *\n\t     * **Note:** This method supports comparing arrays, booleans, `Date` objects,\n\t     * numbers, `Object` objects, regexes, and strings. Objects are compared by\n\t     * their own, not inherited, enumerable properties. Functions and DOM nodes\n\t     * are **not** supported. Provide a customizer function to extend support\n\t     * for comparing other values.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to compare.\n\t     * @param {*} other The other value to compare.\n\t     * @param {Function} [customizer] The function to customize value comparisons.\n\t     * @param {*} [thisArg] The `this` binding of `customizer`.\n\t     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n\t     * @example\n\t     *\n\t     * var object = { 'user': 'fred' };\n\t     * var other = { 'user': 'fred' };\n\t     *\n\t     * object == other;\n\t     * // => false\n\t     *\n\t     * _.isEqual(object, other);\n\t     * // => true\n\t     *\n\t     * // using a customizer callback\n\t     * var array = ['hello', 'goodbye'];\n\t     * var other = ['hi', 'goodbye'];\n\t     *\n\t     * _.isEqual(array, other, function(value, other) {\n\t     *   if (_.every([value, other], RegExp.prototype.test, /^h(?:i|ello)$/)) {\n\t     *     return true;\n\t     *   }\n\t     * });\n\t     * // => true\n\t     */\n\t    function isEqual(value, other, customizer, thisArg) {\n\t      customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 3);\n\t      if (!customizer && isStrictComparable(value) && isStrictComparable(other)) {\n\t        return value === other;\n\t      }\n\t      var result = customizer ? customizer(value, other) : undefined;\n\t      return result === undefined ? baseIsEqual(value, other, customizer) : !!result;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n\t     * `SyntaxError`, `TypeError`, or `URIError` object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n\t     * @example\n\t     *\n\t     * _.isError(new Error);\n\t     * // => true\n\t     *\n\t     * _.isError(Error);\n\t     * // => false\n\t     */\n\t    function isError(value) {\n\t      return isObjectLike(value) && typeof value.message == 'string' && objToString.call(value) == errorTag;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is a finite primitive number.\n\t     *\n\t     * **Note:** This method is based on [`Number.isFinite`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.isfinite).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n\t     * @example\n\t     *\n\t     * _.isFinite(10);\n\t     * // => true\n\t     *\n\t     * _.isFinite('10');\n\t     * // => false\n\t     *\n\t     * _.isFinite(true);\n\t     * // => false\n\t     *\n\t     * _.isFinite(Object(10));\n\t     * // => false\n\t     *\n\t     * _.isFinite(Infinity);\n\t     * // => false\n\t     */\n\t    var isFinite = nativeNumIsFinite || function(value) {\n\t      return typeof value == 'number' && nativeIsFinite(value);\n\t    };\n\t\n\t    /**\n\t     * Checks if `value` is classified as a `Function` object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t     * @example\n\t     *\n\t     * _.isFunction(_);\n\t     * // => true\n\t     *\n\t     * _.isFunction(/abc/);\n\t     * // => false\n\t     */\n\t    var isFunction = !(baseIsFunction(/x/) || (Uint8Array && !baseIsFunction(Uint8Array))) ? baseIsFunction : function(value) {\n\t      // The use of `Object#toString` avoids issues with the `typeof` operator\n\t      // in older versions of Chrome and Safari which return 'function' for regexes\n\t      // and Safari 8 equivalents which return 'object' for typed array constructors.\n\t      return objToString.call(value) == funcTag;\n\t    };\n\t\n\t    /**\n\t     * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.\n\t     * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n\t     * @example\n\t     *\n\t     * _.isObject({});\n\t     * // => true\n\t     *\n\t     * _.isObject([1, 2, 3]);\n\t     * // => true\n\t     *\n\t     * _.isObject(1);\n\t     * // => false\n\t     */\n\t    function isObject(value) {\n\t      // Avoid a V8 JIT bug in Chrome 19-20.\n\t      // See https://code.google.com/p/v8/issues/detail?id=2291 for more details.\n\t      var type = typeof value;\n\t      return type == 'function' || (!!value && type == 'object');\n\t    }\n\t\n\t    /**\n\t     * Performs a deep comparison between `object` and `source` to determine if\n\t     * `object` contains equivalent property values. If `customizer` is provided\n\t     * it is invoked to compare values. If `customizer` returns `undefined`\n\t     * comparisons are handled by the method instead. The `customizer` is bound\n\t     * to `thisArg` and invoked with three arguments: (value, other, index|key).\n\t     *\n\t     * **Note:** This method supports comparing properties of arrays, booleans,\n\t     * `Date` objects, numbers, `Object` objects, regexes, and strings. Functions\n\t     * and DOM nodes are **not** supported. Provide a customizer function to extend\n\t     * support for comparing other values.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {Object} object The object to inspect.\n\t     * @param {Object} source The object of property values to match.\n\t     * @param {Function} [customizer] The function to customize value comparisons.\n\t     * @param {*} [thisArg] The `this` binding of `customizer`.\n\t     * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n\t     * @example\n\t     *\n\t     * var object = { 'user': 'fred', 'age': 40 };\n\t     *\n\t     * _.isMatch(object, { 'age': 40 });\n\t     * // => true\n\t     *\n\t     * _.isMatch(object, { 'age': 36 });\n\t     * // => false\n\t     *\n\t     * // using a customizer callback\n\t     * var object = { 'greeting': 'hello' };\n\t     * var source = { 'greeting': 'hi' };\n\t     *\n\t     * _.isMatch(object, source, function(value, other) {\n\t     *   return _.every([value, other], RegExp.prototype.test, /^h(?:i|ello)$/) || undefined;\n\t     * });\n\t     * // => true\n\t     */\n\t    function isMatch(object, source, customizer, thisArg) {\n\t      var props = keys(source),\n\t          length = props.length;\n\t\n\t      if (!length) {\n\t        return true;\n\t      }\n\t      if (object == null) {\n\t        return false;\n\t      }\n\t      customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 3);\n\t      object = toObject(object);\n\t      if (!customizer && length == 1) {\n\t        var key = props[0],\n\t            value = source[key];\n\t\n\t        if (isStrictComparable(value)) {\n\t          return value === object[key] && (value !== undefined || (key in object));\n\t        }\n\t      }\n\t      var values = Array(length),\n\t          strictCompareFlags = Array(length);\n\t\n\t      while (length--) {\n\t        value = values[length] = source[props[length]];\n\t        strictCompareFlags[length] = isStrictComparable(value);\n\t      }\n\t      return baseIsMatch(object, props, values, strictCompareFlags, customizer);\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is `NaN`.\n\t     *\n\t     * **Note:** This method is not the same as [`isNaN`](https://es5.github.io/#x15.1.2.4)\n\t     * which returns `true` for `undefined` and other non-numeric values.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n\t     * @example\n\t     *\n\t     * _.isNaN(NaN);\n\t     * // => true\n\t     *\n\t     * _.isNaN(new Number(NaN));\n\t     * // => true\n\t     *\n\t     * isNaN(undefined);\n\t     * // => true\n\t     *\n\t     * _.isNaN(undefined);\n\t     * // => false\n\t     */\n\t    function isNaN(value) {\n\t      // An `NaN` primitive is the only value that is not equal to itself.\n\t      // Perform the `toStringTag` check first to avoid errors with some host objects in IE.\n\t      return isNumber(value) && value != +value;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is a native function.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is a native function, else `false`.\n\t     * @example\n\t     *\n\t     * _.isNative(Array.prototype.push);\n\t     * // => true\n\t     *\n\t     * _.isNative(_);\n\t     * // => false\n\t     */\n\t    function isNative(value) {\n\t      if (value == null) {\n\t        return false;\n\t      }\n\t      if (objToString.call(value) == funcTag) {\n\t        return reIsNative.test(fnToString.call(value));\n\t      }\n\t      return isObjectLike(value) && reIsHostCtor.test(value);\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is `null`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n\t     * @example\n\t     *\n\t     * _.isNull(null);\n\t     * // => true\n\t     *\n\t     * _.isNull(void 0);\n\t     * // => false\n\t     */\n\t    function isNull(value) {\n\t      return value === null;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is classified as a `Number` primitive or object.\n\t     *\n\t     * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are classified\n\t     * as numbers, use the `_.isFinite` method.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t     * @example\n\t     *\n\t     * _.isNumber(8.4);\n\t     * // => true\n\t     *\n\t     * _.isNumber(NaN);\n\t     * // => true\n\t     *\n\t     * _.isNumber('8.4');\n\t     * // => false\n\t     */\n\t    function isNumber(value) {\n\t      return typeof value == 'number' || (isObjectLike(value) && objToString.call(value) == numberTag);\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is a plain object, that is, an object created by the\n\t     * `Object` constructor or one with a `[[Prototype]]` of `null`.\n\t     *\n\t     * **Note:** This method assumes objects created by the `Object` constructor\n\t     * have no inherited enumerable properties.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.a = 1;\n\t     * }\n\t     *\n\t     * _.isPlainObject(new Foo);\n\t     * // => false\n\t     *\n\t     * _.isPlainObject([1, 2, 3]);\n\t     * // => false\n\t     *\n\t     * _.isPlainObject({ 'x': 0, 'y': 0 });\n\t     * // => true\n\t     *\n\t     * _.isPlainObject(Object.create(null));\n\t     * // => true\n\t     */\n\t    var isPlainObject = !getPrototypeOf ? shimIsPlainObject : function(value) {\n\t      if (!(value && objToString.call(value) == objectTag)) {\n\t        return false;\n\t      }\n\t      var valueOf = value.valueOf,\n\t          objProto = isNative(valueOf) && (objProto = getPrototypeOf(valueOf)) && getPrototypeOf(objProto);\n\t\n\t      return objProto\n\t        ? (value == objProto || getPrototypeOf(value) == objProto)\n\t        : shimIsPlainObject(value);\n\t    };\n\t\n\t    /**\n\t     * Checks if `value` is classified as a `RegExp` object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t     * @example\n\t     *\n\t     * _.isRegExp(/abc/);\n\t     * // => true\n\t     *\n\t     * _.isRegExp('/abc/');\n\t     * // => false\n\t     */\n\t    function isRegExp(value) {\n\t      return isObjectLike(value) && objToString.call(value) == regexpTag;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is classified as a `String` primitive or object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t     * @example\n\t     *\n\t     * _.isString('abc');\n\t     * // => true\n\t     *\n\t     * _.isString(1);\n\t     * // => false\n\t     */\n\t    function isString(value) {\n\t      return typeof value == 'string' || (isObjectLike(value) && objToString.call(value) == stringTag);\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is classified as a typed array.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t     * @example\n\t     *\n\t     * _.isTypedArray(new Uint8Array);\n\t     * // => true\n\t     *\n\t     * _.isTypedArray([]);\n\t     * // => false\n\t     */\n\t    function isTypedArray(value) {\n\t      return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[objToString.call(value)];\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is `undefined`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n\t     * @example\n\t     *\n\t     * _.isUndefined(void 0);\n\t     * // => true\n\t     *\n\t     * _.isUndefined(null);\n\t     * // => false\n\t     */\n\t    function isUndefined(value) {\n\t      return value === undefined;\n\t    }\n\t\n\t    /**\n\t     * Converts `value` to an array.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to convert.\n\t     * @returns {Array} Returns the converted array.\n\t     * @example\n\t     *\n\t     * (function() {\n\t     *   return _.toArray(arguments).slice(1);\n\t     * }(1, 2, 3));\n\t     * // => [2, 3]\n\t     */\n\t    function toArray(value) {\n\t      var length = value ? getLength(value) : 0;\n\t      if (!isLength(length)) {\n\t        return values(value);\n\t      }\n\t      if (!length) {\n\t        return [];\n\t      }\n\t      return arrayCopy(value);\n\t    }\n\t\n\t    /**\n\t     * Converts `value` to a plain object flattening inherited enumerable\n\t     * properties of `value` to own properties of the plain object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to convert.\n\t     * @returns {Object} Returns the converted plain object.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.b = 2;\n\t     * }\n\t     *\n\t     * Foo.prototype.c = 3;\n\t     *\n\t     * _.assign({ 'a': 1 }, new Foo);\n\t     * // => { 'a': 1, 'b': 2 }\n\t     *\n\t     * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n\t     * // => { 'a': 1, 'b': 2, 'c': 3 }\n\t     */\n\t    function toPlainObject(value) {\n\t      return baseCopy(value, keysIn(value));\n\t    }\n\t\n\t    /**\n\t     * Assigns own enumerable properties of source object(s) to the destination\n\t     * object. Subsequent sources overwrite property assignments of previous sources.\n\t     * If `customizer` is provided it is invoked to produce the assigned values.\n\t     * The `customizer` is bound to `thisArg` and invoked with five arguments:\n\t     * (objectValue, sourceValue, key, object, source).\n\t     *\n\t     * **Note:** This method mutates `object` and is based on\n\t     * [`Object.assign`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.assign).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias extend\n\t     * @category Object\n\t     * @param {Object} object The destination object.\n\t     * @param {...Object} [sources] The source objects.\n\t     * @param {Function} [customizer] The function to customize assigned values.\n\t     * @param {*} [thisArg] The `this` binding of `customizer`.\n\t     * @returns {Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * _.assign({ 'user': 'barney' }, { 'age': 40 }, { 'user': 'fred' });\n\t     * // => { 'user': 'fred', 'age': 40 }\n\t     *\n\t     * // using a customizer callback\n\t     * var defaults = _.partialRight(_.assign, function(value, other) {\n\t     *   return _.isUndefined(value) ? other : value;\n\t     * });\n\t     *\n\t     * defaults({ 'user': 'barney' }, { 'age': 36 }, { 'user': 'fred' });\n\t     * // => { 'user': 'barney', 'age': 36 }\n\t     */\n\t    var assign = createAssigner(function(object, source, customizer) {\n\t      return customizer\n\t        ? assignWith(object, source, customizer)\n\t        : baseAssign(object, source);\n\t    });\n\t\n\t    /**\n\t     * Creates an object that inherits from the given `prototype` object. If a\n\t     * `properties` object is provided its own enumerable properties are assigned\n\t     * to the created object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} prototype The object to inherit from.\n\t     * @param {Object} [properties] The properties to assign to the object.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Object} Returns the new object.\n\t     * @example\n\t     *\n\t     * function Shape() {\n\t     *   this.x = 0;\n\t     *   this.y = 0;\n\t     * }\n\t     *\n\t     * function Circle() {\n\t     *   Shape.call(this);\n\t     * }\n\t     *\n\t     * Circle.prototype = _.create(Shape.prototype, {\n\t     *   'constructor': Circle\n\t     * });\n\t     *\n\t     * var circle = new Circle;\n\t     * circle instanceof Circle;\n\t     * // => true\n\t     *\n\t     * circle instanceof Shape;\n\t     * // => true\n\t     */\n\t    function create(prototype, properties, guard) {\n\t      var result = baseCreate(prototype);\n\t      if (guard && isIterateeCall(prototype, properties, guard)) {\n\t        properties = null;\n\t      }\n\t      return properties ? baseAssign(result, properties) : result;\n\t    }\n\t\n\t    /**\n\t     * Assigns own enumerable properties of source object(s) to the destination\n\t     * object for all destination properties that resolve to `undefined`. Once a\n\t     * property is set, additional values of the same property are ignored.\n\t     *\n\t     * **Note:** This method mutates `object`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The destination object.\n\t     * @param {...Object} [sources] The source objects.\n\t     * @returns {Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * _.defaults({ 'user': 'barney' }, { 'age': 36 }, { 'user': 'fred' });\n\t     * // => { 'user': 'barney', 'age': 36 }\n\t     */\n\t    var defaults = restParam(function(args) {\n\t      var object = args[0];\n\t      if (object == null) {\n\t        return object;\n\t      }\n\t      args.push(assignDefaults);\n\t      return assign.apply(undefined, args);\n\t    });\n\t\n\t    /**\n\t     * This method is like `_.find` except that it returns the key of the first\n\t     * element `predicate` returns truthy for instead of the element itself.\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to search.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {string|undefined} Returns the key of the matched element, else `undefined`.\n\t     * @example\n\t     *\n\t     * var users = {\n\t     *   'barney':  { 'age': 36, 'active': true },\n\t     *   'fred':    { 'age': 40, 'active': false },\n\t     *   'pebbles': { 'age': 1,  'active': true }\n\t     * };\n\t     *\n\t     * _.findKey(users, function(chr) {\n\t     *   return chr.age < 40;\n\t     * });\n\t     * // => 'barney' (iteration order is not guaranteed)\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.findKey(users, { 'age': 1, 'active': true });\n\t     * // => 'pebbles'\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.findKey(users, 'active', false);\n\t     * // => 'fred'\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.findKey(users, 'active');\n\t     * // => 'barney'\n\t     */\n\t    var findKey = createFindKey(baseForOwn);\n\t\n\t    /**\n\t     * This method is like `_.findKey` except that it iterates over elements of\n\t     * a collection in the opposite order.\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to search.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {string|undefined} Returns the key of the matched element, else `undefined`.\n\t     * @example\n\t     *\n\t     * var users = {\n\t     *   'barney':  { 'age': 36, 'active': true },\n\t     *   'fred':    { 'age': 40, 'active': false },\n\t     *   'pebbles': { 'age': 1,  'active': true }\n\t     * };\n\t     *\n\t     * _.findLastKey(users, function(chr) {\n\t     *   return chr.age < 40;\n\t     * });\n\t     * // => returns `pebbles` assuming `_.findKey` returns `barney`\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.findLastKey(users, { 'age': 36, 'active': true });\n\t     * // => 'barney'\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.findLastKey(users, 'active', false);\n\t     * // => 'fred'\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.findLastKey(users, 'active');\n\t     * // => 'pebbles'\n\t     */\n\t    var findLastKey = createFindKey(baseForOwnRight);\n\t\n\t    /**\n\t     * Iterates over own and inherited enumerable properties of an object invoking\n\t     * `iteratee` for each property. The `iteratee` is bound to `thisArg` and invoked\n\t     * with three arguments: (value, key, object). Iteratee functions may exit\n\t     * iteration early by explicitly returning `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.a = 1;\n\t     *   this.b = 2;\n\t     * }\n\t     *\n\t     * Foo.prototype.c = 3;\n\t     *\n\t     * _.forIn(new Foo, function(value, key) {\n\t     *   console.log(key);\n\t     * });\n\t     * // => logs 'a', 'b', and 'c' (iteration order is not guaranteed)\n\t     */\n\t    var forIn = createForIn(baseFor);\n\t\n\t    /**\n\t     * This method is like `_.forIn` except that it iterates over properties of\n\t     * `object` in the opposite order.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.a = 1;\n\t     *   this.b = 2;\n\t     * }\n\t     *\n\t     * Foo.prototype.c = 3;\n\t     *\n\t     * _.forInRight(new Foo, function(value, key) {\n\t     *   console.log(key);\n\t     * });\n\t     * // => logs 'c', 'b', and 'a' assuming `_.forIn ` logs 'a', 'b', and 'c'\n\t     */\n\t    var forInRight = createForIn(baseForRight);\n\t\n\t    /**\n\t     * Iterates over own enumerable properties of an object invoking `iteratee`\n\t     * for each property. The `iteratee` is bound to `thisArg` and invoked with\n\t     * three arguments: (value, key, object). Iteratee functions may exit iteration\n\t     * early by explicitly returning `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.a = 1;\n\t     *   this.b = 2;\n\t     * }\n\t     *\n\t     * Foo.prototype.c = 3;\n\t     *\n\t     * _.forOwn(new Foo, function(value, key) {\n\t     *   console.log(key);\n\t     * });\n\t     * // => logs 'a' and 'b' (iteration order is not guaranteed)\n\t     */\n\t    var forOwn = createForOwn(baseForOwn);\n\t\n\t    /**\n\t     * This method is like `_.forOwn` except that it iterates over properties of\n\t     * `object` in the opposite order.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.a = 1;\n\t     *   this.b = 2;\n\t     * }\n\t     *\n\t     * Foo.prototype.c = 3;\n\t     *\n\t     * _.forOwnRight(new Foo, function(value, key) {\n\t     *   console.log(key);\n\t     * });\n\t     * // => logs 'b' and 'a' assuming `_.forOwn` logs 'a' and 'b'\n\t     */\n\t    var forOwnRight = createForOwn(baseForOwnRight);\n\t\n\t    /**\n\t     * Creates an array of function property names from all enumerable properties,\n\t     * own and inherited, of `object`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias methods\n\t     * @category Object\n\t     * @param {Object} object The object to inspect.\n\t     * @returns {Array} Returns the new array of property names.\n\t     * @example\n\t     *\n\t     * _.functions(_);\n\t     * // => ['after', 'ary', 'assign', ...]\n\t     */\n\t    function functions(object) {\n\t      return baseFunctions(object, keysIn(object));\n\t    }\n\t\n\t    /**\n\t     * Gets the property value of `path` on `object`. If the resolved value is\n\t     * `undefined` the `defaultValue` is used in its place.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to query.\n\t     * @param {Array|string} path The path of the property to get.\n\t     * @param {*} [defaultValue] The value returned if the resolved value is `undefined`.\n\t     * @returns {*} Returns the resolved value.\n\t     * @example\n\t     *\n\t     * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n\t     *\n\t     * _.get(object, 'a[0].b.c');\n\t     * // => 3\n\t     *\n\t     * _.get(object, ['a', '0', 'b', 'c']);\n\t     * // => 3\n\t     *\n\t     * _.get(object, 'a.b.c', 'default');\n\t     * // => 'default'\n\t     */\n\t    function get(object, path, defaultValue) {\n\t      var result = object == null ? undefined : baseGet(object, toPath(path), path + '');\n\t      return result === undefined ? defaultValue : result;\n\t    }\n\t\n\t    /**\n\t     * Checks if `path` is a direct property.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to query.\n\t     * @param {Array|string} path The path to check.\n\t     * @returns {boolean} Returns `true` if `path` is a direct property, else `false`.\n\t     * @example\n\t     *\n\t     * var object = { 'a': { 'b': { 'c': 3 } } };\n\t     *\n\t     * _.has(object, 'a');\n\t     * // => true\n\t     *\n\t     * _.has(object, 'a.b.c');\n\t     * // => true\n\t     *\n\t     * _.has(object, ['a', 'b', 'c']);\n\t     * // => true\n\t     */\n\t    function has(object, path) {\n\t      if (object == null) {\n\t        return false;\n\t      }\n\t      var result = hasOwnProperty.call(object, path);\n\t      if (!result && !isKey(path)) {\n\t        path = toPath(path);\n\t        object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\n\t        path = last(path);\n\t        result = object != null && hasOwnProperty.call(object, path);\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Creates an object composed of the inverted keys and values of `object`.\n\t     * If `object` contains duplicate values, subsequent values overwrite property\n\t     * assignments of previous values unless `multiValue` is `true`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to invert.\n\t     * @param {boolean} [multiValue] Allow multiple values per key.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Object} Returns the new inverted object.\n\t     * @example\n\t     *\n\t     * var object = { 'a': 1, 'b': 2, 'c': 1 };\n\t     *\n\t     * _.invert(object);\n\t     * // => { '1': 'c', '2': 'b' }\n\t     *\n\t     * // with `multiValue`\n\t     * _.invert(object, true);\n\t     * // => { '1': ['a', 'c'], '2': ['b'] }\n\t     */\n\t    function invert(object, multiValue, guard) {\n\t      if (guard && isIterateeCall(object, multiValue, guard)) {\n\t        multiValue = null;\n\t      }\n\t      var index = -1,\n\t          props = keys(object),\n\t          length = props.length,\n\t          result = {};\n\t\n\t      while (++index < length) {\n\t        var key = props[index],\n\t            value = object[key];\n\t\n\t        if (multiValue) {\n\t          if (hasOwnProperty.call(result, value)) {\n\t            result[value].push(key);\n\t          } else {\n\t            result[value] = [key];\n\t          }\n\t        }\n\t        else {\n\t          result[value] = key;\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Creates an array of the own enumerable property names of `object`.\n\t     *\n\t     * **Note:** Non-object values are coerced to objects. See the\n\t     * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.keys)\n\t     * for more details.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to query.\n\t     * @returns {Array} Returns the array of property names.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.a = 1;\n\t     *   this.b = 2;\n\t     * }\n\t     *\n\t     * Foo.prototype.c = 3;\n\t     *\n\t     * _.keys(new Foo);\n\t     * // => ['a', 'b'] (iteration order is not guaranteed)\n\t     *\n\t     * _.keys('hi');\n\t     * // => ['0', '1']\n\t     */\n\t    var keys = !nativeKeys ? shimKeys : function(object) {\n\t      var Ctor = object != null && object.constructor;\n\t      if ((typeof Ctor == 'function' && Ctor.prototype === object) ||\n\t          (typeof object != 'function' && isArrayLike(object))) {\n\t        return shimKeys(object);\n\t      }\n\t      return isObject(object) ? nativeKeys(object) : [];\n\t    };\n\t\n\t    /**\n\t     * Creates an array of the own and inherited enumerable property names of `object`.\n\t     *\n\t     * **Note:** Non-object values are coerced to objects.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to query.\n\t     * @returns {Array} Returns the array of property names.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.a = 1;\n\t     *   this.b = 2;\n\t     * }\n\t     *\n\t     * Foo.prototype.c = 3;\n\t     *\n\t     * _.keysIn(new Foo);\n\t     * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n\t     */\n\t    function keysIn(object) {\n\t      if (object == null) {\n\t        return [];\n\t      }\n\t      if (!isObject(object)) {\n\t        object = Object(object);\n\t      }\n\t      var length = object.length;\n\t      length = (length && isLength(length) &&\n\t        (isArray(object) || (support.nonEnumArgs && isArguments(object))) && length) || 0;\n\t\n\t      var Ctor = object.constructor,\n\t          index = -1,\n\t          isProto = typeof Ctor == 'function' && Ctor.prototype === object,\n\t          result = Array(length),\n\t          skipIndexes = length > 0;\n\t\n\t      while (++index < length) {\n\t        result[index] = (index + '');\n\t      }\n\t      for (var key in object) {\n\t        if (!(skipIndexes && isIndex(key, length)) &&\n\t            !(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n\t          result.push(key);\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The opposite of `_.mapValues`; this method creates an object with the\n\t     * same values as `object` and keys generated by running each own enumerable\n\t     * property of `object` through `iteratee`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Object} Returns the new mapped object.\n\t     * @example\n\t     *\n\t     * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n\t     *   return key + value;\n\t     * });\n\t     * // => { 'a1': 1, 'b2': 2 }\n\t     */\n\t    var mapKeys = createObjectMapper(true);\n\t\n\t    /**\n\t     * Creates an object with the same keys as `object` and values generated by\n\t     * running each own enumerable property of `object` through `iteratee`. The\n\t     * iteratee function is bound to `thisArg` and invoked with three arguments:\n\t     * (value, key, object).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Object} Returns the new mapped object.\n\t     * @example\n\t     *\n\t     * _.mapValues({ 'a': 1, 'b': 2 }, function(n) {\n\t     *   return n * 3;\n\t     * });\n\t     * // => { 'a': 3, 'b': 6 }\n\t     *\n\t     * var users = {\n\t     *   'fred':    { 'user': 'fred',    'age': 40 },\n\t     *   'pebbles': { 'user': 'pebbles', 'age': 1 }\n\t     * };\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.mapValues(users, 'age');\n\t     * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n\t     */\n\t    var mapValues = createObjectMapper();\n\t\n\t    /**\n\t     * Recursively merges own enumerable properties of the source object(s), that\n\t     * don't resolve to `undefined` into the destination object. Subsequent sources\n\t     * overwrite property assignments of previous sources. If `customizer` is\n\t     * provided it is invoked to produce the merged values of the destination and\n\t     * source properties. If `customizer` returns `undefined` merging is handled\n\t     * by the method instead. The `customizer` is bound to `thisArg` and invoked\n\t     * with five arguments: (objectValue, sourceValue, key, object, source).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The destination object.\n\t     * @param {...Object} [sources] The source objects.\n\t     * @param {Function} [customizer] The function to customize assigned values.\n\t     * @param {*} [thisArg] The `this` binding of `customizer`.\n\t     * @returns {Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * var users = {\n\t     *   'data': [{ 'user': 'barney' }, { 'user': 'fred' }]\n\t     * };\n\t     *\n\t     * var ages = {\n\t     *   'data': [{ 'age': 36 }, { 'age': 40 }]\n\t     * };\n\t     *\n\t     * _.merge(users, ages);\n\t     * // => { 'data': [{ 'user': 'barney', 'age': 36 }, { 'user': 'fred', 'age': 40 }] }\n\t     *\n\t     * // using a customizer callback\n\t     * var object = {\n\t     *   'fruits': ['apple'],\n\t     *   'vegetables': ['beet']\n\t     * };\n\t     *\n\t     * var other = {\n\t     *   'fruits': ['banana'],\n\t     *   'vegetables': ['carrot']\n\t     * };\n\t     *\n\t     * _.merge(object, other, function(a, b) {\n\t     *   if (_.isArray(a)) {\n\t     *     return a.concat(b);\n\t     *   }\n\t     * });\n\t     * // => { 'fruits': ['apple', 'banana'], 'vegetables': ['beet', 'carrot'] }\n\t     */\n\t    var merge = createAssigner(baseMerge);\n\t\n\t    /**\n\t     * The opposite of `_.pick`; this method creates an object composed of the\n\t     * own and inherited enumerable properties of `object` that are not omitted.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The source object.\n\t     * @param {Function|...(string|string[])} [predicate] The function invoked per\n\t     *  iteration or property names to omit, specified as individual property\n\t     *  names or arrays of property names.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Object} Returns the new object.\n\t     * @example\n\t     *\n\t     * var object = { 'user': 'fred', 'age': 40 };\n\t     *\n\t     * _.omit(object, 'age');\n\t     * // => { 'user': 'fred' }\n\t     *\n\t     * _.omit(object, _.isNumber);\n\t     * // => { 'user': 'fred' }\n\t     */\n\t    var omit = restParam(function(object, props) {\n\t      if (object == null) {\n\t        return {};\n\t      }\n\t      if (typeof props[0] != 'function') {\n\t        var props = arrayMap(baseFlatten(props), String);\n\t        return pickByArray(object, baseDifference(keysIn(object), props));\n\t      }\n\t      var predicate = bindCallback(props[0], props[1], 3);\n\t      return pickByCallback(object, function(value, key, object) {\n\t        return !predicate(value, key, object);\n\t      });\n\t    });\n\t\n\t    /**\n\t     * Creates a two dimensional array of the key-value pairs for `object`,\n\t     * e.g. `[[key1, value1], [key2, value2]]`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to query.\n\t     * @returns {Array} Returns the new array of key-value pairs.\n\t     * @example\n\t     *\n\t     * _.pairs({ 'barney': 36, 'fred': 40 });\n\t     * // => [['barney', 36], ['fred', 40]] (iteration order is not guaranteed)\n\t     */\n\t    function pairs(object) {\n\t      var index = -1,\n\t          props = keys(object),\n\t          length = props.length,\n\t          result = Array(length);\n\t\n\t      while (++index < length) {\n\t        var key = props[index];\n\t        result[index] = [key, object[key]];\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Creates an object composed of the picked `object` properties. Property\n\t     * names may be specified as individual arguments or as arrays of property\n\t     * names. If `predicate` is provided it is invoked for each property of `object`\n\t     * picking the properties `predicate` returns truthy for. The predicate is\n\t     * bound to `thisArg` and invoked with three arguments: (value, key, object).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The source object.\n\t     * @param {Function|...(string|string[])} [predicate] The function invoked per\n\t     *  iteration or property names to pick, specified as individual property\n\t     *  names or arrays of property names.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Object} Returns the new object.\n\t     * @example\n\t     *\n\t     * var object = { 'user': 'fred', 'age': 40 };\n\t     *\n\t     * _.pick(object, 'user');\n\t     * // => { 'user': 'fred' }\n\t     *\n\t     * _.pick(object, _.isString);\n\t     * // => { 'user': 'fred' }\n\t     */\n\t    var pick = restParam(function(object, props) {\n\t      if (object == null) {\n\t        return {};\n\t      }\n\t      return typeof props[0] == 'function'\n\t        ? pickByCallback(object, bindCallback(props[0], props[1], 3))\n\t        : pickByArray(object, baseFlatten(props));\n\t    });\n\t\n\t    /**\n\t     * This method is like `_.get` except that if the resolved value is a function\n\t     * it is invoked with the `this` binding of its parent object and its result\n\t     * is returned.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to query.\n\t     * @param {Array|string} path The path of the property to resolve.\n\t     * @param {*} [defaultValue] The value returned if the resolved value is `undefined`.\n\t     * @returns {*} Returns the resolved value.\n\t     * @example\n\t     *\n\t     * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n\t     *\n\t     * _.result(object, 'a[0].b.c1');\n\t     * // => 3\n\t     *\n\t     * _.result(object, 'a[0].b.c2');\n\t     * // => 4\n\t     *\n\t     * _.result(object, 'a.b.c', 'default');\n\t     * // => 'default'\n\t     *\n\t     * _.result(object, 'a.b.c', _.constant('default'));\n\t     * // => 'default'\n\t     */\n\t    function result(object, path, defaultValue) {\n\t      var result = object == null ? undefined : object[path];\n\t      if (result === undefined) {\n\t        if (object != null && !isKey(path, object)) {\n\t          path = toPath(path);\n\t          object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\n\t          result = object == null ? undefined : object[last(path)];\n\t        }\n\t        result = result === undefined ? defaultValue : result;\n\t      }\n\t      return isFunction(result) ? result.call(object) : result;\n\t    }\n\t\n\t    /**\n\t     * Sets the property value of `path` on `object`. If a portion of `path`\n\t     * does not exist it is created.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to augment.\n\t     * @param {Array|string} path The path of the property to set.\n\t     * @param {*} value The value to set.\n\t     * @returns {Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n\t     *\n\t     * _.set(object, 'a[0].b.c', 4);\n\t     * console.log(object.a[0].b.c);\n\t     * // => 4\n\t     *\n\t     * _.set(object, 'x[0].y.z', 5);\n\t     * console.log(object.x[0].y.z);\n\t     * // => 5\n\t     */\n\t    function set(object, path, value) {\n\t      if (object == null) {\n\t        return object;\n\t      }\n\t      var pathKey = (path + '');\n\t      path = (object[pathKey] != null || isKey(path, object)) ? [pathKey] : toPath(path);\n\t\n\t      var index = -1,\n\t          length = path.length,\n\t          endIndex = length - 1,\n\t          nested = object;\n\t\n\t      while (nested != null && ++index < length) {\n\t        var key = path[index];\n\t        if (isObject(nested)) {\n\t          if (index == endIndex) {\n\t            nested[key] = value;\n\t          } else if (nested[key] == null) {\n\t            nested[key] = isIndex(path[index + 1]) ? [] : {};\n\t          }\n\t        }\n\t        nested = nested[key];\n\t      }\n\t      return object;\n\t    }\n\t\n\t    /**\n\t     * An alternative to `_.reduce`; this method transforms `object` to a new\n\t     * `accumulator` object which is the result of running each of its own enumerable\n\t     * properties through `iteratee`, with each invocation potentially mutating\n\t     * the `accumulator` object. The `iteratee` is bound to `thisArg` and invoked\n\t     * with four arguments: (accumulator, value, key, object). Iteratee functions\n\t     * may exit iteration early by explicitly returning `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Array|Object} object The object to iterate over.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [accumulator] The custom accumulator value.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {*} Returns the accumulated value.\n\t     * @example\n\t     *\n\t     * _.transform([2, 3, 4], function(result, n) {\n\t     *   result.push(n *= n);\n\t     *   return n % 2 == 0;\n\t     * });\n\t     * // => [4, 9]\n\t     *\n\t     * _.transform({ 'a': 1, 'b': 2 }, function(result, n, key) {\n\t     *   result[key] = n * 3;\n\t     * });\n\t     * // => { 'a': 3, 'b': 6 }\n\t     */\n\t    function transform(object, iteratee, accumulator, thisArg) {\n\t      var isArr = isArray(object) || isTypedArray(object);\n\t      iteratee = getCallback(iteratee, thisArg, 4);\n\t\n\t      if (accumulator == null) {\n\t        if (isArr || isObject(object)) {\n\t          var Ctor = object.constructor;\n\t          if (isArr) {\n\t            accumulator = isArray(object) ? new Ctor : [];\n\t          } else {\n\t            accumulator = baseCreate(isFunction(Ctor) && Ctor.prototype);\n\t          }\n\t        } else {\n\t          accumulator = {};\n\t        }\n\t      }\n\t      (isArr ? arrayEach : baseForOwn)(object, function(value, index, object) {\n\t        return iteratee(accumulator, value, index, object);\n\t      });\n\t      return accumulator;\n\t    }\n\t\n\t    /**\n\t     * Creates an array of the own enumerable property values of `object`.\n\t     *\n\t     * **Note:** Non-object values are coerced to objects.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to query.\n\t     * @returns {Array} Returns the array of property values.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.a = 1;\n\t     *   this.b = 2;\n\t     * }\n\t     *\n\t     * Foo.prototype.c = 3;\n\t     *\n\t     * _.values(new Foo);\n\t     * // => [1, 2] (iteration order is not guaranteed)\n\t     *\n\t     * _.values('hi');\n\t     * // => ['h', 'i']\n\t     */\n\t    function values(object) {\n\t      return baseValues(object, keys(object));\n\t    }\n\t\n\t    /**\n\t     * Creates an array of the own and inherited enumerable property values\n\t     * of `object`.\n\t     *\n\t     * **Note:** Non-object values are coerced to objects.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to query.\n\t     * @returns {Array} Returns the array of property values.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.a = 1;\n\t     *   this.b = 2;\n\t     * }\n\t     *\n\t     * Foo.prototype.c = 3;\n\t     *\n\t     * _.valuesIn(new Foo);\n\t     * // => [1, 2, 3] (iteration order is not guaranteed)\n\t     */\n\t    function valuesIn(object) {\n\t      return baseValues(object, keysIn(object));\n\t    }\n\t\n\t    /**\n\t     * Checks if `n` is between `start` and up to but not including, `end`. If\n\t     * `end` is not specified it is set to `start` with `start` then set to `0`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Number\n\t     * @param {number} n The number to check.\n\t     * @param {number} [start=0] The start of the range.\n\t     * @param {number} end The end of the range.\n\t     * @returns {boolean} Returns `true` if `n` is in the range, else `false`.\n\t     * @example\n\t     *\n\t     * _.inRange(3, 2, 4);\n\t     * // => true\n\t     *\n\t     * _.inRange(4, 8);\n\t     * // => true\n\t     *\n\t     * _.inRange(4, 2);\n\t     * // => false\n\t     *\n\t     * _.inRange(2, 2);\n\t     * // => false\n\t     *\n\t     * _.inRange(1.2, 2);\n\t     * // => true\n\t     *\n\t     * _.inRange(5.2, 4);\n\t     * // => false\n\t     */\n\t    function inRange(value, start, end) {\n\t      start = +start || 0;\n\t      if (typeof end === 'undefined') {\n\t        end = start;\n\t        start = 0;\n\t      } else {\n\t        end = +end || 0;\n\t      }\n\t      return value >= nativeMin(start, end) && value < nativeMax(start, end);\n\t    }\n\t\n\t    /**\n\t     * Produces a random number between `min` and `max` (inclusive). If only one\n\t     * argument is provided a number between `0` and the given number is returned.\n\t     * If `floating` is `true`, or either `min` or `max` are floats, a floating-point\n\t     * number is returned instead of an integer.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Number\n\t     * @param {number} [min=0] The minimum possible value.\n\t     * @param {number} [max=1] The maximum possible value.\n\t     * @param {boolean} [floating] Specify returning a floating-point number.\n\t     * @returns {number} Returns the random number.\n\t     * @example\n\t     *\n\t     * _.random(0, 5);\n\t     * // => an integer between 0 and 5\n\t     *\n\t     * _.random(5);\n\t     * // => also an integer between 0 and 5\n\t     *\n\t     * _.random(5, true);\n\t     * // => a floating-point number between 0 and 5\n\t     *\n\t     * _.random(1.2, 5.2);\n\t     * // => a floating-point number between 1.2 and 5.2\n\t     */\n\t    function random(min, max, floating) {\n\t      if (floating && isIterateeCall(min, max, floating)) {\n\t        max = floating = null;\n\t      }\n\t      var noMin = min == null,\n\t          noMax = max == null;\n\t\n\t      if (floating == null) {\n\t        if (noMax && typeof min == 'boolean') {\n\t          floating = min;\n\t          min = 1;\n\t        }\n\t        else if (typeof max == 'boolean') {\n\t          floating = max;\n\t          noMax = true;\n\t        }\n\t      }\n\t      if (noMin && noMax) {\n\t        max = 1;\n\t        noMax = false;\n\t      }\n\t      min = +min || 0;\n\t      if (noMax) {\n\t        max = min;\n\t        min = 0;\n\t      } else {\n\t        max = +max || 0;\n\t      }\n\t      if (floating || min % 1 || max % 1) {\n\t        var rand = nativeRandom();\n\t        return nativeMin(min + (rand * (max - min + parseFloat('1e-' + ((rand + '').length - 1)))), max);\n\t      }\n\t      return baseRandom(min, max);\n\t    }\n\t\n\t    /**\n\t     * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to convert.\n\t     * @returns {string} Returns the camel cased string.\n\t     * @example\n\t     *\n\t     * _.camelCase('Foo Bar');\n\t     * // => 'fooBar'\n\t     *\n\t     * _.camelCase('--foo-bar');\n\t     * // => 'fooBar'\n\t     *\n\t     * _.camelCase('__foo_bar__');\n\t     * // => 'fooBar'\n\t     */\n\t    var camelCase = createCompounder(function(result, word, index) {\n\t      word = word.toLowerCase();\n\t      return result + (index ? (word.charAt(0).toUpperCase() + word.slice(1)) : word);\n\t    });\n\t\n\t    /**\n\t     * Capitalizes the first character of `string`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to capitalize.\n\t     * @returns {string} Returns the capitalized string.\n\t     * @example\n\t     *\n\t     * _.capitalize('fred');\n\t     * // => 'Fred'\n\t     */\n\t    function capitalize(string) {\n\t      string = baseToString(string);\n\t      return string && (string.charAt(0).toUpperCase() + string.slice(1));\n\t    }\n\t\n\t    /**\n\t     * Deburrs `string` by converting [latin-1 supplementary letters](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n\t     * to basic latin letters and removing [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to deburr.\n\t     * @returns {string} Returns the deburred string.\n\t     * @example\n\t     *\n\t     * _.deburr('déjà vu');\n\t     * // => 'deja vu'\n\t     */\n\t    function deburr(string) {\n\t      string = baseToString(string);\n\t      return string && string.replace(reLatin1, deburrLetter).replace(reComboMark, '');\n\t    }\n\t\n\t    /**\n\t     * Checks if `string` ends with the given target string.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to search.\n\t     * @param {string} [target] The string to search for.\n\t     * @param {number} [position=string.length] The position to search from.\n\t     * @returns {boolean} Returns `true` if `string` ends with `target`, else `false`.\n\t     * @example\n\t     *\n\t     * _.endsWith('abc', 'c');\n\t     * // => true\n\t     *\n\t     * _.endsWith('abc', 'b');\n\t     * // => false\n\t     *\n\t     * _.endsWith('abc', 'b', 2);\n\t     * // => true\n\t     */\n\t    function endsWith(string, target, position) {\n\t      string = baseToString(string);\n\t      target = (target + '');\n\t\n\t      var length = string.length;\n\t      position = position === undefined\n\t        ? length\n\t        : nativeMin(position < 0 ? 0 : (+position || 0), length);\n\t\n\t      position -= target.length;\n\t      return position >= 0 && string.indexOf(target, position) == position;\n\t    }\n\t\n\t    /**\n\t     * Converts the characters \"&\", \"<\", \">\", '\"', \"'\", and \"\\`\", in `string` to\n\t     * their corresponding HTML entities.\n\t     *\n\t     * **Note:** No other characters are escaped. To escape additional characters\n\t     * use a third-party library like [_he_](https://mths.be/he).\n\t     *\n\t     * Though the \">\" character is escaped for symmetry, characters like\n\t     * \">\" and \"/\" don't require escaping in HTML and have no special meaning\n\t     * unless they're part of a tag or unquoted attribute value.\n\t     * See [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n\t     * (under \"semi-related fun fact\") for more details.\n\t     *\n\t     * Backticks are escaped because in Internet Explorer < 9, they can break out\n\t     * of attribute values or HTML comments. See [#59](https://html5sec.org/#59),\n\t     * [#102](https://html5sec.org/#102), [#108](https://html5sec.org/#108), and\n\t     * [#133](https://html5sec.org/#133) of the [HTML5 Security Cheatsheet](https://html5sec.org/)\n\t     * for more details.\n\t     *\n\t     * When working with HTML you should always [quote attribute values](http://wonko.com/post/html-escaping)\n\t     * to reduce XSS vectors.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to escape.\n\t     * @returns {string} Returns the escaped string.\n\t     * @example\n\t     *\n\t     * _.escape('fred, barney, & pebbles');\n\t     * // => 'fred, barney, &amp; pebbles'\n\t     */\n\t    function escape(string) {\n\t      // Reset `lastIndex` because in IE < 9 `String#replace` does not.\n\t      string = baseToString(string);\n\t      return (string && reHasUnescapedHtml.test(string))\n\t        ? string.replace(reUnescapedHtml, escapeHtmlChar)\n\t        : string;\n\t    }\n\t\n\t    /**\n\t     * Escapes the `RegExp` special characters \"\\\", \"/\", \"^\", \"$\", \".\", \"|\", \"?\",\n\t     * \"*\", \"+\", \"(\", \")\", \"[\", \"]\", \"{\" and \"}\" in `string`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to escape.\n\t     * @returns {string} Returns the escaped string.\n\t     * @example\n\t     *\n\t     * _.escapeRegExp('[lodash](https://lodash.com/)');\n\t     * // => '\\[lodash\\]\\(https:\\/\\/lodash\\.com\\/\\)'\n\t     */\n\t    function escapeRegExp(string) {\n\t      string = baseToString(string);\n\t      return (string && reHasRegExpChars.test(string))\n\t        ? string.replace(reRegExpChars, '\\\\$&')\n\t        : string;\n\t    }\n\t\n\t    /**\n\t     * Converts `string` to [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to convert.\n\t     * @returns {string} Returns the kebab cased string.\n\t     * @example\n\t     *\n\t     * _.kebabCase('Foo Bar');\n\t     * // => 'foo-bar'\n\t     *\n\t     * _.kebabCase('fooBar');\n\t     * // => 'foo-bar'\n\t     *\n\t     * _.kebabCase('__foo_bar__');\n\t     * // => 'foo-bar'\n\t     */\n\t    var kebabCase = createCompounder(function(result, word, index) {\n\t      return result + (index ? '-' : '') + word.toLowerCase();\n\t    });\n\t\n\t    /**\n\t     * Pads `string` on the left and right sides if it is shorter than `length`.\n\t     * Padding characters are truncated if they can't be evenly divided by `length`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to pad.\n\t     * @param {number} [length=0] The padding length.\n\t     * @param {string} [chars=' '] The string used as padding.\n\t     * @returns {string} Returns the padded string.\n\t     * @example\n\t     *\n\t     * _.pad('abc', 8);\n\t     * // => '  abc   '\n\t     *\n\t     * _.pad('abc', 8, '_-');\n\t     * // => '_-abc_-_'\n\t     *\n\t     * _.pad('abc', 3);\n\t     * // => 'abc'\n\t     */\n\t    function pad(string, length, chars) {\n\t      string = baseToString(string);\n\t      length = +length;\n\t\n\t      var strLength = string.length;\n\t      if (strLength >= length || !nativeIsFinite(length)) {\n\t        return string;\n\t      }\n\t      var mid = (length - strLength) / 2,\n\t          leftLength = floor(mid),\n\t          rightLength = ceil(mid);\n\t\n\t      chars = createPadding('', rightLength, chars);\n\t      return chars.slice(0, leftLength) + string + chars;\n\t    }\n\t\n\t    /**\n\t     * Pads `string` on the left side if it is shorter than `length`. Padding\n\t     * characters are truncated if they exceed `length`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to pad.\n\t     * @param {number} [length=0] The padding length.\n\t     * @param {string} [chars=' '] The string used as padding.\n\t     * @returns {string} Returns the padded string.\n\t     * @example\n\t     *\n\t     * _.padLeft('abc', 6);\n\t     * // => '   abc'\n\t     *\n\t     * _.padLeft('abc', 6, '_-');\n\t     * // => '_-_abc'\n\t     *\n\t     * _.padLeft('abc', 3);\n\t     * // => 'abc'\n\t     */\n\t    var padLeft = createPadDir();\n\t\n\t    /**\n\t     * Pads `string` on the right side if it is shorter than `length`. Padding\n\t     * characters are truncated if they exceed `length`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to pad.\n\t     * @param {number} [length=0] The padding length.\n\t     * @param {string} [chars=' '] The string used as padding.\n\t     * @returns {string} Returns the padded string.\n\t     * @example\n\t     *\n\t     * _.padRight('abc', 6);\n\t     * // => 'abc   '\n\t     *\n\t     * _.padRight('abc', 6, '_-');\n\t     * // => 'abc_-_'\n\t     *\n\t     * _.padRight('abc', 3);\n\t     * // => 'abc'\n\t     */\n\t    var padRight = createPadDir(true);\n\t\n\t    /**\n\t     * Converts `string` to an integer of the specified radix. If `radix` is\n\t     * `undefined` or `0`, a `radix` of `10` is used unless `value` is a hexadecimal,\n\t     * in which case a `radix` of `16` is used.\n\t     *\n\t     * **Note:** This method aligns with the [ES5 implementation](https://es5.github.io/#E)\n\t     * of `parseInt`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} string The string to convert.\n\t     * @param {number} [radix] The radix to interpret `value` by.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {number} Returns the converted integer.\n\t     * @example\n\t     *\n\t     * _.parseInt('08');\n\t     * // => 8\n\t     *\n\t     * _.map(['6', '08', '10'], _.parseInt);\n\t     * // => [6, 8, 10]\n\t     */\n\t    function parseInt(string, radix, guard) {\n\t      if (guard && isIterateeCall(string, radix, guard)) {\n\t        radix = 0;\n\t      }\n\t      return nativeParseInt(string, radix);\n\t    }\n\t    // Fallback for environments with pre-ES5 implementations.\n\t    if (nativeParseInt(whitespace + '08') != 8) {\n\t      parseInt = function(string, radix, guard) {\n\t        // Firefox < 21 and Opera < 15 follow ES3 for `parseInt`.\n\t        // Chrome fails to trim leading <BOM> whitespace characters.\n\t        // See https://code.google.com/p/v8/issues/detail?id=3109 for more details.\n\t        if (guard ? isIterateeCall(string, radix, guard) : radix == null) {\n\t          radix = 0;\n\t        } else if (radix) {\n\t          radix = +radix;\n\t        }\n\t        string = trim(string);\n\t        return nativeParseInt(string, radix || (reHasHexPrefix.test(string) ? 16 : 10));\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Repeats the given string `n` times.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to repeat.\n\t     * @param {number} [n=0] The number of times to repeat the string.\n\t     * @returns {string} Returns the repeated string.\n\t     * @example\n\t     *\n\t     * _.repeat('*', 3);\n\t     * // => '***'\n\t     *\n\t     * _.repeat('abc', 2);\n\t     * // => 'abcabc'\n\t     *\n\t     * _.repeat('abc', 0);\n\t     * // => ''\n\t     */\n\t    function repeat(string, n) {\n\t      var result = '';\n\t      string = baseToString(string);\n\t      n = +n;\n\t      if (n < 1 || !string || !nativeIsFinite(n)) {\n\t        return result;\n\t      }\n\t      // Leverage the exponentiation by squaring algorithm for a faster repeat.\n\t      // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n\t      do {\n\t        if (n % 2) {\n\t          result += string;\n\t        }\n\t        n = floor(n / 2);\n\t        string += string;\n\t      } while (n);\n\t\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Converts `string` to [snake case](https://en.wikipedia.org/wiki/Snake_case).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to convert.\n\t     * @returns {string} Returns the snake cased string.\n\t     * @example\n\t     *\n\t     * _.snakeCase('Foo Bar');\n\t     * // => 'foo_bar'\n\t     *\n\t     * _.snakeCase('fooBar');\n\t     * // => 'foo_bar'\n\t     *\n\t     * _.snakeCase('--foo-bar');\n\t     * // => 'foo_bar'\n\t     */\n\t    var snakeCase = createCompounder(function(result, word, index) {\n\t      return result + (index ? '_' : '') + word.toLowerCase();\n\t    });\n\t\n\t    /**\n\t     * Converts `string` to [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to convert.\n\t     * @returns {string} Returns the start cased string.\n\t     * @example\n\t     *\n\t     * _.startCase('--foo-bar');\n\t     * // => 'Foo Bar'\n\t     *\n\t     * _.startCase('fooBar');\n\t     * // => 'Foo Bar'\n\t     *\n\t     * _.startCase('__foo_bar__');\n\t     * // => 'Foo Bar'\n\t     */\n\t    var startCase = createCompounder(function(result, word, index) {\n\t      return result + (index ? ' ' : '') + (word.charAt(0).toUpperCase() + word.slice(1));\n\t    });\n\t\n\t    /**\n\t     * Checks if `string` starts with the given target string.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to search.\n\t     * @param {string} [target] The string to search for.\n\t     * @param {number} [position=0] The position to search from.\n\t     * @returns {boolean} Returns `true` if `string` starts with `target`, else `false`.\n\t     * @example\n\t     *\n\t     * _.startsWith('abc', 'a');\n\t     * // => true\n\t     *\n\t     * _.startsWith('abc', 'b');\n\t     * // => false\n\t     *\n\t     * _.startsWith('abc', 'b', 1);\n\t     * // => true\n\t     */\n\t    function startsWith(string, target, position) {\n\t      string = baseToString(string);\n\t      position = position == null\n\t        ? 0\n\t        : nativeMin(position < 0 ? 0 : (+position || 0), string.length);\n\t\n\t      return string.lastIndexOf(target, position) == position;\n\t    }\n\t\n\t    /**\n\t     * Creates a compiled template function that can interpolate data properties\n\t     * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n\t     * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n\t     * properties may be accessed as free variables in the template. If a setting\n\t     * object is provided it takes precedence over `_.templateSettings` values.\n\t     *\n\t     * **Note:** In the development build `_.template` utilizes\n\t     * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n\t     * for easier debugging.\n\t     *\n\t     * For more information on precompiling templates see\n\t     * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n\t     *\n\t     * For more information on Chrome extension sandboxes see\n\t     * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The template string.\n\t     * @param {Object} [options] The options object.\n\t     * @param {RegExp} [options.escape] The HTML \"escape\" delimiter.\n\t     * @param {RegExp} [options.evaluate] The \"evaluate\" delimiter.\n\t     * @param {Object} [options.imports] An object to import into the template as free variables.\n\t     * @param {RegExp} [options.interpolate] The \"interpolate\" delimiter.\n\t     * @param {string} [options.sourceURL] The sourceURL of the template's compiled source.\n\t     * @param {string} [options.variable] The data object variable name.\n\t     * @param- {Object} [otherOptions] Enables the legacy `options` param signature.\n\t     * @returns {Function} Returns the compiled template function.\n\t     * @example\n\t     *\n\t     * // using the \"interpolate\" delimiter to create a compiled template\n\t     * var compiled = _.template('hello <%= user %>!');\n\t     * compiled({ 'user': 'fred' });\n\t     * // => 'hello fred!'\n\t     *\n\t     * // using the HTML \"escape\" delimiter to escape data property values\n\t     * var compiled = _.template('<b><%- value %></b>');\n\t     * compiled({ 'value': '<script>' });\n\t     * // => '<b>&lt;script&gt;</b>'\n\t     *\n\t     * // using the \"evaluate\" delimiter to execute JavaScript and generate HTML\n\t     * var compiled = _.template('<% _.forEach(users, function(user) { %><li><%- user %></li><% }); %>');\n\t     * compiled({ 'users': ['fred', 'barney'] });\n\t     * // => '<li>fred</li><li>barney</li>'\n\t     *\n\t     * // using the internal `print` function in \"evaluate\" delimiters\n\t     * var compiled = _.template('<% print(\"hello \" + user); %>!');\n\t     * compiled({ 'user': 'barney' });\n\t     * // => 'hello barney!'\n\t     *\n\t     * // using the ES delimiter as an alternative to the default \"interpolate\" delimiter\n\t     * var compiled = _.template('hello ${ user }!');\n\t     * compiled({ 'user': 'pebbles' });\n\t     * // => 'hello pebbles!'\n\t     *\n\t     * // using custom template delimiters\n\t     * _.templateSettings.interpolate = /{{([\\s\\S]+?)}}/g;\n\t     * var compiled = _.template('hello {{ user }}!');\n\t     * compiled({ 'user': 'mustache' });\n\t     * // => 'hello mustache!'\n\t     *\n\t     * // using backslashes to treat delimiters as plain text\n\t     * var compiled = _.template('<%= \"\\\\<%- value %\\\\>\" %>');\n\t     * compiled({ 'value': 'ignored' });\n\t     * // => '<%- value %>'\n\t     *\n\t     * // using the `imports` option to import `jQuery` as `jq`\n\t     * var text = '<% jq.each(users, function(user) { %><li><%- user %></li><% }); %>';\n\t     * var compiled = _.template(text, { 'imports': { 'jq': jQuery } });\n\t     * compiled({ 'users': ['fred', 'barney'] });\n\t     * // => '<li>fred</li><li>barney</li>'\n\t     *\n\t     * // using the `sourceURL` option to specify a custom sourceURL for the template\n\t     * var compiled = _.template('hello <%= user %>!', { 'sourceURL': '/basic/greeting.jst' });\n\t     * compiled(data);\n\t     * // => find the source of \"greeting.jst\" under the Sources tab or Resources panel of the web inspector\n\t     *\n\t     * // using the `variable` option to ensure a with-statement isn't used in the compiled template\n\t     * var compiled = _.template('hi <%= data.user %>!', { 'variable': 'data' });\n\t     * compiled.source;\n\t     * // => function(data) {\n\t     * //   var __t, __p = '';\n\t     * //   __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!';\n\t     * //   return __p;\n\t     * // }\n\t     *\n\t     * // using the `source` property to inline compiled templates for meaningful\n\t     * // line numbers in error messages and a stack trace\n\t     * fs.writeFileSync(path.join(cwd, 'jst.js'), '\\\n\t     *   var JST = {\\\n\t     *     \"main\": ' + _.template(mainText).source + '\\\n\t     *   };\\\n\t     * ');\n\t     */\n\t    function template(string, options, otherOptions) {\n\t      // Based on John Resig's `tmpl` implementation (http://ejohn.org/blog/javascript-micro-templating/)\n\t      // and Laura Doktorova's doT.js (https://github.com/olado/doT).\n\t      var settings = lodash.templateSettings;\n\t\n\t      if (otherOptions && isIterateeCall(string, options, otherOptions)) {\n\t        options = otherOptions = null;\n\t      }\n\t      string = baseToString(string);\n\t      options = assignWith(baseAssign({}, otherOptions || options), settings, assignOwnDefaults);\n\t\n\t      var imports = assignWith(baseAssign({}, options.imports), settings.imports, assignOwnDefaults),\n\t          importsKeys = keys(imports),\n\t          importsValues = baseValues(imports, importsKeys);\n\t\n\t      var isEscaping,\n\t          isEvaluating,\n\t          index = 0,\n\t          interpolate = options.interpolate || reNoMatch,\n\t          source = \"__p += '\";\n\t\n\t      // Compile the regexp to match each delimiter.\n\t      var reDelimiters = RegExp(\n\t        (options.escape || reNoMatch).source + '|' +\n\t        interpolate.source + '|' +\n\t        (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + '|' +\n\t        (options.evaluate || reNoMatch).source + '|$'\n\t      , 'g');\n\t\n\t      // Use a sourceURL for easier debugging.\n\t      var sourceURL = '//# sourceURL=' +\n\t        ('sourceURL' in options\n\t          ? options.sourceURL\n\t          : ('lodash.templateSources[' + (++templateCounter) + ']')\n\t        ) + '\\n';\n\t\n\t      string.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {\n\t        interpolateValue || (interpolateValue = esTemplateValue);\n\t\n\t        // Escape characters that can't be included in string literals.\n\t        source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);\n\t\n\t        // Replace delimiters with snippets.\n\t        if (escapeValue) {\n\t          isEscaping = true;\n\t          source += \"' +\\n__e(\" + escapeValue + \") +\\n'\";\n\t        }\n\t        if (evaluateValue) {\n\t          isEvaluating = true;\n\t          source += \"';\\n\" + evaluateValue + \";\\n__p += '\";\n\t        }\n\t        if (interpolateValue) {\n\t          source += \"' +\\n((__t = (\" + interpolateValue + \")) == null ? '' : __t) +\\n'\";\n\t        }\n\t        index = offset + match.length;\n\t\n\t        // The JS engine embedded in Adobe products requires returning the `match`\n\t        // string in order to produce the correct `offset` value.\n\t        return match;\n\t      });\n\t\n\t      source += \"';\\n\";\n\t\n\t      // If `variable` is not specified wrap a with-statement around the generated\n\t      // code to add the data object to the top of the scope chain.\n\t      var variable = options.variable;\n\t      if (!variable) {\n\t        source = 'with (obj) {\\n' + source + '\\n}\\n';\n\t      }\n\t      // Cleanup code by stripping empty strings.\n\t      source = (isEvaluating ? source.replace(reEmptyStringLeading, '') : source)\n\t        .replace(reEmptyStringMiddle, '$1')\n\t        .replace(reEmptyStringTrailing, '$1;');\n\t\n\t      // Frame code as the function body.\n\t      source = 'function(' + (variable || 'obj') + ') {\\n' +\n\t        (variable\n\t          ? ''\n\t          : 'obj || (obj = {});\\n'\n\t        ) +\n\t        \"var __t, __p = ''\" +\n\t        (isEscaping\n\t           ? ', __e = _.escape'\n\t           : ''\n\t        ) +\n\t        (isEvaluating\n\t          ? ', __j = Array.prototype.join;\\n' +\n\t            \"function print() { __p += __j.call(arguments, '') }\\n\"\n\t          : ';\\n'\n\t        ) +\n\t        source +\n\t        'return __p\\n}';\n\t\n\t      var result = attempt(function() {\n\t        return Function(importsKeys, sourceURL + 'return ' + source).apply(undefined, importsValues);\n\t      });\n\t\n\t      // Provide the compiled function's source by its `toString` method or\n\t      // the `source` property as a convenience for inlining compiled templates.\n\t      result.source = source;\n\t      if (isError(result)) {\n\t        throw result;\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Removes leading and trailing whitespace or specified characters from `string`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to trim.\n\t     * @param {string} [chars=whitespace] The characters to trim.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {string} Returns the trimmed string.\n\t     * @example\n\t     *\n\t     * _.trim('  abc  ');\n\t     * // => 'abc'\n\t     *\n\t     * _.trim('-_-abc-_-', '_-');\n\t     * // => 'abc'\n\t     *\n\t     * _.map(['  foo  ', '  bar  '], _.trim);\n\t     * // => ['foo', 'bar']\n\t     */\n\t    function trim(string, chars, guard) {\n\t      var value = string;\n\t      string = baseToString(string);\n\t      if (!string) {\n\t        return string;\n\t      }\n\t      if (guard ? isIterateeCall(value, chars, guard) : chars == null) {\n\t        return string.slice(trimmedLeftIndex(string), trimmedRightIndex(string) + 1);\n\t      }\n\t      chars = (chars + '');\n\t      return string.slice(charsLeftIndex(string, chars), charsRightIndex(string, chars) + 1);\n\t    }\n\t\n\t    /**\n\t     * Removes leading whitespace or specified characters from `string`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to trim.\n\t     * @param {string} [chars=whitespace] The characters to trim.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {string} Returns the trimmed string.\n\t     * @example\n\t     *\n\t     * _.trimLeft('  abc  ');\n\t     * // => 'abc  '\n\t     *\n\t     * _.trimLeft('-_-abc-_-', '_-');\n\t     * // => 'abc-_-'\n\t     */\n\t    function trimLeft(string, chars, guard) {\n\t      var value = string;\n\t      string = baseToString(string);\n\t      if (!string) {\n\t        return string;\n\t      }\n\t      if (guard ? isIterateeCall(value, chars, guard) : chars == null) {\n\t        return string.slice(trimmedLeftIndex(string));\n\t      }\n\t      return string.slice(charsLeftIndex(string, (chars + '')));\n\t    }\n\t\n\t    /**\n\t     * Removes trailing whitespace or specified characters from `string`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to trim.\n\t     * @param {string} [chars=whitespace] The characters to trim.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {string} Returns the trimmed string.\n\t     * @example\n\t     *\n\t     * _.trimRight('  abc  ');\n\t     * // => '  abc'\n\t     *\n\t     * _.trimRight('-_-abc-_-', '_-');\n\t     * // => '-_-abc'\n\t     */\n\t    function trimRight(string, chars, guard) {\n\t      var value = string;\n\t      string = baseToString(string);\n\t      if (!string) {\n\t        return string;\n\t      }\n\t      if (guard ? isIterateeCall(value, chars, guard) : chars == null) {\n\t        return string.slice(0, trimmedRightIndex(string) + 1);\n\t      }\n\t      return string.slice(0, charsRightIndex(string, (chars + '')) + 1);\n\t    }\n\t\n\t    /**\n\t     * Truncates `string` if it is longer than the given maximum string length.\n\t     * The last characters of the truncated string are replaced with the omission\n\t     * string which defaults to \"...\".\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to truncate.\n\t     * @param {Object|number} [options] The options object or maximum string length.\n\t     * @param {number} [options.length=30] The maximum string length.\n\t     * @param {string} [options.omission='...'] The string to indicate text is omitted.\n\t     * @param {RegExp|string} [options.separator] The separator pattern to truncate to.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {string} Returns the truncated string.\n\t     * @example\n\t     *\n\t     * _.trunc('hi-diddly-ho there, neighborino');\n\t     * // => 'hi-diddly-ho there, neighbo...'\n\t     *\n\t     * _.trunc('hi-diddly-ho there, neighborino', 24);\n\t     * // => 'hi-diddly-ho there, n...'\n\t     *\n\t     * _.trunc('hi-diddly-ho there, neighborino', {\n\t     *   'length': 24,\n\t     *   'separator': ' '\n\t     * });\n\t     * // => 'hi-diddly-ho there,...'\n\t     *\n\t     * _.trunc('hi-diddly-ho there, neighborino', {\n\t     *   'length': 24,\n\t     *   'separator': /,? +/\n\t     * });\n\t     * // => 'hi-diddly-ho there...'\n\t     *\n\t     * _.trunc('hi-diddly-ho there, neighborino', {\n\t     *   'omission': ' [...]'\n\t     * });\n\t     * // => 'hi-diddly-ho there, neig [...]'\n\t     */\n\t    function trunc(string, options, guard) {\n\t      if (guard && isIterateeCall(string, options, guard)) {\n\t        options = null;\n\t      }\n\t      var length = DEFAULT_TRUNC_LENGTH,\n\t          omission = DEFAULT_TRUNC_OMISSION;\n\t\n\t      if (options != null) {\n\t        if (isObject(options)) {\n\t          var separator = 'separator' in options ? options.separator : separator;\n\t          length = 'length' in options ? (+options.length || 0) : length;\n\t          omission = 'omission' in options ? baseToString(options.omission) : omission;\n\t        } else {\n\t          length = +options || 0;\n\t        }\n\t      }\n\t      string = baseToString(string);\n\t      if (length >= string.length) {\n\t        return string;\n\t      }\n\t      var end = length - omission.length;\n\t      if (end < 1) {\n\t        return omission;\n\t      }\n\t      var result = string.slice(0, end);\n\t      if (separator == null) {\n\t        return result + omission;\n\t      }\n\t      if (isRegExp(separator)) {\n\t        if (string.slice(end).search(separator)) {\n\t          var match,\n\t              newEnd,\n\t              substring = string.slice(0, end);\n\t\n\t          if (!separator.global) {\n\t            separator = RegExp(separator.source, (reFlags.exec(separator) || '') + 'g');\n\t          }\n\t          separator.lastIndex = 0;\n\t          while ((match = separator.exec(substring))) {\n\t            newEnd = match.index;\n\t          }\n\t          result = result.slice(0, newEnd == null ? end : newEnd);\n\t        }\n\t      } else if (string.indexOf(separator, end) != end) {\n\t        var index = result.lastIndexOf(separator);\n\t        if (index > -1) {\n\t          result = result.slice(0, index);\n\t        }\n\t      }\n\t      return result + omission;\n\t    }\n\t\n\t    /**\n\t     * The inverse of `_.escape`; this method converts the HTML entities\n\t     * `&amp;`, `&lt;`, `&gt;`, `&quot;`, `&#39;`, and `&#96;` in `string` to their\n\t     * corresponding characters.\n\t     *\n\t     * **Note:** No other HTML entities are unescaped. To unescape additional HTML\n\t     * entities use a third-party library like [_he_](https://mths.be/he).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to unescape.\n\t     * @returns {string} Returns the unescaped string.\n\t     * @example\n\t     *\n\t     * _.unescape('fred, barney, &amp; pebbles');\n\t     * // => 'fred, barney, & pebbles'\n\t     */\n\t    function unescape(string) {\n\t      string = baseToString(string);\n\t      return (string && reHasEscapedHtml.test(string))\n\t        ? string.replace(reEscapedHtml, unescapeHtmlChar)\n\t        : string;\n\t    }\n\t\n\t    /**\n\t     * Splits `string` into an array of its words.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to inspect.\n\t     * @param {RegExp|string} [pattern] The pattern to match words.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Array} Returns the words of `string`.\n\t     * @example\n\t     *\n\t     * _.words('fred, barney, & pebbles');\n\t     * // => ['fred', 'barney', 'pebbles']\n\t     *\n\t     * _.words('fred, barney, & pebbles', /[^, ]+/g);\n\t     * // => ['fred', 'barney', '&', 'pebbles']\n\t     */\n\t    function words(string, pattern, guard) {\n\t      if (guard && isIterateeCall(string, pattern, guard)) {\n\t        pattern = null;\n\t      }\n\t      string = baseToString(string);\n\t      return string.match(pattern || reWords) || [];\n\t    }\n\t\n\t    /**\n\t     * Attempts to invoke `func`, returning either the result or the caught error\n\t     * object. Any additional arguments are provided to `func` when it is invoked.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {Function} func The function to attempt.\n\t     * @returns {*} Returns the `func` result or error object.\n\t     * @example\n\t     *\n\t     * // avoid throwing errors for invalid selectors\n\t     * var elements = _.attempt(function(selector) {\n\t     *   return document.querySelectorAll(selector);\n\t     * }, '>_>');\n\t     *\n\t     * if (_.isError(elements)) {\n\t     *   elements = [];\n\t     * }\n\t     */\n\t    var attempt = restParam(function(func, args) {\n\t      try {\n\t        return func.apply(undefined, args);\n\t      } catch(e) {\n\t        return isError(e) ? e : new Error(e);\n\t      }\n\t    });\n\t\n\t    /**\n\t     * Creates a function that invokes `func` with the `this` binding of `thisArg`\n\t     * and arguments of the created function. If `func` is a property name the\n\t     * created callback returns the property value for a given element. If `func`\n\t     * is an object the created callback returns `true` for elements that contain\n\t     * the equivalent object properties, otherwise it returns `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias iteratee\n\t     * @category Utility\n\t     * @param {*} [func=_.identity] The value to convert to a callback.\n\t     * @param {*} [thisArg] The `this` binding of `func`.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Function} Returns the callback.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36 },\n\t     *   { 'user': 'fred',   'age': 40 }\n\t     * ];\n\t     *\n\t     * // wrap to create custom callback shorthands\n\t     * _.callback = _.wrap(_.callback, function(callback, func, thisArg) {\n\t     *   var match = /^(.+?)__([gl]t)(.+)$/.exec(func);\n\t     *   if (!match) {\n\t     *     return callback(func, thisArg);\n\t     *   }\n\t     *   return function(object) {\n\t     *     return match[2] == 'gt'\n\t     *       ? object[match[1]] > match[3]\n\t     *       : object[match[1]] < match[3];\n\t     *   };\n\t     * });\n\t     *\n\t     * _.filter(users, 'age__gt36');\n\t     * // => [{ 'user': 'fred', 'age': 40 }]\n\t     */\n\t    function callback(func, thisArg, guard) {\n\t      if (guard && isIterateeCall(func, thisArg, guard)) {\n\t        thisArg = null;\n\t      }\n\t      return isObjectLike(func)\n\t        ? matches(func)\n\t        : baseCallback(func, thisArg);\n\t    }\n\t\n\t    /**\n\t     * Creates a function that returns `value`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {*} value The value to return from the new function.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var object = { 'user': 'fred' };\n\t     * var getter = _.constant(object);\n\t     *\n\t     * getter() === object;\n\t     * // => true\n\t     */\n\t    function constant(value) {\n\t      return function() {\n\t        return value;\n\t      };\n\t    }\n\t\n\t    /**\n\t     * This method returns the first argument provided to it.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {*} value Any value.\n\t     * @returns {*} Returns `value`.\n\t     * @example\n\t     *\n\t     * var object = { 'user': 'fred' };\n\t     *\n\t     * _.identity(object) === object;\n\t     * // => true\n\t     */\n\t    function identity(value) {\n\t      return value;\n\t    }\n\t\n\t    /**\n\t     * Creates a function which performs a deep comparison between a given object\n\t     * and `source`, returning `true` if the given object has equivalent property\n\t     * values, else `false`.\n\t     *\n\t     * **Note:** This method supports comparing arrays, booleans, `Date` objects,\n\t     * numbers, `Object` objects, regexes, and strings. Objects are compared by\n\t     * their own, not inherited, enumerable properties. For comparing a single\n\t     * own or inherited property value see `_.matchesProperty`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {Object} source The object of property values to match.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36, 'active': true },\n\t     *   { 'user': 'fred',   'age': 40, 'active': false }\n\t     * ];\n\t     *\n\t     * _.filter(users, _.matches({ 'age': 40, 'active': false }));\n\t     * // => [{ 'user': 'fred', 'age': 40, 'active': false }]\n\t     */\n\t    function matches(source) {\n\t      return baseMatches(baseClone(source, true));\n\t    }\n\t\n\t    /**\n\t     * Creates a function which compares the property value of `path` on a given\n\t     * object to `value`.\n\t     *\n\t     * **Note:** This method supports comparing arrays, booleans, `Date` objects,\n\t     * numbers, `Object` objects, regexes, and strings. Objects are compared by\n\t     * their own, not inherited, enumerable properties.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {Array|string} path The path of the property to get.\n\t     * @param {*} value The value to compare.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney' },\n\t     *   { 'user': 'fred' }\n\t     * ];\n\t     *\n\t     * _.find(users, _.matchesProperty('user', 'fred'));\n\t     * // => { 'user': 'fred' }\n\t     */\n\t    function matchesProperty(path, value) {\n\t      return baseMatchesProperty(path, baseClone(value, true));\n\t    }\n\t\n\t    /**\n\t     * Creates a function which invokes the method at `path` on a given object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {Array|string} path The path of the method to invoke.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var objects = [\n\t     *   { 'a': { 'b': { 'c': _.constant(2) } } },\n\t     *   { 'a': { 'b': { 'c': _.constant(1) } } }\n\t     * ];\n\t     *\n\t     * _.map(objects, _.method('a.b.c'));\n\t     * // => [2, 1]\n\t     *\n\t     * _.invoke(_.sortBy(objects, _.method(['a', 'b', 'c'])), 'a.b.c');\n\t     * // => [1, 2]\n\t     */\n\t    var method = restParam(function(path, args) {\n\t      return function(object) {\n\t        return invokePath(object, path, args);\n\t      };\n\t    });\n\t\n\t    /**\n\t     * The opposite of `_.method`; this method creates a function which invokes\n\t     * the method at a given path on `object`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {Object} object The object to query.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var array = _.times(3, _.constant),\n\t     *     object = { 'a': array, 'b': array, 'c': array };\n\t     *\n\t     * _.map(['a[2]', 'c[0]'], _.methodOf(object));\n\t     * // => [2, 0]\n\t     *\n\t     * _.map([['a', '2'], ['c', '0']], _.methodOf(object));\n\t     * // => [2, 0]\n\t     */\n\t    var methodOf = restParam(function(object, args) {\n\t      return function(path) {\n\t        return invokePath(object, path, args);\n\t      };\n\t    });\n\t\n\t    /**\n\t     * Adds all own enumerable function properties of a source object to the\n\t     * destination object. If `object` is a function then methods are added to\n\t     * its prototype as well.\n\t     *\n\t     * **Note:** Use `_.runInContext` to create a pristine `lodash` function to\n\t     * avoid conflicts caused by modifying the original.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {Function|Object} [object=lodash] The destination object.\n\t     * @param {Object} source The object of functions to add.\n\t     * @param {Object} [options] The options object.\n\t     * @param {boolean} [options.chain=true] Specify whether the functions added\n\t     *  are chainable.\n\t     * @returns {Function|Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * function vowels(string) {\n\t     *   return _.filter(string, function(v) {\n\t     *     return /[aeiou]/i.test(v);\n\t     *   });\n\t     * }\n\t     *\n\t     * // use `_.runInContext` to avoid conflicts (esp. in Node.js)\n\t     * var _ = require('lodash').runInContext();\n\t     *\n\t     * _.mixin({ 'vowels': vowels });\n\t     * _.vowels('fred');\n\t     * // => ['e']\n\t     *\n\t     * _('fred').vowels().value();\n\t     * // => ['e']\n\t     *\n\t     * _.mixin({ 'vowels': vowels }, { 'chain': false });\n\t     * _('fred').vowels();\n\t     * // => ['e']\n\t     */\n\t    function mixin(object, source, options) {\n\t      if (options == null) {\n\t        var isObj = isObject(source),\n\t            props = isObj && keys(source),\n\t            methodNames = props && props.length && baseFunctions(source, props);\n\t\n\t        if (!(methodNames ? methodNames.length : isObj)) {\n\t          methodNames = false;\n\t          options = source;\n\t          source = object;\n\t          object = this;\n\t        }\n\t      }\n\t      if (!methodNames) {\n\t        methodNames = baseFunctions(source, keys(source));\n\t      }\n\t      var chain = true,\n\t          index = -1,\n\t          isFunc = isFunction(object),\n\t          length = methodNames.length;\n\t\n\t      if (options === false) {\n\t        chain = false;\n\t      } else if (isObject(options) && 'chain' in options) {\n\t        chain = options.chain;\n\t      }\n\t      while (++index < length) {\n\t        var methodName = methodNames[index],\n\t            func = source[methodName];\n\t\n\t        object[methodName] = func;\n\t        if (isFunc) {\n\t          object.prototype[methodName] = (function(func) {\n\t            return function() {\n\t              var chainAll = this.__chain__;\n\t              if (chain || chainAll) {\n\t                var result = object(this.__wrapped__),\n\t                    actions = result.__actions__ = arrayCopy(this.__actions__);\n\t\n\t                actions.push({ 'func': func, 'args': arguments, 'thisArg': object });\n\t                result.__chain__ = chainAll;\n\t                return result;\n\t              }\n\t              var args = [this.value()];\n\t              push.apply(args, arguments);\n\t              return func.apply(object, args);\n\t            };\n\t          }(func));\n\t        }\n\t      }\n\t      return object;\n\t    }\n\t\n\t    /**\n\t     * Reverts the `_` variable to its previous value and returns a reference to\n\t     * the `lodash` function.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @returns {Function} Returns the `lodash` function.\n\t     * @example\n\t     *\n\t     * var lodash = _.noConflict();\n\t     */\n\t    function noConflict() {\n\t      context._ = oldDash;\n\t      return this;\n\t    }\n\t\n\t    /**\n\t     * A no-operation function which returns `undefined` regardless of the\n\t     * arguments it receives.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @example\n\t     *\n\t     * var object = { 'user': 'fred' };\n\t     *\n\t     * _.noop(object) === undefined;\n\t     * // => true\n\t     */\n\t    function noop() {\n\t      // No operation performed.\n\t    }\n\t\n\t    /**\n\t     * Creates a function which returns the property value at `path` on a\n\t     * given object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {Array|string} path The path of the property to get.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var objects = [\n\t     *   { 'a': { 'b': { 'c': 2 } } },\n\t     *   { 'a': { 'b': { 'c': 1 } } }\n\t     * ];\n\t     *\n\t     * _.map(objects, _.property('a.b.c'));\n\t     * // => [2, 1]\n\t     *\n\t     * _.pluck(_.sortBy(objects, _.property(['a', 'b', 'c'])), 'a.b.c');\n\t     * // => [1, 2]\n\t     */\n\t    function property(path) {\n\t      return isKey(path) ? baseProperty(path) : basePropertyDeep(path);\n\t    }\n\t\n\t    /**\n\t     * The opposite of `_.property`; this method creates a function which returns\n\t     * the property value at a given path on `object`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {Object} object The object to query.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var array = [0, 1, 2],\n\t     *     object = { 'a': array, 'b': array, 'c': array };\n\t     *\n\t     * _.map(['a[2]', 'c[0]'], _.propertyOf(object));\n\t     * // => [2, 0]\n\t     *\n\t     * _.map([['a', '2'], ['c', '0']], _.propertyOf(object));\n\t     * // => [2, 0]\n\t     */\n\t    function propertyOf(object) {\n\t      return function(path) {\n\t        return baseGet(object, toPath(path), path + '');\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates an array of numbers (positive and/or negative) progressing from\n\t     * `start` up to, but not including, `end`. If `end` is not specified it is\n\t     * set to `start` with `start` then set to `0`. If `end` is less than `start`\n\t     * a zero-length range is created unless a negative `step` is specified.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {number} [start=0] The start of the range.\n\t     * @param {number} end The end of the range.\n\t     * @param {number} [step=1] The value to increment or decrement by.\n\t     * @returns {Array} Returns the new array of numbers.\n\t     * @example\n\t     *\n\t     * _.range(4);\n\t     * // => [0, 1, 2, 3]\n\t     *\n\t     * _.range(1, 5);\n\t     * // => [1, 2, 3, 4]\n\t     *\n\t     * _.range(0, 20, 5);\n\t     * // => [0, 5, 10, 15]\n\t     *\n\t     * _.range(0, -4, -1);\n\t     * // => [0, -1, -2, -3]\n\t     *\n\t     * _.range(1, 4, 0);\n\t     * // => [1, 1, 1]\n\t     *\n\t     * _.range(0);\n\t     * // => []\n\t     */\n\t    function range(start, end, step) {\n\t      if (step && isIterateeCall(start, end, step)) {\n\t        end = step = null;\n\t      }\n\t      start = +start || 0;\n\t      step = step == null ? 1 : (+step || 0);\n\t\n\t      if (end == null) {\n\t        end = start;\n\t        start = 0;\n\t      } else {\n\t        end = +end || 0;\n\t      }\n\t      // Use `Array(length)` so engines like Chakra and V8 avoid slower modes.\n\t      // See https://youtu.be/XAqIpGU8ZZk#t=17m25s for more details.\n\t      var index = -1,\n\t          length = nativeMax(ceil((end - start) / (step || 1)), 0),\n\t          result = Array(length);\n\t\n\t      while (++index < length) {\n\t        result[index] = start;\n\t        start += step;\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Invokes the iteratee function `n` times, returning an array of the results\n\t     * of each invocation. The `iteratee` is bound to `thisArg` and invoked with\n\t     * one argument; (index).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {number} n The number of times to invoke `iteratee`.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Array} Returns the array of results.\n\t     * @example\n\t     *\n\t     * var diceRolls = _.times(3, _.partial(_.random, 1, 6, false));\n\t     * // => [3, 6, 4]\n\t     *\n\t     * _.times(3, function(n) {\n\t     *   mage.castSpell(n);\n\t     * });\n\t     * // => invokes `mage.castSpell(n)` three times with `n` of `0`, `1`, and `2`\n\t     *\n\t     * _.times(3, function(n) {\n\t     *   this.cast(n);\n\t     * }, mage);\n\t     * // => also invokes `mage.castSpell(n)` three times\n\t     */\n\t    function times(n, iteratee, thisArg) {\n\t      n = floor(n);\n\t\n\t      // Exit early to avoid a JSC JIT bug in Safari 8\n\t      // where `Array(0)` is treated as `Array(1)`.\n\t      if (n < 1 || !nativeIsFinite(n)) {\n\t        return [];\n\t      }\n\t      var index = -1,\n\t          result = Array(nativeMin(n, MAX_ARRAY_LENGTH));\n\t\n\t      iteratee = bindCallback(iteratee, thisArg, 1);\n\t      while (++index < n) {\n\t        if (index < MAX_ARRAY_LENGTH) {\n\t          result[index] = iteratee(index);\n\t        } else {\n\t          iteratee(index);\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Generates a unique ID. If `prefix` is provided the ID is appended to it.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {string} [prefix] The value to prefix the ID with.\n\t     * @returns {string} Returns the unique ID.\n\t     * @example\n\t     *\n\t     * _.uniqueId('contact_');\n\t     * // => 'contact_104'\n\t     *\n\t     * _.uniqueId();\n\t     * // => '105'\n\t     */\n\t    function uniqueId(prefix) {\n\t      var id = ++idCounter;\n\t      return baseToString(prefix) + id;\n\t    }\n\t\n\t    /**\n\t     * Adds two numbers.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Math\n\t     * @param {number} augend The first number to add.\n\t     * @param {number} addend The second number to add.\n\t     * @returns {number} Returns the sum.\n\t     * @example\n\t     *\n\t     * _.add(6, 4);\n\t     * // => 10\n\t     */\n\t    function add(augend, addend) {\n\t      return (+augend || 0) + (+addend || 0);\n\t    }\n\t\n\t    /**\n\t     * Gets the maximum value of `collection`. If `collection` is empty or falsey\n\t     * `-Infinity` is returned. If an iteratee function is provided it is invoked\n\t     * for each value in `collection` to generate the criterion by which the value\n\t     * is ranked. The `iteratee` is bound to `thisArg` and invoked with three\n\t     * arguments: (value, index, collection).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Math\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [iteratee] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {*} Returns the maximum value.\n\t     * @example\n\t     *\n\t     * _.max([4, 2, 8, 6]);\n\t     * // => 8\n\t     *\n\t     * _.max([]);\n\t     * // => -Infinity\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36 },\n\t     *   { 'user': 'fred',   'age': 40 }\n\t     * ];\n\t     *\n\t     * _.max(users, function(chr) {\n\t     *   return chr.age;\n\t     * });\n\t     * // => { 'user': 'fred', 'age': 40 }\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.max(users, 'age');\n\t     * // => { 'user': 'fred', 'age': 40 }\n\t     */\n\t    var max = createExtremum(arrayMax);\n\t\n\t    /**\n\t     * Gets the minimum value of `collection`. If `collection` is empty or falsey\n\t     * `Infinity` is returned. If an iteratee function is provided it is invoked\n\t     * for each value in `collection` to generate the criterion by which the value\n\t     * is ranked. The `iteratee` is bound to `thisArg` and invoked with three\n\t     * arguments: (value, index, collection).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Math\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [iteratee] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {*} Returns the minimum value.\n\t     * @example\n\t     *\n\t     * _.min([4, 2, 8, 6]);\n\t     * // => 2\n\t     *\n\t     * _.min([]);\n\t     * // => Infinity\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36 },\n\t     *   { 'user': 'fred',   'age': 40 }\n\t     * ];\n\t     *\n\t     * _.min(users, function(chr) {\n\t     *   return chr.age;\n\t     * });\n\t     * // => { 'user': 'barney', 'age': 36 }\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.min(users, 'age');\n\t     * // => { 'user': 'barney', 'age': 36 }\n\t     */\n\t    var min = createExtremum(arrayMin, true);\n\t\n\t    /**\n\t     * Gets the sum of the values in `collection`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Math\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [iteratee] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {number} Returns the sum.\n\t     * @example\n\t     *\n\t     * _.sum([4, 6]);\n\t     * // => 10\n\t     *\n\t     * _.sum({ 'a': 4, 'b': 6 });\n\t     * // => 10\n\t     *\n\t     * var objects = [\n\t     *   { 'n': 4 },\n\t     *   { 'n': 6 }\n\t     * ];\n\t     *\n\t     * _.sum(objects, function(object) {\n\t     *   return object.n;\n\t     * });\n\t     * // => 10\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.sum(objects, 'n');\n\t     * // => 10\n\t     */\n\t    function sum(collection, iteratee, thisArg) {\n\t      if (thisArg && isIterateeCall(collection, iteratee, thisArg)) {\n\t        iteratee = null;\n\t      }\n\t      var func = getCallback(),\n\t          noIteratee = iteratee == null;\n\t\n\t      if (!(func === baseCallback && noIteratee)) {\n\t        noIteratee = false;\n\t        iteratee = func(iteratee, thisArg, 3);\n\t      }\n\t      return noIteratee\n\t        ? arraySum(isArray(collection) ? collection : toIterable(collection))\n\t        : baseSum(collection, iteratee);\n\t    }\n\t\n\t    // Ensure wrappers are instances of `baseLodash`.\n\t    lodash.prototype = baseLodash.prototype;\n\t\n\t    LodashWrapper.prototype = baseCreate(baseLodash.prototype);\n\t    LodashWrapper.prototype.constructor = LodashWrapper;\n\t\n\t    LazyWrapper.prototype = baseCreate(baseLodash.prototype);\n\t    LazyWrapper.prototype.constructor = LazyWrapper;\n\t\n\t    // Add functions to the `Map` cache.\n\t    MapCache.prototype['delete'] = mapDelete;\n\t    MapCache.prototype.get = mapGet;\n\t    MapCache.prototype.has = mapHas;\n\t    MapCache.prototype.set = mapSet;\n\t\n\t    // Add functions to the `Set` cache.\n\t    SetCache.prototype.push = cachePush;\n\t\n\t    // Assign cache to `_.memoize`.\n\t    memoize.Cache = MapCache;\n\t\n\t    // Add functions that return wrapped values when chaining.\n\t    lodash.after = after;\n\t    lodash.ary = ary;\n\t    lodash.assign = assign;\n\t    lodash.at = at;\n\t    lodash.before = before;\n\t    lodash.bind = bind;\n\t    lodash.bindAll = bindAll;\n\t    lodash.bindKey = bindKey;\n\t    lodash.callback = callback;\n\t    lodash.chain = chain;\n\t    lodash.chunk = chunk;\n\t    lodash.compact = compact;\n\t    lodash.constant = constant;\n\t    lodash.countBy = countBy;\n\t    lodash.create = create;\n\t    lodash.curry = curry;\n\t    lodash.curryRight = curryRight;\n\t    lodash.debounce = debounce;\n\t    lodash.defaults = defaults;\n\t    lodash.defer = defer;\n\t    lodash.delay = delay;\n\t    lodash.difference = difference;\n\t    lodash.drop = drop;\n\t    lodash.dropRight = dropRight;\n\t    lodash.dropRightWhile = dropRightWhile;\n\t    lodash.dropWhile = dropWhile;\n\t    lodash.fill = fill;\n\t    lodash.filter = filter;\n\t    lodash.flatten = flatten;\n\t    lodash.flattenDeep = flattenDeep;\n\t    lodash.flow = flow;\n\t    lodash.flowRight = flowRight;\n\t    lodash.forEach = forEach;\n\t    lodash.forEachRight = forEachRight;\n\t    lodash.forIn = forIn;\n\t    lodash.forInRight = forInRight;\n\t    lodash.forOwn = forOwn;\n\t    lodash.forOwnRight = forOwnRight;\n\t    lodash.functions = functions;\n\t    lodash.groupBy = groupBy;\n\t    lodash.indexBy = indexBy;\n\t    lodash.initial = initial;\n\t    lodash.intersection = intersection;\n\t    lodash.invert = invert;\n\t    lodash.invoke = invoke;\n\t    lodash.keys = keys;\n\t    lodash.keysIn = keysIn;\n\t    lodash.map = map;\n\t    lodash.mapKeys = mapKeys;\n\t    lodash.mapValues = mapValues;\n\t    lodash.matches = matches;\n\t    lodash.matchesProperty = matchesProperty;\n\t    lodash.memoize = memoize;\n\t    lodash.merge = merge;\n\t    lodash.method = method;\n\t    lodash.methodOf = methodOf;\n\t    lodash.mixin = mixin;\n\t    lodash.negate = negate;\n\t    lodash.omit = omit;\n\t    lodash.once = once;\n\t    lodash.pairs = pairs;\n\t    lodash.partial = partial;\n\t    lodash.partialRight = partialRight;\n\t    lodash.partition = partition;\n\t    lodash.pick = pick;\n\t    lodash.pluck = pluck;\n\t    lodash.property = property;\n\t    lodash.propertyOf = propertyOf;\n\t    lodash.pull = pull;\n\t    lodash.pullAt = pullAt;\n\t    lodash.range = range;\n\t    lodash.rearg = rearg;\n\t    lodash.reject = reject;\n\t    lodash.remove = remove;\n\t    lodash.rest = rest;\n\t    lodash.restParam = restParam;\n\t    lodash.set = set;\n\t    lodash.shuffle = shuffle;\n\t    lodash.slice = slice;\n\t    lodash.sortBy = sortBy;\n\t    lodash.sortByAll = sortByAll;\n\t    lodash.sortByOrder = sortByOrder;\n\t    lodash.spread = spread;\n\t    lodash.take = take;\n\t    lodash.takeRight = takeRight;\n\t    lodash.takeRightWhile = takeRightWhile;\n\t    lodash.takeWhile = takeWhile;\n\t    lodash.tap = tap;\n\t    lodash.throttle = throttle;\n\t    lodash.thru = thru;\n\t    lodash.times = times;\n\t    lodash.toArray = toArray;\n\t    lodash.toPlainObject = toPlainObject;\n\t    lodash.transform = transform;\n\t    lodash.union = union;\n\t    lodash.uniq = uniq;\n\t    lodash.unzip = unzip;\n\t    lodash.unzipWith = unzipWith;\n\t    lodash.values = values;\n\t    lodash.valuesIn = valuesIn;\n\t    lodash.where = where;\n\t    lodash.without = without;\n\t    lodash.wrap = wrap;\n\t    lodash.xor = xor;\n\t    lodash.zip = zip;\n\t    lodash.zipObject = zipObject;\n\t    lodash.zipWith = zipWith;\n\t\n\t    // Add aliases.\n\t    lodash.backflow = flowRight;\n\t    lodash.collect = map;\n\t    lodash.compose = flowRight;\n\t    lodash.each = forEach;\n\t    lodash.eachRight = forEachRight;\n\t    lodash.extend = assign;\n\t    lodash.iteratee = callback;\n\t    lodash.methods = functions;\n\t    lodash.object = zipObject;\n\t    lodash.select = filter;\n\t    lodash.tail = rest;\n\t    lodash.unique = uniq;\n\t\n\t    // Add functions to `lodash.prototype`.\n\t    mixin(lodash, lodash);\n\t\n\t    // Add functions that return unwrapped values when chaining.\n\t    lodash.add = add;\n\t    lodash.attempt = attempt;\n\t    lodash.camelCase = camelCase;\n\t    lodash.capitalize = capitalize;\n\t    lodash.clone = clone;\n\t    lodash.cloneDeep = cloneDeep;\n\t    lodash.deburr = deburr;\n\t    lodash.endsWith = endsWith;\n\t    lodash.escape = escape;\n\t    lodash.escapeRegExp = escapeRegExp;\n\t    lodash.every = every;\n\t    lodash.find = find;\n\t    lodash.findIndex = findIndex;\n\t    lodash.findKey = findKey;\n\t    lodash.findLast = findLast;\n\t    lodash.findLastIndex = findLastIndex;\n\t    lodash.findLastKey = findLastKey;\n\t    lodash.findWhere = findWhere;\n\t    lodash.first = first;\n\t    lodash.get = get;\n\t    lodash.has = has;\n\t    lodash.identity = identity;\n\t    lodash.includes = includes;\n\t    lodash.indexOf = indexOf;\n\t    lodash.inRange = inRange;\n\t    lodash.isArguments = isArguments;\n\t    lodash.isArray = isArray;\n\t    lodash.isBoolean = isBoolean;\n\t    lodash.isDate = isDate;\n\t    lodash.isElement = isElement;\n\t    lodash.isEmpty = isEmpty;\n\t    lodash.isEqual = isEqual;\n\t    lodash.isError = isError;\n\t    lodash.isFinite = isFinite;\n\t    lodash.isFunction = isFunction;\n\t    lodash.isMatch = isMatch;\n\t    lodash.isNaN = isNaN;\n\t    lodash.isNative = isNative;\n\t    lodash.isNull = isNull;\n\t    lodash.isNumber = isNumber;\n\t    lodash.isObject = isObject;\n\t    lodash.isPlainObject = isPlainObject;\n\t    lodash.isRegExp = isRegExp;\n\t    lodash.isString = isString;\n\t    lodash.isTypedArray = isTypedArray;\n\t    lodash.isUndefined = isUndefined;\n\t    lodash.kebabCase = kebabCase;\n\t    lodash.last = last;\n\t    lodash.lastIndexOf = lastIndexOf;\n\t    lodash.max = max;\n\t    lodash.min = min;\n\t    lodash.noConflict = noConflict;\n\t    lodash.noop = noop;\n\t    lodash.now = now;\n\t    lodash.pad = pad;\n\t    lodash.padLeft = padLeft;\n\t    lodash.padRight = padRight;\n\t    lodash.parseInt = parseInt;\n\t    lodash.random = random;\n\t    lodash.reduce = reduce;\n\t    lodash.reduceRight = reduceRight;\n\t    lodash.repeat = repeat;\n\t    lodash.result = result;\n\t    lodash.runInContext = runInContext;\n\t    lodash.size = size;\n\t    lodash.snakeCase = snakeCase;\n\t    lodash.some = some;\n\t    lodash.sortedIndex = sortedIndex;\n\t    lodash.sortedLastIndex = sortedLastIndex;\n\t    lodash.startCase = startCase;\n\t    lodash.startsWith = startsWith;\n\t    lodash.sum = sum;\n\t    lodash.template = template;\n\t    lodash.trim = trim;\n\t    lodash.trimLeft = trimLeft;\n\t    lodash.trimRight = trimRight;\n\t    lodash.trunc = trunc;\n\t    lodash.unescape = unescape;\n\t    lodash.uniqueId = uniqueId;\n\t    lodash.words = words;\n\t\n\t    // Add aliases.\n\t    lodash.all = every;\n\t    lodash.any = some;\n\t    lodash.contains = includes;\n\t    lodash.detect = find;\n\t    lodash.foldl = reduce;\n\t    lodash.foldr = reduceRight;\n\t    lodash.head = first;\n\t    lodash.include = includes;\n\t    lodash.inject = reduce;\n\t\n\t    mixin(lodash, (function() {\n\t      var source = {};\n\t      baseForOwn(lodash, function(func, methodName) {\n\t        if (!lodash.prototype[methodName]) {\n\t          source[methodName] = func;\n\t        }\n\t      });\n\t      return source;\n\t    }()), false);\n\t\n\t    // Add functions capable of returning wrapped and unwrapped values when chaining.\n\t    lodash.sample = sample;\n\t\n\t    lodash.prototype.sample = function(n) {\n\t      if (!this.__chain__ && n == null) {\n\t        return sample(this.value());\n\t      }\n\t      return this.thru(function(value) {\n\t        return sample(value, n);\n\t      });\n\t    };\n\t\n\t    /**\n\t     * The semantic version number.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @type string\n\t     */\n\t    lodash.VERSION = VERSION;\n\t\n\t    // Assign default placeholders.\n\t    arrayEach(['bind', 'bindKey', 'curry', 'curryRight', 'partial', 'partialRight'], function(methodName) {\n\t      lodash[methodName].placeholder = lodash;\n\t    });\n\t\n\t    // Add `LazyWrapper` methods that accept an `iteratee` value.\n\t    arrayEach(['dropWhile', 'filter', 'map', 'takeWhile'], function(methodName, type) {\n\t      var isFilter = type != LAZY_MAP_FLAG,\n\t          isDropWhile = type == LAZY_DROP_WHILE_FLAG;\n\t\n\t      LazyWrapper.prototype[methodName] = function(iteratee, thisArg) {\n\t        var filtered = this.__filtered__,\n\t            result = (filtered && isDropWhile) ? new LazyWrapper(this) : this.clone(),\n\t            iteratees = result.__iteratees__ || (result.__iteratees__ = []);\n\t\n\t        iteratees.push({\n\t          'done': false,\n\t          'count': 0,\n\t          'index': 0,\n\t          'iteratee': getCallback(iteratee, thisArg, 1),\n\t          'limit': -1,\n\t          'type': type\n\t        });\n\t\n\t        result.__filtered__ = filtered || isFilter;\n\t        return result;\n\t      };\n\t    });\n\t\n\t    // Add `LazyWrapper` methods for `_.drop` and `_.take` variants.\n\t    arrayEach(['drop', 'take'], function(methodName, index) {\n\t      var whileName = methodName + 'While';\n\t\n\t      LazyWrapper.prototype[methodName] = function(n) {\n\t        var filtered = this.__filtered__,\n\t            result = (filtered && !index) ? this.dropWhile() : this.clone();\n\t\n\t        n = n == null ? 1 : nativeMax(floor(n) || 0, 0);\n\t        if (filtered) {\n\t          if (index) {\n\t            result.__takeCount__ = nativeMin(result.__takeCount__, n);\n\t          } else {\n\t            last(result.__iteratees__).limit = n;\n\t          }\n\t        } else {\n\t          var views = result.__views__ || (result.__views__ = []);\n\t          views.push({ 'size': n, 'type': methodName + (result.__dir__ < 0 ? 'Right' : '') });\n\t        }\n\t        return result;\n\t      };\n\t\n\t      LazyWrapper.prototype[methodName + 'Right'] = function(n) {\n\t        return this.reverse()[methodName](n).reverse();\n\t      };\n\t\n\t      LazyWrapper.prototype[methodName + 'RightWhile'] = function(predicate, thisArg) {\n\t        return this.reverse()[whileName](predicate, thisArg).reverse();\n\t      };\n\t    });\n\t\n\t    // Add `LazyWrapper` methods for `_.first` and `_.last`.\n\t    arrayEach(['first', 'last'], function(methodName, index) {\n\t      var takeName = 'take' + (index ? 'Right' : '');\n\t\n\t      LazyWrapper.prototype[methodName] = function() {\n\t        return this[takeName](1).value()[0];\n\t      };\n\t    });\n\t\n\t    // Add `LazyWrapper` methods for `_.initial` and `_.rest`.\n\t    arrayEach(['initial', 'rest'], function(methodName, index) {\n\t      var dropName = 'drop' + (index ? '' : 'Right');\n\t\n\t      LazyWrapper.prototype[methodName] = function() {\n\t        return this[dropName](1);\n\t      };\n\t    });\n\t\n\t    // Add `LazyWrapper` methods for `_.pluck` and `_.where`.\n\t    arrayEach(['pluck', 'where'], function(methodName, index) {\n\t      var operationName = index ? 'filter' : 'map',\n\t          createCallback = index ? baseMatches : property;\n\t\n\t      LazyWrapper.prototype[methodName] = function(value) {\n\t        return this[operationName](createCallback(value));\n\t      };\n\t    });\n\t\n\t    LazyWrapper.prototype.compact = function() {\n\t      return this.filter(identity);\n\t    };\n\t\n\t    LazyWrapper.prototype.reject = function(predicate, thisArg) {\n\t      predicate = getCallback(predicate, thisArg, 1);\n\t      return this.filter(function(value) {\n\t        return !predicate(value);\n\t      });\n\t    };\n\t\n\t    LazyWrapper.prototype.slice = function(start, end) {\n\t      start = start == null ? 0 : (+start || 0);\n\t\n\t      var result = this;\n\t      if (start < 0) {\n\t        result = this.takeRight(-start);\n\t      } else if (start) {\n\t        result = this.drop(start);\n\t      }\n\t      if (end !== undefined) {\n\t        end = (+end || 0);\n\t        result = end < 0 ? result.dropRight(-end) : result.take(end - start);\n\t      }\n\t      return result;\n\t    };\n\t\n\t    LazyWrapper.prototype.toArray = function() {\n\t      return this.drop(0);\n\t    };\n\t\n\t    // Add `LazyWrapper` methods to `lodash.prototype`.\n\t    baseForOwn(LazyWrapper.prototype, function(func, methodName) {\n\t      var lodashFunc = lodash[methodName];\n\t      if (!lodashFunc) {\n\t        return;\n\t      }\n\t      var checkIteratee = /^(?:filter|map|reject)|While$/.test(methodName),\n\t          retUnwrapped = /^(?:first|last)$/.test(methodName);\n\t\n\t      lodash.prototype[methodName] = function() {\n\t        var args = arguments,\n\t            chainAll = this.__chain__,\n\t            value = this.__wrapped__,\n\t            isHybrid = !!this.__actions__.length,\n\t            isLazy = value instanceof LazyWrapper,\n\t            iteratee = args[0],\n\t            useLazy = isLazy || isArray(value);\n\t\n\t        if (useLazy && checkIteratee && typeof iteratee == 'function' && iteratee.length != 1) {\n\t          // avoid lazy use if the iteratee has a \"length\" value other than `1`\n\t          isLazy = useLazy = false;\n\t        }\n\t        var onlyLazy = isLazy && !isHybrid;\n\t        if (retUnwrapped && !chainAll) {\n\t          return onlyLazy\n\t            ? func.call(value)\n\t            : lodashFunc.call(lodash, this.value());\n\t        }\n\t        var interceptor = function(value) {\n\t          var otherArgs = [value];\n\t          push.apply(otherArgs, args);\n\t          return lodashFunc.apply(lodash, otherArgs);\n\t        };\n\t        if (useLazy) {\n\t          var wrapper = onlyLazy ? value : new LazyWrapper(this),\n\t              result = func.apply(wrapper, args);\n\t\n\t          if (!retUnwrapped && (isHybrid || result.__actions__)) {\n\t            var actions = result.__actions__ || (result.__actions__ = []);\n\t            actions.push({ 'func': thru, 'args': [interceptor], 'thisArg': lodash });\n\t          }\n\t          return new LodashWrapper(result, chainAll);\n\t        }\n\t        return this.thru(interceptor);\n\t      };\n\t    });\n\t\n\t    // Add `Array` and `String` methods to `lodash.prototype`.\n\t    arrayEach(['concat', 'join', 'pop', 'push', 'replace', 'shift', 'sort', 'splice', 'split', 'unshift'], function(methodName) {\n\t      var func = (/^(?:replace|split)$/.test(methodName) ? stringProto : arrayProto)[methodName],\n\t          chainName = /^(?:push|sort|unshift)$/.test(methodName) ? 'tap' : 'thru',\n\t          retUnwrapped = /^(?:join|pop|replace|shift)$/.test(methodName);\n\t\n\t      lodash.prototype[methodName] = function() {\n\t        var args = arguments;\n\t        if (retUnwrapped && !this.__chain__) {\n\t          return func.apply(this.value(), args);\n\t        }\n\t        return this[chainName](function(value) {\n\t          return func.apply(value, args);\n\t        });\n\t      };\n\t    });\n\t\n\t    // Map minified function names to their real names.\n\t    baseForOwn(LazyWrapper.prototype, function(func, methodName) {\n\t      var lodashFunc = lodash[methodName];\n\t      if (lodashFunc) {\n\t        var key = lodashFunc.name,\n\t            names = realNames[key] || (realNames[key] = []);\n\t\n\t        names.push({ 'name': methodName, 'func': lodashFunc });\n\t      }\n\t    });\n\t\n\t    realNames[createHybridWrapper(null, BIND_KEY_FLAG).name] = [{ 'name': 'wrapper', 'func': null }];\n\t\n\t    // Add functions to the lazy wrapper.\n\t    LazyWrapper.prototype.clone = lazyClone;\n\t    LazyWrapper.prototype.reverse = lazyReverse;\n\t    LazyWrapper.prototype.value = lazyValue;\n\t\n\t    // Add chaining functions to the `lodash` wrapper.\n\t    lodash.prototype.chain = wrapperChain;\n\t    lodash.prototype.commit = wrapperCommit;\n\t    lodash.prototype.plant = wrapperPlant;\n\t    lodash.prototype.reverse = wrapperReverse;\n\t    lodash.prototype.toString = wrapperToString;\n\t    lodash.prototype.run = lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue;\n\t\n\t    // Add function aliases to the `lodash` wrapper.\n\t    lodash.prototype.collect = lodash.prototype.map;\n\t    lodash.prototype.head = lodash.prototype.first;\n\t    lodash.prototype.select = lodash.prototype.filter;\n\t    lodash.prototype.tail = lodash.prototype.rest;\n\t\n\t    return lodash;\n\t  }\n\t\n\t  // Export lodash.\n\t  var _ = runInContext();\n\t\n\t  // Some AMD build optimizers like r.js check for condition patterns like the following:\n\t  if (true) {\n\t    // Expose lodash to the global object when an AMD loader is present to avoid\n\t    // errors in cases where lodash is loaded by a script tag and not intended\n\t    // as an AMD module. See http://requirejs.org/docs/errors.html#mismatch for\n\t    // more details.\n\t    root._ = _;\n\t\n\t    // Define as an anonymous module so, through path mapping, it can be\n\t    // referenced as the \"underscore\" module.\n\t    !(__WEBPACK_AMD_DEFINE_RESULT__ = function() {\n\t      return _;\n\t    }.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t  }\n\t  // Check for `exports` after `define` in case a build optimizer adds an `exports` object.\n\t  else if (freeExports && freeModule) {\n\t    // Export for Node.js or RingoJS.\n\t    if (moduleExports) {\n\t      (freeModule.exports = _)._ = _;\n\t    }\n\t    // Export for Narwhal or Rhino -require.\n\t    else {\n\t      freeExports._ = _;\n\t    }\n\t  }\n\t  else {\n\t    // Export for a browser or Rhino.\n\t    root._ = _;\n\t  }\n\t}.call(this));\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(45)(module), (function() { return this; }())))\n\n/***/ },\n/* 40 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * Representation of a single EventEmitter function.\n\t *\n\t * @param {Function} fn Event handler to be called.\n\t * @param {Mixed} context Context for function execution.\n\t * @param {Boolean} once Only emit once\n\t * @api private\n\t */\n\tfunction EE(fn, context, once) {\n\t  this.fn = fn;\n\t  this.context = context;\n\t  this.once = once || false;\n\t}\n\t\n\t/**\n\t * Minimal EventEmitter interface that is molded against the Node.js\n\t * EventEmitter interface.\n\t *\n\t * @constructor\n\t * @api public\n\t */\n\tfunction EventEmitter() { /* Nothing to set */ }\n\t\n\t/**\n\t * Holds the assigned EventEmitters by name.\n\t *\n\t * @type {Object}\n\t * @private\n\t */\n\tEventEmitter.prototype._events = undefined;\n\t\n\t/**\n\t * Return a list of assigned event listeners.\n\t *\n\t * @param {String} event The events that should be listed.\n\t * @returns {Array}\n\t * @api public\n\t */\n\tEventEmitter.prototype.listeners = function listeners(event) {\n\t  if (!this._events || !this._events[event]) return [];\n\t  if (this._events[event].fn) return [this._events[event].fn];\n\t\n\t  for (var i = 0, l = this._events[event].length, ee = new Array(l); i < l; i++) {\n\t    ee[i] = this._events[event][i].fn;\n\t  }\n\t\n\t  return ee;\n\t};\n\t\n\t/**\n\t * Emit an event to all registered event listeners.\n\t *\n\t * @param {String} event The name of the event.\n\t * @returns {Boolean} Indication if we've emitted an event.\n\t * @api public\n\t */\n\tEventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {\n\t  if (!this._events || !this._events[event]) return false;\n\t\n\t  var listeners = this._events[event]\n\t    , len = arguments.length\n\t    , args\n\t    , i;\n\t\n\t  if ('function' === typeof listeners.fn) {\n\t    if (listeners.once) this.removeListener(event, listeners.fn, true);\n\t\n\t    switch (len) {\n\t      case 1: return listeners.fn.call(listeners.context), true;\n\t      case 2: return listeners.fn.call(listeners.context, a1), true;\n\t      case 3: return listeners.fn.call(listeners.context, a1, a2), true;\n\t      case 4: return listeners.fn.call(listeners.context, a1, a2, a3), true;\n\t      case 5: return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;\n\t      case 6: return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;\n\t    }\n\t\n\t    for (i = 1, args = new Array(len -1); i < len; i++) {\n\t      args[i - 1] = arguments[i];\n\t    }\n\t\n\t    listeners.fn.apply(listeners.context, args);\n\t  } else {\n\t    var length = listeners.length\n\t      , j;\n\t\n\t    for (i = 0; i < length; i++) {\n\t      if (listeners[i].once) this.removeListener(event, listeners[i].fn, true);\n\t\n\t      switch (len) {\n\t        case 1: listeners[i].fn.call(listeners[i].context); break;\n\t        case 2: listeners[i].fn.call(listeners[i].context, a1); break;\n\t        case 3: listeners[i].fn.call(listeners[i].context, a1, a2); break;\n\t        default:\n\t          if (!args) for (j = 1, args = new Array(len -1); j < len; j++) {\n\t            args[j - 1] = arguments[j];\n\t          }\n\t\n\t          listeners[i].fn.apply(listeners[i].context, args);\n\t      }\n\t    }\n\t  }\n\t\n\t  return true;\n\t};\n\t\n\t/**\n\t * Register a new EventListener for the given event.\n\t *\n\t * @param {String} event Name of the event.\n\t * @param {Functon} fn Callback function.\n\t * @param {Mixed} context The context of the function.\n\t * @api public\n\t */\n\tEventEmitter.prototype.on = function on(event, fn, context) {\n\t  var listener = new EE(fn, context || this);\n\t\n\t  if (!this._events) this._events = {};\n\t  if (!this._events[event]) this._events[event] = listener;\n\t  else {\n\t    if (!this._events[event].fn) this._events[event].push(listener);\n\t    else this._events[event] = [\n\t      this._events[event], listener\n\t    ];\n\t  }\n\t\n\t  return this;\n\t};\n\t\n\t/**\n\t * Add an EventListener that's only called once.\n\t *\n\t * @param {String} event Name of the event.\n\t * @param {Function} fn Callback function.\n\t * @param {Mixed} context The context of the function.\n\t * @api public\n\t */\n\tEventEmitter.prototype.once = function once(event, fn, context) {\n\t  var listener = new EE(fn, context || this, true);\n\t\n\t  if (!this._events) this._events = {};\n\t  if (!this._events[event]) this._events[event] = listener;\n\t  else {\n\t    if (!this._events[event].fn) this._events[event].push(listener);\n\t    else this._events[event] = [\n\t      this._events[event], listener\n\t    ];\n\t  }\n\t\n\t  return this;\n\t};\n\t\n\t/**\n\t * Remove event listeners.\n\t *\n\t * @param {String} event The event we want to remove.\n\t * @param {Function} fn The listener that we need to find.\n\t * @param {Boolean} once Only remove once listeners.\n\t * @api public\n\t */\n\tEventEmitter.prototype.removeListener = function removeListener(event, fn, once) {\n\t  if (!this._events || !this._events[event]) return this;\n\t\n\t  var listeners = this._events[event]\n\t    , events = [];\n\t\n\t  if (fn) {\n\t    if (listeners.fn && (listeners.fn !== fn || (once && !listeners.once))) {\n\t      events.push(listeners);\n\t    }\n\t    if (!listeners.fn) for (var i = 0, length = listeners.length; i < length; i++) {\n\t      if (listeners[i].fn !== fn || (once && !listeners[i].once)) {\n\t        events.push(listeners[i]);\n\t      }\n\t    }\n\t  }\n\t\n\t  //\n\t  // Reset the array, or remove it completely if we have no more listeners.\n\t  //\n\t  if (events.length) {\n\t    this._events[event] = events.length === 1 ? events[0] : events;\n\t  } else {\n\t    delete this._events[event];\n\t  }\n\t\n\t  return this;\n\t};\n\t\n\t/**\n\t * Remove all listeners or only the listeners for the specified event.\n\t *\n\t * @param {String} event The event want to remove all listeners for.\n\t * @api public\n\t */\n\tEventEmitter.prototype.removeAllListeners = function removeAllListeners(event) {\n\t  if (!this._events) return this;\n\t\n\t  if (event) delete this._events[event];\n\t  else this._events = {};\n\t\n\t  return this;\n\t};\n\t\n\t//\n\t// Alias methods names because people roll like that.\n\t//\n\tEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\tEventEmitter.prototype.addListener = EventEmitter.prototype.on;\n\t\n\t//\n\t// This function doesn't apply anymore.\n\t//\n\tEventEmitter.prototype.setMaxListeners = function setMaxListeners() {\n\t  return this;\n\t};\n\t\n\t//\n\t// Expose the module.\n\t//\n\tEventEmitter.EventEmitter = EventEmitter;\n\tEventEmitter.EventEmitter2 = EventEmitter;\n\tEventEmitter.EventEmitter3 = EventEmitter;\n\t\n\t//\n\t// Expose the module.\n\t//\n\tmodule.exports = EventEmitter;\n\n\n/***/ },\n/* 41 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Defaults, Integrator, Simulator, Utils,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tDefaults = __webpack_require__(30).Defaults;\n\t\n\tSimulator = __webpack_require__(44).Simulator;\n\t\n\tIntegrator = __webpack_require__(34).Integrator;\n\t\n\texports.SpringSimulator = (function(superClass) {\n\t  extend(SpringSimulator, superClass);\n\t\n\t  function SpringSimulator() {\n\t    this.finished = bind(this.finished, this);\n\t    return SpringSimulator.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  SpringSimulator.prototype.setup = function(options) {\n\t    this.options = Defaults.getDefaults(\"SpringSimulator\", options);\n\t    this.options = _.defaults(options, {\n\t      velocity: 0,\n\t      position: 0,\n\t      offset: 0\n\t    });\n\t    this._state = {\n\t      x: this.options.position,\n\t      v: this.options.velocity\n\t    };\n\t    return this._integrator = new Integrator((function(_this) {\n\t      return function(state) {\n\t        return -_this.options.tension * state.x - _this.options.friction * state.v;\n\t      };\n\t    })(this));\n\t  };\n\t\n\t  SpringSimulator.prototype.next = function(delta) {\n\t    this._state = this._integrator.integrateState(this._state, delta);\n\t    return this.getState();\n\t  };\n\t\n\t  SpringSimulator.prototype.finished = function() {\n\t    var positionNearZero, velocityNearZero;\n\t    positionNearZero = Math.abs(this._state.x) < this.options.tolerance;\n\t    velocityNearZero = Math.abs(this._state.v) < this.options.tolerance;\n\t    return positionNearZero && velocityNearZero;\n\t  };\n\t\n\t  SpringSimulator.prototype.setState = function(state) {\n\t    return this._state = {\n\t      x: state.x - this.options.offset,\n\t      v: state.v\n\t    };\n\t  };\n\t\n\t  SpringSimulator.prototype.getState = function() {\n\t    var state;\n\t    return state = {\n\t      x: this._state.x + this.options.offset,\n\t      v: this._state.v\n\t    };\n\t  };\n\t\n\t  return SpringSimulator;\n\t\n\t})(Simulator);\n\n\n/***/ },\n/* 42 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Defaults, Integrator, Simulator, Utils,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tDefaults = __webpack_require__(30).Defaults;\n\t\n\tSimulator = __webpack_require__(44).Simulator;\n\t\n\tIntegrator = __webpack_require__(34).Integrator;\n\t\n\texports.FrictionSimulator = (function(superClass) {\n\t  extend(FrictionSimulator, superClass);\n\t\n\t  function FrictionSimulator() {\n\t    this.finished = bind(this.finished, this);\n\t    return FrictionSimulator.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  FrictionSimulator.prototype.setup = function(options) {\n\t    this.options = Defaults.getDefaults(\"FrictionSimulator\", options);\n\t    this.options = _.defaults(options, {\n\t      velocity: 0,\n\t      position: 0\n\t    });\n\t    this._state = {\n\t      x: this.options.position,\n\t      v: this.options.velocity\n\t    };\n\t    return this._integrator = new Integrator((function(_this) {\n\t      return function(state) {\n\t        return -(_this.options.friction * state.v);\n\t      };\n\t    })(this));\n\t  };\n\t\n\t  FrictionSimulator.prototype.next = function(delta) {\n\t    this._state = this._integrator.integrateState(this._state, delta);\n\t    return this._state;\n\t  };\n\t\n\t  FrictionSimulator.prototype.finished = function() {\n\t    return Math.abs(this._state.v) < this.options.tolerance;\n\t  };\n\t\n\t  return FrictionSimulator;\n\t\n\t})(Simulator);\n\n\n/***/ },\n/* 43 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Defaults, FrictionSimulator, Simulator, SpringSimulator, Utils,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tDefaults = __webpack_require__(30).Defaults;\n\t\n\tSimulator = __webpack_require__(44).Simulator;\n\t\n\tSpringSimulator = __webpack_require__(41).SpringSimulator;\n\t\n\tFrictionSimulator = __webpack_require__(42).FrictionSimulator;\n\t\n\texports.MomentumBounceSimulator = (function(superClass) {\n\t  extend(MomentumBounceSimulator, superClass);\n\t\n\t  function MomentumBounceSimulator() {\n\t    this.finished = bind(this.finished, this);\n\t    return MomentumBounceSimulator.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  MomentumBounceSimulator.prototype.setup = function(options) {\n\t    this.options = Defaults.getDefaults(\"MomentumBounceSimulator\", options);\n\t    this.options = _.defaults(options, {\n\t      velocity: 0,\n\t      position: 0,\n\t      min: 0,\n\t      max: 0\n\t    });\n\t    this._frictionSimulator = new FrictionSimulator({\n\t      friction: this.options.momentum.friction,\n\t      tolerance: this.options.momentum.tolerance,\n\t      velocity: this.options.velocity,\n\t      position: this.options.position\n\t    });\n\t    this._springSimulator = new SpringSimulator({\n\t      tension: this.options.bounce.tension,\n\t      friction: this.options.bounce.friction,\n\t      tolerance: this.options.bounce.tolerance,\n\t      velocity: this.options.velocity,\n\t      position: this.options.position\n\t    });\n\t    this._state = {\n\t      x: this.options.position,\n\t      v: this.options.velocity\n\t    };\n\t    return this._useSpring = false;\n\t  };\n\t\n\t  MomentumBounceSimulator.prototype.next = function(delta) {\n\t    if (this._useSpring) {\n\t      this._state = this._springSimulator.next(delta);\n\t    } else {\n\t      this._state = this._frictionSimulator.next(delta);\n\t      this._tryTransitionToSpring(this._state);\n\t    }\n\t    return this._state;\n\t  };\n\t\n\t  MomentumBounceSimulator.prototype.finished = function() {\n\t    if (this._useSpring) {\n\t      return this._springSimulator.finished();\n\t    }\n\t    return this._frictionSimulator.finished();\n\t  };\n\t\n\t  MomentumBounceSimulator.prototype.setState = function(state) {\n\t    var bound;\n\t    this._state = {\n\t      x: state.x,\n\t      v: state.v\n\t    };\n\t    this._frictionSimulator.setState(this._state);\n\t    if (this._isValidState()) {\n\t      return this._tryTransitionToSpring();\n\t    } else {\n\t      if (this._state.x <= this.options.min) {\n\t        bound = this.options.min;\n\t      }\n\t      if (this._state.x >= this.options.max) {\n\t        bound = this.options.max;\n\t      }\n\t      return this._transitionToSpring(bound);\n\t    }\n\t  };\n\t\n\t  MomentumBounceSimulator.prototype._tryTransitionToSpring = function(force) {\n\t    var aboveMaxWithVelocity, belowMinWithVelocity, bound;\n\t    belowMinWithVelocity = this._state.x < this.options.min && this._state.v <= 0;\n\t    aboveMaxWithVelocity = this._state.x > this.options.max && this._state.v >= 0;\n\t    if (belowMinWithVelocity || aboveMaxWithVelocity) {\n\t      if (belowMinWithVelocity) {\n\t        bound = this.options.min;\n\t      }\n\t      if (aboveMaxWithVelocity) {\n\t        bound = this.options.max;\n\t      }\n\t      return this._transitionToSpring(bound);\n\t    } else {\n\t      return this._useSpring = false;\n\t    }\n\t  };\n\t\n\t  MomentumBounceSimulator.prototype._transitionToSpring = function(bound) {\n\t    this._useSpring = true;\n\t    this._springSimulator.options.offset = bound;\n\t    return this._springSimulator.setState(this._state);\n\t  };\n\t\n\t  MomentumBounceSimulator.prototype._isValidState = function() {\n\t    var aboveMaxTravelingBack, belowMinTravelingBack, bound, check, friction, solution;\n\t    belowMinTravelingBack = this._state.x < this.options.min && this._state.v > 0;\n\t    aboveMaxTravelingBack = this._state.x > this.options.max && this._state.v < 0;\n\t    check = false;\n\t    if (belowMinTravelingBack) {\n\t      bound = this.options.min;\n\t      check = true;\n\t    } else if (aboveMaxTravelingBack) {\n\t      bound = this.options.max;\n\t      check = true;\n\t    }\n\t    if (check) {\n\t      friction = this._frictionSimulator.options.friction;\n\t      solution = 1 - (friction * (bound - this._state.x)) / this._state.v;\n\t      return solution > 0;\n\t    }\n\t    return true;\n\t  };\n\t\n\t  return MomentumBounceSimulator;\n\t\n\t})(Simulator);\n\n\n/***/ },\n/* 44 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar BaseClass, Config, Utils, _,\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tConfig = __webpack_require__(17).Config;\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\texports.Simulator = (function(superClass) {\n\t  \"The simulator class runs a physics simulation based on a set of input values \\nat setup({input values}), and emits an output state {x, v}\";\n\t  extend(Simulator, superClass);\n\t\n\t  Simulator.define(\"state\", {\n\t    get: function() {\n\t      return _.clone(this._state);\n\t    },\n\t    set: function(state) {\n\t      return this._state = _.clone(state);\n\t    }\n\t  });\n\t\n\t  function Simulator(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this._state = {\n\t      x: 0,\n\t      v: 0\n\t    };\n\t    this.options = null;\n\t    this.setup(options);\n\t  }\n\t\n\t  Simulator.prototype.setup = function(options) {\n\t    throw Error(\"Not implemented\");\n\t  };\n\t\n\t  Simulator.prototype.next = function(delta) {\n\t    throw Error(\"Not implemented\");\n\t  };\n\t\n\t  Simulator.prototype.finished = function() {\n\t    throw Error(\"Not implemented\");\n\t  };\n\t\n\t  return Simulator;\n\t\n\t})(BaseClass);\n\n\n/***/ },\n/* 45 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = function(module) {\r\n\t\tif(!module.webpackPolyfill) {\r\n\t\t\tmodule.deprecate = function() {};\r\n\t\t\tmodule.paths = [];\r\n\t\t\t// module.parent = undefined by default\r\n\t\t\tmodule.children = [];\r\n\t\t\tmodule.webpackPolyfill = 1;\r\n\t\t}\r\n\t\treturn module;\r\n\t}\r\n\n\n/***/ }\n/******/ ]);\n//# sourceMappingURL=framer.js.map"
  },
  {
    "path": "Example Codes/Framer/Diary.framer/framer/framer.js.map.old",
    "content": "{\"version\":3,\"sources\":[\"webpack:///webpack/bootstrap 292b4a3f9449c3aa8127\",\"webpack:///./framer/Framer.coffee\",\"webpack:///./framer/Underscore.coffee\",\"webpack:///./framer/Utils.coffee\",\"webpack:///./framer/Layer.coffee\",\"webpack:///./framer/BackgroundLayer.coffee\",\"webpack:///./framer/VideoLayer.coffee\",\"webpack:///./framer/Events.coffee\",\"webpack:///./framer/Animation.coffee\",\"webpack:///./framer/AnimationGroup.coffee\",\"webpack:///./framer/Screen.coffee\",\"webpack:///./framer/Canvas.coffee\",\"webpack:///./framer/Print.coffee\",\"webpack:///./framer/Components/ScrollComponent.coffee\",\"webpack:///./framer/Components/PageComponent.coffee\",\"webpack:///./framer/Components/SliderComponent.coffee\",\"webpack:///./framer/Components/DeviceComponent.coffee\",\"webpack:///./framer/Context.coffee\",\"webpack:///./framer/Config.coffee\",\"webpack:///./framer/EventEmitter.coffee\",\"webpack:///./framer/BaseClass.coffee\",\"webpack:///./framer/LayerStyle.coffee\",\"webpack:///./framer/AnimationLoop.coffee\",\"webpack:///./framer/Animators/LinearAnimator.coffee\",\"webpack:///./framer/Animators/BezierCurveAnimator.coffee\",\"webpack:///./framer/Animators/SpringDHOAnimator.coffee\",\"webpack:///./framer/Animators/SpringRK4Animator.coffee\",\"webpack:///./framer/LayerDraggable.coffee\",\"webpack:///./framer/Importer.coffee\",\"webpack:///./framer/Debug.coffee\",\"webpack:///./framer/Extras/Extras.coffee\",\"webpack:///./framer/Defaults.coffee\",\"webpack:///./framer/LayerStates.coffee\",\"webpack:///./framer/EventManager.coffee\",\"webpack:///./framer/Animator.coffee\",\"webpack:///./framer/Integrator.coffee\",\"webpack:///./framer/Simulation.coffee\",\"webpack:///./framer/EventBuffer.coffee\",\"webpack:///./framer/Extras/MobileScrollFix.coffee\",\"webpack:///./framer/Extras/OmitNew.coffee\",\"webpack:///./~/lodash/index.js\",\"webpack:///./~/eventemitter3/index.js\",\"webpack:///./framer/Simulators/SpringSimulator.coffee\",\"webpack:///./framer/Simulators/FrictionSimulator.coffee\",\"webpack:///./framer/Simulators/MomentumBounceSimulator.coffee\",\"webpack:///./framer/Simulator.coffee\",\"webpack:///(webpack)/buildin/module.js\"],\"names\":[],\"mappings\":\"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M,CAAC,eAAP,GAAyB,aAAa,MAAM,CAAC,eAApB,CALzB;AAAA,GAMA,MAAM,CAAC,UAAP,GAAoB,aAAa,MAAM,CAAC,UAApB,CANpB;UAOA,MAAM,CAAC,SAAP,GAAmB,aAAa,MAAM,CAAC,SAApB,EATH;AAAA,EAAjB;;;;;;;mCCAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;;AAED;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,4CAA2C;AAC3C;AACA,4DAA2D;;AAE3D;AACA,oDAAmD;AACnD;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,iCAAgC;AAChC;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,2BAA0B,MAAM,aAAa,OAAO;;AAEpD;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gBAAe;AACf,eAAc;AACd,eAAc;AACd,iBAAgB;AAChB,gBAAe;AACf,gBAAe;AACf;;AAEA;AACA;AACA,WAAU;AACV,UAAS;AACT,UAAS;AACT,YAAW;AACX,WAAU;AACV,WAAU;AACV;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa,EAAE;AACf,cAAa,EAAE;AACf,gBAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa,MAAM;AACnB,cAAa,SAAS;AACtB,cAAa,QAAQ;AACrB,gBAAe,OAAO;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAa,MAAM;AACnB,cAAa,EAAE;AACf,cAAa,OAAO;AACpB,gBAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa,EAAE;AACf,gBAAe,QAAQ;AACvB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa,EAAE;AACf,gBAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAa,OAAO;AACpB,gBAAe,OAAO;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa,OAAO;AACpB,cAAa,OAAO;AACpB,gBAAe,OAAO;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa,OAAO;AACpB,cAAa,OAAO;AACpB,gBAAe,OAAO;AACtB;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa,OAAO;AACpB,cAAa,OAAO;AACpB,gBAAe,OAAO;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa,OAAO;AACpB,cAAa,OAAO;AACpB,cAAa,UAAU;AACvB,gBAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAa,OAAO;AACpB,gBAAe,OAAO;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAa,OAAO;AACpB,gBAAe,OAAO;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa,OAAO;AACpB,gBAAe,OAAO;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAa,MAAM;AACnB,cAAa,OAAO;AACpB,cAAa,QAAQ;AACrB,gBAAe,OAAO;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAa,EAAE;AACf,gBAAe,QAAQ;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa,OAAO;AACpB,gBAAe,QAAQ;AACvB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa,MAAM;AACnB,cAAa,EAAE;AACf,gBAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa,MAAM;AACnB,cAAa,SAAS;AACtB,gBAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa,OAAO;AACpB,gBAAe,OAAO;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa,OAAO;AACpB,gBAAe,OAAO;AACtB;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAa,OAAO;AACpB,gBAAe,OAAO;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa,OAAO;AACpB,gBAAe,SAAS;AACxB;AACA;AACA,eAAc,2BAA2B;AACzC;AACA;AACA,oBAAmB,gCAAgC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB;AACjB;AACA,OAAM;AACN;AACA;AACA,kCAAiC,6BAA6B;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA0C,SAAS;AACnD;AACA;AACA,QAAO;AACP;AACA,cAAa,oBAAoB,EAAE;AACnC;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,gBAAe,QAAQ;AACvB,gBAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,8BAA6B,YAAY,EAAE;AAC3C;AACA,qBAAoB,sBAAsB;AAC1C;;AAEA,yBAAwB;AACxB,kCAAiC,iBAAiB;;AAElD;AACA;AACA;AACA,4BAA2B;AAC3B;AACA;AACA;AACA;AACA,wDAAuD,aAAa,EAAE;;AAEtE;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA,cAAa;AACb;AACA;AACA,gBAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB;AACA;AACA;;AAEA,oBAAmB;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,SAAS;AACxB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,SAAS;AACxB,kBAAiB,MAAM;AACvB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,SAAS;AACxB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,SAAS;AACxB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,SAAS;AACxB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,gBAAe,QAAQ;AACvB;AACA,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,gBAAe,QAAQ;AACvB;AACA,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,SAAS;AACxB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,gBAAe,EAAE;AACjB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,gBAAe,EAAE;AACjB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,aAAa;AAC5B,gBAAe,kBAAkB;AACjC,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,MAAM;AACrB,gBAAe,OAAO,WAAW;AACjC,kBAAiB,OAAO;AACxB;AACA;AACA,6BAA4B;;AAE5B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,gBAAe,EAAE;AACjB,gBAAe,OAAO;AACtB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,gBAAe,QAAQ;AACvB,gBAAe,SAAS;AACxB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA,+CAA8C;AAC9C;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,mCAAkC;AAClC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA,qCAAoC,6BAA6B,EAAE;AACnE;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,SAAS;AACxB,kBAAiB,oBAAoB;AACrC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,SAAS;AACxB,kBAAiB,oBAAoB;AACrC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,SAAS;AACxB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,EAAE;AACjB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,MAAM;AACvB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,SAAS;AACxB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,SAAS;AACxB,gBAAe,SAAS;AACxB,gBAAe,QAAQ;AACvB;AACA,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,QAAQ;AACvB,gBAAe,QAAQ;AACvB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,gBAAe,SAAS;AACxB,kBAAiB,OAAO;AACxB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,gBAAe,SAAS;AACxB,kBAAiB,OAAO;AACxB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,MAAM;AACrB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,MAAM;AACrB,gBAAe,OAAO;AACtB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,gBAAe,EAAE;AACjB,gBAAe,SAAS;AACxB,gBAAe,QAAQ;AACvB,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,gBAAe,SAAS;AACxB,gBAAe,QAAQ;AACvB,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,gBAAe,SAAS;AACxB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,SAAS;AACxB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,EAAE;AACjB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,gBAAe,SAAS;AACxB,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAgD;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,aAAa;AAC5B,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,SAAS;AACxB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,gBAAe,QAAQ;AACvB;AACA,gBAAe,SAAS;AACxB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,SAAS;AACxB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,SAAS;AACxB,kBAAiB,MAAM;AACvB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,6BAA6B;AAC5C,gBAAe,UAAU;AACzB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;;AAEA,2DAA0D,2BAA2B,EAAE;;AAEvF;AACA,gEAA+D,wBAAwB,EAAE;AACzF,iBAAgB;AAChB,QAAO;;AAEP;AACA;AACA,QAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,SAAS;AACxB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,SAAS;AACxB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,MAAM;AACrB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,SAAS;AACxB,gBAAe,QAAQ;AACvB,gBAAe,QAAQ;AACvB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,gBAAe,MAAM;AACrB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,EAAE;AACjB,gBAAe,QAAQ;AACvB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,8CAA6C;AAC7C;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,EAAE;AACjB,gBAAe,SAAS;AACxB,gBAAe,QAAQ;AACvB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAS;AACT;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,gBAAe,OAAO;AACtB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,YAAY;AAC3B,kBAAiB,YAAY;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,aAAa;AAC5B,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,aAAa;AAC5B,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,SAAS;AACxB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;;AAEA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,QAAQ;AACvB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,QAAQ;AACvB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,SAAS;AAC1B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,kBAAiB,YAAY;AAC7B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,QAAQ;AACvB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,QAAQ;AACvB;AACA,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,QAAQ;AACvB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,QAAQ;AACvB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,QAAQ;AACvB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA,8BAA6B,qBAAqB;AAClD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,SAAS;AACxB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,QAAQ;AACvB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,QAAQ;AACvB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,QAAQ;AACvB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,SAAS;AACxB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,gBAAgB;AAC/B,gBAAe,OAAO;AACtB,gBAAe,EAAE;AACjB,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,OAAO;AACtB,gBAAe,EAAE;AACjB,gBAAe,MAAM;AACrB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,QAAQ;AACvB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,gBAAgB;AAC/B,gBAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,QAAO;AACP;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,gBAAe,SAAS;AACxB,gBAAe,SAAS;AACxB,gBAAe,QAAQ;AACvB,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,gBAAe,SAAS;AACxB,gBAAe,QAAQ;AACvB,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,SAAS;AACxB,gBAAe,QAAQ;AACvB;AACA,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB,gBAAgB;AACjC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,EAAE;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,MAAM;AACrB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,2CAA0C;AAC1C,yCAAwC;AACxC,gEAA+D;AAC/D,kEAAiE;AACjE;AACA;AACA,eAAc;AACd;;AAEA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,QAAQ;AACvB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,aAAa;AAC5B,gBAAe,MAAM;AACrB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,gBAAe,OAAO;AACtB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,gBAAe,EAAE;AACjB,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,gBAAe,OAAO;AACtB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,kBAAiB,OAAO;AACxB;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,aAAa;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,OAAO;AACtB,iBAAgB,OAAO;AACvB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,SAAS;AACxB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,OAAO;AACtB,iBAAgB,OAAO;AACvB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,OAAO;AACtB,iBAAgB,OAAO;AACvB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA,WAAU,oCAAoC;AAC9C,WAAU,qCAAqC;AAC/C,WAAU;AACV;AACA;AACA;AACA,yCAAwC,qCAAqC;AAC7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA,WAAU,qCAAqC;AAC/C,WAAU,qCAAqC;AAC/C,WAAU;AACV;AACA;AACA;AACA,oCAAmC,oCAAoC;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,EAAE;AACjB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA,WAAU,qCAAqC;AAC/C,WAAU,qCAAqC;AAC/C,WAAU;AACV;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA,4BAA2B,kCAAkC;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA,WAAU,oCAAoC;AAC9C,WAAU,qCAAqC;AAC/C,WAAU;AACV;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA,gCAA+B,mCAAmC;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,QAAQ;AACvB,iBAAgB,OAAO;AACvB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,EAAE;AACjB,gBAAe,eAAe;AAC9B;AACA,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,EAAE;AACjB,gBAAe,eAAe;AAC9B;AACA,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,KAAK;AACpB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,qBAAqB;AACpC;AACA,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,kCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,EAAE;AACjB,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAmB,UAAU,yCAAyC;AACtE;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA,wBAAuB,UAAU,GAAG,UAAU,IAAI,UAAU;AAC5D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,EAAE;AACjB,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,OAAO;AACtB,iBAAgB,OAAO;AACvB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,OAAO;AACtB,iBAAgB,OAAO;AACvB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA,WAAU,oCAAoC;AAC9C,WAAU,qCAAqC;AAC/C,WAAU;AACV;AACA;AACA;AACA,yCAAwC,qCAAqC;AAC7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA,WAAU,qCAAqC;AAC/C,WAAU,oCAAoC;AAC9C,WAAU;AACV;AACA;AACA;AACA,oCAAmC,oCAAoC;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,QAAQ;AACvB,gBAAe,uBAAuB;AACtC,gBAAe,EAAE;AACjB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA,iBAAgB,SAAS,GAAG,SAAS,GAAG,SAAS;AACjD,gBAAe,SAAS,GAAG,SAAS;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,KAAK;AACpB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,iCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,MAAM;AACrB,gBAAe,MAAM;AACrB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA,eAAc;AACd;AACA;AACA,eAAc;AACd;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA,WAAU,+BAA+B;AACzC,WAAU,+BAA+B;AACzC,WAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA,WAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,yDAAwD;AACxD;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB,OAAO;AACxB;AACA;AACA;AACA,WAAU,8BAA8B;AACxC,WAAU;AACV;AACA;AACA;AACA;AACA,eAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA,eAAc;AACd;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,qCAAqC;AACpD;AACA,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA,SAAQ;AACR,eAAc;AACd;AACA;AACA;AACA,SAAQ;AACR,eAAc;AACd;AACA;AACA,eAAc;AACd;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAU,oCAAoC;AAC9C,WAAU;AACV;AACA;AACA;AACA,wBAAuB,oCAAoC;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA,WAAU,8CAA8C;AACxD,WAAU;AACV;AACA;AACA;AACA,iCAAgC,4BAA4B;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA,WAAU,+CAA+C;AACzD,WAAU,gDAAgD;AAC1D,WAAU;AACV;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA,gCAA+B,2BAA2B;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,OAAO;AACtB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA,WAAU,8CAA8C;AACxD,WAAU;AACV;AACA;AACA,qCAAoC,4BAA4B;AAChE;AACA;AACA,qCAAoC,6BAA6B;AACjE;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,oBAAoB;AACrC;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA,mBAAkB,iBAAiB;AACnC;AACA,SAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,oBAAoB;AACrC;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA,SAAQ;AACR,eAAc;AACd;AACA;AACA;AACA,SAAQ;AACR,eAAc;AACd;AACA;AACA;AACA,eAAc;AACd;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,EAAE;AACjB,gBAAe,OAAO;AACtB,iBAAgB,OAAO;AACvB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAmB,4BAA4B;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA,WAAU,4BAA4B;AACtC,WAAU;AACV;AACA;AACA;AACA,eAAc,UAAU,4BAA4B,YAAY,8BAA8B;AAC9F;AACA;AACA;AACA,SAAQ;AACR,eAAc,OAAO,4BAA4B,QAAQ,8BAA8B;AACvF;AACA;AACA;AACA,SAAQ;AACR,eAAc,OAAO,4BAA4B,QAAQ,8BAA8B;AACvF;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,sBAAsB;AACrC;AACA,gBAAe,KAAK;AACpB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAc,iBAAiB;AAC/B;AACA;AACA;AACA,WAAU,mBAAmB;AAC7B,WAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA,WAAU,gDAAgD;AAC1D,WAAU,+CAA+C;AACzD,WAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAiC,4BAA4B;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK,cAAc,iBAAiB,EAAE;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,aAAa;AAC5B,kBAAiB,MAAM;AACvB;AACA;AACA;AACA,WAAU,8BAA8B;AACxC,WAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,gBAAe,EAAE;AACjB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA,kBAAiB,iBAAiB;AAClC;AACA;AACA,SAAQ,IAAI;AACZ,eAAc,iBAAiB;AAC/B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,gBAAe,EAAE;AACjB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;;AAEA;AACA,mCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA,WAAU,+CAA+C;AACzD,WAAU;AACV;AACA;AACA;AACA,iCAAgC,4BAA4B;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,OAAO;AACtB,iBAAgB,OAAO;AACvB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA,gBAAe,iBAAiB;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAU,mCAAmC;AAC7C,WAAU;AACV;AACA;AACA;AACA,uBAAsB,oCAAoC;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA,WAAU,iBAAiB;AAC3B,WAAU,oBAAoB;AAC9B,WAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAgB;AAChB,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,yDAAyD;AACxE;AACA,kBAAiB,MAAM;AACvB;AACA;AACA;AACA,WAAU,8BAA8B;AACxC,WAAU,8BAA8B;AACxC,WAAU,8BAA8B;AACxC,WAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,6BAA6B;AAC5C,gBAAe,UAAU;AACzB,iBAAgB,OAAO;AACvB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA,WAAU,8BAA8B;AACxC,WAAU,8BAA8B;AACxC,WAAU,8BAA8B;AACxC,WAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,OAAO;AACtB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA,WAAU,kEAAkE;AAC5E,WAAU;AACV;AACA;AACA,gCAA+B,6BAA6B;AAC5D;AACA;AACA,gCAA+B,mBAAmB;AAClD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;;AAEA;AACA,mCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA,qBAAoB,iCAAiC;AACrD,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,OAAO;AACtB,iBAAgB,OAAO;AACvB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,gBAAe,KAAK;AACpB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA,sBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,qBAAqB;AACpC;AACA,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,KAAK;AACpB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,OAAO;AACtB,iBAAgB,OAAO;AACvB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,OAAO;AACtB,iBAAgB,OAAO;AACvB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,QAAQ;AACvB;AACA,gBAAe,OAAO;AACtB;AACA,gBAAe,QAAQ;AACvB;AACA,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA,+BAA8B,kCAAkC;AAChE;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,KAAK;AACpB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,OAAO;AACtB,gBAAe,KAAK;AACpB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,YAAY;AAC3B,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,YAAY;AAC3B,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,SAAS;AACxB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAqB;AACrB,qBAAoB;AACpB;AACA;AACA;AACA,eAAc;AACd;AACA,eAAc;AACd;AACA;AACA;AACA;AACA;AACA,eAAc;AACd;AACA,eAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,KAAK;AACpB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,KAAK;AACpB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,qBAAqB;AACpC;AACA,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,OAAO;AACtB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,QAAQ;AACvB;AACA,gBAAe,QAAQ;AACvB;AACA,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,gBAAe,SAAS;AACxB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA,qCAAoC;AACpC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gDAA+C;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,gBAAe,QAAQ;AACvB,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA,WAAU,mBAAmB;AAC7B,WAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,sCAAqC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA,WAAU,mBAAmB;AAC7B,WAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA,kCAAiC,kBAAkB,EAAE;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA,8BAA6B,kBAAkB,EAAE;AACjD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAkB,SAAS;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,gBAAe,EAAE;AACjB,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA,sBAAqB;AACrB,qBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA,qBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA,sBAAqB;AACrB;AACA,2BAA0B,YAAY;AACtC;AACA;AACA,2BAA0B,YAAY;AACtC;AACA;AACA;AACA,sBAAqB;AACrB,sBAAqB;AACrB;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAwB,iBAAiB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB,SAAS;AAC1B,eAAc;AACd;AACA,kBAAiB,SAAS;AAC1B,eAAc;AACd;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,UAAU;AACzB,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA,kBAAiB,mBAAmB,GAAG,YAAY,GAAG,iBAAiB;AACvE,eAAc;AACd;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA,kBAAiB,mBAAmB,GAAG,YAAY,GAAG,iBAAiB;AACvE,eAAc;AACd;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,iBAAgB,OAAO;AACvB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,UAAU;AACzB,kBAAiB,OAAO;AACxB;AACA;AACA,oBAAmB,mBAAmB,GAAG,YAAY,GAAG,iBAAiB;AACzE,eAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,iBAAiB;AAClC;AACA;AACA;AACA,sBAAqB,4BAA4B;AACjD,sBAAqB,6BAA6B;AAClD,sBAAqB;AACrB;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA,0BAAyB,2BAA2B;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,iBAAiB;AAClC;AACA;AACA;AACA,sBAAqB,4BAA4B;AACjD,sBAAqB,6BAA6B;AAClD,sBAAqB;AACrB;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA,8BAA6B,4BAA4B;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,aAAa;AAC5B,gBAAe,EAAE;AACjB,kBAAiB,EAAE;AACnB;AACA;AACA,sBAAqB,QAAQ,OAAO,SAAS,EAAE;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,aAAa;AAC5B,kBAAiB,QAAQ;AACzB;AACA;AACA,sBAAqB,OAAO,OAAO,SAAS,EAAE;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,QAAQ;AACvB,iBAAgB,OAAO;AACvB,kBAAiB,OAAO;AACxB;AACA;AACA,sBAAqB;AACrB;AACA;AACA,eAAc;AACd;AACA;AACA;AACA,eAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,sCAAqC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA,mBAAkB,iBAAiB;AACnC;AACA,SAAQ;AACR,eAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,uBAAuB;AACtC;AACA,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA,qBAAoB,iBAAiB;AACrC;AACA,SAAQ;AACR,eAAc;AACd;AACA;AACA,sBAAqB,+BAA+B;AACpD,sBAAqB;AACrB;AACA;AACA;AACA;AACA,eAAc,2BAA2B;AACzC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,UAAU;AACzB,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA,oBAAmB,mBAAmB,GAAG,iBAAiB;AAC1D;AACA;AACA;AACA,oBAAmB,YAAY,GAAG,YAAY;AAC9C;AACA;AACA;AACA,eAAc,WAAW,8BAA8B,GAAG,4BAA4B;AACtF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR,eAAc;AACd;AACA;;AAEA;AACA,iCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,8BAA8B;AAC7C;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA,sBAAqB;AACrB;AACA;AACA,eAAc;AACd;AACA;AACA,eAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,MAAM;AACvB;AACA;AACA,iBAAgB,2BAA2B;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,8BAA8B;AAC7C;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA,sBAAqB;AACrB;AACA;AACA,eAAc;AACd;AACA;AACA,eAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,aAAa;AAC5B,gBAAe,EAAE;AACjB,kBAAiB,EAAE;AACnB;AACA;AACA,sBAAqB,QAAQ,OAAO,+BAA+B,EAAE;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,aAAa;AAC5B,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA,sBAAqB,QAAQ,OAAO,SAAS,EAAE;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qCAAoC;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,aAAa;AAC5B,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,gBAAe,EAAE;AACjB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA,qBAAoB,iBAAiB;AACrC;AACA,SAAQ;AACR,eAAc;AACd;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,QAAQ;AACvB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA,kCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,wCAAuC,QAAQ;AAC/C;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,iBAAgB,OAAO;AACvB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;;AAEP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,iBAAgB,OAAO;AACvB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA,kBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA,kBAAiB,sBAAsB;AACvC,sBAAqB,UAAU;AAC/B;AACA;AACA,uEAAsE,2BAA2B,EAAE;AACnG,kBAAiB,8BAA8B;AAC/C;AACA;AACA;AACA,6DAA4D;AAC5D,kBAAiB,mBAAmB;AACpC;AACA;AACA;AACA,2CAA0C,OAAO;AACjD,kBAAiB,oBAAoB;AACrC;AACA;AACA;AACA,4CAA2C,YAAY;AACvD,2CAA0C,QAAQ;AAClD,kBAAiB,qBAAqB;AACtC;AACA;AACA;AACA;AACA,kBAAiB,qBAAqB;AACtC;AACA;AACA;AACA,sDAAqD,2BAA2B,EAAE;AAClF,yCAAwC,aAAa,eAAe,EAAE;AACtE,kBAAiB,8BAA8B;AAC/C;AACA;AACA;AACA,yDAAwD,qCAAqC;AAC7F;AACA;AACA;AACA;AACA,2DAA0D,qBAAqB;AAC/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAoB;AACpB;AACA,YAAW;AACX;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,yCAAwC;;AAExC,6CAA4C;AAC5C;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAuB,wBAAwB;AAC/C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAO;;AAEP,oBAAmB;;AAEnB;AACA;AACA;AACA;AACA,+BAA8B,mBAAmB;AACjD;AACA;AACA;AACA;AACA,6CAA4C;;AAE5C;AACA,wDAAuD;AACvD;AACA;AACA,8BAA6B,EAAE;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA0C;AAC1C,gCAA+B,iCAAiC;AAChE,eAAc;AACd;AACA;AACA,uBAAsB;;AAEtB;AACA;AACA,QAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,iBAAgB,OAAO;AACvB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,iBAAgB,OAAO;AACvB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,iBAAgB,OAAO;AACvB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,cAAc;AAC7B,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,cAAc;AAC7B,iBAAgB,OAAO;AACvB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kCAAiC;AACjC,cAAa,QAAQ,QAAQ,UAAU,SAAS,aAAa;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA,uCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,cAAc;AAC7B,iBAAgB,OAAO;AACvB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,SAAS;AACxB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,gBAAe,EAAE;AACjB,iBAAgB,OAAO;AACvB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA,WAAU,8BAA8B;AACxC,WAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA,gBAAe,4BAA4B;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,SAAS;AAC1B;AACA;AACA,sBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,EAAE;AACjB,kBAAiB,EAAE;AACnB;AACA;AACA,sBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA,WAAU,8CAA8C;AACxD,WAAU;AACV;AACA;AACA,mCAAkC,6BAA6B;AAC/D,gBAAe,6CAA6C;AAC5D;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,aAAa;AAC5B,gBAAe,EAAE;AACjB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA,WAAU,mBAAmB;AAC7B,WAAU;AACV;AACA;AACA;AACA,eAAc;AACd;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,aAAa;AAC5B,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA,WAAU,OAAO,OAAO,qBAAqB,EAAE,EAAE;AACjD,WAAU,OAAO,OAAO,qBAAqB,EAAE;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA,mCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA,sBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,gBAAgB;AAC/B,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,QAAQ;AACvB;AACA,kBAAiB,gBAAgB;AACjC;AACA;AACA;AACA;AACA;AACA,WAAU;AACV;AACA;AACA;AACA;AACA;AACA,iBAAgB,mBAAmB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA,iBAAgB,mBAAmB,GAAG,iBAAiB;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,+BAA8B,qDAAqD;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,aAAa;AAC5B,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA,WAAU,OAAO,OAAO,SAAS,EAAE,EAAE;AACrC,WAAU,OAAO,OAAO,SAAS,EAAE;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qCAAoC;AACpC;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,SAAS;AAC1B;AACA;AACA;AACA,sBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,qBAAoB;AACpB;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,SAAS;AACxB,gBAAe,EAAE;AACjB,kBAAiB,MAAM;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,OAAO;AACtB,gBAAe,OAAO;AACtB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,uBAAuB;AACtC,gBAAe,EAAE;AACjB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAU,8BAA8B;AACxC,WAAU;AACV;AACA;AACA;AACA;AACA,SAAQ;AACR,eAAc;AACd;AACA;AACA;AACA,eAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,uBAAuB;AACtC,gBAAe,EAAE;AACjB,kBAAiB,EAAE;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAU,8BAA8B;AACxC,WAAU;AACV;AACA;AACA;AACA;AACA,SAAQ;AACR,eAAc;AACd;AACA;AACA;AACA,eAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,oBAAoB;AACnC,gBAAe,uBAAuB;AACtC,gBAAe,EAAE;AACjB,kBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;AACA,eAAc,iBAAiB;AAC/B;AACA;AACA;AACA,WAAU,SAAS;AACnB,WAAU;AACV;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;AACA,MAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;;AAET;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW;AACX;AACA;AACA,UAAS;AACT;AACA,uBAAsB,sEAAsE;AAC5F;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA;AACA,QAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,2BAA0B,yDAAyD;AACnF;AACA;AACA;AACA;AACA;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT;AACA,MAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA,qBAAoB,yCAAyC;AAC7D;AACA,MAAK;;AAEL,kEAAiE,kCAAkC;;AAEnG;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;;;;;;;;ACz6XD;;AAEA;AACA;AACA;AACA,YAAW,SAAS;AACpB,YAAW,MAAM;AACjB,YAAW,QAAQ;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAAyB;;AAEzB;AACA;AACA;AACA,WAAU;AACV;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa;AACb;AACA;AACA;AACA;AACA;;AAEA,qEAAoE,OAAO;AAC3E;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAW,OAAO;AAClB,cAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,0CAAyC,SAAS;AAClD;AACA;;AAEA;AACA,IAAG;AACH;AACA;;AAEA,gBAAe,YAAY;AAC3B;;AAEA;AACA,4DAA2D;AAC3D,gEAA+D;AAC/D,oEAAmE;AACnE;AACA,2DAA0D,SAAS;AACnE;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,QAAQ;AACnB,YAAW,MAAM;AACjB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,SAAS;AACpB,YAAW,MAAM;AACjB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAW,OAAO;AAClB,YAAW,SAAS;AACpB,YAAW,QAAQ;AACnB;AACA;AACA;AACA;;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\",\"file\":\"framer.js\",\"sourcesContent\":[\" \\t// The module cache\\n \\tvar installedModules = {};\\n\\n \\t// The require function\\n \\tfunction __webpack_require__(moduleId) {\\n\\n \\t\\t// Check if module is in cache\\n \\t\\tif(installedModules[moduleId])\\n \\t\\t\\treturn installedModules[moduleId].exports;\\n\\n \\t\\t// Create a new module (and put it into the cache)\\n \\t\\tvar module = installedModules[moduleId] = {\\n \\t\\t\\texports: {},\\n \\t\\t\\tid: moduleId,\\n \\t\\t\\tloaded: false\\n \\t\\t};\\n\\n \\t\\t// Execute the module function\\n \\t\\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\\n\\n \\t\\t// Flag the module as loaded\\n \\t\\tmodule.loaded = true;\\n\\n \\t\\t// Return the exports of the module\\n \\t\\treturn module.exports;\\n \\t}\\n\\n\\n \\t// expose the modules object (__webpack_modules__)\\n \\t__webpack_require__.m = modules;\\n\\n \\t// expose the module cache\\n \\t__webpack_require__.c = installedModules;\\n\\n \\t// __webpack_public_path__\\n \\t__webpack_require__.p = \\\"\\\";\\n\\n \\t// Load entry module and return exports\\n \\treturn __webpack_require__(0);\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** webpack/bootstrap 292b4a3f9449c3aa8127\\n **/\",\"{_} = require \\\"./Underscore\\\"\\n\\nFramer = {}\\n\\n# Root level modules\\nFramer._ = _\\nFramer.Utils = (require \\\"./Utils\\\")\\nFramer.Layer = (require \\\"./Layer\\\").Layer\\nFramer.BackgroundLayer = (require \\\"./BackgroundLayer\\\").BackgroundLayer\\nFramer.VideoLayer = (require \\\"./VideoLayer\\\").VideoLayer\\nFramer.Events = (require \\\"./Events\\\").Events\\nFramer.Animation = (require \\\"./Animation\\\").Animation\\nFramer.AnimationGroup = (require \\\"./AnimationGroup\\\").AnimationGroup\\nFramer.Screen = (require \\\"./Screen\\\").Screen\\nFramer.Canvas = (require \\\"./Canvas\\\").Canvas\\nFramer.print = (require \\\"./Print\\\").print\\n\\n# Components\\nFramer.ScrollComponent = (require \\\"./Components/ScrollComponent\\\").ScrollComponent\\nFramer.PageComponent = (require \\\"./Components/PageComponent\\\").PageComponent\\nFramer.SliderComponent = (require \\\"./Components/SliderComponent\\\").SliderComponent\\nFramer.DeviceComponent = (require \\\"./Components/DeviceComponent\\\").DeviceComponent\\nFramer.DeviceView = Framer.DeviceComponent # Compat\\n\\n_.extend window, Framer if window\\n\\n# Framer level modules\\nFramer.Context = (require \\\"./Context\\\").Context\\nFramer.Config = (require \\\"./Config\\\").Config\\nFramer.EventEmitter = (require \\\"./EventEmitter\\\").EventEmitter\\nFramer.BaseClass = (require \\\"./BaseClass\\\").BaseClass\\nFramer.LayerStyle = (require \\\"./LayerStyle\\\").LayerStyle\\nFramer.AnimationLoop = (require \\\"./AnimationLoop\\\").AnimationLoop\\nFramer.LinearAnimator = (require \\\"./Animators/LinearAnimator\\\").LinearAnimator\\nFramer.BezierCurveAnimator = (require \\\"./Animators/BezierCurveAnimator\\\").BezierCurveAnimator\\nFramer.SpringDHOAnimator = (require \\\"./Animators/SpringDHOAnimator\\\").SpringDHOAnimator\\nFramer.SpringRK4Animator = (require \\\"./Animators/SpringRK4Animator\\\").SpringRK4Animator\\nFramer.LayerDraggable = (require \\\"./LayerDraggable\\\").LayerDraggable\\nFramer.Importer = (require \\\"./Importer\\\").Importer\\nFramer.Debug = (require \\\"./Debug\\\").Debug\\nFramer.Extras = require \\\"./Extras/Extras\\\"\\n\\nFramer.Loop = new Framer.AnimationLoop()\\nUtils.domComplete Framer.Loop.start\\n\\nwindow.Framer = Framer if window\\n\\nFramer.DefaultContext = new Framer.Context(name:\\\"Default\\\")\\nFramer.CurrentContext = Framer.DefaultContext\\n\\n# Fix for mobile scrolling\\nFramer.Extras.MobileScrollFix.enable() if Utils.isMobile()\\n\\n# Set the defaults\\nDefaults = (require \\\"./Defaults\\\").Defaults\\nDefaults.setup()\\nFramer.resetDefaults = Defaults.reset\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Framer.coffee\\n **/\",\"# This allows us to switch out the underscore utility library\\nexports._ = require \\\"lodash\\\"\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Underscore.coffee\\n **/\",\"{_} = require \\\"./Underscore\\\"\\n{Screen} = require \\\"./Screen\\\"\\n\\nUtils = {}\\n\\nUtils.reset = ->\\n\\tFramer.CurrentContext.reset()\\n\\nUtils.getValue = (value) ->\\n\\treturn value() if _.isFunction value\\n\\treturn value\\n\\nUtils.getValueForKeyPath = (obj, key) ->\\n\\tresult = obj\\n\\treturn obj[key] if not \\\".\\\" in key\\n\\tresult = result[key] for key in key.split(\\\".\\\")\\n\\tresult\\n\\nUtils.setValueForKeyPath = (obj, path, val) ->\\n\\tfields = path.split('.')\\n\\tresult = obj\\n\\ti = 0\\n\\tn = fields.length\\n\\twhile i < n and result != undefined\\n\\t\\tfield = fields[i]\\n\\t\\tif i == n - 1\\n\\t\\t\\tresult[field] = val\\n\\t\\telse\\n\\t\\t\\tif typeof result[field] == 'undefined' or !_.isObject(result[field])\\n\\t\\t\\t\\tresult[field] = {}\\n\\t\\t\\tresult = result[field]\\n\\t\\ti++\\n\\treturn\\n\\nUtils.valueOrDefault = (value, defaultValue) ->\\n\\n\\tif value in [undefined, null]\\n\\t\\tvalue = defaultValue\\n\\n\\treturn value\\n\\nUtils.arrayNext = (arr, item) ->\\n\\tarr[arr.indexOf(item) + 1] or _.first arr\\n\\nUtils.arrayPrev = (arr, item) ->\\n\\tarr[arr.indexOf(item) - 1] or _.last arr\\n\\n\\n######################################################\\n# MATH\\n\\nUtils.sum = (arr) -> _.reduce arr, (a, b) -> a + b \\nUtils.average = (arr) -> Utils.sum(arr) / arr.length\\nUtils.mean = Utils.average\\nUtils.median = (x) ->\\n\\treturn null if x.length is 0\\n\\t\\n\\tsorted = x.slice().sort (a, b) ->\\n\\t\\ta - b\\n\\t\\n\\tif sorted.length % 2 is 1\\n\\t\\tsorted[(sorted.length - 1) / 2]\\n\\telse\\n\\t\\t(sorted[(sorted.length / 2) - 1] + sorted[sorted.length / 2]) / 2\\n\\n######################################################\\n# ANIMATION\\n\\n# This is a little hacky, but I want to avoid wrapping the function\\n# in another one as it gets called at 60 fps. So we make it a global.\\nwindow.requestAnimationFrame ?= window.webkitRequestAnimationFrame\\nwindow.requestAnimationFrame ?= (f) -> Utils.delay 1/60, f\\n\\n######################################################\\n# TIME FUNCTIONS\\n\\n# Note: in Framer 3 we try to keep all times in seconds\\n\\n# Used by animation engine, needs to be very performant\\nif window.performance\\n\\tUtils.getTime = -> window.performance.now() / 1000\\nelse\\n\\tUtils.getTime = -> Date.now() / 1000\\n\\nUtils.delay = (time, f) ->\\n\\ttimer = setTimeout(f, time * 1000)\\n\\tFramer.CurrentContext._delayTimers.push(timer)\\n\\treturn timer\\n\\t\\nUtils.interval = (time, f) ->\\n\\ttimer = setInterval(f, time * 1000)\\n\\tFramer.CurrentContext._delayIntervals.push(timer)\\n\\treturn timer\\n\\nUtils.debounce = (threshold=0.1, fn, immediate) ->\\n\\ttimeout = null\\n\\tthreshold *= 1000\\n\\t(args...) ->\\n\\t\\tobj = this\\n\\t\\tdelayed = ->\\n\\t\\t\\tfn.apply(obj, args) unless immediate\\n\\t\\t\\ttimeout = null\\n\\t\\tif timeout\\n\\t\\t\\tclearTimeout(timeout)\\n\\t\\telse if (immediate)\\n\\t\\t\\tfn.apply(obj, args)\\n\\t\\ttimeout = setTimeout delayed, threshold\\n\\nUtils.throttle = (delay, fn) ->\\n\\treturn fn if delay is 0\\n\\tdelay *= 1000\\n\\ttimer = false\\n\\treturn ->\\n\\t\\treturn if timer\\n\\t\\ttimer = true\\n\\t\\tsetTimeout (-> timer = false), delay unless delay is -1\\n\\t\\tfn arguments...\\n\\n# Taken from http://addyosmani.com/blog/faster-javascript-memoization/\\nUtils.memoize = (fn) -> ->\\n\\targs = Array::slice.call(arguments)\\n\\thash = \\\"\\\"\\n\\ti = args.length\\n\\tcurrentArg = null\\n\\twhile i--\\n\\t\\tcurrentArg = args[i]\\n\\t\\thash += (if (currentArg is Object(currentArg)) then JSON.stringify(currentArg) else currentArg)\\n\\t\\tfn.memoize or (fn.memoize = {})\\n\\t(if (hash of fn.memoize) then fn.memoize[hash] else fn.memoize[hash] = fn.apply(this, args))\\n\\n\\n######################################################\\n# HANDY FUNCTIONS\\n\\nUtils.randomColor = (alpha = 1.0) ->\\n\\tc = -> parseInt(Math.random() * 255)\\n\\t\\\"rgba(#{c()}, #{c()}, #{c()}, #{alpha})\\\"\\n\\nUtils.randomChoice = (arr) ->\\n\\tarr[Math.floor(Math.random() * arr.length)]\\n\\nUtils.randomNumber = (a=0, b=1) ->\\n\\t# Return a random number between a and b\\n\\tUtils.mapRange Math.random(), 0, 1, a, b\\n\\nUtils.defineEnum = (names = [], offset = 0, geometric = 0) ->\\n\\tEnum = {}\\n\\tfor name, i in names\\n\\t\\tj = i\\n\\t\\tj = if ! offset    then j else j + offset\\n\\t\\tj = if ! geometric then j else Math.pow geometric, j\\n\\t\\tEnum[Enum[name] = j] = name\\n\\treturn Enum\\n\\nUtils.labelLayer = (layer, text, style={}) ->\\n\\t\\n\\tstyle = _.extend({\\n\\t\\tfont: \\\"10px/1em Menlo\\\"\\n\\t\\tlineHeight: \\\"#{layer.height}px\\\"\\n\\t\\ttextAlign: \\\"center\\\"\\n\\t\\tcolor: \\\"#fff\\\"\\n\\t}, style)\\n\\n\\tlayer.style = style\\n\\tlayer.html = text\\n\\nUtils.stringify = (obj) ->\\n\\ttry\\n\\t\\treturn JSON.stringify obj if _.isObject obj\\n\\tcatch\\n\\t\\t\\\"\\\"\\n\\treturn \\\"null\\\" if obj is null\\n\\treturn \\\"undefined\\\" if obj is undefined\\n\\treturn obj.toString() if obj.toString\\n\\treturn obj\\n\\nUtils.inspectObjectType = (item) ->\\n\\t# This is a hacky way to get nice object names, it tries to\\n\\t# parse them from the .toString methods for objects.\\n\\n\\tif item.constructor?.name? and item.constructor?.name != \\\"Object\\\"\\n\\t\\treturn item.constructor.name\\n\\n\\textract = (str) ->\\n\\t\\treturn null unless str\\n\\t\\tregex = /\\\\[object (\\\\w+)\\\\]/\\n\\t\\tmatch = regex.exec(str)\\n\\t\\treturn match[1] if match\\n\\t\\treturn null\\n\\n\\tclassName = extract(item.toString()) \\n\\treturn className if className\\n\\tclassName = extract(item.constructor?.toString())\\n\\treturn className.replace(\\\"Constructor\\\", \\\"\\\") if className\\n\\treturn item\\n\\nUtils.inspect = (item, max=5, l=0) ->\\n\\t\\n\\treturn \\\"null\\\" if item is null\\n\\treturn \\\"undefined\\\" if item is undefined\\n\\t\\n\\tif _.isFunction(item.toInspect)\\n\\t\\treturn item.toInspect()\\n\\tif _.isString(item)\\n\\t\\treturn \\\"\\\\\\\"#{item}\\\\\\\"\\\"\\n\\tif _.isNumber(item)\\n\\t\\treturn \\\"#{item}\\\"\\n\\tif _.isFunction(item)\\n\\t\\tcode = item.toString()[\\\"function \\\".length..].replace(/\\\\n/g, \\\"\\\").replace(/\\\\s+/g, \\\" \\\")\\n\\t\\t# We limit the size of a function body if it's in a strucutre\\n\\t\\tlimit = 50\\n\\t\\tcode = \\\"#{_.trimRight(code[..limit])}… }\\\" if code.length > limit and l > 0\\n\\t\\treturn \\\"<Function #{code}>\\\"\\n\\tif _.isArray(item)\\n\\t\\treturn \\\"[...]\\\" if l > max\\n\\t\\treturn \\\"[\\\" + _.map(item, (i) -> Utils.inspect(i, max, l+1)).join(\\\", \\\") + \\\"]\\\"\\n\\tif _.isObject(item)\\n\\t\\tobjectType = Utils.inspectObjectType(item)\\n\\t\\t# We should not loop over dom trees because we will have a bad time\\n\\t\\treturn \\\"<#{objectType}>\\\" if /HTML\\\\w+?Element/.test(objectType)\\n\\t\\tif l > max\\n\\t\\t\\tobjectInfo = \\\"{...}\\\"\\n\\t\\telse\\n\\t\\t\\tobjectInfo = \\\"{\\\" + _.map(item, (v, k) -> \\\"#{k}:#{Utils.inspect(v, max, l+1)}\\\").join(\\\", \\\") + \\\"}\\\"\\n\\t\\treturn objectInfo if objectType is \\\"Object\\\"\\n\\t\\treturn \\\"<#{objectType} #{objectInfo}>\\\"\\n\\n\\treturn \\\"#{item}\\\"\\n\\nUtils.uuid = ->\\n\\n\\tchars = \\\"0123456789abcdefghijklmnopqrstuvwxyz\\\".split(\\\"\\\")\\n\\toutput = new Array(36)\\n\\trandom = 0\\n\\n\\tfor digit in [1..32]\\n\\t\\trandom = 0x2000000 + (Math.random() * 0x1000000) | 0 if (random <= 0x02)\\n\\t\\tr = random & 0xf\\n\\t\\trandom = random >> 4\\n\\t\\toutput[digit] = chars[if digit == 19 then (r & 0x3) | 0x8 else r]\\n\\n\\toutput.join \\\"\\\"\\n\\nUtils.arrayFromArguments = (args) ->\\n\\t# Convert an arguments object to an array\\n\\treturn args[0] if _.isArray(args[0])\\n\\treturn Array.prototype.slice.call(args)\\n\\nUtils.cycle = ->\\n\\t\\n\\t# Returns a function that cycles through a list of values with each call.\\n\\t\\n\\targs = Utils.arrayFromArguments arguments\\n\\t\\n\\tcurr = -1\\n\\treturn ->\\n\\t\\tcurr++\\n\\t\\tcurr = 0 if curr >= args.length\\n\\t\\treturn args[curr]\\n\\n# Backwards compatibility\\nUtils.toggle = Utils.cycle\\n\\n\\n######################################################\\n# ENVIROMENT FUNCTIONS\\n\\nUtils.isWebKit = ->\\n\\twindow.WebKitCSSMatrix isnt undefined\\n\\nUtils.webkitVersion = ->\\n\\tversion = -1\\n\\tregexp = /AppleWebKit\\\\/([\\\\d.]+)/\\n\\tresult = regexp.exec(navigator.userAgent)\\n\\tversion = parseFloat(result[1]) if result\\n\\tversion\\n\\nUtils.isChrome = ->\\n\\t(/chrome/).test(navigator.userAgent.toLowerCase())\\n\\nUtils.isSafari = ->\\n\\t(/safari/).test(navigator.userAgent.toLowerCase())\\n\\nUtils.isTouch = ->\\n\\twindow.ontouchstart is null\\n\\nUtils.isDesktop = ->\\n\\tUtils.deviceType() is \\\"desktop\\\"\\n\\nUtils.isPhone = ->\\n\\tUtils.deviceType() is \\\"phone\\\"\\n\\nUtils.isTablet = ->\\n\\tUtils.deviceType() is \\\"tablet\\\"\\n\\nUtils.isMobile = ->\\n\\tUtils.isPhone() or Utils.isTablet()\\n\\nUtils.isLocal = ->\\n\\tUtils.isLocalUrl window.location.href\\n\\nUtils.isLocalUrl = (url) ->\\n\\turl[0..6] == \\\"file://\\\"\\n\\nUtils.isFramerStudio = ->\\n\\tnavigator.userAgent.indexOf(\\\"FramerStudio\\\") != -1\\n\\nUtils.devicePixelRatio = ->\\n\\twindow.devicePixelRatio\\n\\nUtils.isJP2Supported = ->\\n\\tUtils.isWebKit() and not Utils.isChrome()\\n\\nUtils.deviceType = ->\\n\\n\\t# Taken from\\n\\t# https://github.com/jeffmcmahan/device-detective/blob/master/bin/device-detect.js\\n\\n\\tif /(tablet)|(iPad)|(Nexus 9)/i.test(navigator.userAgent)\\n\\t\\treturn \\\"tablet\\\"\\n\\n\\tif /(mobi)/i.test(navigator.userAgent)\\n\\t\\treturn \\\"phone\\\"\\n\\n\\treturn \\\"desktop\\\"\\n\\n\\nUtils.pathJoin = ->\\n\\tUtils.arrayFromArguments(arguments).join(\\\"/\\\")\\n\\n######################################################\\n# MATH FUNCTIONS\\n\\t\\t\\nUtils.round = (value, decimals=0) ->\\n\\td = Math.pow 10, decimals\\n\\tMath.round(value * d) / d\\n\\nUtils.clamp = (value, min, max) ->\\n\\tvalue = min if value < min\\n\\tvalue = max if value > max\\n\\treturn value\\n\\n# Taken from http://jsfiddle.net/Xz464/7/\\n# Used by animation engine, needs to be very performant\\nUtils.mapRange = (value, fromLow, fromHigh, toLow, toHigh) ->\\n\\ttoLow + (((value - fromLow) / (fromHigh - fromLow)) * (toHigh - toLow))\\n\\n# Kind of similar as above but with a better syntax and a limiting option\\nUtils.modulate = (value, rangeA, rangeB, limit=false) ->\\n\\t\\n\\t[fromLow, fromHigh] = rangeA\\n\\t[toLow, toHigh] = rangeB\\n\\t\\n\\tresult = toLow + (((value - fromLow) / (fromHigh - fromLow)) * (toHigh - toLow))\\n\\n\\tif limit is true\\n\\t\\tif toLow < toHigh\\n\\t\\t\\treturn toLow if result < toLow\\n\\t\\t\\treturn toHigh if result > toHigh\\n\\t\\telse\\n\\t\\t\\treturn toLow if result > toLow\\n\\t\\t\\treturn toHigh if result < toHigh\\n\\n\\tresult\\n\\n\\n\\n######################################################\\n# STRING FUNCTIONS\\n\\nUtils.parseFunction = (str) ->\\n\\n\\tresult = {name: \\\"\\\", args: []}\\n\\n\\tif _.endsWith str, \\\")\\\"\\n\\t\\tresult.name = str.split(\\\"(\\\")[0]\\n\\t\\tresult.args = str.split(\\\"(\\\")[1].split(\\\",\\\").map (a) -> _.trim(_.trimRight(a, \\\")\\\"))\\n\\telse\\n\\t\\tresult.name = str\\n\\n\\treturn result\\n\\n######################################################\\n# DOM FUNCTIONS\\n\\n__domComplete = []\\n__domReady = false\\n\\nif document?\\n\\tdocument.onreadystatechange = (event) =>\\n\\t\\tif document.readyState is \\\"complete\\\"\\n\\t\\t\\t__domReady = true\\n\\t\\t\\twhile __domComplete.length\\n\\t\\t\\t\\tf = __domComplete.shift()()\\n\\nUtils.domComplete = (f) ->\\n\\tif document.readyState is \\\"complete\\\"\\n\\t\\tf()\\n\\telse\\n\\t\\t__domComplete.push f\\n\\nUtils.domCompleteCancel = (f) ->\\n\\t__domComplete = _.without __domComplete, f\\n\\nUtils.domLoadScript = (url, callback) ->\\n\\t\\n\\tscript = document.createElement \\\"script\\\"\\n\\tscript.type = \\\"text/javascript\\\"\\n\\tscript.src = url\\n\\t\\n\\tscript.onload = callback\\n\\t\\n\\thead = document.getElementsByTagName(\\\"head\\\")[0]\\n\\thead.appendChild script\\n\\t\\n\\tscript\\n\\nUtils.domLoadData = (path, callback) ->\\n\\n\\trequest = new XMLHttpRequest()\\n\\n\\t# request.addEventListener \\\"progress\\\", updateProgress, false\\n\\t# request.addEventListener \\\"abort\\\", transferCanceled, false\\n\\t\\n\\trequest.addEventListener \\\"load\\\", ->\\n\\t\\tcallback null, request.responseText\\n\\t, false\\n\\t\\n\\trequest.addEventListener \\\"error\\\", ->\\n\\t\\tcallback true, null\\n\\t, false\\n\\n\\trequest.open \\\"GET\\\", path, true\\n\\trequest.send null\\n\\nUtils.domLoadJSON = (path, callback) ->\\n\\tUtils.domLoadData path, (err, data) ->\\n\\t\\tcallback err, JSON.parse data\\n\\nUtils.domLoadDataSync = (path) ->\\n\\n\\trequest = new XMLHttpRequest()\\n\\trequest.open \\\"GET\\\", path, false\\n\\n\\t# This does not work in Safari, see below\\n\\ttry\\n\\t\\trequest.send null\\n\\tcatch e\\n\\t\\tconsole.debug \\\"XMLHttpRequest.error\\\", e\\n\\n\\tdata = request.responseText\\n\\n\\t# Because I can't catch the actual 404 with Safari, I just assume something\\n\\t# went wrong if there is no text data returned from the request.\\n\\tif not data\\n\\t\\tthrow Error \\\"Utils.domLoadDataSync: no data was loaded (url not found?)\\\"\\n\\n\\treturn request.responseText\\n\\nUtils.domLoadJSONSync = (path) ->\\n\\tJSON.parse Utils.domLoadDataSync path\\n\\nUtils.domLoadScriptSync = (path) ->\\n\\tscriptData = Utils.domLoadDataSync path\\n\\teval scriptData\\n\\tscriptData\\n\\nUtils.insertCSS = (css) ->\\n\\n\\tstyleElement = document.createElement(\\\"style\\\")\\n\\tstyleElement.type = \\\"text/css\\\"\\n\\tstyleElement.innerHTML = css\\n\\t\\n\\tUtils.domComplete ->\\n\\t\\tdocument.body.appendChild(styleElement)\\n\\nUtils.loadImage = (url, callback, context) ->\\n\\t\\n\\t# Loads a single image and calls callback. \\n\\t# The callback will be called with true if there is an error.\\n\\n\\telement = new Image\\n\\tcontext ?= Framer.CurrentContext\\n\\t\\n\\tcontext.eventManager.wrap(element).addEventListener \\\"load\\\", (event) ->\\n\\t\\tcallback()\\n\\t\\n\\tcontext.eventManager.wrap(element).addEventListener \\\"error\\\", (event) ->\\n\\t\\tcallback(true)\\n\\t\\n\\telement.src = url\\n\\n######################################################\\n# GEOMETRY FUNCTIONS\\n\\n# Point\\n\\nUtils.pointZero = (args={}) ->\\n\\treturn _.defaults(args, {x:0, y:0})\\n\\nUtils.pointMin = ->\\n\\tpoints = Utils.arrayFromArguments arguments\\n\\tpoint = \\n\\t\\tx: _.min points.map (size) -> size.x\\n\\t\\ty: _.min points.map (size) -> size.y\\n\\nUtils.pointMax = ->\\n\\tpoints = Utils.arrayFromArguments arguments\\n\\tpoint = \\n\\t\\tx: _.max points.map (size) -> size.x\\n\\t\\ty: _.max points.map (size) -> size.y\\n\\nUtils.pointDistance = (pointA, pointB) ->\\n\\tdistance =\\n\\t\\tx: Math.abs(pointB.x - pointA.x)\\n\\t\\ty: Math.abs(pointB.y - pointA.y)\\n\\nUtils.pointInvert = (point) ->\\n\\tpoint =\\n\\t\\tx: 0 - point.x\\n\\t\\ty: 0 - point.y\\n\\nUtils.pointTotal = (point) ->\\n\\tpoint.x + point.y\\n\\nUtils.pointAbs = (point) ->\\n\\tpoint =\\n\\t\\tx: Math.abs point.x\\n\\t\\ty: Math.abs point.y\\n\\nUtils.pointInFrame = (point, frame) ->\\n\\treturn false if point.x < Utils.frameGetMinX(frame) or point.x > Utils.frameGetMaxX(frame)\\n\\treturn false if point.y < Utils.frameGetMinY(frame) or point.y > Utils.frameGetMaxY(frame)\\n\\treturn true\\n\\n# Size\\n\\nUtils.sizeZero = (args={}) ->\\n\\treturn _.defaults(args, {width:0, height:0})\\n\\nUtils.sizeMin = ->\\n\\tsizes = Utils.arrayFromArguments arguments\\n\\tsize  =\\n\\t\\twidth:  _.min sizes.map (size) -> size.width\\n\\t\\theight: _.min sizes.map (size) -> size.height\\n\\nUtils.sizeMax = ->\\n\\tsizes = Utils.arrayFromArguments arguments\\n\\tsize  =\\n\\t\\twidth:  _.max sizes.map (size) -> size.width\\n\\t\\theight: _.max sizes.map (size) -> size.height\\n\\n# Rect\\n\\nUtils.rectZero = (args={}) ->\\n\\treturn _.defaults(args, {top:0, right:0, bottom:0, left:0})\\n\\nUtils.parseRect = (args) ->\\n\\tif _.isArray(args) and _.isNumber(args[0])\\n\\t\\treturn Utils.parseRect({top:args[0]}) if args.length is 1\\n\\t\\treturn Utils.parseRect({top:args[0], right:args[1]}) if args.length is 2\\n\\t\\treturn Utils.parseRect({top:args[0], right:args[1], bottom:args[2]}) if args.length is 3\\n\\t\\treturn Utils.parseRect({top:args[0], right:args[1], bottom:args[2], left:args[3]}) if args.length is 4\\n\\tif _.isArray(args) and _.isObject(args[0])\\n\\t\\treturn args[0]\\n\\tif _.isObject(args)\\n\\t\\treturn args\\n\\n\\treturn {}\\n\\n# Frames\\n\\n# min mid max * x, y\\n\\nUtils.frameGetMinX = (frame) -> frame.x\\nUtils.frameSetMinX = (frame, value) -> frame.x = value\\n\\nUtils.frameGetMidX = (frame) -> \\n\\tif frame.width is 0 then 0 else frame.x + (frame.width / 2.0)\\nUtils.frameSetMidX = (frame, value) ->\\n\\tframe.x = if frame.width is 0 then 0 else value - (frame.width / 2.0)\\n\\nUtils.frameGetMaxX = (frame) -> \\n\\tif frame.width is 0 then 0 else frame.x + frame.width\\nUtils.frameSetMaxX = (frame, value) ->\\n\\tframe.x = if frame.width is 0 then 0 else value - frame.width\\n\\nUtils.frameGetMinY = (frame) -> frame.y\\nUtils.frameSetMinY = (frame, value) -> frame.y = value\\n\\nUtils.frameGetMidY = (frame) -> \\n\\tif frame.height is 0 then 0 else frame.y + (frame.height / 2.0)\\nUtils.frameSetMidY = (frame, value) ->\\n\\tframe.y = if frame.height is 0 then 0 else value - (frame.height / 2.0)\\n\\nUtils.frameGetMaxY = (frame) -> \\n\\tif frame.height is 0 then 0 else frame.y + frame.height\\nUtils.frameSetMaxY = (frame, value) ->\\n\\tframe.y = if frame.height is 0 then 0 else value - frame.height\\n\\nUtils.frameZero = (args={}) ->\\n\\treturn _.defaults(args, {top:0, right:0, bottom:0, left:0})\\n\\nUtils.frameSize = (frame) ->\\n\\tsize =\\n\\t\\twidth: frame.width\\n\\t\\theight: frame.height\\n\\nUtils.framePoint = (frame) ->\\n\\tpoint =\\n\\t\\tx: frame.x\\n\\t\\ty: frame.y\\n\\nUtils.frameMerge = ->\\n\\n\\t# Return a frame that fits all the input frames\\n\\n\\tframes = Utils.arrayFromArguments arguments\\n\\n\\tframe =\\n\\t\\tx: _.min frames.map Utils.frameGetMinX\\n\\t\\ty: _.min frames.map Utils.frameGetMinY\\n\\n\\tframe.width  = _.max(frames.map Utils.frameGetMaxX) - frame.x\\n\\tframe.height = _.max(frames.map Utils.frameGetMaxY) - frame.y\\n\\n\\tframe\\n\\nUtils.framePointForOrigin = (frame, originX, originY) ->\\n\\tframe =\\n\\t\\tx: frame.x + (originX * frame.width)\\n\\t\\ty: frame.y + (originY * frame.height)\\n\\t\\twidth: frame.width\\n\\t\\theight: frame.height\\n\\nUtils.frameInset = (frame, inset) ->\\n\\tframe =\\n\\t\\tx: frame.x + inset.left\\n\\t\\ty: frame.y + inset.top\\n\\t\\twidth: frame.width - inset.left - inset.right\\n\\t\\theight: frame.height - inset.top - inset.bottom\\n\\nUtils.frameSortByAbsoluteDistance = (point, frames, originX=0, originY=0) ->\\n\\tdistance = (frame) ->\\n\\t\\tresult = Utils.pointDistance(point, Utils.framePointForOrigin(frame, originX, originY))\\n\\t\\tresult = Utils.pointAbs(result)\\n\\t\\tresult = Utils.pointTotal(result)\\n\\t\\tresult\\n\\n\\treturn frames.sort (a, b) -> distance(a) - distance(b)\\n\\nUtils.pointInPolygon = (point, vs) ->\\n\\t# ray-casting algorithm based on\\n\\t# http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html\\n\\tx = point[0]\\n\\ty = point[1]\\n\\tinside = false\\n\\ti = 0\\n\\tj = vs.length - 1\\n\\twhile i < vs.length\\n\\t\\txi = vs[i][0]\\n\\t\\tyi = vs[i][1]\\n\\t\\txj = vs[j][0]\\n\\t\\tyj = vs[j][1]\\n\\t\\tintersect = yi > y != yj > y and x < (xj - xi) * (y - yi) / (yj - yi) + xi\\n\\t\\tif intersect\\n\\t\\t\\tinside = !inside\\n\\t\\tj = i++\\n\\tinside\\n\\nUtils.pointAngle = (p1, p2) ->\\n\\tMath.atan2(p2.y - p1.y, p2.x - p1.x) * 180 / Math.PI;\\n\\n\\n# Coordinate system\\n\\nUtils.convertPoint = (input, layerA, layerB, context=false) ->\\n\\n\\t# Convert a point between two layer coordinate systems\\n\\n\\tpoint = _.defaults(input, {x:0, y:0})\\n\\n\\tsuperLayersA = layerA?.superLayers(context) or []\\n\\tsuperLayersB = layerB?.superLayers(context) or []\\n\\t\\n\\tsuperLayersB.push layerB if layerB\\n\\t\\n\\tfor layer in superLayersA\\n\\t\\tpoint.x += layer.x - layer.scrollFrame.x\\n\\t\\tpoint.y += layer.y - layer.scrollFrame.y\\n\\n\\tfor layer in superLayersB\\n\\t\\tpoint.x -= layer.x + layer.scrollFrame.x\\n\\t\\tpoint.y -= layer.y + layer.scrollFrame.y\\n\\t\\n\\treturn point\\n\\n###################################################################\\n# Beta additions, use with care\\n\\nUtils.globalLayers = (importedLayers) ->\\n\\t\\n\\t# Beta. Not sure if we should push this but it's nice to have.\\n\\t# Use this to make all layers in an imported set available on\\n\\t# on the top level, so without the \\\"importedLayers\\\" prefix.\\n\\n\\tfor layerName, layer of importedLayers\\n\\t\\t\\n\\t\\t# Replace all whitespace in layer names\\n\\t\\tlayerName = layerName.replace(/\\\\s/g,\\\"\\\")\\n\\t\\t\\n\\t\\t# Check if there are global variables with the same name\\n\\t\\tif window.hasOwnProperty(layerName) and not window.Framer._globalWarningGiven\\n\\t\\t\\tprint \\\"Warning: Cannot make layer '#{layerName}' a global, a variable with that name already exists\\\"\\n\\t\\telse\\n\\t\\t\\twindow[layerName] = layer\\n\\t\\n\\twindow.Framer._globalWarningGiven = true\\n\\n\\n_textSizeNode = null\\n\\nUtils.textSize = (text, style={}, constraints={}) ->\\n\\n\\t# This function takes some text, css style and optionally a width and height and \\n\\t# returns the rendered text size. This can be pretty slow, so use sporadically.\\n\\t# http://stackoverflow.com/questions/118241/calculate-text-width-with-javascript\\n\\n\\tshouldCreateNode = !_textSizeNode\\n\\t\\n\\tif shouldCreateNode\\n\\t\\t_textSizeNode = document.createElement(\\\"div\\\")\\n\\t\\t_textSizeNode.id = \\\"_textSizeNode\\\"\\n\\t\\n\\t_textSizeNode.innerHTML = text\\n\\t\\n\\tstyle = _.extend style, \\n\\t\\tposition: \\\"fixed\\\"\\n\\t\\tdisplay: \\\"inline\\\"\\n\\t\\tvisibility: \\\"hidden\\\"\\n\\t\\ttop: \\\"-10000px\\\"\\n\\t\\tleft: \\\"-10000px\\\"\\n\\t\\t\\n\\tdelete style.width\\n\\tdelete style.height\\n\\tdelete style.bottom\\n\\tdelete style.right\\n\\t\\t\\n\\tstyle.width = \\\"#{constraints.width}px\\\" if constraints.width\\n\\tstyle.height = \\\"#{constraints.height}px\\\" if constraints.height\\n\\n\\t_.extend(_textSizeNode.style, style)\\n\\n\\tif shouldCreateNode\\n\\t\\t# This is a trick to call this function before the document ready event\\n\\t\\tif not window.document.body\\n\\t\\t\\tdocument.write(_textSizeNode.outerHTML)\\n\\t\\t\\t_textSizeNode = document.getElementById(\\\"_textSizeNode\\\")\\n\\t\\telse\\n\\t\\t\\twindow.document.body.appendChild(_textSizeNode)\\n\\n\\trect = _textSizeNode.getBoundingClientRect()\\n\\t\\n\\tframe =\\n\\t\\twidth: rect.right - rect.left\\n\\t\\theight: rect.bottom - rect.top\\n\\n_.extend exports, Utils\\n\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Utils.coffee\\n **/\",\"{_} = require \\\"./Underscore\\\"\\n\\nUtils = require \\\"./Utils\\\"\\n\\n{Config} = require \\\"./Config\\\"\\n{Defaults} = require \\\"./Defaults\\\"\\n{BaseClass} = require \\\"./BaseClass\\\"\\n{EventEmitter} = require \\\"./EventEmitter\\\"\\n{Animation} = require \\\"./Animation\\\"\\n{LayerStyle} = require \\\"./LayerStyle\\\"\\n{LayerStates} = require \\\"./LayerStates\\\"\\n{LayerDraggable} = require \\\"./LayerDraggable\\\"\\n\\nNoCacheDateKey = Date.now()\\n\\nlayerValueTypeError = (name, value) ->\\n\\tthrow new Error(\\\"Layer.#{name}: value '#{value}' of type '#{typeof(value)}'' is not valid\\\")\\n\\nlayerProperty = (obj, name, cssProperty, fallback, validator, options={}, set) ->\\n\\tresult = \\n\\t\\tdefault: fallback\\n\\t\\tget: -> \\n\\t\\t\\t# console.log \\\"Layer.#{name}.get #{@_properties[name]}\\\", @_properties.hasOwnProperty(name)\\n\\t\\t\\treturn @_properties[name] if @_properties.hasOwnProperty(name)\\n\\t\\t\\treturn fallback\\n\\n\\t\\tset: (value) ->\\n\\n\\t\\t\\t# console.log \\\"Layer.#{name}.set #{value}\\\"\\n\\n\\t\\t\\tif value and validator and not validator(value)\\n\\t\\t\\t\\tlayerValueTypeError(name, value)\\n\\n\\t\\t\\t@_properties[name] = value\\n\\t\\t\\t@_element.style[cssProperty] = LayerStyle[cssProperty](@)\\n\\n\\t\\t\\tset?(@, value)\\n\\t\\t\\t@emit(\\\"change:#{name}\\\", value)\\n\\t\\t\\t@emit(\\\"change:point\\\", value) if name in [\\\"x\\\", \\\"y\\\"]\\n\\t\\t\\t@emit(\\\"change:size\\\", value)  if name in [\\\"width\\\", \\\"height\\\"]\\n\\t\\t\\t@emit(\\\"change:frame\\\", value) if name in [\\\"x\\\", \\\"y\\\", \\\"width\\\", \\\"height\\\"]\\n\\t\\t\\t@emit(\\\"change:rotation\\\", value) if name in [\\\"rotationZ\\\"]\\n\\n\\tresult = _.extend(result, options)\\n\\nclass exports.Layer extends BaseClass\\n\\n\\tconstructor: (options={}) ->\\n\\n\\t\\t@_properties = {}\\n\\t\\t@_style = {}\\n\\n\\t\\t# Special power setting for 2d rendering path. Only enable this\\n\\t\\t# if you know what you are doing. See LayerStyle for more info.\\n\\t\\t@_prefer2d = false\\n\\t\\t@_cacheImage = false\\n\\n\\t\\t# We have to create the element before we set the defaults\\n\\t\\t@_createElement()\\n\\n\\t\\tif options.hasOwnProperty \\\"frame\\\"\\n\\t\\t\\toptions = _.extend(options, options.frame)\\n\\n\\t\\toptions = Defaults.getDefaults \\\"Layer\\\", options\\n\\n\\t\\tsuper options\\n\\n\\t\\t# Add this layer to the current context\\n\\t\\t@_context.addLayer(@)\\n\\n\\t\\t@_id = @_context.nextLayerId()\\n\\n\\t\\t# Insert the layer into the dom or the superLayer element\\n\\t\\tif not options.superLayer\\n\\t\\t\\t@_insertElement() if not options.shadow\\n\\t\\telse\\n\\t\\t\\t@superLayer = options.superLayer\\n\\n\\t\\t# If an index was set, we would like to use that one\\n\\t\\tif options.hasOwnProperty(\\\"index\\\")\\n\\t\\t\\t@index = options.index\\n\\n\\t\\t# Set needed private variables\\n\\t\\t@_subLayers = []\\n\\n\\t\\t@_context.emit(\\\"layer:create\\\", @)\\n\\n\\t##############################################################\\n\\t# Properties\\n\\n\\t# Css properties\\n\\t@define \\\"width\\\",  layerProperty(@, \\\"width\\\",  \\\"width\\\", 100, _.isNumber)\\n\\t@define \\\"height\\\", layerProperty(@, \\\"height\\\", \\\"height\\\", 100, _.isNumber)\\n\\n\\t@define \\\"visible\\\", layerProperty(@, \\\"visible\\\", \\\"display\\\", true, _.isBoolean)\\n\\t@define \\\"opacity\\\", layerProperty(@, \\\"opacity\\\", \\\"opacity\\\", 1, _.isNumber)\\n\\t@define \\\"index\\\", layerProperty(@, \\\"index\\\", \\\"zIndex\\\", 0, _.isNumber, {importable:false, exportable:false})\\n\\t@define \\\"clip\\\", layerProperty(@, \\\"clip\\\", \\\"overflow\\\", true, _.isBoolean)\\n\\t\\n\\t@define \\\"scrollHorizontal\\\", layerProperty @, \\\"scrollHorizontal\\\", \\\"overflowX\\\", false, _.isBoolean, {}, (layer, value) ->\\n\\t\\tlayer.ignoreEvents = false if value is true\\n\\t\\n\\t@define \\\"scrollVertical\\\", layerProperty @, \\\"scrollVertical\\\", \\\"overflowY\\\", false, _.isBoolean, {}, (layer, value) ->\\n\\t\\tlayer.ignoreEvents = false if value is true\\n\\n\\t@define \\\"scroll\\\",\\n\\t\\tget: -> @scrollHorizontal is true or @scrollVertical is true\\n\\t\\tset: (value) -> @scrollHorizontal = @scrollVertical = value\\n\\n\\t# Behaviour properties\\n\\t@define \\\"ignoreEvents\\\", layerProperty(@, \\\"ignoreEvents\\\", \\\"pointerEvents\\\", true, _.isBoolean)\\n\\n\\t# Matrix properties\\n\\t@define \\\"x\\\", layerProperty(@, \\\"x\\\", \\\"webkitTransform\\\", 0, _.isNumber)\\n\\t@define \\\"y\\\", layerProperty(@, \\\"y\\\", \\\"webkitTransform\\\", 0, _.isNumber)\\n\\t@define \\\"z\\\", layerProperty(@, \\\"z\\\", \\\"webkitTransform\\\", 0, _.isNumber)\\n\\n\\t@define \\\"scaleX\\\", layerProperty(@, \\\"scaleX\\\", \\\"webkitTransform\\\", 1, _.isNumber)\\n\\t@define \\\"scaleY\\\", layerProperty(@, \\\"scaleY\\\", \\\"webkitTransform\\\", 1, _.isNumber)\\n\\t@define \\\"scaleZ\\\", layerProperty(@, \\\"scaleZ\\\", \\\"webkitTransform\\\", 1, _.isNumber)\\n\\t@define \\\"scale\\\", layerProperty(@, \\\"scale\\\", \\\"webkitTransform\\\", 1, _.isNumber)\\n\\n\\t@define \\\"skewX\\\", layerProperty(@, \\\"skewX\\\", \\\"webkitTransform\\\", 0, _.isNumber)\\n\\t@define \\\"skewY\\\", layerProperty(@, \\\"skewY\\\", \\\"webkitTransform\\\", 0, _.isNumber)\\n\\t@define \\\"skew\\\", layerProperty(@, \\\"skew\\\", \\\"webkitTransform\\\", 0, _.isNumber)\\n\\n\\t# @define \\\"scale\\\",\\n\\t# \\tget: -> (@scaleX + @scaleY + @scaleZ) / 3.0\\n\\t# \\tset: (value) -> @scaleX = @scaleY = @scaleZ = value\\n\\n\\t@define \\\"originX\\\", layerProperty(@, \\\"originX\\\", \\\"webkitTransformOrigin\\\", 0.5, _.isNumber)\\n\\t@define \\\"originY\\\", layerProperty(@, \\\"originY\\\", \\\"webkitTransformOrigin\\\", 0.5, _.isNumber)\\n\\t# @define \\\"originZ\\\", layerProperty(@, \\\"originZ\\\", \\\"WebkitTransformOrigin\\\", 0.5\\n\\n\\t@define \\\"perspective\\\", layerProperty(@, \\\"perspective\\\", \\\"webkitPerspective\\\", 0, _.isNumber)\\n\\n\\t@define \\\"rotationX\\\", layerProperty(@, \\\"rotationX\\\", \\\"webkitTransform\\\", 0, _.isNumber)\\n\\t@define \\\"rotationY\\\", layerProperty(@, \\\"rotationY\\\", \\\"webkitTransform\\\", 0, _.isNumber)\\n\\t@define \\\"rotationZ\\\", layerProperty(@, \\\"rotationZ\\\", \\\"webkitTransform\\\", 0, _.isNumber)\\n\\t@define \\\"rotation\\\",\\n\\t\\t#exportable: false\\n\\t\\tget: -> @rotationZ\\n\\t\\tset: (value) -> @rotationZ = value\\n\\n\\t# Filter properties\\n\\t@define \\\"blur\\\", layerProperty(@, \\\"blur\\\", \\\"webkitFilter\\\", 0, _.isNumber)\\n\\t@define \\\"brightness\\\", layerProperty(@, \\\"brightness\\\", \\\"webkitFilter\\\", 100, _.isNumber)\\n\\t@define \\\"saturate\\\", layerProperty(@, \\\"saturate\\\", \\\"webkitFilter\\\", 100, _.isNumber)\\n\\t@define \\\"hueRotate\\\", layerProperty(@, \\\"hueRotate\\\", \\\"webkitFilter\\\", 0, _.isNumber)\\n\\t@define \\\"contrast\\\", layerProperty(@, \\\"contrast\\\", \\\"webkitFilter\\\", 100, _.isNumber)\\n\\t@define \\\"invert\\\", layerProperty(@, \\\"invert\\\", \\\"webkitFilter\\\", 0, _.isNumber)\\n\\t@define \\\"grayscale\\\", layerProperty(@, \\\"grayscale\\\", \\\"webkitFilter\\\", 0, _.isNumber)\\n\\t@define \\\"sepia\\\", layerProperty(@, \\\"sepia\\\", \\\"webkitFilter\\\", 0, _.isNumber)\\n\\n\\t# Shadow properties\\n\\t@define \\\"shadowX\\\", layerProperty(@, \\\"shadowX\\\", \\\"boxShadow\\\", 0, _.isNumber)\\n\\t@define \\\"shadowY\\\", layerProperty(@, \\\"shadowY\\\", \\\"boxShadow\\\", 0, _.isNumber)\\n\\t@define \\\"shadowBlur\\\", layerProperty(@, \\\"shadowBlur\\\", \\\"boxShadow\\\", 0, _.isNumber)\\n\\t@define \\\"shadowSpread\\\", layerProperty(@, \\\"shadowSpread\\\", \\\"boxShadow\\\", 0, _.isNumber)\\n\\t@define \\\"shadowColor\\\", layerProperty(@, \\\"shadowColor\\\", \\\"boxShadow\\\", \\\"\\\")\\n\\n\\t# Color properties\\n\\t@define \\\"backgroundColor\\\", layerProperty(@, \\\"backgroundColor\\\", \\\"backgroundColor\\\", null, _.isString)\\n\\t@define \\\"color\\\", layerProperty(@, \\\"color\\\", \\\"color\\\", null, _.isString)\\n\\n\\t# Border properties\\n\\t# Todo: make this default, for compat we still allow strings but throw a warning\\n\\t# @define \\\"borderRadius\\\", layerProperty(@, \\\"borderRadius\\\", \\\"borderRadius\\\", 0, _.isNumber\\n\\t@define \\\"borderColor\\\", layerProperty(@, \\\"borderColor\\\", \\\"border\\\", null, _.isString)\\n\\t@define \\\"borderWidth\\\", layerProperty(@, \\\"borderWidth\\\", \\\"border\\\", 0, _.isNumber)\\n\\n\\t@define \\\"force2d\\\", layerProperty(@, \\\"force2d\\\", \\\"webkitTransform\\\", false, _.isBoolean)\\n\\n\\t##############################################################\\n\\t# Identity\\n\\n\\t@define \\\"name\\\",\\n\\t\\tdefault: \\\"\\\"\\n\\t\\tget: -> \\n\\t\\t\\t@_getPropertyValue \\\"name\\\"\\n\\t\\tset: (value) ->\\n\\t\\t\\t@_setPropertyValue \\\"name\\\", value\\n\\t\\t\\t# Set the name attribute of the dom element too\\n\\t\\t\\t# See: https://github.com/koenbok/Framer/issues/63\\n\\t\\t\\t@_element.setAttribute \\\"name\\\", value\\n\\n\\t##############################################################\\n\\t# Border radius compatibility\\n\\n\\t@define \\\"borderRadius\\\",\\n\\t\\tdefault: 0\\n\\t\\tget: -> \\n\\t\\t\\t@_properties[\\\"borderRadius\\\"]\\n\\n\\t\\tset: (value) ->\\n\\n\\t\\t\\tif value and not _.isNumber(value)\\n\\t\\t\\t\\tconsole.warn \\\"Layer.borderRadius should be a numeric property, not type #{typeof(value)}\\\"\\n\\n\\t\\t\\t@_properties[\\\"borderRadius\\\"] = value\\n\\t\\t\\t@_element.style[\\\"borderRadius\\\"] = LayerStyle[\\\"borderRadius\\\"](@)\\n\\n\\t\\t\\t@emit(\\\"change:borderRadius\\\", value)\\n\\n\\t# And, because it should be cornerRadius, we alias it here\\n\\t@define \\\"cornerRadius\\\",\\n\\t\\timportable: yes\\n\\t\\t# exportable: no\\n\\t\\tget: -> @borderRadius\\n\\t\\tset: (value) -> @borderRadius = value\\n\\n\\t##############################################################\\n\\t# Geometry\\n\\n\\t@define \\\"point\\\",\\n\\t\\tget: -> _.pick(@, [\\\"x\\\", \\\"y\\\"])\\n\\t\\tset: (point) ->\\n\\t\\t\\treturn if not point\\n\\t\\t\\tfor k in [\\\"x\\\", \\\"y\\\"]\\n\\t\\t\\t\\t@[k] = point[k] if point.hasOwnProperty(k)\\n\\t\\t\\t\\t\\n\\t@define \\\"size\\\",\\n\\t\\tget: -> _.pick(@, [\\\"width\\\", \\\"height\\\"])\\n\\t\\tset: (size) ->\\n\\t\\t\\treturn if not size\\n\\t\\t\\tfor k in [\\\"width\\\", \\\"height\\\"]\\n\\t\\t\\t\\t@[k] = size[k] if size.hasOwnProperty(k)\\n\\n\\t@define \\\"frame\\\",\\n\\t\\tget: -> _.pick(@, [\\\"x\\\", \\\"y\\\", \\\"width\\\", \\\"height\\\"])\\n\\t\\tset: (frame) ->\\n\\t\\t\\treturn if not frame\\n\\t\\t\\tfor k in [\\\"x\\\", \\\"y\\\", \\\"width\\\", \\\"height\\\"]\\n\\t\\t\\t\\t@[k] = frame[k] if frame.hasOwnProperty(k)\\n\\n\\t@define \\\"minX\\\",\\n\\t\\timportable: true\\n\\t\\texportable: false\\n\\t\\tget: -> @x\\n\\t\\tset: (value) -> @x = value\\n\\n\\t@define \\\"midX\\\",\\n\\t\\timportable: true\\n\\t\\texportable: false\\n\\t\\tget: -> Utils.frameGetMidX @\\n\\t\\tset: (value) -> Utils.frameSetMidX @, value\\n\\n\\t@define \\\"maxX\\\",\\n\\t\\timportable: true\\n\\t\\texportable: false\\n\\t\\tget: -> Utils.frameGetMaxX @\\n\\t\\tset: (value) -> Utils.frameSetMaxX @, value\\n\\n\\t@define \\\"minY\\\",\\n\\t\\timportable: true\\n\\t\\texportable: false\\n\\t\\tget: -> @y\\n\\t\\tset: (value) -> @y = value\\n\\n\\t@define \\\"midY\\\",\\n\\t\\timportable: true\\n\\t\\texportable: false\\n\\t\\tget: -> Utils.frameGetMidY @\\n\\t\\tset: (value) -> Utils.frameSetMidY @, value\\n\\n\\t@define \\\"maxY\\\",\\n\\t\\timportable: true\\n\\t\\texportable: false\\n\\t\\tget: -> Utils.frameGetMaxY @\\n\\t\\tset: (value) -> Utils.frameSetMaxY @, value\\n\\n\\tconvertPoint: (point) ->\\n\\t\\t# Convert a point on screen to this views coordinate system\\n\\t\\t# TODO: needs tests\\n\\t\\tUtils.convertPoint point, null, @\\n\\n\\t@define \\\"canvasFrame\\\",\\n\\t\\timportable: true\\n\\t\\texportable: false\\n\\t\\tget: ->\\n\\t\\t\\tUtils.convertPoint(@frame, @, null, context=true)\\n\\t\\tset: (frame) ->\\n\\t\\t\\tif not @superLayer\\n\\t\\t\\t\\t@frame = frame\\n\\t\\t\\telse\\n\\t\\t\\t\\t@frame = Utils.convertPoint(frame, null, @superLayer, context=true)\\n\\n\\t@define \\\"screenFrame\\\",\\n\\t\\timportable: true\\n\\t\\texportable: false\\n\\t\\tget: ->\\n\\t\\t\\tUtils.convertPoint(@frame, @, null, context=false)\\n\\t\\tset: (frame) ->\\n\\t\\t\\tif not @superLayer\\n\\t\\t\\t\\t@frame = frame\\n\\t\\t\\telse\\n\\t\\t\\t\\t@frame = Utils.convertPoint(frame, null, @superLayer, context=false)\\n\\n\\tcontentFrame: ->\\n\\t\\treturn {x:0, y:0, width:0, height:0} unless @subLayers.length\\n\\t\\tUtils.frameMerge(_.pluck(@subLayers, \\\"frame\\\"))\\n\\n\\tcenterFrame: ->\\n\\t\\t# Get the centered frame for its superLayer\\n\\t\\tif @superLayer\\n\\t\\t\\tframe = @frame\\n\\t\\t\\tUtils.frameSetMidX(frame, parseInt(@superLayer.width  / 2.0))\\n\\t\\t\\tUtils.frameSetMidY(frame, parseInt(@superLayer.height / 2.0))\\n\\t\\t\\treturn frame\\n\\t\\telse\\n\\t\\t\\tframe = @frame\\n\\t\\t\\tUtils.frameSetMidX(frame, parseInt(@_context.width  / 2.0))\\n\\t\\t\\tUtils.frameSetMidY(frame, parseInt(@_context.height / 2.0))\\n\\t\\t\\treturn frame\\n\\n\\tcenter: ->\\n\\t\\t@frame = @centerFrame() # Center  in superLayer\\n\\t\\t@\\n\\t\\n\\tcenterX: (offset=0) ->\\n\\t\\t@x = @centerFrame().x + offset # Center x in superLayer\\n\\t\\t@\\n\\t\\n\\tcenterY: (offset=0) ->\\n\\t\\t@y = @centerFrame().y + offset # Center y in superLayer\\n\\t\\t@\\n\\n\\tpixelAlign: ->\\n\\t\\t@x = parseInt @x\\n\\t\\t@y = parseInt @y\\n\\n\\n\\t##############################################################\\n\\t# SCREEN GEOMETRY\\n\\n\\t# TODO: Rotation/Skew\\n\\n\\t# screenOriginX = ->\\n\\t# \\tif @_superOrParentLayer()\\n\\t# \\t\\treturn @_superOrParentLayer().screenOriginX()\\n\\t# \\treturn @originX\\n\\t\\n\\t# screenOriginY = ->\\n\\t# \\tif @_superOrParentLayer()\\n\\t# \\t\\treturn @_superOrParentLayer().screenOriginY()\\n\\t# \\treturn @originY\\n\\n\\tcanvasScaleX: ->\\n\\t\\tscale = @scale * @scaleX\\n\\t\\tfor superLayer in @superLayers(context=true)\\n\\t\\t\\tscale = scale * superLayer.scale * superLayer.scaleX\\n\\t\\treturn scale\\n\\n\\tcanvasScaleY: ->\\n\\t\\tscale = @scale * @scaleY\\n\\t\\tfor superLayer in @superLayers(context=true)\\n\\t\\t\\tscale = scale * superLayer.scale * superLayer.scaleY\\n\\t\\treturn scale\\n\\n\\tscreenScaleX: ->\\n\\t\\tscale = @scale * @scaleX\\n\\t\\tfor superLayer in @superLayers(context=false)\\n\\t\\t\\tscale = scale * superLayer.scale * superLayer.scaleX\\n\\t\\treturn scale\\n\\n\\tscreenScaleY: ->\\n\\t\\tscale = @scale * @scaleY\\n\\t\\tfor superLayer in @superLayers(context=false)\\n\\t\\t\\tscale = scale * superLayer.scale * superLayer.scaleY\\n\\t\\treturn scale\\n\\n\\n\\tscreenScaledFrame: ->\\n\\n\\t\\t# TODO: Scroll position\\n\\n\\t\\tframe =\\n\\t\\t\\tx: 0\\n\\t\\t\\ty: 0\\n\\t\\t\\twidth:  @width  * @screenScaleX()\\n\\t\\t\\theight: @height * @screenScaleY()\\n\\t\\t\\n\\t\\tlayers = @superLayers(context=true)\\n\\t\\tlayers.push(@)\\n\\t\\tlayers.reverse()\\n\\t\\t\\n\\t\\tfor superLayer in layers\\n\\t\\t\\tfactorX = if superLayer._superOrParentLayer() then superLayer._superOrParentLayer().screenScaleX() else 1\\n\\t\\t\\tfactorY = if superLayer._superOrParentLayer() then superLayer._superOrParentLayer().screenScaleY() else 1\\n\\t\\t\\tlayerScaledFrame = superLayer.scaledFrame()\\n\\t\\t\\tframe.x += layerScaledFrame.x * factorX\\n\\t\\t\\tframe.y += layerScaledFrame.y * factorY\\n\\n\\t\\treturn frame\\n\\n\\tscaledFrame: ->\\n\\n\\t\\t# Get the scaled frame for a layer, taking into account \\n\\t\\t# the transform origins.\\n\\n\\t\\tframe = @frame\\n\\t\\tscaleX = @scale * @scaleX\\n\\t\\tscaleY = @scale * @scaleY\\n\\n\\t\\tframe.width  *= scaleX\\n\\t\\tframe.height *= scaleY\\n\\t\\tframe.x += (1 - scaleX) * @originX * @width\\n\\t\\tframe.y += (1 - scaleY) * @originY * @height\\n\\t\\t\\n\\t\\treturn frame\\n\\n\\t##############################################################\\n\\t# CSS\\n\\n\\t@define \\\"style\\\",\\n\\t\\timportable: true\\n\\t\\texportable: false\\n\\t\\tget: -> @_element.style\\n\\t\\tset: (value) ->\\n\\t\\t\\t_.extend @_element.style, value\\n\\t\\t\\t@emit \\\"change:style\\\"\\n\\n\\tcomputedStyle: ->\\n\\t\\t# This is an expensive operation\\n\\n\\t\\tgetComputedStyle  = document.defaultView.getComputedStyle\\n\\t\\tgetComputedStyle ?= window.getComputedStyle\\n\\t\\t\\n\\t\\treturn getComputedStyle(@_element)\\n\\n\\t@define \\\"classList\\\",\\n\\t\\timportable: true\\n\\t\\texportable: false\\n\\t\\tget: -> @_element.classList\\n\\n\\t##############################################################\\n\\t# DOM ELEMENTS\\n\\n\\t_createElement: ->\\n\\t\\treturn if @_element?\\n\\t\\t@_element = document.createElement \\\"div\\\"\\n\\t\\t@_element.classList.add(\\\"framerLayer\\\")\\n\\n\\t_insertElement: ->\\n\\t\\t@bringToFront()\\n\\t\\t@_context.getRootElement().appendChild(@_element)\\n\\n\\t@define \\\"html\\\",\\n\\t\\tget: ->\\n\\t\\t\\t@_elementHTML?.innerHTML or \\\"\\\"\\n\\n\\t\\tset: (value) ->\\n\\n\\t\\t\\t# Insert some html directly into this layer. We actually create\\n\\t\\t\\t# a child node to insert it in, so it won't mess with Framers\\n\\t\\t\\t# layer hierarchy.\\n\\n\\t\\t\\tif not @_elementHTML\\n\\t\\t\\t\\t@_elementHTML = document.createElement \\\"div\\\"\\n\\t\\t\\t\\t@_element.appendChild @_elementHTML\\n\\n\\t\\t\\t@_elementHTML.innerHTML = value\\n\\n\\t\\t\\t# If the contents contains something else than plain text\\n\\t\\t\\t# then we turn off ignoreEvents so buttons etc will work.\\n\\n\\t\\t\\t# if not (\\n\\t\\t\\t# \\t@_elementHTML.childNodes.length == 1 and\\n\\t\\t\\t# \\t@_elementHTML.childNodes[0].nodeName == \\\"#text\\\")\\n\\t\\t\\t# \\t@ignoreEvents = false\\n\\n\\t\\t\\t@emit \\\"change:html\\\"\\n\\n\\tquerySelector: (query) -> @_element.querySelector(query)\\n\\tquerySelectorAll: (query) -> @_element.querySelectorAll(query)\\n\\n\\tdestroy: ->\\n\\t\\t\\n\\t\\t# Todo: check this\\n\\n\\t\\tif @superLayer\\n\\t\\t\\t@superLayer._subLayers = _.without @superLayer._subLayers, @\\n\\n\\t\\t@_element.parentNode?.removeChild @_element\\n\\t\\t@removeAllListeners()\\n\\t\\t\\n\\t\\t@_context.removeLayer(@)\\n\\n\\t\\t@_context.emit(\\\"layer:destroy\\\", @)\\n\\n\\n\\t##############################################################\\n\\t## COPYING\\n\\n\\tcopy: ->\\n\\n\\t\\t# Todo: what about events, states, etc.\\n\\n\\t\\tlayer = @copySingle()\\n\\n\\t\\tfor subLayer in @subLayers\\n\\t\\t\\tcopiedSublayer = subLayer.copy()\\n\\t\\t\\tcopiedSublayer.superLayer = layer\\n\\n\\t\\tlayer\\n\\n\\tcopySingle: -> new @constructor(@props)\\n\\n\\t##############################################################\\n\\t## IMAGE\\n\\n\\t@define \\\"image\\\",\\n\\t\\tdefault: \\\"\\\"\\n\\t\\tget: ->\\n\\t\\t\\t@_getPropertyValue \\\"image\\\"\\n\\t\\tset: (value) ->\\n\\n\\t\\t\\tif not (_.isString(value) or value is null)\\n\\t\\t\\t\\tlayerValueTypeError(\\\"image\\\", value)\\n\\n\\t\\t\\tcurrentValue = @_getPropertyValue \\\"image\\\"\\n\\n\\t\\t\\tif currentValue == value\\n\\t\\t\\t\\treturn @emit \\\"load\\\"\\n\\n\\t\\t\\t# Todo: this is not very nice but I wanted to have it fixed\\n\\t\\t\\t# defaults = Defaults.getDefaults \\\"Layer\\\", {}\\n\\n\\t\\t\\t# console.log defaults.backgroundColor\\n\\t\\t\\t# console.log @_defaultValues?.backgroundColor\\n\\n\\t\\t\\t# if defaults.backgroundColor == @_defaultValues?.backgroundColor\\n\\t\\t\\t# \\t@backgroundColor = null\\n\\n\\t\\t\\t@backgroundColor = null\\n\\n\\t\\t\\t# Set the property value\\n\\t\\t\\t@_setPropertyValue(\\\"image\\\", value)\\n\\n\\t\\t\\tif value in [null, \\\"\\\"]\\n\\t\\t\\t\\t@style[\\\"background-image\\\"] = null\\n\\t\\t\\t\\treturn\\n\\n\\t\\t\\timageUrl = value\\n\\n\\t\\t\\t# Optional base image value\\n\\t\\t\\t# imageUrl = Config.baseUrl + imageUrl\\n\\n\\t\\t\\t# If the file is local, we want to avoid caching\\n\\t\\t\\t# if Utils.isLocal() and not (_.startsWith(imageUrl, \\\"http://\\\") or _.startsWith(imageUrl, \\\"https://\\\"))\\n\\t\\t\\tif Utils.isLocal() and not imageUrl.match(/^https?:\\\\/\\\\//) and @_cacheImage is false\\n\\t\\t\\t\\timageUrl += \\\"?nocache=#{NoCacheDateKey}\\\"\\n\\n\\t\\t\\t# As an optimization, we will only use a loader\\n\\t\\t\\t# if something is explicitly listening to the load event\\n\\n\\t\\t\\tif @events?.hasOwnProperty \\\"load\\\" or @events?.hasOwnProperty \\\"error\\\"\\n\\n\\t\\t\\t\\tloader = new Image()\\n\\t\\t\\t\\tloader.name = imageUrl\\n\\t\\t\\t\\tloader.src = imageUrl\\n\\n\\t\\t\\t\\tloader.onload = =>\\n\\t\\t\\t\\t\\t@style[\\\"background-image\\\"] = \\\"url('#{imageUrl}')\\\"\\n\\t\\t\\t\\t\\t@emit \\\"load\\\", loader\\n\\n\\t\\t\\t\\tloader.onerror = =>\\n\\t\\t\\t\\t\\t@emit \\\"error\\\", loader\\n\\n\\t\\t\\telse\\n\\t\\t\\t\\t@style[\\\"background-image\\\"] = \\\"url('#{imageUrl}')\\\"\\n\\n\\t##############################################################\\n\\t## HIERARCHY\\n\\n\\t@define \\\"superLayer\\\",\\n\\t\\tenumerable: false\\n\\t\\texportable: false\\n\\t\\timportable: true\\n\\t\\tget: ->\\n\\t\\t\\t@_superLayer or null\\n\\t\\tset: (layer) ->\\n\\n\\t\\t\\treturn if layer is @_superLayer\\n\\n\\t\\t\\t# Check the type\\n\\t\\t\\tif not layer instanceof Layer\\n\\t\\t\\t\\tthrow Error \\\"Layer.superLayer needs to be a Layer object\\\"\\n\\n\\t\\t\\t# Cancel previous pending insertions\\n\\t\\t\\tUtils.domCompleteCancel @__insertElement\\n\\n\\t\\t\\t# Remove from previous superlayer sublayers\\n\\t\\t\\tif @_superLayer\\n\\t\\t\\t\\t@_superLayer._subLayers = _.without @_superLayer._subLayers, @\\n\\t\\t\\t\\t@_superLayer._element.removeChild @_element\\n\\t\\t\\t\\t@_superLayer.emit \\\"change:subLayers\\\", {added:[], removed:[@]}\\n\\n\\t\\t\\t# Either insert the element to the new superlayer element or into dom\\n\\t\\t\\tif layer\\n\\t\\t\\t\\tlayer._element.appendChild @_element\\n\\t\\t\\t\\tlayer._subLayers.push @\\n\\t\\t\\t\\tlayer.emit \\\"change:subLayers\\\", {added:[@], removed:[]}\\n\\t\\t\\telse\\n\\t\\t\\t\\t@_insertElement()\\n\\n\\t\\t\\t# Set the superlayer\\n\\t\\t\\t@_superLayer = layer\\n\\n\\t\\t\\t# Place this layer on top of its siblings\\n\\t\\t\\t@bringToFront()\\n\\n\\t\\t\\t@emit \\\"change:superLayer\\\"\\n\\n\\t# Todo: should we have a recursive subLayers function?\\n\\t# Let's make it when we need it.\\n\\n\\t@define \\\"subLayers\\\",\\n\\t\\tenumerable: false\\n\\t\\texportable: false\\n\\t\\timportable: false\\n\\t\\tget: -> _.clone @_subLayers\\n\\n\\t@define \\\"siblingLayers\\\",\\n\\t\\tenumerable: false\\n\\t\\texportable: false\\n\\t\\timportable: false\\n\\t\\tget: ->\\n\\n\\t\\t\\t# If there is no superLayer we need to walk through the root\\n\\t\\t\\tif @superLayer is null\\n\\t\\t\\t\\treturn _.filter @_context.getLayers(), (layer) =>\\n\\t\\t\\t\\t\\tlayer isnt @ and layer.superLayer is null\\n\\n\\t\\t\\treturn _.without @superLayer.subLayers, @\\n\\n\\taddSubLayer: (layer) ->\\n\\t\\tlayer.superLayer = @\\n\\n\\tremoveSubLayer: (layer) ->\\n\\n\\t\\tif layer not in @subLayers\\n\\t\\t\\treturn\\n\\n\\t\\tlayer.superLayer = null\\n\\n\\tsubLayersByName: (name) ->\\n\\t\\t_.filter @subLayers, (layer) -> layer.name == name\\n\\n\\tsuperLayers: (context=false) ->\\n\\n\\t\\tsuperLayers = []\\n\\t\\tcurrentLayer = @\\n\\n\\t\\tif context is false\\n\\t\\t\\twhile currentLayer.superLayer\\n\\t\\t\\t\\tsuperLayers.push(currentLayer.superLayer)\\n\\t\\t\\t\\tcurrentLayer = currentLayer.superLayer\\n\\t\\telse\\n\\t\\t\\twhile currentLayer._superOrParentLayer()\\n\\t\\t\\t\\tsuperLayers.push(currentLayer._superOrParentLayer())\\n\\t\\t\\t\\tcurrentLayer = currentLayer._superOrParentLayer()\\n\\n\\t\\treturn superLayers\\n\\n\\t_superOrParentLayer: ->\\n\\t\\tif @superLayer\\n\\t\\t\\treturn @superLayer\\n\\t\\tif @_context._parentLayer\\n\\t\\t\\treturn @_context._parentLayer\\n\\n\\tsubLayersAbove: (point, originX=0, originY=0) -> _.filter @subLayers, (layer) -> \\n\\t\\tUtils.framePointForOrigin(layer.frame, originX, originY).y < point.y\\n\\tsubLayersBelow: (point, originX=0, originY=0) -> _.filter @subLayers, (layer) -> \\n\\t\\tUtils.framePointForOrigin(layer.frame, originX, originY).y > point.y\\n\\tsubLayersLeft: (point, originX=0, originY=0) -> _.filter @subLayers, (layer) -> \\n\\t\\tUtils.framePointForOrigin(layer.frame, originX, originY).x < point.x\\n\\tsubLayersRight: (point, originX=0, originY=0) -> _.filter @subLayers, (layer) -> \\n\\t\\tUtils.framePointForOrigin(layer.frame, originX, originY).x > point.x\\n\\n\\t##############################################################\\n\\t## ANIMATION\\n\\n\\tanimate: (options) ->\\n\\n\\t\\tstart = options.start\\n\\t\\tstart ?= true\\n\\t\\tdelete options.start\\n\\n\\t\\toptions.layer = @\\n\\t\\tanimation = new Animation options\\n\\t\\tanimation.start() if start\\n\\t\\tanimation\\n\\n\\tanimations: ->\\n\\t\\t# Current running animations on this layer\\n\\t\\t_.filter @_context._animationList, (animation) =>\\n\\t\\t\\tanimation.options.layer == @\\n\\n\\tanimatingProperties: ->\\n\\n\\t\\tproperties = {}\\n\\n\\t\\tfor animation in @animations()\\n\\t\\t\\tfor propertyName in animation.animatingProperties()\\n\\t\\t\\t\\tproperties[propertyName] = animation\\n\\n\\t\\treturn properties\\n\\n\\t@define \\\"isAnimating\\\",\\n\\t\\tenumerable: false\\n\\t\\texportable: false\\n\\t\\tget: -> @animations().length isnt 0\\n\\n\\tanimateStop: ->\\n\\t\\t_.invoke(@animations(), \\\"stop\\\")\\n\\t\\t@_draggable?.animateStop()\\n\\n\\t##############################################################\\n\\t## INDEX ORDERING\\n\\n\\tbringToFront: ->\\n\\t\\t@index = _.max(_.union([0], @siblingLayers.map (layer) -> layer.index)) + 1\\n\\n\\tsendToBack: ->\\n\\t\\t@index = _.min(_.union([0], @siblingLayers.map (layer) -> layer.index)) - 1\\n\\n\\tplaceBefore: (layer) ->\\n\\t\\treturn if layer not in @siblingLayers\\n\\n\\t\\tfor l in @siblingLayers\\n\\t\\t\\tif l.index <= layer.index\\n\\t\\t\\t\\tl.index -= 1\\n\\n\\t\\t@index = layer.index + 1\\n\\n\\tplaceBehind: (layer) ->\\n\\t\\treturn if layer not in @siblingLayers\\n\\n\\t\\tfor l in @siblingLayers\\n\\t\\t\\tif l.index >= layer.index\\n\\t\\t\\t\\tl.index += 1\\n\\n\\t\\t@index = layer.index - 1\\n\\n\\t##############################################################\\n\\t## STATES\\n\\n\\t@define \\\"states\\\",\\n\\t\\tenumerable: false\\n\\t\\texportable: false\\n\\t\\timportable: false\\n\\t\\tget: -> @_states ?= new LayerStates @\\n\\n\\t#############################################################################\\n\\t## Draggable\\n\\n\\t@define \\\"draggable\\\",\\n\\t\\timportable: false\\n\\t\\texportable: false\\n\\t\\tget: ->\\n\\t\\t\\t@_draggable ?= new LayerDraggable(@)\\n\\n\\t# anchor: ->\\n\\t# \\tif not @_anchor\\n\\t# \\t\\t@_anchor = new LayerAnchor(@, arguments...)\\n\\t# \\telse\\n\\t# \\t\\t@_anchor.updateRules(arguments...)\\n\\n\\t##############################################################\\n\\t## SCROLLING\\n\\n\\t@define \\\"scrollFrame\\\",\\n\\t\\timportable: false\\n\\t\\tget: ->\\n\\t\\t\\tframe = \\n\\t\\t\\t\\tx: @scrollX\\n\\t\\t\\t\\ty: @scrollY\\n\\t\\t\\t\\twidth: @width\\n\\t\\t\\t\\theight: @height\\n\\t\\tset: (frame) ->\\n\\t\\t\\t@scrollX = frame.x\\n\\t\\t\\t@scrollY = frame.y\\n\\n\\t@define \\\"scrollX\\\",\\n\\t\\tget: -> @_element.scrollLeft\\n\\t\\tset: (value) ->\\n\\t\\t\\tlayerValueTypeError(\\\"scrollX\\\", value) if not _.isNumber(value)\\n\\t\\t\\t@_element.scrollLeft = value\\n\\n\\t@define \\\"scrollY\\\",\\n\\t\\tget: -> @_element.scrollTop\\n\\t\\tset: (value) -> \\n\\t\\t\\tlayerValueTypeError(\\\"scrollY\\\", value) if not _.isNumber(value)\\n\\t\\t\\t@_element.scrollTop = value\\n\\n\\t##############################################################\\n\\t## EVENTS\\n\\n\\taddListener: (eventNames..., originalListener) =>\\n\\n\\t\\t# To avoid an error in Framer Studio we return if no originalListener was given\\n\\t\\tif not originalListener\\n\\t\\t\\treturn\\n\\n\\t\\t# # Modify the scope to be the calling object, just like jquery\\n\\t\\t# # also add the object as the last argument\\n\\t\\tlistener = (args...) =>\\n\\t\\t\\toriginalListener.call(@, args..., @)\\n\\n\\t\\t# Because we modify the listener we need to keep track of it\\n\\t\\t# so we can find it back when we want to unlisten again\\n\\t\\toriginalListener.modifiedListener = listener\\n\\n\\t\\teventNames = [eventNames] if typeof eventNames == 'string'\\n\\n\\t\\t# Listen to dom events on the element\\n\\t\\tfor eventName in eventNames\\n\\t\\t\\tdo (eventName) =>\\n\\t\\t\\t\\tsuper eventName, listener\\n\\t\\t\\t\\t@_context.eventManager.wrap(@_element).addEventListener(eventName, listener)\\n\\n\\t\\t\\t\\t@_eventListeners ?= {}\\n\\t\\t\\t\\t@_eventListeners[eventName] ?= []\\n\\t\\t\\t\\t@_eventListeners[eventName].push(listener)\\n\\n\\t\\t\\t\\t# We want to make sure we listen to these events, but we can safely\\n\\t\\t\\t\\t# ignore it for change events\\n\\t\\t\\t\\tif not _.startsWith eventName, \\\"change:\\\"\\n\\t\\t\\t\\t\\t@ignoreEvents = false\\n\\n\\tremoveListener: (eventNames..., listener) ->\\n\\n\\t\\t# If the original listener was modified, remove that\\n\\t\\t# one instead\\n\\t\\tif listener.modifiedListener\\n\\t\\t\\tlistener = listener.modifiedListener\\n\\n\\t\\teventNames = [eventNames] if typeof eventNames == 'string'\\n\\t\\t\\t\\n\\t\\tfor eventName in eventNames\\n\\t\\t\\tdo (eventName) =>\\n\\t\\t\\t\\tsuper eventName, listener\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t@_context.eventManager.wrap(@_element).removeEventListener(eventName, listener)\\n\\n\\t\\t\\t\\tif @_eventListeners\\n\\t\\t\\t\\t\\t@_eventListeners[eventName] = _.without @_eventListeners[eventName], listener\\n\\n\\tonce: (eventName, listener) ->\\n\\n\\t\\toriginalListener = listener\\n\\n\\t\\tlistener = (args...) =>\\n\\t\\t\\toriginalListener.call(@, args..., @)\\n\\t\\t\\t@removeListener(eventName, listener)\\n\\n\\t\\t@addListener(eventName, listener)\\n\\n\\n\\tremoveAllListeners: ->\\n\\n\\t\\treturn if not @_eventListeners\\n\\n\\t\\tfor eventName, listeners of @_eventListeners\\n\\t\\t\\tfor listener in listeners\\n\\t\\t\\t\\t@removeListener eventName, listener\\n\\n\\ton: @::addListener\\n\\toff: @::removeListener\\n\\n\\t##############################################################\\n\\t## DESCRIPTOR\\n\\n\\ttoInspect: ->\\n\\n\\t\\tround = (value) ->\\n\\t\\t\\tif parseInt(value) == value\\n\\t\\t\\t\\treturn parseInt(value)\\n\\t\\t\\treturn Utils.round(value, 1)\\n\\n\\t\\tif @name\\n\\t\\t\\treturn \\\"<#{@constructor.name} id:#{@id} name:#{@name} (#{round(@x)},#{round(@y)}) #{round(@width)}x#{round(@height)}>\\\"\\n\\t\\treturn \\\"<#{@constructor.name} id:#{@id} (#{round(@x)},#{round(@y)}) #{round(@width)}x#{round(@height)}>\\\"\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Layer.coffee\\n **/\",\"{Layer} = require \\\"./Layer\\\"\\n\\n\\\"\\\"\\\"\\nTodo: make it work in a parent layer\\n\\\"\\\"\\\"\\n\\nclass exports.BackgroundLayer extends Layer\\n\\t\\n\\tconstructor: (options={}) ->\\n\\t\\t\\n\\t\\toptions.backgroundColor ?= \\\"#fff\\\"\\n\\t\\t\\n\\t\\tsuper options\\n\\t\\t\\n\\t\\t@sendToBack()\\n\\t\\t@layout()\\n\\t\\t@_context.eventManager.wrap(window).addEventListener(\\\"resize\\\", @layout)\\n\\t\\n\\tlayout: =>\\n\\t\\n\\t\\tif @superLayer\\n\\t\\t\\t@frame = {x:0, y:0, width:@superLayer.width, height:@superLayer.height}\\n\\t\\telse if @_context._parentLayer\\n\\t\\t\\t@frame = {x:0, y:0, width:@_context._parentLayer.width, height:@_context._parentLayer.height}\\n\\t\\telse\\n\\t\\t\\t@frame = {x:0, y:0, width:window.innerWidth, height:window.innerHeight}\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/BackgroundLayer.coffee\\n **/\",\"{Layer} = require \\\"./Layer\\\"\\n\\nclass exports.VideoLayer extends Layer\\n\\t\\n\\tconstructor: (options={}) ->\\n\\t\\t\\n\\t\\t# We need the player to exist before we add the options\\n\\t\\t@player = document.createElement(\\\"video\\\")\\n\\t\\t@player.setAttribute(\\\"webkit-playsinline\\\", \\\"true\\\")\\n\\t\\t@player.style.width = \\\"100%\\\"\\n\\t\\t@player.style.height = \\\"100%\\\"\\n\\n\\t\\tsuper options\\n\\t\\t\\n\\t\\t# Make it work with .on and .off\\n\\t\\t# https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Media_events\\n\\t\\t@player.on = @player.addEventListener\\n\\t\\t@player.off = @player.removeEventListener\\n\\t\\t\\n\\t\\t@video = options.video\\n\\t\\t\\n\\t\\t@_element.appendChild(@player)\\n\\t\\n\\t@define \\\"video\\\",\\n\\t\\tget: -> @player.src\\n\\t\\tset: (video) -> @player.src = video\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/VideoLayer.coffee\\n **/\",\"{_} = require \\\"./Underscore\\\"\\n\\nUtils = require \\\"./Utils\\\"\\n\\nEvents = {}\\n\\nif Utils.isTouch()\\n\\tEvents.TouchStart = \\\"touchstart\\\"\\n\\tEvents.TouchEnd = \\\"touchend\\\"\\n\\tEvents.TouchMove = \\\"touchmove\\\"\\nelse\\n\\tEvents.TouchStart = \\\"mousedown\\\"\\n\\tEvents.TouchEnd = \\\"mouseup\\\"\\n\\tEvents.TouchMove = \\\"mousemove\\\"\\n\\nEvents.Click = Events.TouchEnd\\n\\n# Standard dom events\\nEvents.MouseOver = \\\"mouseover\\\"\\nEvents.MouseOut = \\\"mouseout\\\"\\nEvents.MouseMove = \\\"mousemove\\\"\\nEvents.MouseWheel = \\\"mousewheel\\\"\\n\\n# Animation events\\nEvents.AnimationStart = \\\"start\\\"\\nEvents.AnimationStop = \\\"stop\\\"\\nEvents.AnimationEnd = \\\"end\\\"\\nEvents.AnimationDidStart = \\\"start\\\"\\nEvents.AnimationDidStop = \\\"stop\\\"\\nEvents.AnimationDidEnd = \\\"end\\\"\\n\\n# Scroll events\\nEvents.Scroll = \\\"scroll\\\"\\n\\n# Image events\\nEvents.ImageLoaded = \\\"load\\\"\\nEvents.ImageLoadError = \\\"error\\\"\\n\\n# Extract touch events for any event\\nEvents.touchEvent = (event) ->\\n\\ttouchEvent = event.touches?[0]\\n\\ttouchEvent ?= event.changedTouches?[0]\\n\\ttouchEvent ?= event\\n\\ttouchEvent\\n\\nEvents.wrap = (element) ->\\n\\tFramer.CurrentContext.eventManager.wrap(element)\\n\\t\\nexports.Events = Events\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Events.coffee\\n **/\",\"{_} = require \\\"./Underscore\\\"\\n\\nUtils = require \\\"./Utils\\\"\\n\\n{Config} = require \\\"./Config\\\"\\n{Defaults} = require \\\"./Defaults\\\"\\n{EventEmitter} = require \\\"./EventEmitter\\\"\\n\\n{LinearAnimator} = require \\\"./Animators/LinearAnimator\\\"\\n{BezierCurveAnimator} = require \\\"./Animators/BezierCurveAnimator\\\"\\n{SpringRK4Animator} = require \\\"./Animators/SpringRK4Animator\\\"\\n{SpringDHOAnimator} = require \\\"./Animators/SpringDHOAnimator\\\"\\n\\nAnimatorClasses =\\n\\t\\\"linear\\\": LinearAnimator\\n\\t\\\"bezier-curve\\\": BezierCurveAnimator\\n\\t\\\"spring-rk4\\\": SpringRK4Animator\\n\\t\\\"spring-dho\\\": SpringDHOAnimator\\n\\nAnimatorClasses[\\\"spring\\\"] = AnimatorClasses[\\\"spring-rk4\\\"]\\nAnimatorClasses[\\\"cubic-bezier\\\"] = AnimatorClasses[\\\"bezier-curve\\\"]\\n\\nAnimatorClassBezierPresets = [\\\"ease\\\", \\\"ease-in\\\", \\\"ease-out\\\", \\\"ease-in-out\\\"]\\n\\nnumberRE = /[+-]?(?:\\\\d*\\\\.|)\\\\d+(?:[eE][+-]?\\\\d+|)/\\nrelativePropertyRE = new RegExp('^(?:([+-])=|)(' + numberRE.source + ')([a-z%]*)$', 'i')\\n\\nisRelativeProperty = (v) ->\\n\\t_.isString(v) and relativePropertyRE.test(v)\\n\\nevaluateRelativeProperty = (target, k, v) ->\\n\\t[match, sign, number, unit, rest...] = relativePropertyRE.exec(v)\\n\\treturn target[k] + (sign + 1) * number if sign\\n\\treturn +number\\n\\n# _runningAnimations = []\\n\\n# Todo: this would normally be BaseClass but the properties keyword\\n# is not compatible and causes problems.\\nclass exports.Animation extends EventEmitter\\n\\n\\tconstructor: (options={}) ->\\n\\n\\t\\toptions = Defaults.getDefaults \\\"Animation\\\", options\\n\\n\\t\\tsuper options\\n\\n\\t\\t@options = _.clone _.defaults options,\\n\\t\\t\\tlayer: null\\n\\t\\t\\tproperties: {}\\n\\t\\t\\tcurve: \\\"linear\\\"\\n\\t\\t\\tcurveOptions: {}\\n\\t\\t\\ttime: 1\\n\\t\\t\\trepeat: 0\\n\\t\\t\\tdelay: 0\\n\\t\\t\\tdebug: false\\n\\n\\t\\tif options.origin\\n\\t\\t\\tconsole.warn \\\"Animation.origin: please use layer.originX and layer.originY\\\"\\n\\n\\t\\t@options.properties = Animation.filterAnimatableProperties(@options.properties)\\n\\n\\t\\t@_parseAnimatorOptions()\\n\\t\\t@_originalState = @_currentState()\\n\\t\\t@_repeatCounter = @options.repeat\\n\\n\\tstart: =>\\n\\n\\t\\tif @options.layer is null\\n\\t\\t\\tconsole.error \\\"Animation: missing layer\\\"\\n\\n\\t\\tAnimatorClass = @_animatorClass()\\n\\n\\t\\tif @options.debug\\n\\t\\t\\tconsole.log \\\"Animation.start #{AnimatorClass.name}\\\", @options.curveOptions\\n\\n\\t\\t@_animator = new AnimatorClass @options.curveOptions\\n\\n\\t\\t@_target = @options.layer\\n\\t\\t@_stateA = @_currentState()\\n\\t\\t@_stateB = {}\\n\\n\\t\\tfor k, v of @options.properties\\n\\n\\t\\t\\t# Evaluate function properties\\n\\t\\t\\tif _.isFunction(v)\\n\\t\\t\\t\\tv = v()\\n\\n\\t\\t\\t# Evaluate relative properties\\n\\t\\t\\telse if isRelativeProperty(v)\\n\\t\\t\\t\\tv = evaluateRelativeProperty(@_target, k, v)\\n\\n\\t\\t\\t# Filter out the properties that are equal\\n\\t\\t\\t@_stateB[k] = v if @_stateA[k] != v\\n\\n\\t\\tif _.keys(@_stateA).length is 0\\n\\t\\t\\tconsole.warn \\\"Animation: nothing to animate, no animatable properties\\\"\\n\\t\\t\\treturn false\\n\\n\\t\\tif _.isEqual(@_stateA, @_stateB)\\n\\t\\t\\tconsole.warn \\\"Animation: nothing to animate, all properties are equal to what it is now\\\"\\n\\t\\t\\treturn false\\n\\n\\t\\tfor property, animation of @_target.animatingProperties()\\n\\t\\t\\tif @_stateA.hasOwnProperty(property)\\n\\t\\t\\t\\t# We used to ignore animations that tried animation already animating properties\\n\\t\\t\\t\\t# console.warn \\\"Animation: property #{property} is already being animated for this layer by another animation, so we bail\\\"\\n\\n\\t\\t\\t\\t# But after some consideration, we actually just stop the animation that is animation those properties for this one\\n\\t\\t\\t\\tanimation.stop()\\n\\n\\t\\tif @options.debug\\n\\t\\t\\tconsole.log \\\"Animation.start\\\"\\n\\t\\t\\tconsole.log \\\"\\\\t#{k}: #{@_stateA[k]} -> #{@_stateB[k]}\\\" for k, v of @_stateB\\n\\n\\t\\t# See if we need to repeat this animation\\n\\t\\t# Todo: more repeat behaviours:\\n\\t\\t# 1) add (from end position) 2) reverse (loop between a and b)\\n\\t\\tif @_repeatCounter > 0\\n\\t\\t\\t@once \\\"end\\\", =>\\n\\t\\t\\t\\tfor k, v of @_stateA\\n\\t\\t\\t\\t\\t@_target[k] = v\\n\\t\\t\\t\\t@_repeatCounter--\\n\\t\\t\\t\\t@start()\\n\\n\\t\\t# If we have a delay, we wait a bit for it to start\\n\\t\\tif @options.delay\\n\\t\\t\\tUtils.delay(@options.delay, @_start)\\n\\t\\telse\\n\\t\\t\\t@_start()\\n\\n\\t\\treturn true\\n\\n\\tstop: (emit=true)->\\n\\t\\t\\n\\t\\t@options.layer._context._animationList = _.without(\\n\\t\\t\\t@options.layer._context._animationList, @)\\n\\n\\t\\t@emit(\\\"stop\\\") if emit\\n\\t\\tFramer.Loop.off(\\\"update\\\", @_update)\\n\\n\\treverse: ->\\n\\t\\t# TODO: Add some tests\\n\\t\\toptions = _.clone(@options)\\n\\t\\toptions.properties = @_originalState\\n\\t\\tanimation = new Animation options\\n\\t\\tanimation\\n\\n\\tcopy: -> return new Animation(_.clone(@options))\\n\\n\\t# A bunch of common aliases to minimize frustration\\n\\trevert: -> \\t@reverse()\\n\\tinverse: -> @reverse()\\n\\tinvert: -> \\t@reverse()\\n\\n\\temit: (event) ->\\n\\t\\tsuper\\n\\t\\t# Also emit this to the layer with self as argument\\n\\t\\t@options.layer.emit(event, @)\\n\\n\\tanimatingProperties: ->\\n\\t\\t_.keys(@_stateA)\\n\\n\\t_start: =>\\n\\t\\t@options.layer._context._animationList.push(@)\\n\\t\\t@emit(\\\"start\\\")\\n\\t\\tFramer.Loop.on(\\\"update\\\", @_update)\\n\\n\\t_update: (delta) =>\\n\\t\\tif @_animator.finished()\\n\\t\\t\\t@_updateValue(1)\\n\\t\\t\\t@stop(emit=false)\\n\\t\\t\\t@emit(\\\"end\\\")\\n\\t\\t\\t@emit(\\\"stop\\\")\\n\\t\\telse\\n\\t\\t\\t@_updateValue(@_animator.next(delta))\\n\\n\\t_updateValue: (value) =>\\n\\n\\t\\tfor k, v of @_stateB\\n\\t\\t\\t@_target[k] = Utils.mapRange(value, 0, 1, @_stateA[k], @_stateB[k])\\n\\n\\t\\treturn\\n\\n\\t_currentState: ->\\n\\t\\t_.pick @options.layer, _.keys(@options.properties)\\n\\n\\t_animatorClass: ->\\n\\n\\t\\tparsedCurve = Utils.parseFunction(@options.curve)\\n\\t\\tanimatorClassName = parsedCurve.name.toLowerCase()\\n\\n\\t\\tif AnimatorClasses.hasOwnProperty(animatorClassName)\\n\\t\\t\\treturn AnimatorClasses[animatorClassName]\\n\\n\\t\\tif animatorClassName in AnimatorClassBezierPresets\\n\\t\\t\\treturn BezierCurveAnimator\\n\\n\\t\\treturn LinearAnimator\\n\\n\\t_parseAnimatorOptions: ->\\n\\n\\t\\tanimatorClass = @_animatorClass()\\n\\t\\tparsedCurve = Utils.parseFunction @options.curve\\n\\t\\tanimatorClassName = parsedCurve.name.toLowerCase()\\n\\n\\t\\t# This is for compatibility with the direct Animation.time argument. This should\\n\\t\\t# ideally also be passed as a curveOption\\n\\n\\t\\tif animatorClass in [LinearAnimator, BezierCurveAnimator]\\n\\t\\t\\tif _.isString(@options.curveOptions) or _.isArray(@options.curveOptions)\\n\\t\\t\\t\\t@options.curveOptions =\\n\\t\\t\\t\\t\\tvalues: @options.curveOptions\\n\\n\\t\\t\\t@options.curveOptions.time ?= @options.time\\n\\n\\t\\t# Support ease-in etc\\n\\t\\tif animatorClass in [BezierCurveAnimator] and animatorClassName in AnimatorClassBezierPresets\\n\\t\\t\\t@options.curveOptions.values = animatorClassName\\n\\t\\t\\t@options.curveOptions.time ?= @options.time\\n\\n\\t\\t# All this is to support curve: \\\"spring(100,20,10)\\\". In the future we'd like people\\n\\t\\t# to start using curveOptions: {tension:100, friction:10} etc\\n\\n\\t\\tif parsedCurve.args.length\\n\\n\\t\\t\\t# console.warn \\\"Animation.curve arguments are deprecated. Please use Animation.curveOptions\\\"\\n\\n\\t\\t\\tif animatorClass is BezierCurveAnimator\\n\\t\\t\\t\\t@options.curveOptions.values = parsedCurve.args.map (v) -> parseFloat(v) or 0\\n\\n\\t\\t\\tif animatorClass is SpringRK4Animator\\n\\t\\t\\t\\tfor k, i in [\\\"tension\\\", \\\"friction\\\", \\\"velocity\\\", \\\"tolerance\\\"]\\n\\t\\t\\t\\t\\tvalue = parseFloat parsedCurve.args[i]\\n\\t\\t\\t\\t\\t@options.curveOptions[k] = value if value\\n\\n\\t\\t\\tif animatorClass is SpringDHOAnimator\\n\\t\\t\\t\\tfor k, i in [\\\"stiffness\\\", \\\"damping\\\", \\\"mass\\\", \\\"tolerance\\\"]\\n\\t\\t\\t\\t\\tvalue = parseFloat parsedCurve.args[i]\\n\\t\\t\\t\\t\\t@options.curveOptions[k] = value if value\\n\\n\\t@filterAnimatableProperties = (properties) ->\\n\\t\\t# Function to filter only animatable properties out of a given set\\n\\t\\tanimatableProperties = {}\\n\\n\\t\\t# Only animate numeric properties for now\\n\\t\\tfor k, v of properties\\n\\t\\t\\tanimatableProperties[k] = v if _.isNumber(v) or _.isFunction(v) or isRelativeProperty(v)\\n\\n\\t\\treturn animatableProperties\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Animation.coffee\\n **/\",\"{_} = require \\\"./Underscore\\\"\\n\\n{EventEmitter} = require \\\"./EventEmitter\\\"\\n\\nclass AnimationGroup extends EventEmitter\\n\\n\\tconstructor: (animations=[]) ->\\n\\t\\t@setAnimations(animations)\\n\\t\\t@_currentAnimation = null\\n\\t\\n\\tsetAnimations: (animations) ->\\n\\t\\t# Copy all animations so we can use the same one for repeat\\n\\t\\t@_animations = _.map animations, (animation) -> animation.copy()\\n\\n\\tstart: ->\\n\\t\\t@emit(\\\"start\\\")\\n\\n\\t\\t_.map @_animations, (animation, index) =>\\n\\n\\t\\t\\tnextAnimation = @_animations[index+1]\\n\\n\\t\\t\\tif nextAnimation\\n\\t\\t\\t\\tanimation.on Events.AnimationEnd, =>\\n\\t\\t\\t\\t\\tnextAnimation.start()\\n\\t\\t\\t\\t\\t@_currentAnimation = animation\\n\\t\\t\\telse\\n\\t\\t\\t\\tanimation.on Events.AnimationEnd, =>\\n\\t\\t\\t\\t\\t@emit(\\\"end\\\")\\n\\t\\t\\t\\t\\t@_currentAnimation = null\\n\\n\\t\\t@_animations[0].start()\\n\\n\\tstop: ->\\n\\t\\t@_currentAnimation?.stop()\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/AnimationGroup.coffee\\n **/\",\"{BaseClass} = require \\\"./BaseClass\\\"\\n\\nclass ScreenClass extends BaseClass\\n\\t\\n\\t@define \\\"width\\\",  get: -> Framer.CurrentContext.width\\n\\t@define \\\"height\\\", get: -> Framer.CurrentContext.height\\n\\t@define \\\"size\\\", get: -> {width:@width, height:@height}\\n\\t@define \\\"frame\\\", get: -> {x:0, y:0, width:@width, height:@height}\\n\\n\\t# Todo: maybe resize based on parent layer\\n\\t\\n# We use this as a singleton\\nexports.Screen = new ScreenClass\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Screen.coffee\\n **/\",\"{BaseClass} = require \\\"./BaseClass\\\"\\n{Events} = require \\\"./Events\\\"\\n\\nclass CanvasClass extends BaseClass\\n\\t\\n\\t@define \\\"width\\\",  get: -> window.innerWidth\\n\\t@define \\\"height\\\", get: -> window.innerHeight\\n\\t@define \\\"size\\\", get: -> {width:@width, height:@height}\\n\\t@define \\\"frame\\\", get: -> {x:0, y:0, width:@width, height:@height}\\n\\n\\taddListener: (eventName, listener) =>\\n\\t\\tif eventName is \\\"resize\\\"\\n\\t\\t\\tEvents.wrap(window).addEventListener \\\"resize\\\", =>\\n\\t\\t\\t\\t@emit(\\\"resize\\\")\\n\\t\\t\\n\\t\\tsuper(eventName, listener)\\n\\n\\ton: @::addListener\\n\\t\\n# We use this as a singleton\\nexports.Canvas = new CanvasClass\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Canvas.coffee\\n **/\",\"Utils = require \\\"./Utils\\\"\\n{Context} = require \\\"./Context\\\"\\n\\n\\\"\\\"\\\"\\n\\nTodo:\\n- Better looks\\n- Resizable\\n- Live in own space on top of all Framer stuff\\n\\n\\\"\\\"\\\"\\n\\nprintContext = null\\nprintLayer = null\\n\\nexports.print = (args...) ->\\n\\n\\tif not printContext\\n\\t\\tprintContext = new Context(name:\\\"Print\\\")\\n\\n\\tprintContext.run ->\\n\\n\\t\\tif not printLayer\\n\\n\\t\\t\\tprintLayer = new Layer\\n\\t\\t\\tprintLayer.scrollVertical = true\\n\\t\\t\\tprintLayer.ignoreEvents = false\\n\\t\\t\\tprintLayer.html = \\\"\\\"\\n\\t\\t\\tprintLayer.style =\\n\\t\\t\\t\\t\\\"font\\\": \\\"12px/1.35em Menlo\\\"\\n\\t\\t\\t\\t\\\"color\\\": \\\"rgba(0,0,0,.7)\\\"\\n\\t\\t\\t\\t\\\"padding\\\": \\\"8px\\\"\\n\\t\\t\\t\\t\\\"padding-bottom\\\": \\\"30px\\\"\\n\\t\\t\\t\\t\\\"border-top\\\": \\\"1px solid #d9d9d9\\\"\\n\\t\\t\\t\\n\\t\\t\\tprintLayer.opacity = 0.9\\n\\t\\t\\tprintLayer.style.zIndex = 999 # Always stay on top\\n\\t\\t\\tprintLayer.visible = true\\n\\t\\t\\tprintLayer.backgroundColor = \\\"white\\\"\\n\\t\\t\\t# printLayer.bringToFront()\\n\\n\\t\\t\\tupdate = ->\\n\\t\\t\\t\\tprintLayer.width = window.innerWidth\\n\\t\\t\\t\\tprintLayer.height = 160\\n\\t\\t\\t\\tprintLayer.maxY = window.innerHeight\\n\\n\\t\\t\\tupdate()\\n\\n\\t\\t\\tprintContext.eventManager.wrap(window).addEventListener(\\\"resize\\\", update)\\n\\t\\t\\n\\t\\tprintPrefix = \\\"» \\\"\\n\\t\\tprintNode = document.createElement(\\\"div\\\")\\n\\t\\tprintNode.innerHTML = _.escape(printPrefix + args.map(Utils.inspect).join(\\\", \\\")) + \\\"<br>\\\"\\n\\t\\tprintNode.style[\\\"-webkit-user-select\\\"] = \\\"text\\\"\\n\\t\\tprintNode.style[\\\"cursor\\\"] = \\\"auto\\\"\\n\\t\\t\\n\\t\\tprintLayer._element.appendChild(printNode)\\n\\t\\n\\tUtils.delay 0, ->\\n\\t\\tprintLayer._element.scrollTop = printLayer._element.scrollHeight\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Print.coffee\\n **/\",\"{_} = require \\\"../Underscore\\\"\\nUtils = require \\\"../Utils\\\"\\n\\n{Layer} = require \\\"../Layer\\\"\\n{Events} = require \\\"../Events\\\"\\n\\n\\\"\\\"\\\"\\nScrollComponent\\n\\ncontent <Layer>\\ncontentSize <{width:n, height:n}>\\ncontentInset <{top:n, right:n, bottom:n, left:n}> TODO\\ncontentOffset <{x:n, y:n}> TODO\\nscrollFrame <{x:n, y:n, width:n, height:n}>\\nscrollPoint <{x:n, y:n}>\\nscrollHorizontal <bool>\\nscrollVertical <bool>\\nspeedX <number>\\nspeedY <number>\\ndelaysContentTouches <bool> TODO\\nloadPreset(<\\\"ios\\\"|\\\"android\\\">) TODO\\nscrollToPoint(<{x:n, y:n}>, animate=true, animationOptions={})\\nscrollToLayer(contentLayer, originX=0, originY=0)\\nscrollFrameForContentLayer(<x:n, y:n>) <{x:n, y:n, width:n, height:n}> TODO\\nclosestContentLayer(<x:n, y:n>) <Layer> TODO\\n\\nScrollComponent Events\\n\\n(all of the draggable events)\\nScrollStart -> DragStart\\nScrollWillMove -> DragWillMove\\nScrollDidMove -> DragDidMove\\nscroll -> DragMove (html compat)\\nScrollEnd -> DragEnd\\n\\\"\\\"\\\"\\n\\nEvents.ScrollStart = \\\"scrollstart\\\"\\nEvents.Scroll = \\\"scroll\\\"\\nEvents.ScrollMove = Events.Scroll\\nEvents.ScrollEnd = \\\"scrollend\\\"\\nEvents.ScrollAnimationDidStart = \\\"scrollanimationdidstart\\\"\\nEvents.ScrollAnimationDidEnd = \\\"scrollanimationdidend\\\"\\n\\nEventMappers = {}\\nEventMappers[Events.Move] = Events.Move\\nEventMappers[Events.ScrollStart] = Events.DragStart\\nEventMappers[Events.ScrollMove] = Events.DragMove\\nEventMappers[Events.ScrollEnd] = Events.DragEnd\\nEventMappers[Events.ScrollAnimationDidStart] = Events.DragAnimationDidStart\\nEventMappers[Events.ScrollAnimationDidEnd] = Events.DragAnimationDidEnd\\nEventMappers[Events.DirectionLockDidStart] = Events.DirectionLockDidStart\\n\\nclass exports.ScrollComponent extends Layer\\n\\n\\t# Proxy properties directly from the draggable\\n\\t@define \\\"velocity\\\", @proxyProperty \\\"content.draggable.velocity\\\", importable: false\\n\\t@define \\\"scrollHorizontal\\\", @proxyProperty(\\\"content.draggable.horizontal\\\")\\n\\t@define \\\"scrollVertical\\\", @proxyProperty(\\\"content.draggable.vertical\\\")\\n\\t@define \\\"speedX\\\", @proxyProperty(\\\"content.draggable.speedX\\\")\\n\\t@define \\\"speedY\\\", @proxyProperty(\\\"content.draggable.speedY\\\")\\n\\t@define \\\"isDragging\\\", @proxyProperty \\\"content.draggable.isDragging\\\", importable: false\\n\\t@define \\\"isMoving\\\", @proxyProperty \\\"content.draggable.isMoving\\\", importable: false\\n\\t@define \\\"propagateEvents\\\", @proxyProperty(\\\"content.draggable.propagateEvents\\\")\\n\\t@define \\\"directionLock\\\", @proxyProperty(\\\"content.draggable.directionLock\\\")\\n\\t@define \\\"directionLockThreshold\\\", @proxyProperty(\\\"content.draggable.directionLockThreshold\\\")\\n\\n\\t@define \\\"content\\\",\\n\\t\\timportable: false\\n\\t\\texportable: false\\n\\t\\tget: -> @_content\\n\\n\\t@define \\\"mouseWheelSpeedMultiplier\\\", @simpleProperty(\\\"mouseWheelSpeedMultiplier\\\", 1)\\n\\n\\tconstructor: (options={}) ->\\n\\n\\t\\t# options.backgroundColor ?= null\\n\\t\\toptions.clip ?= true\\n\\t\\toptions.name ?= @constructor.name\\n\\t\\toptions.mouseWheelEnabled ?= false\\n\\t\\toptions.backgroundColor ?= null\\n\\n\\t\\tsuper options\\n\\n\\t\\t@_contentInset = options.contentInset or Utils.rectZero()\\n\\t\\t@setContentLayer(new Layer)\\n\\n\\t\\t# Because we did not have a content layer before, we want to re-apply \\n\\t\\t# the options again so everything gets configures properly.\\n\\t\\t@_applyOptionsAndDefaults(options)\\n\\t\\t@_enableMouseWheelHandling()\\n\\n\\tcalculateContentFrame: ->\\n\\n\\t\\t# Calculates the size of the content. By default this returns the total\\n\\t\\t# size of all the content layers based on width and height. You can override\\n\\t\\t# this for example to take scaling into account.\\n\\n\\t\\tcontentFrame = @content.contentFrame()\\n\\n\\t\\treturn size = \\n\\t\\t\\tx: 0\\n\\t\\t\\ty: 0\\n\\t\\t\\twidth:  Math.max(@width,  contentFrame.x + contentFrame.width)\\n\\t\\t\\theight: Math.max(@height, contentFrame.y + contentFrame.height)\\n\\n\\n\\tsetContentLayer: (layer) ->\\n\\n\\t\\t# Sets the content layer if you happen to want to replace the default one\\n\\t\\t# yourself. Sets some sane defaults too.\\n\\n\\t\\t@_content.destroy() if @content\\n\\n\\t\\t@_content = layer\\n\\t\\t@_content.superLayer = @\\n\\t\\t@_content.name = \\\"#{@constructor.name.replace(\\\"Component\\\", \\\"\\\")}Content\\\"\\n\\t\\t@_content.clip = false\\n\\t\\t@_content.draggable.enabled = true\\n\\t\\t@_content.draggable.momentum = true\\n\\t\\t@_content.on(\\\"change:subLayers\\\", @updateContent)\\n\\n\\t\\t# Update the content view size on resizing the ScrollComponent\\n\\t\\t@on(\\\"change:width\\\", @updateContent)\\n\\t\\t@on(\\\"change:height\\\", @updateContent)\\n\\n\\t\\t@updateContent()\\n\\t\\t@scrollPoint = {x:0, y:0}\\n\\n\\t\\treturn @_content\\n\\n\\tupdateContent: =>\\n\\n\\t\\t# This function re-calculates the size of the content, updates the content layer\\n\\t\\t# size and the dragging constraints based on the content size and contentInset.\\n\\t\\t# It defaults to just the direct sub layers of the content, not recursive.\\n\\n\\t\\t# This function automatically gets called when you add or remove content layers,\\n\\t\\t# but not when you change the size of the content layers. It's totally okay to \\n\\t\\t# call it yourself, but make sure you don't overdo it.\\n\\n\\t\\treturn unless @content\\n\\n\\t\\tcontentFrame = @calculateContentFrame()\\n\\t\\tcontentFrame.x = contentFrame.x + @_contentInset.left\\n\\t\\tcontentFrame.y = contentFrame.y + @_contentInset.top\\n\\t\\t@content.frame = contentFrame\\n\\n\\t\\tconstraintsFrame = @calculateContentFrame()\\n\\t\\tconstraintsFrame =\\n\\t\\t\\tx: -constraintsFrame.width  + @width - @_contentInset.right\\n\\t\\t\\ty: -constraintsFrame.height + @height - @_contentInset.bottom\\n\\t\\t\\twidth: \\tconstraintsFrame.width  + constraintsFrame.width  - @width + \\n\\t\\t\\t\\t@_contentInset.left + @_contentInset.right\\n\\t\\t\\theight: constraintsFrame.height + constraintsFrame.height - @height + \\n\\t\\t\\t\\t@_contentInset.top + @_contentInset.bottom\\n\\n\\t\\t@content.draggable.constraints = constraintsFrame\\n\\n\\t\\t# Change the default background color if we added subLayers. We keep the default \\n\\t\\t# color around until you set a content layer so you can see the ScrollComponent \\n\\t\\t# on your screen after creation.\\n\\t\\tif @content.subLayers.length\\n\\t\\t\\tif @content.backgroundColor == Framer.Defaults.Layer.backgroundColor\\n\\t\\t\\t\\t@content.backgroundColor = null\\n\\n\\t@define \\\"scroll\\\",\\n\\t\\texportable: false\\n\\t\\tget: -> @scrollHorizontal is true or @scrollVertical is true\\n\\t\\tset: (value) ->\\n\\t\\t\\treturn unless @content\\n\\t\\t\\t@content.animateStop() if value is false\\n\\t\\t\\t@scrollHorizontal = @scrollVertical = value\\n\\n\\t_calculateContentPoint: (scrollPoint) ->\\n\\t\\tscrollPoint.x -= @contentInset.left\\n\\t\\tscrollPoint.y -= @contentInset.top\\n\\t\\tpoint = @_pointInConstraints(scrollPoint)\\n\\t\\treturn Utils.pointInvert(point)\\n\\n\\t@define \\\"scrollX\\\",\\n\\t\\tget: -> \\n\\t\\t\\treturn 0 if not @content\\n\\t\\t\\treturn 0 - @content.x + @contentInset.left\\n\\t\\tset: (value) ->\\n\\t\\t\\treturn unless @content\\n\\t\\t\\t@content.draggable.animateStop()\\n\\t\\t\\t@content.x = @_calculateContentPoint({x:value, y:0}).x\\n\\n\\t@define \\\"scrollY\\\",\\n\\t\\tget: -> \\n\\t\\t\\treturn 0 if not @content\\n\\t\\t\\treturn 0 - @content.y + @contentInset.top\\n\\t\\tset: (value) -> \\n\\t\\t\\treturn unless @content\\n\\t\\t\\t@content.draggable.animateStop()\\n\\t\\t\\t@content.y = @_calculateContentPoint({x:0, y:value}).y\\n\\n\\t@define \\\"scrollPoint\\\",\\n\\t\\timportable: true\\n\\t\\texportable: false\\n\\t\\tget: -> \\n\\t\\t\\tpoint =\\n\\t\\t\\t\\tx: @scrollX\\n\\t\\t\\t\\ty: @scrollY\\n\\t\\tset: (point) ->\\n\\t\\t\\treturn unless @content\\n\\t\\t\\t@scrollX = point.x\\n\\t\\t\\t@scrollY = point.y\\n\\n\\t@define \\\"scrollFrame\\\",\\n\\t\\timportable: true\\n\\t\\texportable: false\\n\\t\\tget: ->\\n\\t\\t\\trect = @scrollPoint\\n\\t\\t\\trect.width = @width\\n\\t\\t\\trect.height = @height\\n\\t\\t\\trect\\n\\t\\tset: (value) ->\\n\\t\\t\\t@scrollPoint = value\\n\\n\\t@define \\\"contentInset\\\",\\n\\t\\tget: ->\\n\\t\\t\\t_.clone(@_contentInset)\\n\\t\\tset: (contentInset) ->\\n\\t\\t\\t@_contentInset = Utils.rectZero(Utils.parseRect(contentInset))\\n\\t\\t\\t@updateContent()\\n\\n\\t@define \\\"direction\\\",\\n\\t\\timportable: false\\n\\t\\texportable: false\\n\\t\\tget: ->\\n\\t\\t\\tdirection = @content.draggable.direction\\n\\t\\t\\treturn \\\"up\\\" if direction is \\\"down\\\"\\n\\t\\t\\treturn \\\"down\\\" if direction is \\\"up\\\"\\n\\t\\t\\treturn \\\"left\\\" if direction is \\\"right\\\"\\n\\t\\t\\treturn \\\"right\\\" if direction is \\\"left\\\"\\n\\t\\t\\treturn direction\\n\\n\\t@define \\\"angle\\\",\\n\\t\\timportable: false\\n\\t\\texportable: false\\n\\t\\tget: ->\\n\\t\\t\\treturn 0 unless @content\\n\\t\\t\\treturn -@content.draggable.angle\\n\\n\\tscrollToPoint: (point, animate=true, animationOptions={curve:\\\"spring(500,50,0)\\\"}) ->\\n\\t\\t\\n\\t\\t# We never let you scroll to a point that does not make sense (out of bounds). If you still\\n\\t\\t# would like to do that, access the .content.y directly.\\n\\t\\tcontentPoint = @_calculateContentPoint(point)\\n\\t\\t@content.draggable.animateStop()\\n\\n\\t\\tif animate\\n\\t\\t\\tpoint = {}\\n\\t\\t\\tpoint.x = contentPoint.x if contentPoint.hasOwnProperty(\\\"x\\\")\\n\\t\\t\\tpoint.y = contentPoint.y if contentPoint.hasOwnProperty(\\\"y\\\")\\n\\t\\t\\tanimationOptions.properties = point\\n\\t\\t\\t@content.animateStop()\\n\\t\\t\\t@content.animate(animationOptions)\\n\\t\\telse\\n\\t\\t\\t@content.point = contentPoint\\n\\n\\tscrollToTop: (animate=true, animationOptions={curve:\\\"spring(500,50,0)\\\"}) ->\\n\\t\\t@scrollToPoint({x:0, y:0}, animate, animationOptions)\\n\\n\\tscrollToLayer: (contentLayer, originX=0, originY=0, animate=true, animationOptions={curve:\\\"spring(500,50,0)\\\"}) ->\\n\\n\\t\\tif contentLayer and contentLayer.superLayer isnt @content\\n\\t\\t\\tthrow Error(\\\"This layer is not in the scroll component content\\\")\\n\\n\\t\\tif not contentLayer or @content.subLayers.length == 0\\n\\t\\t\\tscrollPoint = {x:0, y:0}\\n\\t\\telse\\n\\t\\t\\tscrollPoint = @_scrollPointForLayer(contentLayer, originX, originY)\\n\\t\\t\\tscrollPoint.x -= @width * originX\\n\\t\\t\\tscrollPoint.y -= @height * originY\\n\\n\\t\\t@scrollToPoint(scrollPoint, animate, animationOptions)\\n\\n\\t\\treturn contentLayer\\n\\n\\tscrollToClosestLayer: (originX=0, originY=0, animate=true, animationOptions={curve:\\\"spring(500,50,0)\\\"}) ->\\n\\t\\tclosestLayer = @closestContentLayer(originX, originY, animate, animationOptions)\\n\\t\\tif closestLayer\\n\\t\\t\\t@scrollToLayer(closestLayer, originX, originY)\\n\\t\\t\\treturn closestLayer\\n\\t\\telse\\n\\t\\t\\t@scrollToPoint({x:0, y:0}) unless closestLayer\\n\\t\\t\\treturn null\\n\\n\\tclosestContentLayer: (originX=0, originY=0) ->\\n\\t\\tscrollPoint = Utils.framePointForOrigin(@scrollFrame, originX, originY)\\n\\t\\treturn @closestContentLayerForScrollPoint(scrollPoint, originX, originY)\\n\\n\\tclosestContentLayerForScrollPoint: (scrollPoint, originX=0, originY=0) ->\\n\\t\\treturn _.first(@_contentLayersSortedByDistanceForScrollPoint(scrollPoint, originX, originY))\\n\\n\\t_scrollPointForLayer: (layer, originX=0, originY=0, clamp=true) ->\\n\\t\\treturn Utils.framePointForOrigin(layer, originX, originY)\\n\\n\\t_contentLayersSortedByDistanceForScrollPoint: (scrollPoint, originX=0, originY=0) ->\\n\\t\\treturn Utils.frameSortByAbsoluteDistance(scrollPoint, @content.subLayers, originX, originY)\\n\\n\\t_pointInConstraints: (point) ->\\n\\n\\t\\t{minX, maxX, minY, maxY} = @content.draggable.\\n\\t\\t\\t_calculateConstraints(@content.draggable.constraints)\\n\\n\\t\\tpoint = \\n\\t\\t\\tx: -Utils.clamp(-point.x, minX, maxX)\\n\\t\\t\\ty: -Utils.clamp(-point.y, minY, maxY)\\n\\n\\t\\treturn point\\n\\n\\t##############################################################\\n\\t# Map scroll events to content.draggable\\n\\n\\taddListener: (eventNames..., listener) ->\\n\\t\\tsuper\\n\\t\\tfor eventName in eventNames\\n\\t\\t\\t@content.on(EventMappers[eventName], listener) if eventName in _.keys(EventMappers)\\n\\n\\tremoveListener: (eventNames..., listener) ->\\n\\t\\tsuper\\n\\t\\tfor eventName in eventNames\\n\\t\\t\\t@content.off(EventMappers[eventName], listener) if eventName in _.keys(EventMappers)\\n\\t\\n\\ton: @::addListener\\n\\toff: @::removeListener\\n\\n\\t##############################################################\\n\\t# MouseWheel handling\\n\\n\\t@define \\\"mouseWheelEnabled\\\",\\n\\t\\tget: -> @_mouseWheelEnabled\\n\\t\\tset: (value) ->\\n\\t\\t\\t@_mouseWheelEnabled = value\\n\\t\\t\\t@_enableMouseWheelHandling(value)\\n\\n\\t_enableMouseWheelHandling: (enable) ->\\n\\t\\tif enable\\n\\t\\t\\t@on(Events.MouseWheel, @_onMouseWheel)\\n\\t\\telse\\n\\t\\t\\t@off(Events.MouseWheel, @_onMouseWheel)\\n\\n\\t_onMouseWheel: (event) =>\\n\\n\\t\\tif not @_mouseWheelScrolling\\n\\t\\t\\t@_mouseWheelScrolling = true\\n\\t\\t\\t@emit(Events.ScrollStart, event)\\n\\n\\t\\t@content.animateStop()\\n\\t\\t\\n\\t\\t{minX, maxX, minY, maxY} = @content.draggable._calculateConstraints(\\n\\t\\t\\t@content.draggable.constraints)\\n\\t\\t\\n\\t\\tpoint = \\n\\t\\t\\tx: Utils.clamp(@content.x + (event.wheelDeltaX * @mouseWheelSpeedMultiplier), minX, maxX)\\n\\t\\t\\ty: Utils.clamp(@content.y + (event.wheelDeltaY * @mouseWheelSpeedMultiplier), minY, maxY)\\n\\t\\t\\n\\t\\t@content.point = point\\n\\n\\t\\t@emit(Events.Scroll, event)\\n\\t\\t@_onMouseWheelEnd(event)\\n\\n\\t# Because there is no real scroll end event on a mousewheel, we use a timeout to see if\\n\\t# events stop coming in, and throw a scroll event after. Better than nothing.\\n\\t_onMouseWheelEnd: Utils.debounce 0.3, (event) ->\\n\\t\\t@emit(Events.ScrollEnd, event)\\n\\t\\t@_mouseWheelScrolling = false\\n\\n\\t##############################################################\\n\\t# Copying\\n\\n\\tcopy: ->\\n\\t\\tcopy = super\\n\\t\\tcontentLayer = _.first(_.without(copy.subLayers, copy.content))\\n\\t\\tcopy.setContentLayer(contentLayer)\\n\\t\\tcopy.props = @props\\n\\t\\treturn copy\\n\\n\\n\\t##############################################################\\n\\t# Convenience function to make a single layer scrollable\\n\\n\\t@wrap = (layer, options = {}) ->\\n\\n\\t\\t# This function wraps the given layer into a scroll or page component. This is\\n\\t\\t# great for importing from Sketch or Photoshop.\\n\\n\\t\\tscroll = new @(options)\\n\\n\\t\\tfor propKey in [\\\"frame\\\", \\\"image\\\", \\\"name\\\"]\\n\\t\\t\\tscroll[propKey] = layer[propKey]\\n\\n\\t\\t# This could potentially be smart to avoid an unexpected state if\\n\\t\\t# you forgot to add a mask in sketch or photoshop and the scroll\\n\\t\\t# component size becomes the same as it's content.\\n\\n\\t\\t# https://github.com/motif/Company/issues/208\\n\\n\\t\\t# screenFrame = scroll.screenFrame\\n\\n\\t\\t# if screenFrame.y + screenFrame.height > Screen.height\\n\\t\\t# \\tscroll.height = Screen.height - screenFrame.y\\n\\n\\t\\t# if screenFrame.x + screenFrame.width > Screen.width\\n\\t\\t# \\tscroll.width = Screen.width - screenFrame.x\\n\\t\\t\\n\\t\\tfor subLayer in layer.subLayers\\n\\t\\t\\tsubLayerIndex = subLayer.index\\n\\t\\t\\tsubLayer.superLayer = scroll.content\\n\\t\\t\\tsubLayer.index = subLayerIndex\\n\\n\\t\\tscroll.superLayer = layer.superLayer\\n\\t\\tscroll.index = layer.index\\n\\t\\tlayer.destroy()\\n\\t\\treturn scroll\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Components/ScrollComponent.coffee\\n **/\",\"{Events} = require \\\"../Events\\\"\\n{ScrollComponent} = require \\\"./ScrollComponent\\\"\\n\\n\\\"\\\"\\\"\\nPageComponent\\n\\noriginX <number>\\noriginY <number>\\n\\nvelocityThreshold <number>\\nanimationOptions <animationOptions={}>\\ncurrentPage <Layer>\\nclosestPage(<originX:n, originY:n>) <Layer>\\n\\nnextPage(direction=\\\"\\\", currentPage)\\nsnapToNextPage(direction=\\\"\\\", animate, animationOptions={})\\n\\n\\\"\\\"\\\"\\n\\nclass exports.PageComponent extends ScrollComponent\\n\\n\\t@define \\\"originX\\\", @simpleProperty(\\\"originX\\\", .5)\\n\\t@define \\\"originY\\\", @simpleProperty(\\\"originY\\\", .5)\\n\\t@define \\\"velocityThreshold\\\", @simpleProperty(\\\"velocityThreshold\\\", 0.1)\\n\\t@define \\\"animationOptions\\\", @simpleProperty(\\\"animationOptions\\\", {curve:\\\"spring(500,50,0)\\\"})\\n\\n\\tconstructor: ->\\n\\t\\tsuper\\n\\n\\t\\t@content.draggable.momentum = false\\n\\t\\t@content.draggable.bounce = false\\n\\n\\t\\t@on(Events.ScrollStart, @_scrollStart)\\n\\t\\t@on(Events.ScrollEnd, @_scrollEnd)\\n\\n\\t\\t@content.on(\\\"change:frame\\\", _.debounce(@_scrollMove, 16))\\n\\t\\t@content.on(\\\"change:subLayers\\\", @_resetHistory)\\n\\n\\t\\t@_resetHistory()\\n\\n\\t@define \\\"closestPage\\\",  get: -> @closestContentLayerForScrollPoint(@_originScrollPoint(), @originX, @originY)\\n\\t@define \\\"currentPage\\\",  get: -> _.last(@_previousPages)\\n\\t@define \\\"previousPage\\\", get: -> @_previousPages[@_previousPages.length-2]\\n\\n\\tnextPage: (direction=\\\"right\\\", currentPage=null) ->\\n\\n\\t\\tcurrentPage ?= @currentPage\\n\\n\\t\\t# Figure out the point from where to look for next layers in a direction\\n\\t\\tpoint = {x:0, y:0}\\n\\t\\tpoint = Utils.framePointForOrigin(currentPage, @originX, @originY) if currentPage\\n\\n\\t\\tlayers = @content.subLayersAbove(point, @originX, @originY) if direction in [\\\"up\\\", \\\"top\\\", \\\"north\\\"]\\n\\t\\tlayers = @content.subLayersBelow(point, @originX, @originY) if direction in [\\\"down\\\", \\\"bottom\\\", \\\"south\\\"]\\n\\t\\tlayers = @content.subLayersLeft(point, @originX, @originY) if direction in [\\\"left\\\", \\\"west\\\"]\\n\\t\\tlayers = @content.subLayersRight(point, @originX, @originY) if direction in [\\\"right\\\", \\\"east\\\"]\\n\\n\\t\\t# See if there is one close by that we should go to\\n\\t\\tlayers = _.without(layers, currentPage)\\n\\t\\tlayers = Utils.frameSortByAbsoluteDistance(point, layers, @originX, @originY)\\n\\t\\t\\n\\t\\treturn _.first(layers)\\n\\n\\tsnapToPage: (page, animate=true, animationOptions=null) ->\\n\\t\\t@scrollToLayer(page, @originX, @originY, animate, animationOptions)\\n\\n\\t\\tif @currentPage isnt page\\n\\t\\t\\t@_previousPages.push(page)\\n\\t\\t\\t@emit(\\\"change:previousPage\\\", @previousPage)\\n\\t\\t\\t@emit(\\\"change:currentPage\\\", @currentPage)\\n\\n\\tsnapToNextPage: (direction=\\\"right\\\", animate=true, animationOptions=null) ->\\n\\t\\tanimationOptions ?= @animationOptions\\n\\t\\tnextPage  = @nextPage(direction)\\n\\t\\tnextPage ?= @closestPage\\n\\t\\t@snapToPage(nextPage, animate, animationOptions)\\n\\n\\tsnapToPreviousPage: ->\\n\\t\\treturn unless @previousPage\\n\\t\\t@snapToPage(@previousPage)\\n\\n\\t\\t# Modify the previous page stack so we don't end up in a loop\\n\\t\\t@_previousPages = @_previousPages[0..@_previousPages.length-3]\\n\\n\\taddPage: (page, direction=\\\"right\\\") ->\\n\\n\\t\\t# We only allow adding pages to the right and bottom for now, because it shouldn't\\n\\t\\t# be hard to insert them in the right order, and if we need to manage that for you\\n\\t\\t# we'd have to change the position of every content layer so the new page fits.\\n\\t\\t# Ergo: too much magic.\\n\\t\\tdirections = [\\\"down\\\", \\\"bottom\\\", \\\"south\\\"] + [\\\"right\\\", \\\"east\\\"]\\n\\n\\t\\tif not direction in directions\\n\\t\\t\\tdirection = \\\"right\\\"\\n\\t\\t\\tthrow new Error(\\\"#{direction} should be in #{directions}\\\")\\n\\n\\t\\tpoint = {x:0, y:0}\\n\\n\\t\\tif @content.subLayers.length\\n\\t\\t\\tpoint.x = Utils.frameGetMaxX(@content.contentFrame()) if direction in [\\\"right\\\", \\\"east\\\"]\\n\\t\\t\\tpoint.y = Utils.frameGetMaxY(@content.contentFrame()) if direction in [\\\"down\\\", \\\"bottom\\\", \\\"south\\\"]\\n\\n\\t\\tpage.point = point\\n\\t\\t\\n\\t\\tif page.superLayer isnt @content\\n\\t\\t\\tpage.superLayer = @content\\n\\t\\telse\\n\\t\\t\\t@updateContent()\\n\\n\\tsetContentLayer: (contentLayer) ->\\n\\t\\tif @content\\n\\t\\t\\t@_onAminateStop()\\n\\t\\t\\t@content.off(Events.AnimationStart, @_onAminationStart)\\n\\t\\t\\t@content.off(Events.AnimationStop, @_onAminationEnd)\\n\\t\\tsuper contentLayer\\n\\t\\t@content.on(Events.AnimationStart, @_onAminationStart)\\n\\t\\t@content.on(Events.AnimationStop, @_onAminationEnd)\\n\\n\\thorizontalPageIndex: (page) ->\\n\\t\\t(_.sortBy(@content.subLayers, (l) -> l.x)).indexOf(page)\\n\\n\\tverticalPageIndex: (page) ->\\n\\t\\t(_.sortBy(@content.subLayers, (l) -> l.y)).indexOf(page)\\n\\n\\t_scrollStart: =>\\n\\t\\t@_currentPage = @currentPage\\n\\n\\t_scrollMove: =>\\n\\n\\t\\tcurrentPage = @currentPage\\n\\n\\t\\tif currentPage not in [_.last(@_previousPages), undefined]\\n\\t\\t\\t@_previousPages.push(currentPage)\\n\\t\\t\\t@emit(\\\"change:currentPage\\\", {old:@previousPage, new:currentPage})\\n\\n\\t_onAminationStart: => \\n\\t\\t@_isMoving = true\\n\\t\\t@_isAnimating = true\\n\\t\\t@content.on(\\\"change:frame\\\", @_onAminationStep)\\n\\t\\n\\t_onAminationStep: =>\\n\\t\\t@emit(Events.Move, @content.point)\\n\\n\\t_onAminationEnd: =>\\n\\t\\t@_isMoving = false\\n\\t\\t@_isAnimating = false\\n\\t\\t@content.off(\\\"change:frame\\\", @_onAminationStep)\\n\\n\\t_scrollEnd: =>\\n\\n\\t\\tvelocity = @content.draggable.velocity\\n\\n\\t\\t# See if we meet the minimum velocity to scroll to the next page. If not we snap\\n\\t\\t# to the layer closest to the scroll point.\\n\\t\\tif Math.max(Math.abs(velocity.x), Math.abs(velocity.y)) < @velocityThreshold\\n\\t\\t\\t@snapToPage(@closestPage, true, @animationOptions)\\n\\t\\t\\treturn \\n\\n\\t\\t# Figure out which direction we are scrolling to and make a sorted list of\\n\\t\\t# layers on that side, sorted by absolute distance so we can pick the first.\\n\\t\\tnextPage = @nextPage(@direction, @_currentPage)\\n\\n\\t\\t# print Math.max(Math.abs(velocity.x), Math.abs(velocity.y))\\n\\t\\t# print @direction, nextPage\\n\\n\\t\\t# If not, we scroll to the closest layer that we have available, often the one\\n\\t\\t# that we are already at.\\n\\t\\tnextPage ?= @closestPage\\n\\t\\t@snapToPage(nextPage, true, @animationOptions)\\n\\n\\t_originScrollPoint: ->\\n\\t\\tscrollPoint = @scrollPoint\\n\\t\\tscrollPoint.x += @width * @originX\\n\\t\\tscrollPoint.y += @height * @originY\\n\\t\\treturn scrollPoint\\n\\n\\t_resetHistory: =>\\n\\t\\t@_currentPage = @closestPage\\n\\t\\t@_previousPages = [@_currentPage]\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Components/PageComponent.coffee\\n **/\",\"Utils = require \\\"../Utils\\\"\\n{Layer} = require \\\"../Layer\\\"\\n{Events} = require \\\"../Events\\\"\\n\\n\\\"\\\"\\\"\\nSliderComponent\\n\\nknob <layer>\\nknobSize <width, height>\\nfill <layer>\\nmin <number>\\nmax <number>\\n\\npointForValue(<n>)\\nvalueForPoint(<n>)\\n\\nanimateToValue(value, animationOptions={})\\n\\\"\\\"\\\"\\n\\nclass exports.SliderComponent extends Layer\\n\\n\\tconstructor: (options={}) ->\\n\\t\\toptions.backgroundColor ?= \\\"#ccc\\\"\\n\\t\\toptions.borderRadius ?= 50\\n\\t\\toptions.clip ?= false\\n\\t\\toptions.width ?= 300\\n\\t\\toptions.height ?= 10\\n\\t\\t\\t\\t\\n\\t\\t@knob = new Layer\\n\\t\\t\\tbackgroundColor: \\\"#fff\\\"\\n\\t\\t\\tshadowY: 1, shadowBlur: 3\\n\\t\\t\\tshadowColor: \\\"rgba(0,0,0,0.35)\\\"\\n\\n\\t\\t@fill = new Layer \\n\\t\\t\\tbackgroundColor: \\\"#333\\\"\\n\\t\\t\\twidth: 0, borderRadius: 50\\n\\t\\t\\tforce2d: true\\n\\n\\t\\tsuper options\\n\\n\\t\\t@knobSize = options.knobSize or 30\\n\\t\\t@knob.superLayer = @fill.superLayer = @\\n\\t\\t@fill.height = @height\\n\\n\\t\\t@knob.draggable.enabled = true\\n\\t\\t@knob.draggable.speedY = 0\\n\\t\\t@knob.draggable.overdrag = false\\n\\t\\t@knob.draggable.momentum = true\\n\\t\\t@knob.draggable.momentumOptions = {friction: 5, tolerance: 0.25}\\n\\t\\t@knob.draggable.bounce = false\\n\\t\\t@knob.draggable.propagateEvents = false\\n\\t\\t@knob.borderRadius = \\\"50%\\\"\\n\\n\\t\\t@_updateFrame()\\n\\n\\t\\t@on(\\\"change:frame\\\", @_updateFrame)\\n\\t\\t@on(\\\"change:borderRadius\\\", @_setRadius)\\n\\t\\t\\n\\t\\t@knob.on(\\\"change:x\\\", @_updateFill)\\n\\t\\t@knob.on(\\\"change:x\\\", @_updateValue)\\n\\t\\t@knob.on(\\\"change:size\\\", @_updateKnob)\\n\\t\\t@knob.on(Events.DragMove, @_updateFrame)\\n\\n\\t\\t# On click/touch of the slider, update the value\\n\\t\\t@on(Events.TouchStart, @_touchDown)\\n\\n\\t\\n\\t_touchDown: (event) =>\\n\\t\\tevent.preventDefault()\\n\\t\\tevent.stopPropagation()\\n\\n\\t\\toffsetX = (@min / @canvasScaleX()) - @min\\n\\t\\t@value = @valueForPoint(event.x - @screenScaledFrame().x) / @canvasScaleX() - offsetX\\n\\t\\t@knob.draggable._touchStart(event)\\n\\n\\t_updateFill: =>\\n\\t\\t@fill.width = @knob.midX\\n\\n\\t_updateKnob: =>\\n\\t\\t@knob.midX = @fill.width\\t\\t\\n\\t\\t@knob.centerY()\\n\\n\\t_updateFrame: =>\\n\\t\\t@knob.draggable.constraints = \\n\\t\\t\\tx: -@knob.width / 2\\n\\t\\t\\twidth: @width + @knob.width \\n\\t\\t\\t# y: -@knob.height / 2\\n\\t\\t\\t# height: @height + @knob.height\\n\\t\\t\\t\\n\\t\\t@knob.centerY()\\n\\t\\t\\t\\n\\t_setRadius: =>\\n\\t\\tradius = @borderRadius\\n\\t\\t@fill.style.borderRadius = \\\"#{radius}px 0 0 #{radius}px\\\"\\n\\t\\t\\n\\t@define \\\"knobSize\\\",\\n\\t\\tget: -> @_knobSize\\n\\t\\tset: (value) ->\\n\\t\\t\\t@_knobSize = value\\n\\t\\t\\t@knob.width = @_knobSize\\n\\t\\t\\t@knob.height = @_knobSize\\n\\t\\t\\t@knob.centerY()\\n\\t\\t\\t@_updateFrame()\\n\\t\\n\\t@define \\\"min\\\",\\n\\t\\tget: -> @_min or 0\\n\\t\\tset: (value) -> @_min = value\\n\\n\\t@define \\\"max\\\",\\n\\t\\tget: -> @_max or 1\\n\\t\\tset: (value) -> @_max = value\\n\\t\\t\\n\\t@define \\\"value\\\",\\n\\t\\tget: -> @valueForPoint(@knob.midX)\\n\\n\\t\\tset: (value) -> \\n\\t\\t\\t@knob.midX = @pointForValue(value)\\n\\t\\t\\t@_updateFill()\\n\\n\\t_updateValue: =>\\n\\t\\t@emit(\\\"change:value\\\", @value)\\n\\t\\n\\tpointForValue: (value) ->\\n\\t\\treturn Utils.modulate(value, [@min, @max], [0, @width], true)\\n\\t\\t\\t\\n\\tvalueForPoint: (value) ->\\n\\t\\treturn Utils.modulate(value, [0, @width], [@min, @max], true)\\n\\t\\t\\n\\tanimateToValue: (value, animationOptions={curve:\\\"spring(300,25,0)\\\"}) ->\\n\\t\\tanimationOptions.properties = {x:@pointForValue(value)}\\n\\t\\t@knob.animate(animationOptions)\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Components/SliderComponent.coffee\\n **/\",\"Utils = require \\\"../Utils\\\"\\n{_}   = require \\\"../Underscore\\\"\\n\\nDeviceComponentDefaultDevice = \\\"iphone-6-silver\\\"\\n\\n{BaseClass} = require \\\"../BaseClass\\\"\\n{Layer} = require \\\"../Layer\\\"\\n{Defaults} = require \\\"../Defaults\\\"\\n{Events} = require \\\"../Events\\\"\\n\\n###\\n\\nDevice._setup()\\nDevice._update()\\nDevice._setupContext()\\n\\nDevice.fullScreen bool\\nDevice.deviceType str\\nDevice.padding int\\n\\nDevice.orientation(orientation:float)\\nDevice.orientationName landscape|portrait|unknown\\nDevice.rotateLeft()\\nDevice.rotateRight()\\n\\nDevice.setDeviceScale(zoom:float, animate:bool)\\nDevice.setContentScale(zoom:float, animate:bool)\\n\\nDevice.keyboard bool\\nDevice.setKeyboard(visible:bool, animate:bool)\\nDevice.showKeyboard(animate:bool)\\nDevice.hideKeyboard(animate:bool)\\nDevice.toggleKeyboard(animate:bool)\\n\\n\\n# Events\\nEvents.DeviceTypeDidChange\\nEvents.DeviceFullScreenDidChange\\nEvents.DeviceKeyboardWillShow\\nEvents.DeviceKeyboardDidShow\\n\\n\\n###\\n\\n# _.extend Events,\\n# \\tDeviceTypeDidChange: \\\"change:deviceType\\\"\\n# \\tDeviceScaleDidChange: \\\"change:deviceScale\\\"\\n# \\tDeviceContentScaleDidChange: \\\"change:contentScale\\\"\\n# \\tDeviceFullScreenDidChange: \\\"\\\"\\n\\nclass exports.DeviceComponent extends BaseClass\\n\\n\\t@define \\\"context\\\", get: -> @_context\\n\\n\\tconstructor: (options={}) ->\\n\\n\\t\\tdefaults = Defaults.getDefaults(\\\"DeviceComponent\\\", options)\\n\\n\\t\\t# If we have defaults for DeviceView, we are likely using an older version of\\n\\t\\t# Framer Studio. It's best to default to those then for now.\\n\\t\\tif Framer.Defaults.hasOwnProperty(\\\"DeviceView\\\")\\n\\t\\t\\tdefaults = _.extend(defaults, Framer.Defaults.DeviceView)\\n\\n\\t\\t@_setup()\\n\\n\\t\\t@animationOptions = defaults.animationOptions\\n\\t\\t@deviceType = defaults.deviceType\\n\\n\\t\\t_.extend(@, _.defaults(options, defaults))\\n\\n\\t_setup: ->\\n\\n\\t\\tif @_setupDone\\n\\t\\t\\treturn\\n\\n\\t\\t@_setupDone = true\\n\\n\\t\\t@background = new Layer\\n\\t\\t@background.clip = true\\n\\t\\t@background.backgroundColor = \\\"transparent\\\"\\n\\t\\t@background.classList.add(\\\"DeviceBackground\\\")\\n\\n\\t\\t# @phone = new Layer superLayer:@background\\n\\t\\t@phone = new Layer\\n\\t\\t@screen   = new Layer superLayer:@phone\\n\\t\\t@viewport = new Layer superLayer:@screen\\n\\t\\t@content  = new Layer superLayer:@viewport\\n\\n\\t\\t@phone.backgroundColor = \\\"transparent\\\"\\n\\t\\t@phone.classList.add(\\\"DevicePhone\\\")\\n\\n\\t\\t@screen.backgroundColor = \\\"transparent\\\"\\n\\t\\t@screen.classList.add(\\\"DeviceScreen\\\")\\n\\n\\t\\t@viewport.backgroundColor = \\\"transparent\\\"\\n\\t\\t@viewport.classList.add(\\\"DeviceComponentPort\\\")\\n\\n\\t\\t@content.backgroundColor = \\\"transparent\\\"\\n\\t\\t@content.classList.add(\\\"DeviceContent\\\")\\n\\n\\t\\t@content.originX = 0\\n\\t\\t@content.originY = 0\\n\\n\\t\\t@keyboardLayer = new Layer superLayer:@viewport\\n\\t\\t@keyboardLayer.on \\\"click\\\", => @toggleKeyboard()\\n\\t\\t@keyboardLayer.classList.add(\\\"DeviceKeyboard\\\")\\n\\t\\t@keyboardLayer.backgroundColor = \\\"transparent\\\"\\n\\n\\t\\tFramer.CurrentContext.eventManager.wrap(window).addEventListener(\\\"resize\\\", @_update)\\n\\n\\t\\t# This avoids rubber banding on mobile\\n\\t\\tfor layer in [@background, @phone, @viewport, @content, @screen]\\n\\t\\t\\tlayer.on \\\"touchmove\\\", (event) -> event.preventDefault()\\n\\n\\t\\t@_context = new Framer.Context(parentLayer:@content, name:\\\"Device\\\")\\n\\n\\t_update: =>\\n\\n\\t\\t# Todo: pixel align at zoom level 1, 0.5\\n\\n\\t\\tcontentScaleFactor = @contentScale\\n\\t\\tcontentScaleFactor = 1 if contentScaleFactor > 1\\n\\n\\t\\tif @_shouldRenderFullScreen()\\n\\t\\t\\tfor layer in [@background, @phone, @viewport, @content, @screen]\\n\\t\\t\\t\\tlayer.x = layer.y = 0\\n\\t\\t\\t\\tlayer.width = window.innerWidth / contentScaleFactor\\n\\t\\t\\t\\tlayer.height = window.innerHeight / contentScaleFactor\\n\\t\\t\\t\\tlayer.scale = 1\\n\\n\\t\\t\\t@content.scale = contentScaleFactor\\n\\t\\t\\t@_positionKeyboard()\\n\\n\\t\\telse\\n\\t\\t\\tbackgroundOverlap = 100\\n\\n\\t\\t\\t@background.x = 0 - backgroundOverlap\\n\\t\\t\\t@background.y = 0 - backgroundOverlap\\n\\t\\t\\t@background.width  = window.innerWidth  + (2 * backgroundOverlap)\\n\\t\\t\\t@background.height = window.innerHeight + (2 * backgroundOverlap)\\n\\n\\t\\t\\t@phone.scale = @_calculatePhoneScale()\\n\\t\\t\\t@phone.center()\\n\\n\\t\\t\\t[width, height] = @_getOrientationDimensions(\\n\\t\\t\\t\\t@_device.screenWidth / contentScaleFactor,\\n\\t\\t\\t\\t@_device.screenHeight / contentScaleFactor)\\n\\n\\t\\t\\t@screen.width  = @_device.screenWidth\\n\\t\\t\\t@screen.height = @_device.screenHeight\\n\\n\\t\\t\\t@viewport.width  = @content.width  = width\\n\\t\\t\\t@viewport.height = @content.height = height\\n\\t\\t\\t@screen.center()\\n\\n\\t_shouldRenderFullScreen: ->\\n\\n\\t\\tif not @_device\\n\\t\\t\\treturn true\\n\\n\\t\\tif @fullScreen is true\\n\\t\\t\\treturn true\\n\\n\\t\\tif @deviceType is \\\"fullscreen\\\"\\n\\t\\t\\treturn true\\n\\n\\t\\tif Utils.deviceType() is \\\"phone\\\" and Utils.deviceType() is @_device.deviceType\\n\\t\\t\\treturn true\\n\\n\\t\\tif Utils.deviceType() is \\\"tablet\\\" and Utils.deviceType() is @_device.deviceType\\n\\t\\t\\treturn true\\n\\n\\t\\tif Utils.deviceType() is \\\"phone\\\" and @_device.deviceType is \\\"tablet\\\"\\n\\t\\t\\treturn true\\n\\n\\t\\treturn false\\n\\n\\tsetupContext: ->\\n\\t\\t# Sets this device up as the default context so everything renders\\n\\t\\t# into the device screen\\n\\t\\tFramer.CurrentContext = @_context\\n\\n\\t###########################################################################\\n\\t# FULLSCREEN\\n\\n\\t@define \\\"fullScreen\\\",\\n\\t\\tget: ->\\n\\t\\t\\t@_fullScreen\\n\\t\\tset: (fullScreen) ->\\n\\t\\t\\t@_setFullScreen(fullScreen)\\n\\n\\t_setFullScreen: (fullScreen) ->\\n\\n\\t\\tif @_deviceType is \\\"fullscreen\\\"\\n\\t\\t\\treturn\\n\\n\\t\\tif not _.isBoolean(fullScreen)\\n\\t\\t\\treturn\\n\\n\\t\\tif fullScreen is @_fullScreen\\n\\t\\t\\treturn\\n\\n\\t\\t@_fullScreen = fullScreen\\n\\n\\t\\tif fullScreen is true\\n\\t\\t\\t@phone.image = \\\"\\\"\\n\\t\\telse\\n\\t\\t\\t@_updateDeviceImage()\\n\\n\\t\\t@_update()\\n\\t\\t@keyboard = false\\n\\t\\t@_positionKeyboard()\\n\\t\\t@emit(\\\"change:fullScreen\\\")\\n\\n\\n\\n\\t###########################################################################\\n\\t# DEVICE TYPE\\n\\n\\t@define \\\"deviceType\\\",\\n\\t\\tget: ->\\n\\t\\t\\t@_deviceType\\n\\t\\tset: (deviceType) ->\\n\\n\\t\\t\\tif deviceType is @_deviceType\\n\\t\\t\\t\\treturn\\n\\n\\t\\t\\tdevice = null\\n\\n\\t\\t\\tif _.isString(deviceType)\\n\\t\\t\\t\\tdevice = Devices[deviceType.toLowerCase()]\\n\\n\\t\\t\\tif not device\\n\\t\\t\\t\\tthrow Error \\\"No device named #{deviceType}. Options are: #{_.keys Devices}\\\"\\n\\n\\t\\t\\tif @_device is device\\n\\t\\t\\t\\treturn\\n\\n\\t\\t\\t# If we switch from fullscreen to a device, we should zoom to fit\\n\\t\\t\\tshouldZoomToFit = @_deviceType is \\\"fullscreen\\\"\\n\\n\\t\\t\\t@_device = _.clone(device)\\n\\t\\t\\t@_deviceType = deviceType\\n\\t\\t\\t@fullscreen = false\\n\\t\\t\\t@_updateDeviceImage()\\n\\t\\t\\t@_update()\\n\\t\\t\\t@keyboard = false\\n\\t\\t\\t@_positionKeyboard()\\n\\t\\t\\t@emit(\\\"change:deviceType\\\")\\n\\n\\t\\t\\tif shouldZoomToFit\\n\\t\\t\\t\\t@deviceScale = \\\"fit\\\"\\n\\n\\t_updateDeviceImage: =>\\n\\n\\t\\tif /PhantomJS/.test(navigator.userAgent)\\n\\t\\t\\treturn\\n\\n\\t\\tif @_shouldRenderFullScreen()\\n\\t\\t\\t@phone.image  = \\\"\\\"\\n\\t\\telse if not @_deviceImageUrl(@_deviceImageName())\\n\\t\\t\\t@phone.image  = \\\"\\\"\\n\\t\\telse\\n\\t\\t\\t@phone._cacheImage = true\\n\\t\\t\\t@phone.image  = @_deviceImageUrl(@_deviceImageName())\\n\\t\\t\\t@phone.width  = @_device.deviceImageWidth\\n\\t\\t\\t@phone.height = @_device.deviceImageHeight\\n\\n\\t_deviceImageName: ->\\n\\t\\tif @_device.hasOwnProperty(\\\"deviceImage\\\")\\n\\t\\t\\treturn @_device.deviceImage\\n\\t\\treturn \\\"#{@_deviceType}.png\\\"\\n\\n\\t_deviceImageUrl: (name) ->\\n\\t\\t\\n\\t\\treturn null unless name\\n\\n\\t\\tif _.startsWith(name, \\\"http://\\\") or _.startsWith(name, \\\"https://\\\")\\n\\t\\t\\treturn name\\n\\n\\t\\tif Utils.isFramerStudio() and window.FramerStudioInfo\\n\\t\\t\\tresourceUrl = window.FramerStudioInfo.deviceImagesUrl\\n\\t\\telse\\n\\t\\t\\tresourceUrl = \\\"//resources.framerjs.com/static/DeviceResources\\\"\\n\\n\\t\\tif Utils.isJP2Supported() and @_device.deviceImageJP2? is true\\n\\t\\t\\treturn \\\"#{resourceUrl}/#{name.replace(\\\".png\\\", \\\".jp2\\\")}\\\"\\n\\t\\telse\\n\\t\\t\\treturn \\\"#{resourceUrl}/#{name}\\\"\\n\\n\\t###########################################################################\\n\\t# DEVICE ZOOM\\n\\n\\t@define \\\"deviceScale\\\",\\n\\t\\tget: ->\\n\\t\\t\\tif @_shouldRenderFullScreen()\\n\\t\\t\\t\\treturn 1\\n\\t\\t\\treturn @_deviceScale or 1\\n\\t\\tset: (deviceScale) -> @setDeviceScale(deviceScale, false)\\n\\n\\tsetDeviceScale: (deviceScale, animate=false) ->\\n\\n\\t\\tif deviceScale == \\\"fit\\\" or deviceScale < 0\\n\\t\\t\\tdeviceScale = \\\"fit\\\"\\n\\t\\telse\\n\\t\\t\\tdeviceScale = parseFloat(deviceScale)\\n\\n\\t\\tif deviceScale == @_deviceScale\\n\\t\\t\\treturn\\n\\n\\t\\t@_deviceScale = deviceScale\\n\\n\\t\\tif @_shouldRenderFullScreen()\\n\\t\\t\\treturn\\n\\n\\t\\tif deviceScale == \\\"fit\\\"\\n\\t\\t\\tphoneScale = @_calculatePhoneScale()\\n\\t\\telse\\n\\t\\t\\tphoneScale = deviceScale\\n\\n\\t\\t@phone.animateStop()\\n\\n\\t\\tif animate\\n\\t\\t\\t@phone.animate _.extend @animationOptions,\\n\\t\\t\\t\\tproperties: {scale:phoneScale}\\n\\t\\telse\\n\\t\\t\\t@phone.scale = phoneScale\\n\\t\\t\\t@phone.center()\\n\\n\\t\\t@emit(\\\"change:deviceScale\\\")\\n\\n\\n\\t_calculatePhoneScale: ->\\n\\n\\t\\t# Calculates a phone scale that fits the screen unless a fixed value is set\\n\\n\\t\\tif @_deviceScale and @_deviceScale isnt \\\"fit\\\"\\n\\t\\t\\treturn @_deviceScale\\n\\n\\t\\t[width, height] = @_getOrientationDimensions(@phone.width, @phone.height)\\n\\n\\t\\tpaddingOffset = @_device?.paddingOffset or 0\\n\\n\\t\\tphoneScale = _.min([\\n\\t\\t\\t(window.innerWidth  - ((@padding + paddingOffset) * 2)) / width,\\n\\t\\t\\t(window.innerHeight - ((@padding + paddingOffset) * 2)) / height\\n\\t\\t])\\n\\n\\t\\treturn phoneScale\\n\\n\\t###########################################################################\\n\\t# CONTENT SCALE\\n\\n\\t@define \\\"contentScale\\\",\\n\\t\\tget: -> @_contentScale or 1\\n\\t\\tset: (contentScale) -> @setContentScale(contentScale, false)\\n\\n\\tsetContentScale: (contentScale, animate=false) ->\\n\\n\\t\\tcontentScale = parseFloat(contentScale)\\n\\n\\t\\tif contentScale <= 0\\n\\t\\t\\treturn\\n\\n\\t\\tif contentScale is @_contentScale\\n\\t\\t\\treturn\\n\\n\\t\\t@_contentScale = contentScale\\n\\n\\t\\tif animate\\n\\t\\t\\t@content.animate _.extend @animationOptions,\\n\\t\\t\\t\\tproperties: {scale: @_contentScale}\\n\\t\\telse\\n\\t\\t\\t@content.scale = @_contentScale\\n\\n\\t\\t@_update()\\n\\n\\t\\t@emit(\\\"change:contentScale\\\")\\n\\n\\n\\t###########################################################################\\n\\t# PHONE ORIENTATION\\n\\n\\t@define \\\"orientation\\\",\\n\\t\\tget: -> @_orientation or 0\\n\\t\\tset: (orientation) -> @setOrientation(orientation, false)\\n\\n\\tsetOrientation: (orientation, animate=false) ->\\n\\n\\t\\tif orientation == \\\"portrait\\\"\\n\\t\\t\\torientation = 0\\n\\n\\t\\tif orientation == \\\"landscape\\\"\\n\\t\\t\\torientation = 90\\n\\n\\t\\tif @_shouldRenderFullScreen()\\n\\t\\t\\treturn\\n\\n\\t\\torientation = parseInt(orientation)\\n\\n\\t\\tif orientation not in [0, 90, -90]\\n\\t\\t\\treturn\\n\\n\\t\\tif orientation is @_orientation\\n\\t\\t\\treturn\\n\\n\\t\\t@_orientation = orientation\\n\\n\\t\\t# Calculate properties for the phone\\n\\t\\tphoneProperties =\\n\\t\\t\\trotationZ: @_orientation\\n\\t\\t\\tscale: @_calculatePhoneScale()\\n\\n\\t\\t[width, height] = @_getOrientationDimensions(@_device.screenWidth, @_device.screenHeight)\\n\\t\\t[x, y] = [(@screen.width - width) / 2, (@screen.height - height) / 2]\\n\\n\\t\\tcontentProperties =\\n\\t\\t\\trotationZ: -@_orientation\\n\\t\\t\\twidth:  width\\n\\t\\t\\theight: height\\n\\t\\t\\tx: x\\n\\t\\t\\ty: y\\n\\n\\t\\t_hadKeyboard = @keyboard\\n\\n\\t\\tif _hadKeyboard\\n\\t\\t\\t@hideKeyboard(false)\\n\\n\\t\\t@phone.animateStop()\\n\\t\\t@viewport.animateStop()\\n\\n\\t\\t# FIXME: After a rotation we call _update() again to set all the right\\n\\t\\t# dimensions, but these should be correctly animated instead of set after\\n\\t\\t# the animation.\\n\\n\\t\\tif animate\\n\\t\\t\\tanimation = @phone.animate _.extend @animationOptions,\\n\\t\\t\\t\\tproperties: phoneProperties\\n\\t\\t\\t@viewport.animate _.extend @animationOptions,\\n\\t\\t\\t\\tproperties: contentProperties\\n\\n\\t\\t\\tanimation.on Events.AnimationEnd, =>\\n\\t\\t\\t\\t@_update()\\n\\n\\t\\t\\tif _hadKeyboard\\n\\t\\t\\t\\tanimation.on Events.AnimationEnd, =>\\n\\t\\t\\t\\t\\t@showKeyboard(true)\\n\\n\\t\\telse\\n\\t\\t\\t@phone.props = phoneProperties\\n\\t\\t\\t@viewport.props = contentProperties\\n\\t\\t\\t@_update()\\n\\n\\t\\t\\tif _hadKeyboard\\n\\t\\t\\t\\t@showKeyboard(true)\\n\\n\\t\\t@_renderKeyboard()\\n\\n\\t\\t@emit(\\\"change:orientation\\\")\\n\\n\\tisPortrait: -> Math.abs(@_orientation) != 90\\n\\tisLandscape: -> !@isPortrait()\\n\\n\\t@define \\\"orientationName\\\",\\n\\t\\tget: ->\\n\\t\\t\\treturn \\\"portrait\\\" if @isPortrait()\\n\\t\\t\\treturn \\\"landscape\\\" if @isLandscape()\\n\\t\\tset: (orientationName) -> @setOrientation(orientationName, false)\\n\\n\\trotateLeft: (animate=true) ->\\n\\t\\treturn if @orientation is 90\\n\\t\\t@setOrientation(@orientation + 90, animate)\\n\\n\\trotateRight: (animate=true) ->\\n\\t\\treturn if @orientation is -90\\n\\t\\t@setOrientation(@orientation - 90, animate)\\n\\n\\t_getOrientationDimensions: (width, height) ->\\n\\t\\tif @isLandscape() then [height, width] else [width, height]\\n\\n\\n\\t###########################################################################\\n\\t# KEYBOARD\\n\\n\\t@define \\\"keyboard\\\",\\n\\t\\tget: -> @_keyboard\\n\\t\\tset: (keyboard) -> @setKeyboard(keyboard, false)\\n\\n\\tsetKeyboard: (keyboard, animate=false) ->\\n\\n\\t\\t# Check if this device has a keyboard at all\\n\\t\\tif not @_device.hasOwnProperty(\\\"keyboards\\\")\\n\\t\\t\\treturn\\n\\n\\t\\tif _.isString(keyboard)\\n\\t\\t\\tif keyboard.toLowerCase() in [\\\"1\\\", \\\"true\\\"]\\n\\t\\t\\t\\tkeyboard = true\\n\\t\\t\\telse if keyboard.toLowerCase() in [\\\"0\\\", \\\"false\\\"]\\n\\t\\t\\t\\tkeyboard = false\\n\\t\\t\\telse\\n\\t\\t\\t\\treturn\\n\\n\\t\\tif not _.isBoolean(keyboard)\\n\\t\\t\\treturn\\n\\n\\t\\tif keyboard is @_keyboard\\n\\t\\t\\treturn\\n\\n\\t\\t@_keyboard = keyboard\\n\\n\\t\\t@emit(\\\"change:keyboard\\\")\\n\\n\\t\\tif keyboard is true\\n\\t\\t\\t@emit(\\\"keyboard:show:start\\\")\\n\\t\\t\\t@_animateKeyboard @_keyboardShowY(), animate, =>\\n\\t\\t\\t\\t@emit(\\\"keyboard:show:end\\\")\\n\\t\\telse\\n\\t\\t\\t@emit(\\\"keyboard:hide:start\\\")\\n\\t\\t\\t@_animateKeyboard @_keyboardHideY(), animate, =>\\n\\t\\t\\t\\t@emit(\\\"keyboard:hide:end\\\")\\n\\n\\tshowKeyboard: (animate=true) ->\\n\\t\\t@setKeyboard(true, animate)\\n\\n\\thideKeyboard: (animate=true) ->\\n\\t\\t@setKeyboard(false, animate)\\n\\n\\ttoggleKeyboard: (animate=true) ->\\n\\t\\t@setKeyboard(!@keyboard, animate)\\n\\n\\t_renderKeyboard: ->\\n\\t\\treturn unless @_device.keyboards\\n\\t\\t@keyboardLayer.image  = @_deviceImageUrl @_device.keyboards[@orientationName].image\\n\\t\\t@keyboardLayer.width  = @_device.keyboards[@orientationName].width\\n\\t\\t@keyboardLayer.height = @_device.keyboards[@orientationName].height\\n\\n\\t_positionKeyboard: ->\\n\\t\\t@keyboardLayer.centerX()\\n\\t\\tif @keyboard\\n\\t\\t\\t@_animateKeyboard(@_keyboardShowY(), false)\\n\\t\\telse\\n\\t\\t\\t@_animateKeyboard(@_keyboardHideY(), false)\\n\\n\\t_animateKeyboard: (y, animate, callback) =>\\n\\t\\t@keyboardLayer.bringToFront()\\n\\t\\t@keyboardLayer.animateStop()\\n\\t\\tif animate is false\\n\\t\\t\\t@keyboardLayer.y = y\\n\\t\\t\\tcallback?()\\n\\t\\telse\\n\\t\\t\\tanimation = @keyboardLayer.animate _.extend @animationOptions,\\n\\t\\t\\t\\tproperties: {y:y}\\n\\t\\t\\tanimation.on Events.AnimationEnd, callback\\n\\n\\t_keyboardShowY: -> @viewport.height - @keyboardLayer.height\\n\\t_keyboardHideY: -> @viewport.height\\n\\n\\n###########################################################################\\n# DEVICE CONFIGURATIONS\\n\\niPhone6BaseDevice =\\n\\tdeviceImageWidth: 870\\n\\tdeviceImageHeight: 1738\\n\\tdeviceImageJP2: true\\n\\tscreenWidth: 750\\n\\tscreenHeight: 1334\\n\\tdeviceType: \\\"phone\\\"\\n\\niPhone6BaseDeviceHand = _.extend {}, iPhone6BaseDevice,\\n\\tdeviceImageWidth: 1988\\n\\tdeviceImageHeight: 2368\\n\\tdeviceImageJP2: true\\n\\tpaddingOffset: -150\\n\\niPhone6PlusBaseDevice =\\n\\tdeviceImageWidth: 1460\\n\\tdeviceImageHeight: 2900\\n\\tdeviceImageJP2: true\\n\\tscreenWidth: 1242\\n\\tscreenHeight: 2208\\n\\tdeviceType: \\\"phone\\\"\\n\\niPhone6PlusBaseDeviceHand = _.extend {}, iPhone6PlusBaseDevice,\\n\\tdeviceImageWidth: 3128\\n\\tdeviceImageHeight: 3487\\n\\tdeviceImageJP2: true\\n\\tpaddingOffset: -150\\n\\n\\niPhone5BaseDevice =\\n\\tdeviceImageWidth: 780\\n\\tdeviceImageHeight: 1608\\n\\tdeviceImageJP2: true\\n\\tscreenWidth: 640\\n\\tscreenHeight: 1136\\n\\tdeviceType: \\\"phone\\\"\\n\\t# keyboards:\\n\\t# \\tportrait:\\n\\t# \\t\\timage:  \\\"ios-keyboard.png\\\"\\n\\t# \\t\\twidth: 640\\n\\t# \\t\\theight: 432\\n\\t# \\tlandscape:\\n\\t# \\t\\timage: \\\"ios-keyboard-landscape-light.png\\\"\\n\\t# \\t\\twidth: 1136\\n\\t# \\t\\theight: 322\\n\\niPhone5BaseDeviceHand = _.extend {}, iPhone5BaseDevice,\\n\\tdeviceImageWidth: 1884\\n\\tdeviceImageHeight: 2234\\n\\tdeviceImageJP2: true\\n\\tpaddingOffset: -200\\n\\n\\niPhone5CBaseDevice =\\n\\tdeviceImageWidth: 776\\n\\tdeviceImageHeight: 1612\\n\\tdeviceImageJP2: true\\n\\tscreenWidth: 640\\n\\tscreenHeight: 1136\\n\\tdeviceType: \\\"phone\\\"\\n\\t# keyboards:\\n\\t# \\tportrait:\\n\\t# \\t\\timage:  \\\"ios-keyboard.png\\\"\\n\\t# \\t\\twidth: 640\\n\\t# \\t\\theight: 432\\n\\t# \\tlandscape:\\n\\t# \\t\\timage: \\\"ios-keyboard-landscape-light.png\\\"\\n\\t# \\t\\twidth: 1136\\n\\t# \\t\\theight: 322\\n\\niPhone5CBaseDeviceHand = _.extend {}, iPhone5CBaseDevice,\\n\\tdeviceImageWidth: 1894\\n\\tdeviceImageHeight: 2244\\n\\tdeviceImageJP2: true\\n\\tpaddingOffset: -200\\n\\n\\niPadMiniBaseDevice =\\n\\tdeviceImageWidth: 872\\n\\tdeviceImageHeight: 1292\\n\\tdeviceImageJP2: true\\n\\tscreenWidth: 768\\n\\tscreenHeight: 1024\\n\\tdeviceType: \\\"tablet\\\"\\n\\niPadMiniBaseDeviceHand = _.extend {}, iPadMiniBaseDevice,\\n\\tdeviceImageWidth: 1380\\n\\tdeviceImageHeight: 2072\\n\\tdeviceImageJP2: true\\n\\tpaddingOffset: -120\\n\\n\\niPadAirBaseDevice =\\n\\tdeviceImageWidth: 1769\\n\\tdeviceImageHeight: 2509\\n\\tdeviceImageJP2: true\\n\\tscreenWidth: 1536\\n\\tscreenHeight: 2048\\n\\tdeviceType: \\\"tablet\\\"\\n\\niPadAirBaseDeviceHand = _.extend {}, iPadAirBaseDevice,\\n\\tdeviceImageWidth: 4744\\n\\tdeviceImageHeight: 4101\\n\\tdeviceImageJP2: true\\n\\tpaddingOffset: -120\\n\\n\\nNexus5BaseDevice =\\n\\tdeviceImageWidth: 1208\\n\\tdeviceImageHeight: 2440\\n\\tdeviceImageJP2: true\\n\\tscreenWidth: 1080\\n\\tscreenHeight: 1920\\n\\tdeviceType: \\\"phone\\\"\\n\\nNexus5BaseDeviceHand = _.extend {}, Nexus5BaseDevice, # 2692 × 2996\\n\\tdeviceImageWidth: 2692\\n\\tdeviceImageHeight: 2996\\n\\tdeviceImageJP2: true\\n\\tpaddingOffset: -120\\n\\nNexus9BaseDevice =\\n\\tdeviceImageWidth: 1733\\n\\tdeviceImageHeight: 2575\\n\\tdeviceImageJP2: true\\n\\tscreenWidth: 1536\\n\\tscreenHeight: 2048\\n\\tdeviceType: \\\"tablet\\\"\\n\\nAppleWatch42Device =\\n\\tdeviceImageWidth: 552\\n\\tdeviceImageHeight: 938\\n\\tdeviceImageJP2: true\\n\\tscreenWidth: 312\\n\\tscreenHeight: 390\\n\\nAppleWatch38Device =\\n\\tdeviceImageWidth: 508\\n\\tdeviceImageHeight: 900\\n\\tdeviceImageJP2: true\\n\\tscreenWidth: 272\\n\\tscreenHeight: 340\\n\\nDevices =\\n\\n\\t\\\"fullscreen\\\":\\n\\t\\tname: \\\"Fullscreen\\\"\\n\\t\\tdeviceType: \\\"desktop\\\"\\n\\n\\t# Desktop Browser\\n\\t\\\"desktop-safari-1024-600\\\":\\n\\t\\tdeviceType: \\\"browser\\\"\\n\\t\\tname: \\\"Desktop Safari 1024 x 600\\\"\\n\\t\\tscreenWidth: 1024\\n\\t\\tscreenHeight: 600\\n\\t\\tdeviceImageWidth: 1136\\n\\t\\tdeviceImageHeight: 760\\n\\t\\tdeviceImageJP2: true\\n\\t\\\"desktop-safari-1280-800\\\":\\n\\t\\tdeviceType: \\\"browser\\\"\\n\\t\\tname: \\\"Desktop Safari 1280 x 800\\\"\\n\\t\\tscreenWidth: 1280\\n\\t\\tscreenHeight: 800\\n\\t\\tdeviceImageWidth: 1392\\n\\t\\tdeviceImageHeight: 960\\n\\t\\tdeviceImageJP2: true\\n\\t\\\"desktop-safari-1440-900\\\":\\n\\t\\tdeviceType: \\\"browser\\\"\\n\\t\\tname: \\\"Desktop Safari 1440 x 900\\\"\\n\\t\\tscreenWidth: 1440\\n\\t\\tscreenHeight: 900\\n\\t\\tdeviceImageWidth: 1552\\n\\t\\tdeviceImageHeight: 1060\\n\\t\\tdeviceImageJP2: true\\n\\n\\t# iPhone 6\\n\\t\\\"iphone-6-spacegray\\\": iPhone6BaseDevice\\n\\t\\\"iphone-6-spacegray-hand\\\": iPhone6BaseDeviceHand\\n\\t\\\"iphone-6-silver\\\": iPhone6BaseDevice\\n\\t\\\"iphone-6-silver-hand\\\": iPhone6BaseDeviceHand\\n\\t\\\"iphone-6-gold\\\": iPhone6BaseDevice\\n\\t\\\"iphone-6-gold-hand\\\": iPhone6BaseDeviceHand\\n\\n\\t# iPhone 6+\\n\\t\\\"iphone-6plus-spacegray\\\": iPhone6PlusBaseDevice\\n\\t\\\"iphone-6plus-spacegray-hand\\\": iPhone6PlusBaseDeviceHand\\n\\t\\\"iphone-6plus-silver\\\": iPhone6PlusBaseDevice\\n\\t\\\"iphone-6plus-silver-hand\\\": iPhone6PlusBaseDeviceHand\\n\\t\\\"iphone-6plus-gold\\\": iPhone6PlusBaseDevice\\n\\t\\\"iphone-6plus-gold-hand\\\": iPhone6PlusBaseDeviceHand\\n\\n\\t# iPhone 5S\\n\\t\\\"iphone-5s-spacegray\\\": iPhone5BaseDevice\\n\\t\\\"iphone-5s-spacegray-hand\\\":iPhone5BaseDeviceHand\\n\\t\\\"iphone-5s-silver\\\": iPhone5BaseDevice\\n\\t\\\"iphone-5s-silver-hand\\\": iPhone5BaseDeviceHand\\n\\t\\\"iphone-5s-gold\\\": iPhone5BaseDevice\\n\\t\\\"iphone-5s-gold-hand\\\": iPhone5BaseDeviceHand\\n\\n\\t# iPhone 5C\\n\\t\\\"iphone-5c-green\\\": iPhone5CBaseDevice\\n\\t\\\"iphone-5c-green-hand\\\": iPhone5CBaseDeviceHand\\n\\t\\\"iphone-5c-blue\\\": iPhone5CBaseDevice\\n\\t\\\"iphone-5c-blue-hand\\\": iPhone5CBaseDeviceHand\\n\\t\\\"iphone-5c-pink\\\": iPhone5CBaseDevice\\n\\t\\\"iphone-5c-pink-hand\\\": iPhone5CBaseDeviceHand\\n\\t\\\"iphone-5c-white\\\": iPhone5CBaseDevice\\n\\t\\\"iphone-5c-white-hand\\\": iPhone5CBaseDeviceHand\\n\\t\\\"iphone-5c-yellow\\\": iPhone5CBaseDevice\\n\\t\\\"iphone-5c-yellow-hand\\\": iPhone5CBaseDeviceHand\\n\\n\\t# iPad Mini\\n\\t\\\"ipad-mini-spacegray\\\": iPadMiniBaseDevice\\n\\t\\\"ipad-mini-spacegray-hand\\\": iPadMiniBaseDeviceHand\\n\\t\\\"ipad-mini-silver\\\": iPadMiniBaseDevice\\n\\t\\\"ipad-mini-silver-hand\\\": iPadMiniBaseDeviceHand\\n\\n\\t# iPad Air\\n\\t\\\"ipad-air-spacegray\\\": iPadAirBaseDevice\\n\\t\\\"ipad-air-spacegray-hand\\\": iPadAirBaseDeviceHand\\n\\t\\\"ipad-air-silver\\\": iPadAirBaseDevice\\n\\t\\\"ipad-air-silver-hand\\\": iPadAirBaseDeviceHand\\n\\n\\t# Nexus 5\\n\\t\\\"nexus-5-black\\\": Nexus5BaseDevice\\n\\t\\\"nexus-5-black-hand\\\": Nexus5BaseDeviceHand\\n\\n\\t# Nexus 9\\n\\t\\\"nexus-9\\\": Nexus9BaseDevice\\n\\n\\t# Apple Watch 38mm\\n\\t\\\"applewatchsport-38-aluminum-sportband-black\\\": AppleWatch38Device\\n\\t\\\"applewatchsport-38-aluminum-sportband-blue\\\": AppleWatch38Device\\n\\t\\\"applewatchsport-38-aluminum-sportband-green\\\": AppleWatch38Device\\n\\t\\\"applewatchsport-38-aluminum-sportband-pink\\\": AppleWatch38Device\\n\\t\\\"applewatchsport-38-aluminum-sportband-white\\\": AppleWatch38Device\\n\\t\\\"applewatch-38-black-bracelet\\\": AppleWatch38Device\\n\\t\\\"applewatch-38-steel-bracelet\\\": AppleWatch38Device\\n\\t\\\"applewatchedition-38-gold-buckle-blue\\\": AppleWatch38Device\\n\\t\\\"applewatchedition-38-gold-buckle-gray\\\": AppleWatch38Device\\n\\t\\\"applewatchedition-38-gold-buckle-red\\\": AppleWatch38Device\\n\\t\\\"applewatchedition-38-gold-sportband-black\\\": AppleWatch38Device\\n\\t\\\"applewatchedition-38-gold-sportband-white\\\": AppleWatch38Device\\n\\n\\t# Apple Watch 42mm\\n\\t\\\"applewatchsport-42-aluminum-sportband-black\\\": AppleWatch42Device\\n\\t\\\"applewatchsport-42-aluminum-sportband-blue\\\": AppleWatch42Device\\n\\t\\\"applewatchsport-42-aluminum-sportband-green\\\": AppleWatch42Device\\n\\t\\\"applewatchsport-42-aluminum-sportband-pink\\\": AppleWatch42Device\\n\\t\\\"applewatchsport-42-aluminum-sportband-white\\\": AppleWatch42Device\\n\\t\\\"applewatch-42-black-bracelet\\\": AppleWatch42Device\\n\\t\\\"applewatch-42-steel-bracelet\\\": AppleWatch42Device\\n\\t\\\"applewatchedition-42-gold-buckle-blue\\\": AppleWatch42Device\\n\\t\\\"applewatchedition-42-gold-buckle-gray\\\": AppleWatch42Device\\n\\t\\\"applewatchedition-42-gold-buckle-red\\\": AppleWatch42Device\\n\\t\\\"applewatchedition-42-gold-sportband-black\\\": AppleWatch42Device\\n\\t\\\"applewatchedition-42-gold-sportband-white\\\": AppleWatch42Device\\n\\n\\n\\nexports.DeviceComponent.Devices = Devices\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Components/DeviceComponent.coffee\\n **/\",\"Utils = require \\\"./Utils\\\"\\n\\n{_} = require \\\"./Underscore\\\"\\n{BaseClass} = require \\\"./BaseClass\\\"\\n{Config} = require \\\"./Config\\\"\\n{EventManager} = require \\\"./EventManager\\\"\\n\\nCounter = 1\\n\\nclass exports.Context extends BaseClass\\n\\t\\n\\tconstructor: (options={}) ->\\n\\t\\t\\n\\t\\tsuper\\n\\n\\t\\tCounter++\\n\\n\\t\\toptions = _.defaults options,\\n\\t\\t\\tcontextName: null\\n\\t\\t\\tparentLayer: null\\n\\t\\t\\tname: null\\n\\n\\t\\tif not options.name\\n\\t\\t\\tthrow Error(\\\"Contexts need a name\\\")\\n\\n\\t\\t@_parentLayer = options.parentLayer\\n\\t\\t@_name = options.name\\n\\t\\t\\n\\t\\t@reset()\\n\\n\\treset: ->\\n\\n\\t\\t@eventManager?.reset()\\n\\t\\t@eventManager = new EventManager\\n\\n\\t\\tif @_rootElement\\n\\t\\t\\t# Clean up the current root element:\\n\\t\\t\\tif @_rootElement.parentNode\\n\\t\\t\\t\\t# Already attached to the DOM - remove it:\\n\\t\\t\\t\\t@_rootElement.parentNode.removeChild(@_rootElement)\\n\\t\\t\\telse\\n\\t\\t\\t\\t# Not on the DOM yet. Prevent it from being added (for this happens\\n\\t\\t\\t\\t# async):\\n\\t\\t\\t\\t@_rootElement.__cancelAppendChild = true\\n\\n\\t\\t# Create a fresh root element:\\n\\t\\t@_rootElement = @_createRootElement()\\n\\n\\t\\t@_delayTimers?.map (timer) -> window.clearTimeout(timer)\\n\\t\\t@_delayIntervals?.map (timer) -> window.clearInterval(timer)\\n\\n\\t\\tif @_animationList\\n\\t\\t\\tfor animation in @_animationList\\n\\t\\t\\t\\tanimation.stop(false)\\n\\n\\t\\t@_layerList = []\\n\\t\\t@_animationList = []\\n\\t\\t@_delayTimers = []\\n\\t\\t@_delayIntervals = []\\n\\t\\t@_layerIdCounter = 1\\n\\n\\t\\t@emit(\\\"reset\\\", @)\\n\\n\\tdestroy: ->\\n\\t\\t@reset()\\n\\t\\tif @_rootElement.parentNode\\n\\t\\t\\t@_rootElement.parentNode.removeChild(@_rootElement)\\n\\t\\t@_rootElement.__cancelAppendChild = true\\n\\n\\tgetRootElement: ->\\n\\t\\t@_rootElement\\n\\n\\tgetLayers: ->\\n\\t\\t_.clone(@_layerList)\\n\\n\\taddLayer: (layer) ->\\n\\t\\treturn if layer in @_layerList\\n\\t\\t@_layerList.push(layer)\\n\\t\\treturn null\\n\\n\\tremoveLayer: (layer) ->\\n\\t\\t@_layerList = _.without(@_layerList, layer)\\n\\t\\treturn null\\n\\n\\tlayerCount: ->\\n\\t\\treturn @_layerList.length\\n\\n\\tnextLayerId: ->\\n\\t\\t@_layerIdCounter++\\n\\n\\t_createRootElement: ->\\n\\n\\t\\telement = document.createElement(\\\"div\\\")\\n\\t\\telement.id = \\\"FramerContextRoot-#{@_name}\\\"\\n\\t\\telement.classList.add(\\\"framerContext\\\")\\n\\n\\t\\tparentElement = @_parentLayer?._element\\n\\n\\t\\tFramer.Loop.once \\\"render\\\", ->\\n\\t\\t\\tparentElement ?= document.body\\n\\t\\t\\tif not element.__cancelAppendChild\\n\\t\\t\\t\\tparentElement.appendChild(element)\\n\\n\\t\\telement\\n\\n\\trun: (f) ->\\n\\t\\tpreviousContext = Framer.CurrentContext\\n\\t\\tFramer.CurrentContext = @\\n\\t\\tf()\\n\\t\\tFramer.CurrentContext = previousContext\\n\\n\\t@define \\\"width\\\", \\n\\t\\tget: -> \\n\\t\\t\\treturn @_parentLayer.width if @_parentLayer\\n\\t\\t\\treturn window.innerWidth\\n\\n\\t@define \\\"height\\\",\\n\\t\\tget: -> \\n\\t\\t\\treturn @_parentLayer.height if @_parentLayer\\n\\t\\t\\treturn window.innerHeight\\n\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Context.coffee\\n **/\",\"Utils = require \\\"./Utils\\\"\\n\\nFramerCSS = \\\"\\\"\\\"\\nbody {\\n\\tmargin: 0;\\n}\\n\\n.framerContext {\\t\\n\\tposition: absolute;\\n\\tleft: 0;\\n\\ttop: 0;\\n\\tright: 0;\\n\\tbottom: 0;\\n\\tpointer-events: none;\\n\\toverflow: hidden;\\n}\\n\\n.framerLayer {\\n\\tdisplay: block;\\n\\tposition: absolute;\\n\\tbackground-repeat: no-repeat;\\n\\tbackground-size: cover;\\n\\t-webkit-overflow-scrolling: touch;\\n\\t-webkit-box-sizing: border-box;\\n\\t-webkit-user-select: none;\\n}\\n\\n.framerLayer input,\\n.framerLayer textarea,\\n.framerLayer select,\\n.framerLayer option,\\n.framerLayer div[contenteditable=true]\\n{\\n\\tpointer-events: auto;\\n\\t-webkit-user-select: auto;\\n}\\n\\n.framerDebug {\\n\\tpadding: 6px;\\n\\tcolor: #fff;\\n\\tfont: 10px/1em Monaco;\\n}\\n\\n\\\"\\\"\\\"\\n\\nUtils.domComplete -> Utils.insertCSS(FramerCSS)\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Config.coffee\\n **/\",\"{EventEmitter} = require \\\"eventemitter3\\\"\\n\\nexports.EventEmitter = EventEmitter\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/EventEmitter.coffee\\n **/\",\"{_} = require \\\"./Underscore\\\"\\n\\nUtils = require \\\"./Utils\\\"\\n\\n{EventEmitter} = require \\\"./EventEmitter\\\"\\n\\nCounterKey = \\\"_ObjectCounter\\\"\\nDefinedPropertiesKey = \\\"_DefinedPropertiesKey\\\"\\nDefinedPropertiesValuesKey = \\\"_DefinedPropertiesValuesKey\\\"\\n\\ncapitalizeFirstLetter = (string) ->\\n\\tstring.charAt(0).toUpperCase() + string.slice(1)\\n\\nclass exports.BaseClass extends EventEmitter\\n\\n\\t#################################################################\\n\\t# Framer object properties\\n\\n\\t@define = (propertyName, descriptor) ->\\n\\n\\t\\tfor i in [\\\"enumerable\\\", \\\"exportable\\\", \\\"importable\\\"]\\n\\t\\t\\tif descriptor.hasOwnProperty(i)\\n\\t\\t\\t\\tthrow Error(\\\"woops #{propertyName} #{descriptor[i]}\\\") if not _.isBoolean(descriptor[i])\\n\\n\\t\\t# See if we need to add this property to the internal properties class\\n\\t\\tif @ isnt BaseClass\\n\\t\\t\\tdescriptor.propertyName = propertyName\\n\\n\\t\\t\\t# Have the following flags set to true when undefined:\\n\\t\\t\\tdescriptor.enumerable ?= true\\n\\t\\t\\tdescriptor.exportable ?= true\\n\\t\\t\\tdescriptor.importable ?= true\\n\\n\\t\\t\\t# Toggle importable to false when there's no setter defined:\\n\\t\\t\\tdescriptor.importable = descriptor.importable and descriptor.set\\n\\n\\t\\t\\t# Only retain options that are importable, exportable or both:\\n\\t\\t\\tif descriptor.exportable or descriptor.importable\\n\\t\\t\\t\\t@[DefinedPropertiesKey] ?= {}\\n\\t\\t\\t\\t@[DefinedPropertiesKey][propertyName] = descriptor\\n\\n\\t\\t# Set the getter/setter as setProperty on this object so we can access and override it easily\\n\\t\\tgetName = \\\"get#{capitalizeFirstLetter(propertyName)}\\\"\\n\\t\\t@::[getName] = descriptor.get\\n\\t\\tdescriptor.get = @::[getName]\\n\\n\\t\\tif descriptor.set\\n\\t\\t\\tsetName = \\\"set#{capitalizeFirstLetter(propertyName)}\\\"\\n\\t\\t\\t@::[setName] = descriptor.set\\n\\t\\t\\tdescriptor.set = @::[setName]\\n\\n\\t\\t# Define the property\\n\\t\\tObject.defineProperty(@prototype, propertyName, descriptor)\\n\\n\\t@simpleProperty = (name, fallback, options={}) ->\\n\\t\\treturn _.extend options, \\n\\t\\t\\tdefault: fallback\\n\\t\\t\\tget: -> @_getPropertyValue(name)\\n\\t\\t\\tset: (value) -> @_setPropertyValue(name, value)\\n\\n\\t@proxyProperty = (keyPath, options={}) ->\\n\\t\\t# Allows to easily proxy properties from an instance object\\n\\t\\t# Object property is in the form of \\\"object.property\\\"\\n\\t\\tobjectKey = keyPath.split(\\\".\\\")[0]\\n\\t\\treturn _.extend options,\\n\\t\\t\\tget: ->\\n\\t\\t\\t\\treturn unless _.isObject(@[objectKey])\\n\\t\\t\\t\\tUtils.getValueForKeyPath(@, keyPath)\\n\\t\\t\\tset: (value) -> \\n\\t\\t\\t\\treturn unless _.isObject(@[objectKey])\\n\\t\\t\\t\\tUtils.setValueForKeyPath(@, keyPath, value)\\n\\n\\t_setPropertyValue: (k, v) =>\\n\\t\\t@[DefinedPropertiesValuesKey][k] = v\\n\\n\\t_getPropertyValue: (k) =>\\n\\t\\tUtils.valueOrDefault @[DefinedPropertiesValuesKey][k],\\n\\t\\t\\t@_getPropertyDefaultValue k\\n\\n\\t_getPropertyDefaultValue: (k) ->\\n\\t\\t@_propertyList()[k][\\\"default\\\"]\\n\\n\\t_propertyList: ->\\n\\t\\t@constructor[DefinedPropertiesKey]\\n\\n\\tkeys: -> _.keys(@props)\\n\\n\\t@define \\\"props\\\",\\n\\t\\timportable: false\\n\\t\\texportable: false\\n\\t\\tget: ->\\n\\t\\t\\tkeys = []\\n\\t\\t\\tpropertyList = @_propertyList()\\n\\t\\t\\tfor key, descriptor of propertyList\\n\\t\\t\\t\\tif descriptor.exportable\\n\\t\\t\\t\\t\\tkeys.push key\\n\\n\\t\\t\\t_.pick(@, keys)\\n\\n\\t\\tset: (value) ->\\n\\t\\t\\tpropertyList = @_propertyList()\\n\\t\\t\\tfor k,v of value\\n\\t\\t\\t\\t# We only apply properties that we know and are marked to be\\n\\t\\t\\t\\t# importable.\\n\\t\\t\\t\\t@[k] = v if propertyList[k]?.importable\\n\\n\\t@define \\\"id\\\",\\n\\t\\tget: -> @_id\\n\\n\\ttoInspect: =>\\n\\t\\t\\\"<#{@constructor.name} id:#{@id or null}>\\\"\\n\\n\\n\\t#################################################################\\n\\t# Base constructor method\\n\\n\\tconstructor: (options) ->\\n\\n\\t\\tsuper\\n\\n\\t\\t@_context = Framer?.CurrentContext\\n\\n\\t\\t# Create a holder for the property values\\n\\t\\t@[DefinedPropertiesValuesKey] = {}\\n\\n\\t\\t# Count the creation for these objects and set the id\\n\\t\\t@constructor[CounterKey] ?= 0\\n\\t\\t@constructor[CounterKey] += 1\\n\\n\\t\\t@_id = @constructor[CounterKey]\\n\\n\\t\\t@_applyOptionsAndDefaults(options)\\n\\n\\t_applyOptionsAndDefaults: (options) ->\\n\\t\\tfor key, descriptor of @_propertyList()\\n\\t\\t\\t# For each known property (registered with @define) that has a setter, fetch\\n\\t\\t\\t# the value from the options object, unless the prop is not importable.\\n\\t\\t\\t# When there's no user value, apply the default value:\\n\\t\\t\\tif descriptor.set\\n\\t\\t\\t\\tvalue = Utils.valueOrDefault(\\n\\t\\t\\t\\t\\t(options?[key] if descriptor.importable),\\n\\t\\t\\t\\t\\t@_getPropertyDefaultValue(key)\\n\\t\\t\\t\\t)\\n\\n\\t\\t\\t\\tif not (value in [null, undefined])\\n\\t\\t\\t\\t\\t@[key] = value\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/BaseClass.coffee\\n **/\",\"filterFormat = (value, unit) ->\\n\\t\\\"#{Utils.round value, 2}#{unit}\\\"\\n\\t# \\\"#{value}#{unit}\\\"\\n\\n# TODO: Ideally these should be read out from the layer defined properties\\n_WebkitProperties = [\\n\\t[\\\"blur\\\", \\\"blur\\\", 0, \\\"px\\\"],\\n\\t[\\\"brightness\\\", \\\"brightness\\\", 100, \\\"%\\\"],\\n\\t[\\\"saturate\\\", \\\"saturate\\\", 100, \\\"%\\\"],\\n\\t[\\\"hue-rotate\\\", \\\"hueRotate\\\", 0, \\\"deg\\\"],\\n\\t[\\\"contrast\\\", \\\"contrast\\\", 100, \\\"%\\\"],\\n\\t[\\\"invert\\\", \\\"invert\\\", 0, \\\"%\\\"],\\n\\t[\\\"grayscale\\\", \\\"grayscale\\\", 0, \\\"%\\\"],\\n\\t[\\\"sepia\\\", \\\"sepia\\\", 0, \\\"%\\\"],\\n]\\n\\n_Force2DProperties =\\n\\t\\\"z\\\": 0\\n\\t\\\"scaleX\\\": 1\\n\\t\\\"scaleY\\\": 1\\n\\t\\\"scaleZ\\\": 1\\n\\t\\\"skewX\\\": 0\\n\\t\\\"skewY\\\": 0\\n\\t\\\"rotationX\\\": 0\\n\\t\\\"rotationY\\\": 0\\n\\nexports.LayerStyle =\\n\\n\\twidth: (layer) ->\\n\\t\\tlayer._properties.width + \\\"px\\\"\\n\\t\\n\\theight: (layer) ->\\n\\t\\tlayer._properties.height + \\\"px\\\"\\n\\n\\tdisplay: (layer) ->\\n\\t\\tif layer._properties.visible is true\\n\\t\\t\\treturn \\\"block\\\"\\n\\t\\treturn \\\"none\\\"\\n\\n\\topacity: (layer) ->\\n\\t\\tlayer._properties.opacity\\n\\n\\toverflow: (layer) ->\\n\\t\\tif layer._properties.scrollHorizontal is true or layer._properties.scrollVertical is true\\n\\t\\t\\treturn \\\"auto\\\"\\n\\t\\tif layer._properties.clip is true\\n\\t\\t\\treturn \\\"hidden\\\"\\n\\t\\treturn \\\"visible\\\"\\n\\n\\toverflowX: (layer) ->\\n\\t\\tif layer._properties.scrollHorizontal is true\\n\\t\\t\\treturn \\\"scroll\\\"\\n\\t\\tif layer._properties.clip is true\\n\\t\\t\\treturn \\\"hidden\\\"\\n\\t\\treturn \\\"visible\\\"\\n\\n\\toverflowY: (layer) ->\\n\\t\\tif layer._properties.scrollVertical is true\\n\\t\\t\\treturn \\\"scroll\\\"\\n\\t\\tif layer._properties.clip is true\\n\\t\\t\\treturn \\\"hidden\\\"\\n\\t\\treturn \\\"visible\\\"\\n\\n\\tzIndex: (layer) ->\\n\\t\\tlayer._properties.index\\n\\n\\twebkitFilter: (layer) ->\\n\\n\\t\\t# This is mostly an optimization for Chrome. If you pass in the Webkit filters\\n\\t\\t# with the defaults, it still takes a shitty rendering path. So I compare them\\n\\t\\t# first and only add the ones that have a non default value.\\n\\n\\t\\tcss = []\\n\\n\\t\\tfor [cssName, layerName, fallback, unit] in _WebkitProperties\\n\\t\\t\\tif layer._properties.hasOwnProperty(layerName) and layer[layerName] != fallback\\n\\t\\t\\t\\tcss.push(\\\"#{cssName}(#{filterFormat(layer[layerName], unit)})\\\")\\n\\n\\t\\treturn css.join(\\\" \\\")\\n\\n\\n\\twebkitTransform: (layer) ->\\n\\n\\n\\t\\t# We have a special rendering path for layers that prefer 2d rendering.\\n\\t\\t# This definitely decreases performance, but is handy in complex drawing\\n\\t\\t# scenarios with rounded corners and shadows where gpu drawing gets weird\\n\\t\\t# results.\\n\\n\\t\\tif layer._prefer2d or layer._properties.force2d\\n\\t\\t\\treturn exports.LayerStyle.webkitTransformForce2d(layer)\\n\\n\\t\\t\\\"\\n\\t\\ttranslate3d(#{layer._properties.x}px,#{layer._properties.y}px,#{layer._properties.z}px) \\n\\t\\tscale(#{layer._properties.scale})\\n\\t\\tscale3d(#{layer._properties.scaleX},#{layer._properties.scaleY},#{layer._properties.scaleZ})\\n\\t\\tskew(#{layer._properties.skew}deg,#{layer._properties.skew}deg) \\n\\t\\tskewX(#{layer._properties.skewX}deg)  \\n\\t\\tskewY(#{layer._properties.skewY}deg) \\n\\t\\trotateX(#{layer._properties.rotationX}deg) \\n\\t\\trotateY(#{layer._properties.rotationY}deg) \\n\\t\\trotateZ(#{layer._properties.rotationZ}deg) \\n\\t\\t\\\"\\n\\n\\twebkitTransformForce2d: (layer) ->\\n\\n\\t\\t# This detects if we use 3d properties, if we don't it only uses\\n\\t\\t# 2d properties to disable gpu rendering.\\n\\n\\t\\tcss = []\\n\\n\\t\\tfor p, v of _Force2DProperties\\n\\t\\t\\tif layer._properties[p] isnt v\\n\\t\\t\\t\\tconsole.warn \\\"Layer property '#{p}'' will be ignored with force2d enabled\\\"\\n\\n\\t\\tcss.push \\\"translate(#{layer._properties.x}px,#{layer._properties.y}px)\\\"\\n\\t\\tcss.push \\\"scale(#{layer._properties.scale})\\\"\\n\\t\\tcss.push \\\"skew(#{layer._properties.skew}deg,#{layer._properties.skew}deg)\\\"\\n\\t\\tcss.push \\\"rotate(#{layer._properties.rotationZ}deg)\\\"\\n\\n\\t\\treturn css.join(\\\" \\\")\\n\\n\\twebkitTransformOrigin: (layer) ->\\n\\t\\t\\\"#{layer._properties.originX * 100}% #{layer._properties.originY * 100}%\\\"\\n\\n\\t\\t# Todo: Origin z is in pixels. I need to read up on this.\\n\\t\\t# \\\"#{layer._properties.originX * 100}% #{layer._properties.originY * 100}% #{layer._properties.originZ * 100}%\\\"\\n\\n\\twebkitPerspective: (layer) ->\\n\\t\\t\\\"#{layer._properties.perspective}\\\"\\n\\n\\tpointerEvents: (layer) ->\\n\\t\\tif layer._properties.ignoreEvents\\n\\t\\t\\treturn \\\"none\\\"\\n\\t\\telse\\n\\t\\t\\treturn \\\"auto\\\"\\n\\n\\tboxShadow: (layer) ->\\n\\n\\t\\tif not layer._properties.shadowColor\\n\\t\\t\\treturn \\\"\\\"\\n\\t\\t\\n\\t\\treturn \\\"#{layer._properties.shadowX}px #{layer._properties.shadowY}px #{layer._properties.shadowBlur}px #{layer._properties.shadowSpread}px #{layer._properties.shadowColor}\\\"\\n\\n\\n\\tbackgroundColor: (layer) ->\\n\\t\\treturn layer._properties.backgroundColor\\n\\n\\tcolor: (layer) ->\\n\\t\\treturn layer._properties.color\\n\\n\\tborderRadius: (layer) ->\\n\\n\\t\\t# Compatibility fix, remove later\\n\\t\\tif not _.isNumber(layer._properties.borderRadius)\\n\\t\\t\\treturn layer._properties.borderRadius\\n\\t\\t\\n\\t\\treturn layer._properties.borderRadius + \\\"px\\\"\\n\\n\\tborder: (layer) ->\\n\\t\\treturn \\\"#{layer._properties.borderWidth}px solid #{layer._properties.borderColor}\\\"\\n\\t\\t\\n\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/LayerStyle.coffee\\n **/\",\"{_} = require \\\"./Underscore\\\"\\nUtils = require \\\"./Utils\\\"\\n{Config} = require \\\"./Config\\\"\\n{EventEmitter} = require \\\"./EventEmitter\\\"\\n\\n# if window.performance\\n# \\tgetTime = -> window.performance.now()\\n# else\\n# \\tgetTime = -> Date.now()\\n\\ngetTime = -> Utils.getTime() * 1000\\n\\n\\n# Make the time ticks a \\\"fixed\\\" 1/60 of a second.\\n# Framer.Loop.delta = 1/60\\n\\n# Include workaround for a WebKit2 browser bug\\n# Framer.Loop.raf = false\\n\\nclass exports.AnimationLoop extends EventEmitter\\n\\n\\tconstructor: ->\\n\\t\\t\\n\\t\\t# For now we set the delta to a fixed time because using performance.now plus\\n\\t\\t# raf seems to cause weird issues.\\n\\t\\t@delta = 1/60\\n\\t\\t@raf = true\\n\\n\\t\\t# Workaraound for RAF bug on 10.10\\n\\t\\t# https://bugs.webkit.org/show_bug.cgi?id=137599\\n\\n\\t\\tif Utils.webkitVersion() > 600 and Utils.isDesktop()\\n\\t\\t\\t@raf = false\\n\\n\\t\\tif Utils.webkitVersion() > 600 and Utils.isFramerStudio()\\n\\t\\t\\t@raf = false\\n\\n\\tstart: =>\\n\\t\\t\\n\\t\\tanimationLoop = @\\n\\t\\t_timestamp = getTime()\\n\\n\\t\\tupdate = ->\\n\\n\\t\\t\\tif animationLoop.delta\\n\\t\\t\\t\\tdelta = animationLoop.delta\\n\\t\\t\\telse\\n\\t\\t\\t\\ttimestamp = getTime()\\n\\t\\t\\t\\tdelta = (timestamp - _timestamp) / 1000\\n\\t\\t\\t\\t_timestamp = timestamp\\n\\n\\t\\t\\tanimationLoop.emit(\\\"update\\\", delta)\\n\\t\\t\\tanimationLoop.emit(\\\"render\\\", delta)\\n\\n\\t\\ttick = (timestamp) ->\\n\\n\\t\\t\\tif animationLoop.raf\\n\\t\\t\\t\\tupdate()\\n\\t\\t\\t\\twindow.requestAnimationFrame(tick)\\n\\t\\t\\telse\\n\\t\\t\\t\\twindow.setTimeout ->\\n\\t\\t\\t\\t\\tupdate()\\n\\t\\t\\t\\t\\twindow.requestAnimationFrame(tick)\\n\\t\\t\\t\\t, 0\\n\\n\\t\\ttick()\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/AnimationLoop.coffee\\n **/\",\"Utils = require \\\"../Utils\\\"\\n\\n{Animator} = require \\\"../Animator\\\"\\n\\nclass exports.LinearAnimator extends Animator\\n\\t\\n\\tsetup: (options) ->\\n\\n\\t\\t@options = _.defaults options,\\n\\t\\t\\ttime: 1\\n\\t\\t\\tprecision: 1/1000\\n\\n\\t\\t@_time = 0\\n\\n\\tnext: (delta) ->\\n\\t\\t\\n\\t\\t@_time += delta\\n\\n\\t\\tif @finished()\\n\\t\\t\\treturn 1\\n\\n\\t\\treturn @_time / @options.time\\n\\n\\tfinished: ->\\n\\t\\t@_time >= @options.time - @options.precision\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Animators/LinearAnimator.coffee\\n **/\",\"{_} = require \\\"../Underscore\\\"\\nUtils = require \\\"../Utils\\\"\\n\\n{Animator} = require \\\"../Animator\\\"\\n\\nBezierCurveDefaults =\\n\\t\\\"linear\\\": [0, 0, 1, 1]\\n\\t\\\"ease\\\": [.25, .1, .25, 1]\\n\\t\\\"ease-in\\\": [.42, 0, 1, 1]\\n\\t\\\"ease-out\\\": [0, 0, .58, 1]\\n\\t\\\"ease-in-out\\\": [.42, 0, .58, 1]\\n\\nclass exports.BezierCurveAnimator extends Animator\\n\\n\\tsetup: (options) ->\\n\\n\\t\\t# Input is a one of the named bezier curves\\n\\t\\tif _.isString(options) and BezierCurveDefaults.hasOwnProperty options.toLowerCase()\\n\\t\\t\\toptions = { values: BezierCurveDefaults[options.toLowerCase()] }\\n\\n\\t\\t# Input values is one of the named bezier curves\\n\\t\\tif options.values and _.isString(options.values) and BezierCurveDefaults.hasOwnProperty options.values.toLowerCase()\\n\\t\\t\\toptions = { values: BezierCurveDefaults[options.values.toLowerCase()], time: options.time }\\n\\n\\t\\t# Input is a single array of 4 values\\n\\t\\tif _.isArray(options) and options.length is 4\\n\\t\\t\\toptions = { values: options }\\n\\n\\t\\t@options = _.defaults options,\\n\\t\\t\\tvalues: BezierCurveDefaults[\\\"ease-in-out\\\"]\\n\\t\\t\\ttime: 1\\n\\t\\t\\tprecision: 1/1000\\n\\n\\t\\t@_unitBezier = new UnitBezier \\\\\\n\\t\\t\\t@options.values[0],\\n\\t\\t\\t@options.values[1],\\n\\t\\t\\t@options.values[2],\\n\\t\\t\\t@options.values[3],\\n\\n\\t\\t@_time = 0\\n\\n\\n\\tnext: (delta) ->\\n\\n\\t\\t@_time += delta\\n\\n\\t\\tif @finished()\\n\\t\\t\\treturn 1\\n\\n\\t\\t@_unitBezier.solve @_time / @options.time\\n\\n\\tfinished: ->\\n\\t\\t@_time >= @options.time - @options.precision\\n\\n\\n# WebKit implementation found on http://stackoverflow.com/a/11697909\\n\\nclass UnitBezier\\n\\n\\tepsilon: 1e-6 # Precision\\n\\n\\tconstructor: (p1x, p1y, p2x, p2y) ->\\n\\n\\t\\t# pre-calculate the polynomial coefficients\\n\\t\\t# First and last control points are implied to be (0,0) and (1.0, 1.0)\\n\\t\\t@cx = 3.0 * p1x\\n\\t\\t@bx = 3.0 * (p2x - p1x) - @cx\\n\\t\\t@ax = 1.0 - @cx - @bx\\n\\t\\t@cy = 3.0 * p1y\\n\\t\\t@by = 3.0 * (p2y - p1y) - @cy\\n\\t\\t@ay = 1.0 - @cy - @by\\n\\n\\tsampleCurveX: (t) ->\\n\\t\\t((@ax * t + @bx) * t + @cx) * t\\n\\n\\tsampleCurveY: (t) ->\\n\\t\\t((@ay * t + @by) * t + @cy) * t\\n\\n\\tsampleCurveDerivativeX: (t) ->\\n\\t\\t(3.0 * @ax * t + 2.0 * @bx) * t + @cx\\n\\n\\tsolveCurveX: (x) ->\\n\\n\\t\\t# First try a few iterations of Newton's method -- normally very fast.\\n\\t\\tt2 = x\\n\\t\\ti = 0\\n\\n\\t\\twhile i < 8\\n\\t\\t\\tx2 = @sampleCurveX(t2) - x\\n\\t\\t\\treturn t2\\tif Math.abs(x2) < @epsilon\\n\\t\\t\\td2 = @sampleCurveDerivativeX(t2)\\n\\t\\t\\tbreak\\tif Math.abs(d2) < @epsilon\\n\\t\\t\\tt2 = t2 - x2 / d2\\n\\t\\t\\ti++\\n\\n\\t\\t# No solution found - use bi-section\\n\\t\\tt0 = 0.0\\n\\t\\tt1 = 1.0\\n\\t\\tt2 = x\\n\\t\\treturn t0\\tif t2 < t0\\n\\t\\treturn t1\\tif t2 > t1\\n\\t\\twhile t0 < t1\\n\\t\\t\\tx2 = @sampleCurveX(t2)\\n\\t\\t\\treturn t2\\tif Math.abs(x2 - x) < @epsilon\\n\\t\\t\\tif x > x2\\n\\t\\t\\t\\tt0 = t2\\n\\t\\t\\telse\\n\\t\\t\\t\\tt1 = t2\\n\\t\\t\\tt2 = (t1 - t0) * .5 + t0\\n\\n\\t\\t# Give up\\n\\t\\tt2\\n\\n\\tsolve: (x) ->\\n\\t\\t@sampleCurveY @solveCurveX(x)\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Animators/BezierCurveAnimator.coffee\\n **/\",\"Utils = require \\\"../Utils\\\"\\n\\n{Animator} = require \\\"../Animator\\\"\\n\\nclass exports.SpringDHOAnimator extends Animator\\n\\n\\tsetup: (options) ->\\n\\n\\t\\t@options = _.defaults options,\\n\\t\\t\\tvelocity: 0\\n\\t\\t\\ttolerance: 1/10000\\n\\t\\t\\tstiffness: 50\\n\\t\\t\\tdamping: 2\\n\\t\\t\\tmass: 0.2\\n\\t\\t\\ttime: null # Hack\\n\\n\\t\\tconsole.log \\\"SpringDHOAnimator.options\\\", @options, options\\n\\n\\t\\t@_time = 0\\n\\t\\t@_value = 0\\n\\t\\t@_velocity = @options.velocity\\n\\n\\tnext: (delta) ->\\n\\n\\t\\tif @finished()\\n\\t\\t\\treturn 1\\n\\n\\t\\t@_time += delta\\n\\n\\t\\t# See the not science comment above\\n\\t\\tk = 0 - @options.stiffness\\n\\t\\tb = 0 - @options.damping\\n\\n\\t\\tF_spring = k * ((@_value) - 1)\\n\\t\\tF_damper = b * (@_velocity)\\n\\n\\t\\t@_velocity += ((F_spring + F_damper) / @options.mass) * delta\\n\\t\\t@_value += @_velocity * delta\\n\\n\\t\\t@_value\\n\\n\\tfinished: =>\\n\\t\\t@_time > 0 and Math.abs(@_velocity) < @options.tolerance\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Animators/SpringDHOAnimator.coffee\\n **/\",\"Utils = require \\\"../Utils\\\"\\n\\n{Animator} = require \\\"../Animator\\\"\\n{Integrator} = require \\\"../Integrator\\\"\\n\\nclass exports.SpringRK4Animator extends Animator\\n\\n\\tsetup: (options) ->\\n\\n\\t\\t@options = _.defaults options,\\n\\t\\t\\ttension: 500\\n\\t\\t\\tfriction: 10\\n\\t\\t\\tvelocity: 0\\n\\t\\t\\ttolerance: 1/10000\\n\\t\\t\\ttime: null # Hack\\n\\n\\t\\t@_time = 0\\n\\t\\t@_value = 0\\n\\t\\t@_velocity = @options.velocity\\n\\t\\t@_stopSpring = false\\n\\n\\t\\t@_integrator = new Integrator (state) =>\\n\\t\\t\\treturn - @options.tension * state.x - @options.friction * state.v\\n\\n\\tnext: (delta) ->\\n\\n\\t\\tif @finished()\\n\\t\\t\\treturn 1\\n\\n\\t\\t@_time += delta\\n\\n\\t\\tstateBefore = {}\\n\\t\\tstateAfter = {}\\n\\t\\t\\n\\t\\t# Calculate previous state\\n\\t\\tstateBefore.x = @_value - 1\\n\\t\\tstateBefore.v = @_velocity\\n\\t\\t\\n\\t\\t# Calculate new state\\n\\t\\tstateAfter = @_integrator.integrateState stateBefore, delta\\n\\t\\t@_value = 1 + stateAfter.x\\n\\t\\tfinalVelocity = stateAfter.v\\n\\t\\tnetFloat = stateAfter.x\\n\\t\\tnet1DVelocity = stateAfter.v\\n\\n\\t\\t# See if we reached the end state\\n\\t\\tnetValueIsLow = Math.abs(netFloat) < @options.tolerance\\n\\t\\tnetVelocityIsLow = Math.abs(net1DVelocity) < @options.tolerance\\n\\t\\t\\t\\t\\n\\t\\t@_stopSpring = netValueIsLow and netVelocityIsLow\\n\\t\\t@_velocity = finalVelocity\\n\\n\\t\\t@_value\\n\\n\\tfinished: =>\\n\\t\\t@_stopSpring\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Animators/SpringRK4Animator.coffee\\n **/\",\"{_} = require \\\"./Underscore\\\"\\n\\nUtils        = require \\\"./Utils\\\"\\n{BaseClass}  = require \\\"./BaseClass\\\"\\n{Events}     = require \\\"./Events\\\"\\n{Simulation} = require \\\"./Simulation\\\"\\n{Defaults}   = require \\\"./Defaults\\\"\\n{EventBuffer} = require \\\"./EventBuffer\\\"\\n\\nEvents.Move                  = \\\"move\\\"\\nEvents.DragStart             = \\\"dragstart\\\"\\nEvents.DragWillMove          = \\\"dragwillmove\\\"\\nEvents.DragMove              = \\\"dragmove\\\"\\nEvents.DragDidMove           = \\\"dragmove\\\"\\nEvents.Drag                  = \\\"dragmove\\\"\\nEvents.DragEnd               = \\\"dragend\\\"\\nEvents.DragAnimationDidStart = \\\"draganimationdidstart\\\"\\nEvents.DragAnimationDidEnd   = \\\"draganimationdidend\\\"\\nEvents.DirectionLockDidStart = \\\"directionlockdidstart\\\"\\n\\n\\\"\\\"\\\"\\n             \\n    ┌──────┐                   │         \\n    │      │                             \\n    │      │  ───────────────▶ │ ◀────▶  \\n    │      │                             \\n    └──────┘                   │         \\n                                         \\n    ════════  ═════════════════ ═══════  \\n                                         \\n      Drag         Momentum      Bounce  \\n                                             \\n\\\"\\\"\\\"\\n\\nclass exports.LayerDraggable extends BaseClass\\n\\n\\t@define \\\"speedX\\\", @simpleProperty(\\\"speedX\\\", 1)\\n\\t@define \\\"speedY\\\", @simpleProperty(\\\"speedY\\\", 1)\\n\\n\\t@define \\\"horizontal\\\", @simpleProperty(\\\"horizontal\\\", true)\\n\\t@define \\\"vertical\\\", @simpleProperty(\\\"vertical\\\", true)\\n\\n\\t@define \\\"momentumVelocityMultiplier\\\", @simpleProperty(\\\"momentumVelocityMultiplier\\\", 800)\\n\\t@define \\\"directionLock\\\", @simpleProperty(\\\"directionLock\\\", true)\\n\\t@define \\\"directionLockThreshold\\\", @simpleProperty(\\\"directionLockThreshold\\\", {x:10, y:10})\\n\\t@define \\\"propagateEvents\\\", @simpleProperty(\\\"propagateEvents\\\", true)\\n\\n\\t@define \\\"constraints\\\",\\n\\t\\tget: -> @_constraints\\n\\t\\tset: (value) -> \\n\\t\\t\\tif value and _.isObject(value)\\n\\t\\t\\t\\t@_constraints = _.defaults(value, {x:0, y:0, width:0, height:0})\\n\\t\\t\\telse\\n\\t\\t\\t\\t@_constraints = {x:0, y:0, width:0, height:0}\\n\\t\\t\\t@_updateSimulationConstraints(@_constraints) if @_constraints\\n\\n\\t# The isDragging only is true when there was actual movement, so you can\\n\\t# use it to determine a click from a drag event.\\n\\t@define \\\"isDragging\\\", get: -> @_isDragging or false\\n\\t@define \\\"isAnimating\\\", get: -> @_isAnimating or false\\n\\t@define \\\"isMoving\\\", get: -> @_isMoving or false\\n\\n\\t@define \\\"layerStartPoint\\\", get: -> @_layerStartPoint or @layer.point\\n\\t@define \\\"cursorStartPoint\\\", get: -> @_cursorStartPoint or {x:0, y:0}\\n\\t@define \\\"layerCursorOffset\\\", get: -> @_layerCursorOffset or {x:0, y:0}\\n\\n\\t@define \\\"offset\\\",\\n\\t\\tget: ->\\n\\t\\t\\treturn {x:0, y:0} if not @_correctedLayerStartPoint\\n\\t\\t\\treturn offset = \\n\\t\\t\\t\\tx: @layer.x - @_correctedLayerStartPoint.x\\n\\t\\t\\t\\ty: @layer.y - @_correctedLayerStartPoint.y\\n\\n\\t# TODO: what to do with this?\\n\\t# Should there be a tap event?\\n\\t# @define \\\"multipleDraggables\\\", @simpleProperty(\\\"multipleDraggables\\\", false)\\n\\n\\tconstructor: (@layer) ->\\n\\n\\t\\toptions = Defaults.getDefaults(\\\"LayerDraggable\\\", {})\\n\\n\\t\\tsuper options\\n\\n\\t\\t_.extend(@, options)\\n\\n\\t\\t@enabled = true\\n\\n\\t\\t# TODO: will have to change panRecognizer's horizontal/vertical etc \\n\\t\\t# when they are changed on the LayerDraggable\\n\\t\\t# @_panRecognizer = new PanRecognizer @eventBuffer\\n\\t\\t\\n\\t\\t@_eventBuffer = new EventBuffer\\n\\t\\t@_constraints = null\\n\\t\\t# @_propagateEvents = false\\n\\n\\t\\t@attach()\\n\\n\\tattach: -> \\n\\t\\t@layer.on Events.TouchStart, @_touchStart\\n\\n\\tremove: -> @layer.off(Events.TouchStart, @_touchStart)\\n\\n\\tupdatePosition: (point) ->\\n\\t\\t# Override this to add your own behaviour to the update position\\n\\t\\treturn point\\n\\n\\ttouchStart: (event) =>\\n\\t\\t# We expose this publicly so you can start the dragging from an external event\\n\\t\\t# this is for example needed with the slider.\\n\\t\\t@_touchStart(event)\\n\\n\\t_touchStart: (event) =>\\n\\n\\t\\t# Only reset isMoving if this was not animating when we were clicking\\n\\t\\t# so we can use it to detect a click versus a drag.\\n\\t\\t@_isMoving = @isAnimating\\n\\n\\t\\t@layer.animateStop()\\n\\t\\t@_stopSimulation()\\n\\t\\t@_resetdirectionLock()\\n\\n\\t\\tevent.preventDefault()\\n\\t\\tevent.stopPropagation() unless @propagateEvents\\n\\n\\t\\t# Extract the event (mobile may have multiple)\\n\\t\\ttouchEvent = Events.touchEvent(event)\\n\\n\\t\\t@_eventBuffer.push\\n\\t\\t\\tx: touchEvent.clientX\\n\\t\\t\\ty: touchEvent.clientY\\n\\t\\t\\tt: Date.now()\\n\\n\\t\\t# Store original layer position\\n\\t\\t@_layerStartPoint = @layer.point\\n\\t\\t@_correctedLayerStartPoint = @layer.point\\n\\t\\t\\n\\t\\t# If we are beyond bounds, we need to correct for the scaled clamping from the last drag, \\n\\t\\t# hence the 1 / overdragScale\\n\\t\\tif @constraints and @bounce\\n\\t\\t\\t@_correctedLayerStartPoint = @_constrainPosition(\\n\\t\\t\\t\\t@_correctedLayerStartPoint, @constraints, 1 / @overdragScale)\\n\\n\\t\\t# Store start cursor position\\n\\t\\t@_cursorStartPoint =\\n\\t\\t\\tx: touchEvent.clientX\\n\\t\\t\\ty: touchEvent.clientY\\n\\n\\t\\t# Store cursor/layer offset\\n\\t\\t@_layerCursorOffset =\\n\\t\\t\\tx: touchEvent.clientX - @_correctedLayerStartPoint.x\\n\\t\\t\\ty: touchEvent.clientY - @_correctedLayerStartPoint.y\\n\\n\\t\\tdocument.addEventListener(Events.TouchMove, @_touchMove)\\n\\t\\tdocument.addEventListener(Events.TouchEnd, @_touchEnd)\\n\\n\\t\\t@emit(Events.DragStart, event)\\n\\n\\t_touchMove: (event) =>\\n\\n\\t\\treturn unless @enabled\\n\\n\\t\\tevent.preventDefault()\\n\\t\\tevent.stopPropagation() unless @propagateEvents\\n\\n\\t\\ttouchEvent = Events.touchEvent(event)\\n\\n\\t\\t@_eventBuffer.push\\n\\t\\t\\tx: touchEvent.clientX\\n\\t\\t\\ty: touchEvent.clientY\\n\\t\\t\\tt: Date.now() # We don't use timeStamp because it's different on Chrome/Safari\\n\\n\\t\\toffset =\\n\\t\\t\\tx: touchEvent.clientX - @_correctedLayerStartPoint.x - @_layerCursorOffset.x\\n\\t\\t\\ty: touchEvent.clientY - @_correctedLayerStartPoint.y - @_layerCursorOffset.y\\n\\n\\t\\t# Scale the offset with the screen scale for the current layer\\n\\t\\toffset.x = offset.x * @speedX * (1 / @layer.canvasScaleX()) * @layer.scaleX * @layer.scale\\n\\t\\toffset.y = offset.y * @speedY * (1 / @layer.canvasScaleY()) * @layer.scaleY * @layer.scale\\n\\n\\t\\t# See if horizontal/vertical was set and set the offset\\n\\t\\tpoint = @layer.point\\n\\t\\tpoint.x = @_correctedLayerStartPoint.x + offset.x if @horizontal\\n\\t\\tpoint.y = @_correctedLayerStartPoint.y + offset.y if @vertical\\n\\n\\t\\t# Constraints and overdrag\\n\\t\\tpoint = @_constrainPosition(point, @_constraints, @overdragScale) if @_constraints\\n\\n\\t\\t# Direction lock\\n\\t\\tif @directionLock\\n\\t\\t\\tif not @_directionLockEnabledX and not @_directionLockEnabledY\\n\\t\\t\\t\\t@_updatedirectionLock(offset) \\n\\t\\t\\t\\treturn\\n\\t\\t\\telse\\n\\t\\t\\t\\tpoint.x = @_layerStartPoint.x if @_directionLockEnabledX\\n\\t\\t\\t\\tpoint.y = @_layerStartPoint.y if @_directionLockEnabledY\\n\\n\\t\\t# Pixel align all moves\\n\\t\\tif @pixelAlign\\n\\t\\t\\tpoint.x = parseInt(point.x)\\n\\t\\t\\tpoint.y = parseInt(point.y)\\n\\n\\t\\t# Update the dragging status\\n\\t\\tif point.x isnt @_layerStartPoint.x or point.y isnt @_layerStartPoint.y\\n\\t\\t\\t@_isDragging = true\\n\\t\\t\\t@_isMoving = true\\n\\n\\t\\t# Move literally means move. If there is no movement, we do not emit.\\n\\t\\tif @isDragging\\n\\t\\t\\t@emit(Events.DragWillMove, event)\\n\\n\\t\\t@layer.point = @updatePosition(point)\\n \\n\\t\\tif @isDragging\\n\\t\\t\\t@emit(Events.Move, @layer.point)\\n\\t\\t\\t@emit(Events.DragDidMove, event)\\n\\n\\t_touchEnd: (event) =>\\n\\n\\t\\tevent.stopPropagation() unless @propagateEvents\\n\\n\\t\\tdocument.removeEventListener(Events.TouchMove, @_touchMove)\\n\\t\\tdocument.removeEventListener(Events.TouchEnd, @_touchEnd)\\n\\n\\t\\t# Start the simulation prior to emitting the DragEnd event.\\n\\t\\t# This way, if the user calls layer.animate on DragEnd, the simulation will \\n\\t\\t# be canceled by the user's animation (if the user animates x and/or y).\\n\\t\\t@_startSimulation()\\n\\n\\t\\t@emit(Events.DragEnd, event)\\n\\n\\t\\t# # Set _isDragging after DragEnd is fired, so that calls to calculateVelocity() \\n\\t\\t# # still returns dragging velocity - both in case the user calls calculateVelocity(),\\n\\t\\t# # (which would return a stale value before the simulation had finished one tick)\\n\\t\\t# # and because @_start currently calls calculateVelocity().\\n\\t\\t@_isDragging = false\\n\\n\\n\\t##############################################################\\n\\t# Constraints\\n\\n\\t@define \\\"constraintsOffset\\\",\\n\\t\\tget: ->\\n\\t\\t\\treturn {x:0, y:0} unless @constraints\\n\\t\\t\\t{minX, maxX, minY, maxY} = @_calculateConstraints(@constraints)\\n\\t\\t\\tpoint = @layer.point\\n\\t\\t\\tconstrainedPoint = \\n\\t\\t\\t\\tx: Utils.clamp(point.x, minX, maxX)\\n\\t\\t\\t\\ty: Utils.clamp(point.y, minY, maxY)\\n\\t\\t\\toffset = \\n\\t\\t\\t\\tx: point.x - constrainedPoint.x\\n\\t\\t\\t\\ty: point.y - constrainedPoint.y\\n\\t\\t\\treturn offset\\n\\n\\t@define \\\"isBeyondConstraints\\\",\\n\\t\\tget: ->\\n\\t\\t\\tconstraintsOffset = @constraintsOffset\\n\\t\\t\\treturn true if constraintsOffset.x != 0\\n\\t\\t\\treturn true if constraintsOffset.y != 0\\n\\t\\t\\treturn false\\n\\n\\t_clampAndScale: (value, min, max, scale) ->\\n\\t\\t# TODO: Move to utils? Combine with clamp?\\n\\t\\tvalue = min + (value - min) * scale if value < min\\n\\t\\tvalue = max + (value - max) * scale if value > max\\n\\t\\treturn value\\n\\n\\t_calculateConstraints: (bounds) ->\\n\\n\\t\\tif not bounds\\n\\t\\t\\treturn constraints = \\n\\t\\t\\t\\tminX: Infinity\\n\\t\\t\\t\\tmaxX: Infinity\\n\\t\\t\\t\\tminY: Infinity\\n\\t\\t\\t\\tmaxY: Infinity\\n\\n\\t\\tconstraints = \\n\\t\\t\\tminX: Utils.frameGetMinX(bounds)\\n\\t\\t\\tmaxX: Utils.frameGetMaxX(bounds)\\n\\t\\t\\tminY: Utils.frameGetMinY(bounds)\\n\\t\\t\\tmaxY: Utils.frameGetMaxY(bounds)\\n\\n\\t\\t# It makes sense to take the dimensions of the object into account\\n\\t\\tconstraints.maxX -= @layer.width\\n\\t\\tconstraints.maxY -= @layer.height\\n\\n\\t\\treturn constraints\\n\\n\\t_constrainPosition: (proposedPoint, bounds, scale) ->\\n\\t\\t\\n\\t\\t{minX, maxX, minY, maxY} = @_calculateConstraints(@_constraints)\\n\\n\\t\\tif @overdrag\\n\\t\\t\\tpoint = \\n\\t\\t\\t\\tx: @_clampAndScale(proposedPoint.x, minX, maxX, scale)\\n\\t\\t\\t\\ty: @_clampAndScale(proposedPoint.y, minY, maxY, scale)\\n\\t\\telse\\n\\t\\t\\tpoint = \\n\\t\\t\\t\\tx: Utils.clamp(proposedPoint.x, minX, maxX)\\n\\t\\t\\t\\ty: Utils.clamp(proposedPoint.y, minY, maxY)\\n\\n\\t\\tpoint.x = proposedPoint.x if @speedX == 0 or @horizontal is false\\n\\t\\tpoint.y = proposedPoint.y if @speedY == 0 or @vertical   is false\\n\\n\\t\\treturn point\\n\\n\\t##############################################################\\n\\t# Velocity\\n\\n\\t@define \\\"velocity\\\",\\n\\t\\tget: ->\\n\\t\\t\\treturn @_calculateSimulationVelocity() if @isAnimating\\n\\t\\t\\treturn @_eventBuffer.velocity \\n\\t\\t\\treturn {x:0, y:0}\\n\\n\\t\\t\\t# return @_eventBuffer.velocity if @isDragging\\n\\t\\t\\t# return @_calculateSimulationVelocity() if @isAnimating\\n\\t\\t\\t# return {x:0, y:0}\\n\\n\\t@define \\\"angle\\\",\\n\\t\\tget: -> @_eventBuffer.angle\\n\\n\\t@define \\\"direction\\\",\\n\\t\\tget: ->\\n\\t\\t\\t# return null if not @isDragging\\n\\t\\t\\tvelocity = @velocity\\n\\t\\t\\tif Math.abs(velocity.x) > Math.abs(velocity.y)\\n\\t\\t\\t\\treturn \\\"right\\\" if velocity.x > 0\\n\\t\\t\\t\\treturn \\\"left\\\"\\n\\t\\t\\telse\\n\\t\\t\\t\\treturn \\\"down\\\" if velocity.y > 0\\n\\t\\t\\t\\treturn \\\"up\\\"\\n\\n\\tcalculateVelocity: ->\\n\\t\\t# Compatibility method\\n\\t\\t@velocity\\n\\n\\t_calculateSimulationVelocity: ->\\n\\n\\t\\txFinished = @_simulation.x.finished()\\n\\t\\tyFinished = @_simulation.y.finished()\\n\\n\\t\\tvelocity = {x:0, y:0}\\n\\t\\tvelocity.x = (@_simulation.x.simulator.state.v / @momentumVelocityMultiplier) if not xFinished\\n\\t\\tvelocity.y = (@_simulation.y.simulator.state.v / @momentumVelocityMultiplier) if not yFinished\\n\\n\\t\\treturn velocity\\n\\n\\t##############################################################\\n\\t# Event Handling\\n\\n\\temit: (eventName, event) ->\\n\\n\\t\\t# TODO: Add new event properties like position corrected for device\\n\\n\\t\\t# Pass this to the layer above\\n\\t\\t@layer.emit(eventName, event, @)\\n\\n\\t\\tsuper eventName, event, @\\n\\n\\t##############################################################\\n\\t# Lock Direction\\n\\n\\t_updatedirectionLock: (correctedDelta) ->\\n\\t\\t\\n\\t\\t@_directionLockEnabledX = Math.abs(correctedDelta.y) > @directionLockThreshold.y\\n\\t\\t@_directionLockEnabledY = Math.abs(correctedDelta.x) > @directionLockThreshold.x\\n\\t\\t\\n\\t\\t# TODO: This wasn't working as advertised. We shouls have a way to scroll diagonally\\n\\t\\t# if we were sort of moving into both directions equally.\\n\\t\\t\\n\\t\\t# xSlightlyPreferred = Math.abs(correctedDelta.y) > @directionLockThreshold.y / 2\\n\\t\\t# ySlightlyPreferred = Math.abs(correctedDelta.x) > @directionLockThreshold.x / 2\\n\\t\\t\\n\\t\\t# # Allow locking in both directions at the same time\\n\\t\\t# @_directionLockEnabledX = @_directionLockEnabledY = true if (xSlightlyPreferred and ySlightlyPreferred)\\n\\n\\t\\tif @_directionLockEnabledX or @_directionLockEnabledY\\n\\t\\t\\t@emit Events.DirectionLockDidStart, \\n\\t\\t\\t\\tx: @_directionLockEnabledX\\n\\t\\t\\t\\ty: @_directionLockEnabledY\\n\\n\\t_resetdirectionLock: ->\\n\\t\\t@_directionLockEnabledX = false\\n\\t\\t@_directionLockEnabledY = false\\n\\n\\t##############################################################\\n\\t# Inertial scroll simulation\\n\\n\\t_setupSimulation: ->\\n\\t\\treturn if @_simulation\\n\\n\\t\\t@_simulation = \\n\\t\\t\\tx: @_setupSimulationForAxis(\\\"x\\\")\\n\\t\\t\\ty: @_setupSimulationForAxis(\\\"y\\\")\\n\\n\\t\\t@_updateSimulationConstraints(@constraints)\\n\\n\\t_setupSimulationForAxis: (axis) ->\\n\\t\\t\\n\\t\\tproperties = {}\\n\\t\\tproperties[axis] = true\\n\\n\\t\\tsimulation = new Simulation\\n\\t\\t\\tlayer: @layer\\n\\t\\t\\tproperties: properties\\n\\t\\t\\tmodel: \\\"inertial-scroll\\\"\\n\\t\\t\\tmodelOptions:\\n\\t\\t\\t\\tmomentum: @momentumOptions\\n\\t\\t\\t\\tbounce: @bounceOptions\\n\\n\\t\\tsimulation.on Events.SimulationStep, (state) => @_onSimulationStep(axis, state)\\n\\t\\tsimulation.on Events.SimulationStop, (state) => @_onSimulationStop(axis, state)\\n\\t\\tsimulation\\n\\n\\t_updateSimulationConstraints: (constraints) ->\\n\\t\\t# This is where we let the simulator know about our constraints\\n\\t\\treturn unless @_simulation\\n\\t\\tif constraints\\n\\t\\t\\t{minX, maxX, minY, maxY} = @_calculateConstraints(@_constraints)\\n\\t\\t\\t@_simulation.x.simulator.options = {min:minX, max:maxX}\\n\\t\\t\\t@_simulation.y.simulator.options = {min:minY, max:maxY}\\n\\t\\telse\\n\\t\\t\\t@_simulation.x.simulator.options = {min:-Infinity, max:+Infinity}\\n\\t\\t\\t@_simulation.y.simulator.options = {min:-Infinity, max:+Infinity}\\n\\n\\t_onSimulationStep: (axis, state) =>\\n\\n\\t\\treturn if axis is \\\"x\\\" and @horizontal is false\\n\\t\\treturn if axis is \\\"y\\\" and @vertical is false\\n\\n\\t\\t# The simulation state has x as value, it can look confusing here\\n\\t\\t# as we're working with x and y.\\n\\n\\t\\tif @constraints\\n\\t\\t\\tif @bounce\\n\\t\\t\\t\\tdelta = state.x - @layer[axis]\\n\\t\\t\\telse\\n\\t\\t\\t\\t{minX, maxX, minY, maxY} = @_calculateConstraints(@_constraints)\\n\\t\\t\\t\\tdelta = Utils.clamp(state.x, minX, maxX) - @layer[axis] if axis is \\\"x\\\"\\n\\t\\t\\t\\tdelta = Utils.clamp(state.x, minY, maxY) - @layer[axis] if axis is \\\"y\\\"\\n\\t\\telse\\n\\t\\t\\tdelta = state.x - @layer[axis]\\n\\n\\t\\tupdatePoint = @layer.point\\n\\t\\tupdatePoint[axis] = updatePoint[axis] + (delta * @speedX) if axis is \\\"x\\\"\\n\\t\\tupdatePoint[axis] = updatePoint[axis] + (delta * @speedY) if axis is \\\"y\\\"\\n\\t\\t@updatePosition(updatePoint)\\n\\n\\t\\t@layer[axis] = @updatePosition(updatePoint)[axis]\\n\\t\\t@emit(Events.Move, @layer.point)\\n\\n\\t_onSimulationStop: (axis, state) =>\\n\\n\\t\\treturn unless @_simulation\\n\\n\\t\\t# Round the end position to whole pixels\\n\\t\\t@layer[axis] = parseInt(@layer[axis]) if @pixelAlign\\n\\n\\t\\t# See if both simulators are stopped\\n\\t\\tif @_simulation.x.finished() and @_simulation.y.finished()\\n\\t\\t\\t@_stopSimulation()\\n\\n\\t_startSimulation: ->\\n\\n\\t\\t# The types of simulation that we can have are:\\n\\t\\t# 1) Momentum inside constraints\\n\\t\\t# 2) Momentum inside constraints to outside constraints bounce\\n\\t\\t# 3) Release outside constraints bounce\\n\\t\\t# 4) Momentum without constraints\\n\\n\\t\\treturn unless @momentum or @bounce\\n\\t\\treturn if @isBeyondConstraints is false and @momentum is false\\n\\t\\treturn if @isBeyondConstraints is false and @isDragging is false\\n\\n\\t\\t# If overdrag is disabled, we need to not have a bounce animation\\n\\t\\t# when the cursor is outside of the dragging bounds for an axis.\\n\\t\\t{minX, maxX, minY, maxY} = @_calculateConstraints(@_constraints)\\n\\n\\t\\tstartSimulationX = @overdrag is true or (@layer.x > minX and @layer.x < maxX)\\n\\t\\tstartSimulationY = @overdrag is true or (@layer.y > minY and @layer.y < maxY)\\n\\n\\t\\tif startSimulationX is startSimulationY is false\\n\\t\\t\\treturn\\n\\n\\t\\tvelocity = @velocity\\n\\n\\t\\tvelocityX = velocity.x * @momentumVelocityMultiplier * @speedX * (1 / @layer.canvasScaleX()) * @layer.scaleX * @layer.scale\\n\\t\\tvelocityY = velocity.y * @momentumVelocityMultiplier * @speedY * (1 / @layer.canvasScaleY()) * @layer.scaleY * @layer.scale\\n\\n\\t\\t@_setupSimulation()\\n\\t\\t@_isAnimating = true\\n\\t\\t@_isMoving = true\\n\\t\\t\\n\\t\\t@_simulation.x.simulator.setState\\n\\t\\t\\tx: @layer.x\\n\\t\\t\\tv: velocityX\\n\\t\\t@_simulation.x.start() if startSimulationX\\n\\n\\t\\t@_simulation.y.simulator.setState\\n\\t\\t\\tx: @layer.y\\n\\t\\t\\tv: velocityY\\n\\t\\t@_simulation.y.start() if startSimulationY\\n\\n\\t\\t@emit(Events.DragAnimationDidStart)\\n\\n\\t_stopSimulation: =>\\n\\t\\t@_isAnimating = false\\n\\t\\treturn unless @_simulation\\n\\t\\t@_simulation.x.stop?() if @_simulation.x\\n\\t\\t@_simulation.y.stop?() if @_simulation.y\\n\\t\\t@emit(Events.Move, @layer.point)\\n\\t\\t@emit(Events.DragAnimationDidEnd)\\n\\t\\t@_simulation = null\\n\\n\\tanimateStop: ->\\n\\t\\t@_stopSimulation()\\n\\n\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/LayerDraggable.coffee\\n **/\",\"{_} = require \\\"./Underscore\\\"\\nUtils = require \\\"./Utils\\\"\\n\\nChromeAlert = \\\"\\\"\\\"\\nImporting layers is currently only supported on Safari. If you really want it to work with Chrome quit it, open a terminal and run:\\nopen -a Google\\\\ Chrome -–allow-file-access-from-files\\n\\\"\\\"\\\"\\n\\nclass exports.Importer\\n\\n\\tconstructor: (@path, @extraLayerProperties={}) ->\\n\\n\\t\\t@paths =\\n\\t\\t\\tlayerInfo: Utils.pathJoin @path, \\\"layers.json\\\"\\n\\t\\t\\timages: Utils.pathJoin @path, \\\"images\\\"\\n\\t\\t\\tdocumentName: @path.split(\\\"/\\\").pop()\\n\\n\\t\\t@_createdLayers = []\\n\\t\\t@_createdLayersByName = {}\\n\\n\\tload: ->\\n\\n\\t\\tlayersByName = {}\\n\\t\\tlayerInfo = @_loadlayerInfo()\\n\\t\\t\\n\\t\\t# Pass one. Create all layers build the hierarchy\\n\\t\\tlayerInfo.map (layerItemInfo) =>\\n\\t\\t\\t@_createLayer layerItemInfo\\n\\n\\t\\t# Pass two. Adjust position on screen for all layers\\n\\t\\t# based on the hierarchy.\\n\\t\\tfor layer in @_createdLayers\\n\\t\\t\\t@_correctLayer layer\\n\\n\\t\\t# Pass three, insert the layers into the dom\\n\\t\\t# (they were not inserted yet because of the shadow keyword)\\n\\t\\tfor layer in @_createdLayers\\n\\t\\t\\tif not layer.superLayer\\n\\t\\t\\t\\tlayer.superLayer = null\\n\\n\\t\\t@_createdLayersByName\\n\\n\\t_loadlayerInfo: ->\\n\\n\\t\\t# Chrome is a pain in the ass and won't allow local file access\\n\\t\\t# therefore I add a .js file which adds the data to \\n\\t\\t# window.__imported__[\\\"<path>\\\"]\\n\\n\\t\\timportedKey = \\\"#{@paths.documentName}/layers.json.js\\\"\\n\\n\\t\\tif window.__imported__?.hasOwnProperty(importedKey)\\n\\t\\t\\treturn window.__imported__[importedKey]\\n\\n\\t\\treturn Framer.Utils.domLoadJSONSync @paths.layerInfo\\n\\n\\t_createLayer: (info, superLayer) ->\\n\\t\\t\\n\\t\\tLayerClass = Layer\\n\\n\\t\\tlayerInfo =\\n\\t\\t\\tshadow: true\\n\\t\\t\\tname: info.name\\n\\t\\t\\tframe: info.layerFrame\\n\\t\\t\\tclip: false\\n\\t\\t\\tbackgroundColor: null\\n\\t\\t\\tvisible: info.visible ? true\\n\\n\\t\\t_.extend layerInfo, @extraLayerProperties\\n\\n\\t\\t# Most layers will have an image, add that here\\n\\t\\tif info.image\\n\\t\\t\\tlayerInfo.frame = info.image.frame\\n\\t\\t\\tlayerInfo.image = Utils.pathJoin @path, info.image.path\\n\\t\\t\\t\\n\\t\\t# If there is a mask on this layer group, take its frame\\n\\t\\tif info.maskFrame\\n\\t\\t\\tlayerInfo.frame = info.maskFrame\\n\\t\\t\\tlayerInfo.clip = true\\n\\n\\t\\t# Possible fix for images that have a mask in Sketch\\n\\t\\t# So if a layer without children has a mask, Sketch imports the full image\\n\\t\\t# That is whay we then take the image frame over the mask frame again\\n\\t\\tif info.children.length is 0 and true in _.pluck(superLayer?.superLayers(), \\\"clip\\\")\\n\\t\\t\\tlayerInfo.frame = info.image.frame\\n\\t\\t\\tlayerInfo.clip = false\\n\\t\\t\\t\\n\\t\\t# Figure out what the super layer should be. If this layer has a contentLayer\\n\\t\\t# (like a scroll view) we attach it to that instead.\\n\\t\\tif superLayer?.contentLayer\\n\\t\\t\\tlayerInfo.superLayer = superLayer.contentLayer\\n\\t\\telse if superLayer\\n\\t\\t\\tlayerInfo.superLayer = superLayer\\n\\n\\t\\t# We can create the layer here\\n\\t\\tlayer = new LayerClass layerInfo\\n\\t\\tlayer.name = layerInfo.name\\n\\n\\t\\t# Set scroll to true if scroll is in the layer name\\n\\t\\tif layerInfo.name.toLowerCase().indexOf(\\\"scroll\\\") != -1\\n\\t\\t\\tlayer.scroll = true\\n\\n\\t\\t# Set draggable enabled if draggable is in the name\\n\\t\\tif layerInfo.name.toLowerCase().indexOf(\\\"draggable\\\") != -1\\n\\t\\t\\tlayer.draggable.enabled = true\\n\\n\\t\\t# A layer without an image, mask or sublayers should be zero\\n\\t\\tif not layer.image and not info.children.length and not info.maskFrame\\n\\t\\t\\tlayer.frame = Utils.frameZero()\\n\\n\\t\\t_.clone(info.children).reverse().map (info) => @_createLayer info, layer\\n\\n\\t\\t# TODODODODOD\\n\\t\\tif not layer.image and not info.maskFrame\\n\\t\\t\\tlayer.frame = layer.contentFrame()\\n\\n\\t\\tlayer._info = info\\n\\n\\t\\t@_createdLayers.push layer\\n\\t\\t@_createdLayersByName[layer.name] = layer\\n\\n\\t_correctLayer: (layer) ->\\n\\n\\t\\ttraverse = (layer) ->\\n\\n\\t\\t\\tif layer.superLayer\\n\\t\\t\\t\\tlayer.frame = Utils.convertPoint layer.frame, null, layer.superLayer\\n\\n\\t\\t\\tfor subLayer in layer.subLayers\\n\\t\\t\\t\\ttraverse subLayer\\n\\n\\t\\tif not layer.superLayer\\n\\t\\t\\ttraverse layer\\n\\nexports.Importer.load = (path) ->\\n\\timporter = new exports.Importer path\\n\\timporter.load()\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Importer.coffee\\n **/\",\"Utils = require \\\"./Utils\\\"\\n\\n{Context} = require \\\"./Context\\\"\\n\\n###############################################################\\n# Debug overview\\n\\n_debugStyle =\\n\\tborder: \\\"1px solid rgba(50,150,200,.35)\\\"\\n\\tbackgroundColor: \\\"rgba(50,150,200,.35)\\\"\\n\\nshowDebug = -> \\n\\n\\tfor layer in Framer.CurrentContext.getLayers()\\n\\t\\t\\n\\t\\tlayer._debugStyle = _.pick(layer.style, _.keys(_debugStyle))\\n\\t\\tlayer.style = _debugStyle\\n\\n\\t\\tlayer._debugElement = document.createElement(\\\"div\\\")\\n\\t\\tlayer._debugElement.innerHTML = layer.name or layer.id\\n\\t\\tlayer._debugElement.classList.add(\\\"framerDebug\\\")\\n\\t\\t\\n\\t\\tlayer._element.appendChild(layer._debugElement)\\n\\nhideDebug = ->\\n\\t\\n\\tfor layer in Framer.CurrentContext.getLayers()\\n\\t\\tlayer.style = layer._debugStyle\\n\\t\\tlayer._debugElement.parentElement.removeChild(layer._debugElement)\\n\\t\\tlayer._debugElement = null\\n\\ntoggleDebug = Utils.toggle(showDebug, hideDebug)\\n\\nEventKeys =\\n\\tShift: 16\\n\\tEscape: 27\\n\\n# window.document.onkeyup = (event) ->\\n# \\tif event.keyCode == EventKeys.Escape\\n# \\t\\ttoggleDebug()()\\n\\n###############################################################\\n# Error warning\\n\\n_errorContext = null\\n_errorShown = false\\n\\nerrorWarning = (event) ->\\n\\n\\tif not _errorContext\\n\\t\\t_errorContext = new Context(name:\\\"Error\\\")\\n\\n\\treturn if _errorShown\\n\\n\\t_errorShown = true\\n\\n\\tlayer = new Layer {x:20, y:-50, width:300, height:40}\\n\\n\\tlayer.states.add\\n\\t\\tvisible: {x:20, y:20, width:300, height:40}\\n\\n\\tlayer.html = \\\"Javascript Error, see the console\\\"\\n\\tlayer.style =\\n\\t\\tfont: \\\"12px/1.35em Menlo\\\"\\n\\t\\tcolor: \\\"white\\\"\\n\\t\\ttextAlign: \\\"center\\\"\\n\\t\\tlineHeight: \\\"#{layer.height}px\\\"\\n\\t\\tborderRadius: \\\"5px\\\"\\n\\t\\tbackgroundColor: \\\"rgba(255,0,0,.8)\\\"\\n\\n\\tlayer.states.animationOptions =\\n\\t\\tcurve: \\\"spring\\\"\\n\\t\\tcurveOptions:\\n\\t\\t\\ttension: 1000\\n\\t\\t\\tfriction: 30\\n\\n\\tlayer.states.switch \\\"visible\\\"\\n\\n\\tlayer.on Events.Click, ->\\n\\t\\t@states.switch \\\"default\\\"\\n\\n\\t_errorWarningLayer = layer\\n\\nwindow.error = errorWarning\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Debug.coffee\\n **/\",\"# exports.Hints = require \\\"./Hints\\\"\\nexports.MobileScrollFix = require \\\"./MobileScrollFix\\\"\\nexports.OmitNew = require \\\"./OmitNew\\\"\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Extras/Extras.coffee\\n **/\",\"{_} = require \\\"./Underscore\\\"\\n\\nUtils = require \\\"./Utils\\\"\\n\\n# You can set Framer Defaults before loading Framer (sort of enviroment variables) in window.FramerDefaults\\n\\nOriginals = \\n\\tLayer:\\n\\t\\tbackgroundColor: \\\"rgba(0,124,255,.5)\\\"\\n\\t\\twidth: 100\\n\\t\\theight: 100\\n\\tAnimation:\\n\\t\\t# curve: \\\"spring(400,40,0)\\\" # Or, the Cemre-Curve\\n\\t\\tcurve: \\\"ease\\\"\\n\\t\\ttime: 1\\n\\tDeviceComponent:\\n\\t\\tfullScreen: false\\n\\t\\tpadding: 50\\n\\t\\tdeviceType: \\\"iphone-5s-spacegray\\\"\\n\\t\\tdeviceZoom: \\\"fit\\\"\\n\\t\\tcontentZoom: 1\\n\\t\\torientation: \\\"portrait\\\"\\n\\t\\tkeyboard: false\\n\\t\\tanimationOptions:\\n\\t\\t\\tcurve: \\\"spring(400,40,0)\\\"\\n\\tLayerDraggable:\\n\\t\\tmomentum: true\\n\\t\\tmomentumOptions:\\n\\t\\t\\tfriction: 2.1 \\n\\t\\t\\ttolerance: 1 \\n\\t\\tbounce: true\\n\\t\\tbounceOptions:\\n\\t\\t\\tfriction: 40\\n\\t\\t\\ttension: 200\\n\\t\\t\\ttolerance: 1\\n\\t\\tdirectionLock: false\\n\\t\\tdirectionLockThreshold: \\n\\t\\t\\tx: 10\\n\\t\\t\\ty: 10\\n\\t\\toverdrag: true\\n\\t\\toverdragScale: 0.5\\n\\t\\tpixelAlign: true\\n\\t\\tvelocityTimeout: 100\\n\\t\\tvelocityScale: 890\\n\\tFrictionSimulator:\\n\\t\\tfriction: 2\\n\\t\\ttolerance: 1/10\\n\\tSpringSimulator:\\n\\t\\ttension: 500\\n\\t\\tfriction: 10\\n\\t\\ttolerance: 1/10000\\n\\tMomentumBounceSimulator:\\n\\t\\tmomentum:\\n\\t\\t\\tfriction: 2\\n\\t\\t\\ttolerance: 10\\n\\t\\tbounce:\\n\\t\\t\\ttension: 500\\n\\t\\t\\tfriction: 10\\n\\t\\t\\ttolerance: 1\\n\\nexports.Defaults =\\n\\n\\tgetDefaults: (className, options) ->\\n\\n\\t\\treturn {} unless Originals.hasOwnProperty(className)\\n\\t\\treturn {} unless Framer.Defaults.hasOwnProperty(className)\\n\\n\\t\\t# Always start with the originals\\n\\t\\tdefaults = _.clone Originals[className]\\n\\n\\t\\t# Copy over the user defined options\\n\\t\\tfor k, v of Framer.Defaults[className]\\n\\t\\t\\tdefaults[k] = if _.isFunction(v) then v() else v\\n\\n\\t\\t# Then copy over the default keys to the options\\n\\t\\tfor k, v of defaults\\n\\t\\t\\tif not options.hasOwnProperty k\\n\\t\\t\\t\\toptions[k] = v\\n\\n\\t\\t# Include a secret property with the default keys\\n\\t\\t# options._defaultValues = defaults\\n\\t\\t\\n\\t\\toptions\\n\\n\\tsetup: ->\\n\\t\\t# This should only be called once when Framer loads. It looks if there\\n\\t\\t# are already options defined and updates them with the originals.\\n\\t\\tif window.FramerDefaults\\n\\t\\t\\tfor className, classValues of window.FramerDefaults\\n\\t\\t\\t\\tfor k, v of classValues\\n\\t\\t\\t\\t\\tOriginals[className][k] = v\\n\\n\\t\\texports.Defaults.reset()\\n\\n\\treset: ->\\n\\t\\twindow.Framer.Defaults = _.clone Originals\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Defaults.coffee\\n **/\",\"{_} = require \\\"./Underscore\\\"\\n\\n{Events} = require \\\"./Events\\\"\\n{BaseClass} = require \\\"./BaseClass\\\"\\n{Defaults} = require \\\"./Defaults\\\"\\n\\nLayerStatesIgnoredKeys = [\\\"ignoreEvents\\\"]\\n\\n# Animation events\\nEvents.StateWillSwitch = \\\"willSwitch\\\"\\nEvents.StateDidSwitch = \\\"didSwitch\\\"\\n\\nclass exports.LayerStates extends BaseClass\\n\\n\\tconstructor: (@layer) ->\\n\\n\\t\\t@_states = {}\\n\\t\\t@_orderedStates = []\\n\\n\\t\\t@animationOptions = {}\\n\\n\\t\\t# Always add the default state as the current\\n\\t\\t@add \\\"default\\\", @layer.props\\n\\n\\t\\t@_currentState = \\\"default\\\"\\n\\t\\t@_previousStates = []\\n\\n\\t\\tsuper\\n\\n\\tadd: (stateName, properties) ->\\n\\n\\t\\t# We also allow an object with states to be passed in\\n\\t\\t# like: layer.states.add({stateA: {...}, stateB: {...}})\\n\\t\\tif _.isObject(stateName)\\n\\t\\t\\tfor k, v of stateName\\n\\t\\t\\t\\t@add(k, v)\\n\\t\\t\\treturn\\n\\n\\t\\terror = -> throw Error \\\"Usage example: layer.states.add(\\\\\\\"someName\\\\\\\", {x:500})\\\"\\n\\t\\terror() if not _.isString stateName\\n\\t\\terror() if not _.isObject properties\\n\\n\\t\\t# Add a state with a name and properties\\n\\t\\t@_orderedStates.push stateName\\n\\t\\t@_states[stateName] = LayerStates.filterStateProperties(properties)\\n\\n\\tremove: (stateName) ->\\n\\n\\t\\tif not @_states.hasOwnProperty stateName\\n\\t\\t\\treturn\\n\\n\\t\\tdelete @_states[stateName]\\n\\t\\t@_orderedStates = _.without @_orderedStates, stateName\\n\\n\\tswitch: (stateName, animationOptions, instant=false) ->\\n\\n\\t\\t# Switches to a specific state. If animationOptions are\\n\\t\\t# given use those, otherwise the default options.\\n\\n\\t\\t# We actually do want to allow this. A state can be set to something\\n\\t\\t# that does not equal the property values for that state.\\n\\n\\t\\t# if stateName is @_currentState\\n\\t\\t# \\treturn\\n\\n\\t\\tif not @_states.hasOwnProperty(stateName)\\n\\t\\t\\tthrow Error \\\"No such state: '#{stateName}'\\\"\\n\\n\\t\\t@emit(Events.StateWillSwitch, @_currentState, stateName, @)\\n\\n\\t\\t@_previousStates.push(@_currentState)\\n\\t\\t@_currentState = stateName\\n\\n\\t\\tproperties = {}\\n\\t\\tanimatingKeys = @animatingKeys()\\n\\n\\t\\tfor propertyName, value of @_states[stateName]\\n\\n\\t\\t\\t# Don't animate ignored properties\\n\\t\\t\\tif propertyName in LayerStatesIgnoredKeys\\n\\t\\t\\t\\tcontinue\\n\\n\\t\\t\\tif propertyName not in animatingKeys\\n\\t\\t\\t\\tcontinue\\n\\n\\t\\t\\t# Allow dynamic properties as functions\\n\\t\\t\\tvalue = value.call(@layer, @layer, stateName) if _.isFunction(value)\\n\\n\\t\\t\\t# Set the new value \\n\\t\\t\\tproperties[propertyName] = value\\n\\n\\t\\t# If we are only transitioning to non-animatable (numeric) properties\\n\\t\\t# we fallback to an instant switch\\n\\t\\tanimatablePropertyKeys = []\\n\\n\\t\\tfor k, v of properties\\n\\t\\t\\tanimatablePropertyKeys.push(k) if _.isNumber(v)\\n\\n\\t\\tif animatablePropertyKeys.length == 0\\n\\t\\t\\tinstant = true\\n\\n\\t\\tif instant is true\\n\\t\\t\\t# We want to switch immediately without animation\\n\\t\\t\\t@layer.props = properties\\n\\t\\t\\t@emit Events.StateDidSwitch, _.last(@_previousStates), stateName, @\\n\\n\\t\\telse\\n\\t\\t\\t# Start the animation and update the state when finished\\n\\t\\t\\tanimationOptions ?= @animationOptions\\n\\t\\t\\tanimationOptions.properties = properties\\n\\n\\t\\t\\t@_animation?.stop()\\n\\t\\t\\t@_animation = @layer.animate animationOptions\\n\\t\\t\\t@_animation.on \\\"stop\\\", => \\n\\t\\t\\t\\t\\n\\t\\t\\t\\t# Set all the values for keys that we couldn't animate\\n\\t\\t\\t\\tfor k, v of properties\\n\\t\\t\\t\\t\\t@layer[k] = v if not _.isNumber(v)\\n\\n\\t\\t\\t\\t@emit Events.StateDidSwitch, _.last(@_previousStates), stateName, @\\n\\n\\n\\n\\tswitchInstant: (stateName) ->\\n\\t\\t@switch stateName, null, true\\n\\n\\t@define \\\"state\\\", get: -> @_currentState\\n\\t@define \\\"current\\\", get: -> @_currentState\\n\\n\\tstates: ->\\n\\t\\t# Return a list of all the possible states\\n\\t\\t_.clone @_orderedStates\\n\\n\\tanimatingKeys: ->\\n\\n\\t\\t# Get a list of all the propeties controlled by states\\n\\n\\t\\tkeys = []\\n\\n\\t\\tfor stateName, state of @_states\\n\\t\\t\\tcontinue if stateName is \\\"default\\\"\\n\\t\\t\\tkeys = _.union(keys, _.keys(state))\\n\\n\\t\\tkeys\\n\\n\\tprevious: (states, animationOptions) ->\\n\\t\\t# Go to previous state in list\\n\\t\\tstates ?= @states()\\n\\t\\t@switch Utils.arrayPrev(states, @_currentState), animationOptions\\n\\n\\tnext:  ->\\n\\t\\t# TODO: maybe add animationOptions\\n\\t\\tstates = Utils.arrayFromArguments arguments\\n\\n\\t\\tif not states.length\\n\\t\\t\\tstates = @states()\\n\\n\\t\\t@switch Utils.arrayNext(states, @_currentState)\\n\\n\\n\\tlast: (animationOptions) ->\\n\\t\\t# Return to last state\\n\\t\\t@switch _.last(@_previousStates), animationOptions\\n\\n\\temit: (args...) ->\\n\\t\\tsuper\\n\\t\\t# Also emit this to the layer with self as argument\\n\\t\\t@layer.emit args...\\n\\n\\t@filterStateProperties = (properties) ->\\n\\n\\t\\tstateProperties = {}\\n\\n\\t\\t# TODO: Maybe we want to support advanced data structures like objects in the future too.\\n\\t\\tfor k, v of properties\\n\\t\\t\\tstateProperties[k] = v if _.isNumber(v) or _.isFunction(v) or _.isBoolean(v) or _.isString(v)\\n\\n\\t\\treturn stateProperties\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/LayerStates.coffee\\n **/\",\"EventManagerIdCounter = 0\\n\\nclass EventManagerElement\\n\\n\\tconstructor: (@element) ->\\n\\t\\t@_events = {}\\n\\n\\taddEventListener: (eventName, listener) ->\\n\\t\\t@_events[eventName] ?= []\\n\\t\\t@_events[eventName].push listener\\n\\t\\t@element.addEventListener(eventName, listener)\\n\\n\\tremoveEventListener: (event, listener) ->\\n\\t\\treturn unless @_events\\n\\t\\treturn unless @_events[event]\\n\\t\\t\\n\\t\\t@_events[event] = _.without @_events[event], listener\\t\\t\\n\\t\\t@element.removeEventListener(event, listener)\\n\\n\\t\\treturn\\n\\n\\tremoveAllEventListeners: (eventName) ->\\n\\t\\t\\n\\t\\tevents = if eventName then [eventName] else _.keys(@_events)\\n\\n\\t\\tfor eventName in events\\n\\t\\t\\tfor eventListener in @_events[eventName]\\n\\t\\t\\t\\t@removeEventListener eventName, eventListener\\n\\n\\t\\treturn\\n\\n\\tonce: (event, listener) ->\\n\\n\\t\\tfn = =>\\n\\t\\t\\t@removeListener event, fn\\n\\t\\t\\tlistener arguments...\\n\\n\\t\\t@on event, fn\\n\\n\\ton: @::addEventListener\\n\\toff: @::removeEventListener\\n\\t\\nclass exports.EventManager\\n\\n\\tconstructor: (element) ->\\n\\t\\t@_elements = {}\\n\\n\\twrap: (element) =>\\n\\n\\t\\tif not element._eventManagerId\\n\\t\\t\\telement._eventManagerId = EventManagerIdCounter++\\n\\t\\t\\n\\t\\tif not @_elements[element._eventManagerId]\\n\\t\\t\\t@_elements[element._eventManagerId] = new EventManagerElement(element)\\n\\n\\t\\t@_elements[element._eventManagerId]\\n\\t\\n\\treset: ->\\n\\t\\tfor element, elementEventManager of @_elements\\n\\t\\t\\telementEventManager.removeAllEventListeners()\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/EventManager.coffee\\n **/\",\"Utils = require \\\"./Utils\\\"\\n\\n{Config} = require \\\"./Config\\\"\\n\\nclass exports.Animator\\n\\n\\t\\\"\\\"\\\"\\n\\tThe animator class is a very simple class that\\n\\t\\t- Takes a set of input values at setup({input values})\\n\\t\\t- Emits an output value for progress (0 -> 1) in value(progress)\\n\\t\\\"\\\"\\\"\\n\\t\\n\\tconstructor: (options={}) ->\\n\\t\\t@setup options\\n\\n\\tsetup: (options) ->\\n\\t\\tthrow Error \\\"Not implemented\\\"\\n\\n\\tnext: (delta) ->\\n\\t\\tthrow Error \\\"Not implemented\\\"\\n\\n\\tfinished: ->\\n\\t\\tthrow Error \\\"Not implemented\\\"\\n\\n\\t\\n\\t# start: -> Framer.Loop.on(\\\"update\\\", )\\n\\t# stop: -> AnimationLoop.remove @\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Animator.coffee\\n **/\",\"\\nUtils = require \\\"./Utils\\\"\\n\\n{Config} = require \\\"./Config\\\"\\n\\nclass exports.Integrator\\n\\n\\t\\\"\\\"\\\"\\n\\tUsage:\\n\\t\\t- Instantiate with a function that takes (state) -> acceleration\\n\\t\\t- Call integrateState with state={x, v} and delta\\n\\t\\\"\\\"\\\"\\n\\n\\tconstructor: (@_accelerationForState) ->\\n\\t\\t\\n\\t\\tunless _.isFunction(@_accelerationForState)\\n\\t\\t\\tconsole.warn \\\"Integrator: an integrator must be constructed with an acceleration function\\\"\\n\\t\\t\\t@_accelerationForState = -> 0\\n\\n\\tintegrateState: (state, dt) ->\\n\\n\\t\\ta = @_evaluateState(state)\\n\\t\\tb = @_evaluateStateWithDerivative(state, dt * 0.5, a)\\n\\t\\tc = @_evaluateStateWithDerivative(state, dt * 0.5, b)\\n\\t\\td = @_evaluateStateWithDerivative(state, dt, c)\\n\\n\\t\\tdxdt = 1.0/6.0 * (a.dx + 2.0 * (b.dx + c.dx) + d.dx)\\n\\t\\tdvdt = 1.0/6.0 * (a.dv + 2.0 * (b.dv + c.dv) + d.dv)\\n\\n\\t\\tstate.x = state.x + dxdt * dt\\n\\t\\tstate.v = state.v + dvdt * dt\\n\\n\\t\\treturn state\\n\\n\\t_evaluateState: (initialState) ->\\n\\n\\t\\toutput = {}\\n\\t\\toutput.dx = initialState.v\\n\\t\\toutput.dv = @_accelerationForState(initialState)\\n\\n\\t\\treturn output\\n\\n\\t_evaluateStateWithDerivative: (initialState, dt, derivative) ->\\n\\n\\t\\tstate = {}\\n\\t\\tstate.x = initialState.x + derivative.dx * dt\\n\\t\\tstate.v = initialState.v + derivative.dv * dt\\n\\n\\t\\toutput = {}\\n\\t\\toutput.dx = state.v\\n\\t\\toutput.dv = @_accelerationForState(state)\\n\\n\\t\\treturn output\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Integrator.coffee\\n **/\",\"{_} = require \\\"./Underscore\\\"\\n\\nUtils = require \\\"./Utils\\\"\\n\\n{Config} = require \\\"./Config\\\"\\n{Defaults} = require \\\"./Defaults\\\"\\n{BaseClass} = require \\\"./BaseClass\\\"\\n{Events} = require \\\"./Events\\\"\\n\\n{SpringSimulator} = require \\\"./Simulators/SpringSimulator\\\"\\n{FrictionSimulator} = require \\\"./Simulators/FrictionSimulator\\\"\\n{MomentumBounceSimulator} = require \\\"./Simulators/MomentumBounceSimulator\\\"\\n\\nEvents.SimulationStart = 'simulationStart'\\nEvents.SimulationStep = 'simulationStep'\\nEvents.SimulationStop = 'simulationStop'\\n\\nSimulatorClasses =\\n\\t\\\"spring\\\": SpringSimulator\\n\\t\\\"friction\\\": FrictionSimulator\\n\\t\\\"inertial-scroll\\\": MomentumBounceSimulator\\n\\nclass exports.Simulation extends BaseClass\\n\\n\\tconstructor: (options={}) ->\\n\\n\\t\\t# options = Defaults.getDefaults \\\"Simulation\\\", options\\n\\n\\t\\tsuper options\\n\\n\\t\\t@options = _.defaults options,\\n\\t\\t\\tlayer: null\\n\\t\\t\\tproperties: {}\\n\\t\\t\\tmodel: \\\"spring\\\"\\n\\t\\t\\tmodelOptions: {}\\n\\t\\t\\tdelay: 0\\n\\t\\t\\tdebug: false\\n\\n\\t\\t@_running = false\\n\\n\\t\\tSimulatorClass = SimulatorClasses[@options.model] or SpringSimulator\\n\\n\\t\\t@_simulator = new SimulatorClass @options.modelOptions\\n\\n\\t# Though properties aren't modified directly by the simulation, it's still\\n\\t# necessary to return them so that conflicting animations/simulations can\\n\\t# detect one another and not run at the same time.\\n\\tanimatingProperties: ->\\n\\t\\t_.keys(@options.properties)\\n\\n\\tstart: =>\\n\\n\\t\\tif @options.layer is null\\n\\t\\t\\tconsole.error \\\"Simulation: missing layer\\\"\\n\\n\\t\\tif @options.debug\\n\\t\\t\\tconsole.log \\\"Simulation.start #{@_simulator.constructor.name}\\\", @options.modelOptions\\n\\n\\t\\tanimatingProperties = @animatingProperties()\\n\\t\\tfor property, animation of @options.layer.animatingProperties()\\n\\t\\t\\tif property in animatingProperties\\n\\t\\t\\t\\tanimation.stop()\\n\\n\\t\\tif @options.delay\\n\\t\\t\\tUtils.delay(@options.delay, @_start)\\n\\t\\telse\\n\\t\\t\\t@_start()\\n\\n\\t\\treturn true\\n\\n\\tstop: (emit=true)->\\n\\t\\treturn unless @_running\\n\\n\\t\\t@_running = false\\n\\t\\t\\n\\t\\t@options.layer._context._animationList = _.without(\\n\\t\\t\\t@options.layer._context._animationList, @)\\n\\n\\t\\t@emit(Events.SimulationStop) if emit\\n\\t\\tFramer.Loop.off(\\\"update\\\", @_update)\\n\\n\\t# copy: -> return new Simulation(_.clone(@options))\\n\\n\\temit: (event) ->\\n\\t\\tsuper\\n\\t\\t# Also emit this to the layer with self as argument\\n\\t\\t@options.layer.emit(event, @)\\n\\n\\t_start: =>\\n\\t\\treturn if @_running\\n\\n\\t\\t@_running = true\\n\\n\\t\\t@options.layer._context._animationList.push(@)\\n\\n\\t\\t@emit(Events.SimulationStart)\\n\\t\\tFramer.Loop.on(\\\"update\\\", @_update)\\n\\n\\t_update: (delta) =>\\n\\t\\tif @_simulator.finished()\\n\\t\\t\\t@stop(emit=false)\\n\\t\\t\\t@emit(\\\"end\\\")\\n\\t\\t\\t@emit(Events.SimulationStop)\\n\\t\\telse\\n\\t\\t\\tresult = @_simulator.next(delta)\\n\\t\\t\\t@emit(Events.SimulationStep, result, delta)\\n\\n\\t##############################################################\\n\\t# Passthrough to simulator\\n\\n\\t@define \\\"simulator\\\",\\n\\t\\tget: -> @_simulator\\n\\n\\tfinished: -> @_simulator.finished()\\n\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Simulation.coffee\\n **/\",\"{_} = require \\\"./Underscore\\\"\\n\\nUtils        = require \\\"./Utils\\\"\\n{BaseClass}  = require \\\"./BaseClass\\\"\\n{Events}     = require \\\"./Events\\\"\\n\\nEvents.EventBufferReset   = \\\"eventbufferreset\\\"\\nEvents.EventBufferUpdated = \\\"eventbufferupdated\\\"\\n\\n# TODO: Replace Date.now() with Utils.getTime()\\n\\nclass exports.EventBuffer extends BaseClass\\n\\n\\tconstructor: (options = {}) ->\\n\\t\\t@options = _.defaults options,\\n\\t\\t\\tvelocityTimeout: 100\\n\\t\\t@_events = []\\n\\n\\tpush: (event) -> \\n\\t\\t@_events.push event\\n\\t\\t@emit Events.EventBufferUpdated, event\\n\\n\\treset: -> \\n\\t\\t@_events.length = 0\\n\\t\\t@emit Events.EventBufferReset\\n\\n\\t@define \\\"length\\\",\\n\\t\\tget: -> @_events.length\\n\\n\\t@define \\\"first\\\",\\n\\t\\tget: -> @_events[0]\\n\\n\\t@define \\\"offset\\\",\\n\\t\\tget: ->\\n\\t\\t\\treturn {x:0, y:0} if events.length < 2\\n\\t\\t\\tcurrent = events[events.length - 1]\\n\\t\\t\\tfirst   = events[0]\\n\\t\\t\\toffset = \\n\\t\\t\\t\\tx: current.x - first.x\\n\\t\\t\\t\\ty: current.y - first.y\\n\\n\\t@define \\\"events\\\",\\n\\t\\tget: ->\\n\\t\\t\\ttimeout = Date.now() - @options.velocityTimeout\\n\\t\\t\\treturn _.filter @_events, (event) => event.t > timeout\\n\\n\\t@define \\\"angle\\\",\\n\\t\\tget: ->\\n\\t\\t\\tevents = @events\\n\\t\\t\\treturn 0 if events.length < 2\\n\\t\\t\\tp1 = events[0]\\n\\t\\t\\tp2 = events[1]\\n\\t\\t\\treturn Math.atan2(p2.y - p1.y, p2.x - p1.x) * 180 / Math.PI;\\n\\n\\t@define \\\"velocity\\\",\\n\\t\\tget: ->\\n\\t\\t\\tevents = @events\\n\\n\\t\\t\\treturn {x:0, y:0} if events.length < 2\\n\\n\\t\\t\\tcurrent = events[events.length - 1]\\n\\t\\t\\tfirst   = events[0]\\n\\t\\t\\ttime    = current.t - first.t\\n\\n\\t\\t\\tvelocity =\\n\\t\\t\\t\\tx: (current.x - first.x) / time\\n\\t\\t\\t\\ty: (current.y - first.y) / time\\n\\n\\t\\t\\tvelocity.x = 0 if velocity.x is Infinity\\n\\t\\t\\tvelocity.y = 0 if velocity.y is Infinity\\n\\n\\t\\t\\tvelocity\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/EventBuffer.coffee\\n **/\",\"Utils = require \\\"../Utils\\\"\\n\\nexports.enable = ->\\n\\n\\t# If we touch the document directly we want to ignore scroll events\\n\\tdocument.ontouchmove = (event) ->\\n\\t\\tif event.target is document.body\\n\\t\\t\\tevent.preventDefault()\\n\\n\\n\\t# The second part is that when we scroll a div that is already at it's top \\n\\t# scroll position the scroll event will propagate up and enable elastic scrolling.\\n\\n\\thandleScrollingLayerTouchMove = (event) ->\\n\\t\\tevent.stopPropagation()\\n\\n\\thandleScrollingLayerTouchStart = (event) ->\\n\\t\\t\\n\\t\\telement = @_element\\n\\t\\t\\n\\t\\tstartTopScroll = element.scrollTop\\n\\n\\t\\tif startTopScroll <= 0\\n\\t\\t\\telement.scrollTop = 1\\n\\t\\t\\n\\t\\tif startTopScroll + element.offsetHeight >= element.scrollHeight\\n\\t\\t\\telement.scrollTop = element.scrollHeight - element.offsetHeight - 1\\n\\n\\n\\tclass MobileScrollFixLayer extends Framer.Layer\\n\\n\\t\\tconstructor: (options) ->\\n\\t\\t\\tsuper options\\n\\n\\t\\t\\t# Only do this for bare layers, it messes with the \\n\\t\\t\\t# Scroll and Page Component for now.\\n\\t\\t\\tif @constructor.name == \\\"Layer\\\"\\n\\t\\t\\t\\t@on \\\"change:scrollVertical\\\", @_updateScrollListeners\\n\\t\\t\\t\\t@_updateScrollListeners()\\n\\n\\t\\t_updateScrollListeners: =>\\n\\t\\t\\t\\n\\t\\t\\tif @scrollVertical is true\\n\\t\\t\\t\\t@on \\\"touchmove\\\", handleScrollingLayerTouchMove\\n\\t\\t\\t\\t@on \\\"touchstart\\\", handleScrollingLayerTouchStart\\n\\t\\t\\telse\\n\\t\\t\\t\\t@off \\\"touchmove\\\", handleScrollingLayerTouchMove\\n\\t\\t\\t\\t@off \\\"touchstart\\\", handleScrollingLayerTouchStart\\n\\n\\t# Override the standard window Layer with this patched one\\n\\twindow.Layer = window.Framer.Layer = MobileScrollFixLayer\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Extras/MobileScrollFix.coffee\\n **/\",\"exports.enable = (module=window) ->\\n\\n\\tClassWrapper = (Klass) -> (args...) ->\\n\\t\\t@prototype = new Klass(args...)\\n\\n\\tmodule.Frame = ClassWrapper(Framer.Frame)\\n\\tmodule.Layer = ClassWrapper(Framer.Layer)\\n\\tmodule.BackgroundLayer = ClassWrapper(Framer.BackgroundLayer)\\n\\tmodule.VideoLayer = ClassWrapper(Framer.VideoLayer)\\n\\tmodule.Animation = ClassWrapper(Framer.Animation)\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Extras/OmitNew.coffee\\n **/\",\"/**\\n * @license\\n * lodash 3.8.0 (Custom Build) <https://lodash.com/>\\n * Build: `lodash modern -d -o ./index.js`\\n * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>\\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\\n * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\\n * Available under MIT license <https://lodash.com/license>\\n */\\n;(function() {\\n\\n  /** Used as a safe reference for `undefined` in pre-ES5 environments. */\\n  var undefined;\\n\\n  /** Used as the semantic version number. */\\n  var VERSION = '3.8.0';\\n\\n  /** Used to compose bitmasks for wrapper metadata. */\\n  var BIND_FLAG = 1,\\n      BIND_KEY_FLAG = 2,\\n      CURRY_BOUND_FLAG = 4,\\n      CURRY_FLAG = 8,\\n      CURRY_RIGHT_FLAG = 16,\\n      PARTIAL_FLAG = 32,\\n      PARTIAL_RIGHT_FLAG = 64,\\n      ARY_FLAG = 128,\\n      REARG_FLAG = 256;\\n\\n  /** Used as default options for `_.trunc`. */\\n  var DEFAULT_TRUNC_LENGTH = 30,\\n      DEFAULT_TRUNC_OMISSION = '...';\\n\\n  /** Used to detect when a function becomes hot. */\\n  var HOT_COUNT = 150,\\n      HOT_SPAN = 16;\\n\\n  /** Used to indicate the type of lazy iteratees. */\\n  var LAZY_DROP_WHILE_FLAG = 0,\\n      LAZY_FILTER_FLAG = 1,\\n      LAZY_MAP_FLAG = 2;\\n\\n  /** Used as the `TypeError` message for \\\"Functions\\\" methods. */\\n  var FUNC_ERROR_TEXT = 'Expected a function';\\n\\n  /** Used as the internal argument placeholder. */\\n  var PLACEHOLDER = '__lodash_placeholder__';\\n\\n  /** `Object#toString` result references. */\\n  var argsTag = '[object Arguments]',\\n      arrayTag = '[object Array]',\\n      boolTag = '[object Boolean]',\\n      dateTag = '[object Date]',\\n      errorTag = '[object Error]',\\n      funcTag = '[object Function]',\\n      mapTag = '[object Map]',\\n      numberTag = '[object Number]',\\n      objectTag = '[object Object]',\\n      regexpTag = '[object RegExp]',\\n      setTag = '[object Set]',\\n      stringTag = '[object String]',\\n      weakMapTag = '[object WeakMap]';\\n\\n  var arrayBufferTag = '[object ArrayBuffer]',\\n      float32Tag = '[object Float32Array]',\\n      float64Tag = '[object Float64Array]',\\n      int8Tag = '[object Int8Array]',\\n      int16Tag = '[object Int16Array]',\\n      int32Tag = '[object Int32Array]',\\n      uint8Tag = '[object Uint8Array]',\\n      uint8ClampedTag = '[object Uint8ClampedArray]',\\n      uint16Tag = '[object Uint16Array]',\\n      uint32Tag = '[object Uint32Array]';\\n\\n  /** Used to match empty string literals in compiled template source. */\\n  var reEmptyStringLeading = /\\\\b__p \\\\+= '';/g,\\n      reEmptyStringMiddle = /\\\\b(__p \\\\+=) '' \\\\+/g,\\n      reEmptyStringTrailing = /(__e\\\\(.*?\\\\)|\\\\b__t\\\\)) \\\\+\\\\n'';/g;\\n\\n  /** Used to match HTML entities and HTML characters. */\\n  var reEscapedHtml = /&(?:amp|lt|gt|quot|#39|#96);/g,\\n      reUnescapedHtml = /[&<>\\\"'`]/g,\\n      reHasEscapedHtml = RegExp(reEscapedHtml.source),\\n      reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\\n\\n  /** Used to match template delimiters. */\\n  var reEscape = /<%-([\\\\s\\\\S]+?)%>/g,\\n      reEvaluate = /<%([\\\\s\\\\S]+?)%>/g,\\n      reInterpolate = /<%=([\\\\s\\\\S]+?)%>/g;\\n\\n  /** Used to match property names within property paths. */\\n  var reIsDeepProp = /\\\\.|\\\\[(?:[^[\\\\]]*|([\\\"'])(?:(?!\\\\1)[^\\\\n\\\\\\\\]|\\\\\\\\.)*?\\\\1)\\\\]/,\\n      reIsPlainProp = /^\\\\w*$/,\\n      rePropName = /[^.[\\\\]]+|\\\\[(?:(-?\\\\d+(?:\\\\.\\\\d+)?)|([\\\"'])((?:(?!\\\\2)[^\\\\n\\\\\\\\]|\\\\\\\\.)*?)\\\\2)\\\\]/g;\\n\\n  /**\\n   * Used to match `RegExp` [special characters](http://www.regular-expressions.info/characters.html#special).\\n   * In addition to special characters the forward slash is escaped to allow for\\n   * easier `eval` use and `Function` compilation.\\n   */\\n  var reRegExpChars = /[.*+?^${}()|[\\\\]\\\\/\\\\\\\\]/g,\\n      reHasRegExpChars = RegExp(reRegExpChars.source);\\n\\n  /** Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks). */\\n  var reComboMark = /[\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe23]/g;\\n\\n  /** Used to match backslashes in property paths. */\\n  var reEscapeChar = /\\\\\\\\(\\\\\\\\)?/g;\\n\\n  /** Used to match [ES template delimiters](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-template-literal-lexical-components). */\\n  var reEsTemplate = /\\\\$\\\\{([^\\\\\\\\}]*(?:\\\\\\\\.[^\\\\\\\\}]*)*)\\\\}/g;\\n\\n  /** Used to match `RegExp` flags from their coerced string values. */\\n  var reFlags = /\\\\w*$/;\\n\\n  /** Used to detect hexadecimal string values. */\\n  var reHasHexPrefix = /^0[xX]/;\\n\\n  /** Used to detect host constructors (Safari > 5). */\\n  var reIsHostCtor = /^\\\\[object .+?Constructor\\\\]$/;\\n\\n  /** Used to match latin-1 supplementary letters (excluding mathematical operators). */\\n  var reLatin1 = /[\\\\xc0-\\\\xd6\\\\xd8-\\\\xde\\\\xdf-\\\\xf6\\\\xf8-\\\\xff]/g;\\n\\n  /** Used to ensure capturing order of template delimiters. */\\n  var reNoMatch = /($^)/;\\n\\n  /** Used to match unescaped characters in compiled string literals. */\\n  var reUnescapedString = /['\\\\n\\\\r\\\\u2028\\\\u2029\\\\\\\\]/g;\\n\\n  /** Used to match words to create compound words. */\\n  var reWords = (function() {\\n    var upper = '[A-Z\\\\\\\\xc0-\\\\\\\\xd6\\\\\\\\xd8-\\\\\\\\xde]',\\n        lower = '[a-z\\\\\\\\xdf-\\\\\\\\xf6\\\\\\\\xf8-\\\\\\\\xff]+';\\n\\n    return RegExp(upper + '+(?=' + upper + lower + ')|' + upper + '?' + lower + '|' + upper + '+|[0-9]+', 'g');\\n  }());\\n\\n  /** Used to detect and test for whitespace. */\\n  var whitespace = (\\n    // Basic whitespace characters.\\n    ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff' +\\n\\n    // Line terminators.\\n    '\\\\n\\\\r\\\\u2028\\\\u2029' +\\n\\n    // Unicode category \\\"Zs\\\" space separators.\\n    '\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000'\\n  );\\n\\n  /** Used to assign default `context` object properties. */\\n  var contextProps = [\\n    'Array', 'ArrayBuffer', 'Date', 'Error', 'Float32Array', 'Float64Array',\\n    'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Math', 'Number',\\n    'Object', 'RegExp', 'Set', 'String', '_', 'clearTimeout', 'document',\\n    'isFinite', 'parseInt', 'setTimeout', 'TypeError', 'Uint8Array',\\n    'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',\\n    'window'\\n  ];\\n\\n  /** Used to make template sourceURLs easier to identify. */\\n  var templateCounter = -1;\\n\\n  /** Used to identify `toStringTag` values of typed arrays. */\\n  var typedArrayTags = {};\\n  typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\\n  typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\\n  typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\\n  typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\\n  typedArrayTags[uint32Tag] = true;\\n  typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\\n  typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\\n  typedArrayTags[dateTag] = typedArrayTags[errorTag] =\\n  typedArrayTags[funcTag] = typedArrayTags[mapTag] =\\n  typedArrayTags[numberTag] = typedArrayTags[objectTag] =\\n  typedArrayTags[regexpTag] = typedArrayTags[setTag] =\\n  typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;\\n\\n  /** Used to identify `toStringTag` values supported by `_.clone`. */\\n  var cloneableTags = {};\\n  cloneableTags[argsTag] = cloneableTags[arrayTag] =\\n  cloneableTags[arrayBufferTag] = cloneableTags[boolTag] =\\n  cloneableTags[dateTag] = cloneableTags[float32Tag] =\\n  cloneableTags[float64Tag] = cloneableTags[int8Tag] =\\n  cloneableTags[int16Tag] = cloneableTags[int32Tag] =\\n  cloneableTags[numberTag] = cloneableTags[objectTag] =\\n  cloneableTags[regexpTag] = cloneableTags[stringTag] =\\n  cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\\n  cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\\n  cloneableTags[errorTag] = cloneableTags[funcTag] =\\n  cloneableTags[mapTag] = cloneableTags[setTag] =\\n  cloneableTags[weakMapTag] = false;\\n\\n  /** Used as an internal `_.debounce` options object by `_.throttle`. */\\n  var debounceOptions = {\\n    'leading': false,\\n    'maxWait': 0,\\n    'trailing': false\\n  };\\n\\n  /** Used to map latin-1 supplementary letters to basic latin letters. */\\n  var deburredLetters = {\\n    '\\\\xc0': 'A',  '\\\\xc1': 'A', '\\\\xc2': 'A', '\\\\xc3': 'A', '\\\\xc4': 'A', '\\\\xc5': 'A',\\n    '\\\\xe0': 'a',  '\\\\xe1': 'a', '\\\\xe2': 'a', '\\\\xe3': 'a', '\\\\xe4': 'a', '\\\\xe5': 'a',\\n    '\\\\xc7': 'C',  '\\\\xe7': 'c',\\n    '\\\\xd0': 'D',  '\\\\xf0': 'd',\\n    '\\\\xc8': 'E',  '\\\\xc9': 'E', '\\\\xca': 'E', '\\\\xcb': 'E',\\n    '\\\\xe8': 'e',  '\\\\xe9': 'e', '\\\\xea': 'e', '\\\\xeb': 'e',\\n    '\\\\xcC': 'I',  '\\\\xcd': 'I', '\\\\xce': 'I', '\\\\xcf': 'I',\\n    '\\\\xeC': 'i',  '\\\\xed': 'i', '\\\\xee': 'i', '\\\\xef': 'i',\\n    '\\\\xd1': 'N',  '\\\\xf1': 'n',\\n    '\\\\xd2': 'O',  '\\\\xd3': 'O', '\\\\xd4': 'O', '\\\\xd5': 'O', '\\\\xd6': 'O', '\\\\xd8': 'O',\\n    '\\\\xf2': 'o',  '\\\\xf3': 'o', '\\\\xf4': 'o', '\\\\xf5': 'o', '\\\\xf6': 'o', '\\\\xf8': 'o',\\n    '\\\\xd9': 'U',  '\\\\xda': 'U', '\\\\xdb': 'U', '\\\\xdc': 'U',\\n    '\\\\xf9': 'u',  '\\\\xfa': 'u', '\\\\xfb': 'u', '\\\\xfc': 'u',\\n    '\\\\xdd': 'Y',  '\\\\xfd': 'y', '\\\\xff': 'y',\\n    '\\\\xc6': 'Ae', '\\\\xe6': 'ae',\\n    '\\\\xde': 'Th', '\\\\xfe': 'th',\\n    '\\\\xdf': 'ss'\\n  };\\n\\n  /** Used to map characters to HTML entities. */\\n  var htmlEscapes = {\\n    '&': '&amp;',\\n    '<': '&lt;',\\n    '>': '&gt;',\\n    '\\\"': '&quot;',\\n    \\\"'\\\": '&#39;',\\n    '`': '&#96;'\\n  };\\n\\n  /** Used to map HTML entities to characters. */\\n  var htmlUnescapes = {\\n    '&amp;': '&',\\n    '&lt;': '<',\\n    '&gt;': '>',\\n    '&quot;': '\\\"',\\n    '&#39;': \\\"'\\\",\\n    '&#96;': '`'\\n  };\\n\\n  /** Used to determine if values are of the language type `Object`. */\\n  var objectTypes = {\\n    'function': true,\\n    'object': true\\n  };\\n\\n  /** Used to escape characters for inclusion in compiled string literals. */\\n  var stringEscapes = {\\n    '\\\\\\\\': '\\\\\\\\',\\n    \\\"'\\\": \\\"'\\\",\\n    '\\\\n': 'n',\\n    '\\\\r': 'r',\\n    '\\\\u2028': 'u2028',\\n    '\\\\u2029': 'u2029'\\n  };\\n\\n  /** Detect free variable `exports`. */\\n  var freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && exports;\\n\\n  /** Detect free variable `module`. */\\n  var freeModule = objectTypes[typeof module] && module && !module.nodeType && module;\\n\\n  /** Detect free variable `global` from Node.js. */\\n  var freeGlobal = freeExports && freeModule && typeof global == 'object' && global && global.Object && global;\\n\\n  /** Detect free variable `self`. */\\n  var freeSelf = objectTypes[typeof self] && self && self.Object && self;\\n\\n  /** Detect free variable `window`. */\\n  var freeWindow = objectTypes[typeof window] && window && window.Object && window;\\n\\n  /** Detect the popular CommonJS extension `module.exports`. */\\n  var moduleExports = freeModule && freeModule.exports === freeExports && freeExports;\\n\\n  /**\\n   * Used as a reference to the global object.\\n   *\\n   * The `this` value is used if it is the global object to avoid Greasemonkey's\\n   * restricted `window` object, otherwise the `window` object is used.\\n   */\\n  var root = freeGlobal || ((freeWindow !== (this && this.window)) && freeWindow) || freeSelf || this;\\n\\n  /**\\n   * The base implementation of `compareAscending` which compares values and\\n   * sorts them in ascending order without guaranteeing a stable sort.\\n   *\\n   * @private\\n   * @param {*} value The value to compare to `other`.\\n   * @param {*} other The value to compare to `value`.\\n   * @returns {number} Returns the sort order indicator for `value`.\\n   */\\n  function baseCompareAscending(value, other) {\\n    if (value !== other) {\\n      var valIsReflexive = value === value,\\n          othIsReflexive = other === other;\\n\\n      if (value > other || !valIsReflexive || (value === undefined && othIsReflexive)) {\\n        return 1;\\n      }\\n      if (value < other || !othIsReflexive || (other === undefined && valIsReflexive)) {\\n        return -1;\\n      }\\n    }\\n    return 0;\\n  }\\n\\n  /**\\n   * The base implementation of `_.findIndex` and `_.findLastIndex` without\\n   * support for callback shorthands and `this` binding.\\n   *\\n   * @private\\n   * @param {Array} array The array to search.\\n   * @param {Function} predicate The function invoked per iteration.\\n   * @param {boolean} [fromRight] Specify iterating from right to left.\\n   * @returns {number} Returns the index of the matched value, else `-1`.\\n   */\\n  function baseFindIndex(array, predicate, fromRight) {\\n    var length = array.length,\\n        index = fromRight ? length : -1;\\n\\n    while ((fromRight ? index-- : ++index < length)) {\\n      if (predicate(array[index], index, array)) {\\n        return index;\\n      }\\n    }\\n    return -1;\\n  }\\n\\n  /**\\n   * The base implementation of `_.indexOf` without support for binary searches.\\n   *\\n   * @private\\n   * @param {Array} array The array to search.\\n   * @param {*} value The value to search for.\\n   * @param {number} fromIndex The index to search from.\\n   * @returns {number} Returns the index of the matched value, else `-1`.\\n   */\\n  function baseIndexOf(array, value, fromIndex) {\\n    if (value !== value) {\\n      return indexOfNaN(array, fromIndex);\\n    }\\n    var index = fromIndex - 1,\\n        length = array.length;\\n\\n    while (++index < length) {\\n      if (array[index] === value) {\\n        return index;\\n      }\\n    }\\n    return -1;\\n  }\\n\\n  /**\\n   * The base implementation of `_.isFunction` without support for environments\\n   * with incorrect `typeof` results.\\n   *\\n   * @private\\n   * @param {*} value The value to check.\\n   * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\\n   */\\n  function baseIsFunction(value) {\\n    // Avoid a Chakra JIT bug in compatibility modes of IE 11.\\n    // See https://github.com/jashkenas/underscore/issues/1621 for more details.\\n    return typeof value == 'function' || false;\\n  }\\n\\n  /**\\n   * Converts `value` to a string if it is not one. An empty string is returned\\n   * for `null` or `undefined` values.\\n   *\\n   * @private\\n   * @param {*} value The value to process.\\n   * @returns {string} Returns the string.\\n   */\\n  function baseToString(value) {\\n    if (typeof value == 'string') {\\n      return value;\\n    }\\n    return value == null ? '' : (value + '');\\n  }\\n\\n  /**\\n   * Used by `_.max` and `_.min` as the default callback for string values.\\n   *\\n   * @private\\n   * @param {string} string The string to inspect.\\n   * @returns {number} Returns the code unit of the first character of the string.\\n   */\\n  function charAtCallback(string) {\\n    return string.charCodeAt(0);\\n  }\\n\\n  /**\\n   * Used by `_.trim` and `_.trimLeft` to get the index of the first character\\n   * of `string` that is not found in `chars`.\\n   *\\n   * @private\\n   * @param {string} string The string to inspect.\\n   * @param {string} chars The characters to find.\\n   * @returns {number} Returns the index of the first character not found in `chars`.\\n   */\\n  function charsLeftIndex(string, chars) {\\n    var index = -1,\\n        length = string.length;\\n\\n    while (++index < length && chars.indexOf(string.charAt(index)) > -1) {}\\n    return index;\\n  }\\n\\n  /**\\n   * Used by `_.trim` and `_.trimRight` to get the index of the last character\\n   * of `string` that is not found in `chars`.\\n   *\\n   * @private\\n   * @param {string} string The string to inspect.\\n   * @param {string} chars The characters to find.\\n   * @returns {number} Returns the index of the last character not found in `chars`.\\n   */\\n  function charsRightIndex(string, chars) {\\n    var index = string.length;\\n\\n    while (index-- && chars.indexOf(string.charAt(index)) > -1) {}\\n    return index;\\n  }\\n\\n  /**\\n   * Used by `_.sortBy` to compare transformed elements of a collection and stable\\n   * sort them in ascending order.\\n   *\\n   * @private\\n   * @param {Object} object The object to compare to `other`.\\n   * @param {Object} other The object to compare to `object`.\\n   * @returns {number} Returns the sort order indicator for `object`.\\n   */\\n  function compareAscending(object, other) {\\n    return baseCompareAscending(object.criteria, other.criteria) || (object.index - other.index);\\n  }\\n\\n  /**\\n   * Used by `_.sortByOrder` to compare multiple properties of each element\\n   * in a collection and stable sort them in the following order:\\n   *\\n   * If `orders` is unspecified, sort in ascending order for all properties.\\n   * Otherwise, for each property, sort in ascending order if its corresponding value in\\n   * orders is true, and descending order if false.\\n   *\\n   * @private\\n   * @param {Object} object The object to compare to `other`.\\n   * @param {Object} other The object to compare to `object`.\\n   * @param {boolean[]} orders The order to sort by for each property.\\n   * @returns {number} Returns the sort order indicator for `object`.\\n   */\\n  function compareMultiple(object, other, orders) {\\n    var index = -1,\\n        objCriteria = object.criteria,\\n        othCriteria = other.criteria,\\n        length = objCriteria.length,\\n        ordersLength = orders.length;\\n\\n    while (++index < length) {\\n      var result = baseCompareAscending(objCriteria[index], othCriteria[index]);\\n      if (result) {\\n        if (index >= ordersLength) {\\n          return result;\\n        }\\n        return result * (orders[index] ? 1 : -1);\\n      }\\n    }\\n    // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\\n    // that causes it, under certain circumstances, to provide the same value for\\n    // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\\n    // for more details.\\n    //\\n    // This also ensures a stable sort in V8 and other engines.\\n    // See https://code.google.com/p/v8/issues/detail?id=90 for more details.\\n    return object.index - other.index;\\n  }\\n\\n  /**\\n   * Used by `_.deburr` to convert latin-1 supplementary letters to basic latin letters.\\n   *\\n   * @private\\n   * @param {string} letter The matched letter to deburr.\\n   * @returns {string} Returns the deburred letter.\\n   */\\n  function deburrLetter(letter) {\\n    return deburredLetters[letter];\\n  }\\n\\n  /**\\n   * Used by `_.escape` to convert characters to HTML entities.\\n   *\\n   * @private\\n   * @param {string} chr The matched character to escape.\\n   * @returns {string} Returns the escaped character.\\n   */\\n  function escapeHtmlChar(chr) {\\n    return htmlEscapes[chr];\\n  }\\n\\n  /**\\n   * Used by `_.template` to escape characters for inclusion in compiled\\n   * string literals.\\n   *\\n   * @private\\n   * @param {string} chr The matched character to escape.\\n   * @returns {string} Returns the escaped character.\\n   */\\n  function escapeStringChar(chr) {\\n    return '\\\\\\\\' + stringEscapes[chr];\\n  }\\n\\n  /**\\n   * Gets the index at which the first occurrence of `NaN` is found in `array`.\\n   *\\n   * @private\\n   * @param {Array} array The array to search.\\n   * @param {number} fromIndex The index to search from.\\n   * @param {boolean} [fromRight] Specify iterating from right to left.\\n   * @returns {number} Returns the index of the matched `NaN`, else `-1`.\\n   */\\n  function indexOfNaN(array, fromIndex, fromRight) {\\n    var length = array.length,\\n        index = fromIndex + (fromRight ? 0 : -1);\\n\\n    while ((fromRight ? index-- : ++index < length)) {\\n      var other = array[index];\\n      if (other !== other) {\\n        return index;\\n      }\\n    }\\n    return -1;\\n  }\\n\\n  /**\\n   * Checks if `value` is object-like.\\n   *\\n   * @private\\n   * @param {*} value The value to check.\\n   * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\\n   */\\n  function isObjectLike(value) {\\n    return !!value && typeof value == 'object';\\n  }\\n\\n  /**\\n   * Used by `trimmedLeftIndex` and `trimmedRightIndex` to determine if a\\n   * character code is whitespace.\\n   *\\n   * @private\\n   * @param {number} charCode The character code to inspect.\\n   * @returns {boolean} Returns `true` if `charCode` is whitespace, else `false`.\\n   */\\n  function isSpace(charCode) {\\n    return ((charCode <= 160 && (charCode >= 9 && charCode <= 13) || charCode == 32 || charCode == 160) || charCode == 5760 || charCode == 6158 ||\\n      (charCode >= 8192 && (charCode <= 8202 || charCode == 8232 || charCode == 8233 || charCode == 8239 || charCode == 8287 || charCode == 12288 || charCode == 65279)));\\n  }\\n\\n  /**\\n   * Replaces all `placeholder` elements in `array` with an internal placeholder\\n   * and returns an array of their indexes.\\n   *\\n   * @private\\n   * @param {Array} array The array to modify.\\n   * @param {*} placeholder The placeholder to replace.\\n   * @returns {Array} Returns the new array of placeholder indexes.\\n   */\\n  function replaceHolders(array, placeholder) {\\n    var index = -1,\\n        length = array.length,\\n        resIndex = -1,\\n        result = [];\\n\\n    while (++index < length) {\\n      if (array[index] === placeholder) {\\n        array[index] = PLACEHOLDER;\\n        result[++resIndex] = index;\\n      }\\n    }\\n    return result;\\n  }\\n\\n  /**\\n   * An implementation of `_.uniq` optimized for sorted arrays without support\\n   * for callback shorthands and `this` binding.\\n   *\\n   * @private\\n   * @param {Array} array The array to inspect.\\n   * @param {Function} [iteratee] The function invoked per iteration.\\n   * @returns {Array} Returns the new duplicate-value-free array.\\n   */\\n  function sortedUniq(array, iteratee) {\\n    var seen,\\n        index = -1,\\n        length = array.length,\\n        resIndex = -1,\\n        result = [];\\n\\n    while (++index < length) {\\n      var value = array[index],\\n          computed = iteratee ? iteratee(value, index, array) : value;\\n\\n      if (!index || seen !== computed) {\\n        seen = computed;\\n        result[++resIndex] = value;\\n      }\\n    }\\n    return result;\\n  }\\n\\n  /**\\n   * Used by `_.trim` and `_.trimLeft` to get the index of the first non-whitespace\\n   * character of `string`.\\n   *\\n   * @private\\n   * @param {string} string The string to inspect.\\n   * @returns {number} Returns the index of the first non-whitespace character.\\n   */\\n  function trimmedLeftIndex(string) {\\n    var index = -1,\\n        length = string.length;\\n\\n    while (++index < length && isSpace(string.charCodeAt(index))) {}\\n    return index;\\n  }\\n\\n  /**\\n   * Used by `_.trim` and `_.trimRight` to get the index of the last non-whitespace\\n   * character of `string`.\\n   *\\n   * @private\\n   * @param {string} string The string to inspect.\\n   * @returns {number} Returns the index of the last non-whitespace character.\\n   */\\n  function trimmedRightIndex(string) {\\n    var index = string.length;\\n\\n    while (index-- && isSpace(string.charCodeAt(index))) {}\\n    return index;\\n  }\\n\\n  /**\\n   * Used by `_.unescape` to convert HTML entities to characters.\\n   *\\n   * @private\\n   * @param {string} chr The matched character to unescape.\\n   * @returns {string} Returns the unescaped character.\\n   */\\n  function unescapeHtmlChar(chr) {\\n    return htmlUnescapes[chr];\\n  }\\n\\n  /**\\n   * Create a new pristine `lodash` function using the given `context` object.\\n   *\\n   * @static\\n   * @memberOf _\\n   * @category Utility\\n   * @param {Object} [context=root] The context object.\\n   * @returns {Function} Returns a new `lodash` function.\\n   * @example\\n   *\\n   * _.mixin({ 'foo': _.constant('foo') });\\n   *\\n   * var lodash = _.runInContext();\\n   * lodash.mixin({ 'bar': lodash.constant('bar') });\\n   *\\n   * _.isFunction(_.foo);\\n   * // => true\\n   * _.isFunction(_.bar);\\n   * // => false\\n   *\\n   * lodash.isFunction(lodash.foo);\\n   * // => false\\n   * lodash.isFunction(lodash.bar);\\n   * // => true\\n   *\\n   * // using `context` to mock `Date#getTime` use in `_.now`\\n   * var mock = _.runInContext({\\n   *   'Date': function() {\\n   *     return { 'getTime': getTimeMock };\\n   *   }\\n   * });\\n   *\\n   * // or creating a suped-up `defer` in Node.js\\n   * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\\n   */\\n  function runInContext(context) {\\n    // Avoid issues with some ES3 environments that attempt to use values, named\\n    // after built-in constructors like `Object`, for the creation of literals.\\n    // ES5 clears this up by stating that literals must use built-in constructors.\\n    // See https://es5.github.io/#x11.1.5 for more details.\\n    context = context ? _.defaults(root.Object(), context, _.pick(root, contextProps)) : root;\\n\\n    /** Native constructor references. */\\n    var Array = context.Array,\\n        Date = context.Date,\\n        Error = context.Error,\\n        Function = context.Function,\\n        Math = context.Math,\\n        Number = context.Number,\\n        Object = context.Object,\\n        RegExp = context.RegExp,\\n        String = context.String,\\n        TypeError = context.TypeError;\\n\\n    /** Used for native method references. */\\n    var arrayProto = Array.prototype,\\n        objectProto = Object.prototype,\\n        stringProto = String.prototype;\\n\\n    /** Used to detect DOM support. */\\n    var document = (document = context.window) && document.document;\\n\\n    /** Used to resolve the decompiled source of functions. */\\n    var fnToString = Function.prototype.toString;\\n\\n    /** Used to check objects for own properties. */\\n    var hasOwnProperty = objectProto.hasOwnProperty;\\n\\n    /** Used to generate unique IDs. */\\n    var idCounter = 0;\\n\\n    /**\\n     * Used to resolve the [`toStringTag`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring)\\n     * of values.\\n     */\\n    var objToString = objectProto.toString;\\n\\n    /** Used to restore the original `_` reference in `_.noConflict`. */\\n    var oldDash = context._;\\n\\n    /** Used to detect if a method is native. */\\n    var reIsNative = RegExp('^' +\\n      escapeRegExp(objToString)\\n      .replace(/toString|(function).*?(?=\\\\\\\\\\\\()| for .+?(?=\\\\\\\\\\\\])/g, '$1.*?') + '$'\\n    );\\n\\n    /** Native method references. */\\n    var ArrayBuffer = isNative(ArrayBuffer = context.ArrayBuffer) && ArrayBuffer,\\n        bufferSlice = isNative(bufferSlice = ArrayBuffer && new ArrayBuffer(0).slice) && bufferSlice,\\n        ceil = Math.ceil,\\n        clearTimeout = context.clearTimeout,\\n        floor = Math.floor,\\n        getOwnPropertySymbols = isNative(getOwnPropertySymbols = Object.getOwnPropertySymbols) && getOwnPropertySymbols,\\n        getPrototypeOf = isNative(getPrototypeOf = Object.getPrototypeOf) && getPrototypeOf,\\n        push = arrayProto.push,\\n        preventExtensions = isNative(preventExtensions = Object.preventExtensions) && preventExtensions,\\n        propertyIsEnumerable = objectProto.propertyIsEnumerable,\\n        Set = isNative(Set = context.Set) && Set,\\n        setTimeout = context.setTimeout,\\n        splice = arrayProto.splice,\\n        Uint8Array = isNative(Uint8Array = context.Uint8Array) && Uint8Array,\\n        WeakMap = isNative(WeakMap = context.WeakMap) && WeakMap;\\n\\n    /** Used to clone array buffers. */\\n    var Float64Array = (function() {\\n      // Safari 5 errors when using an array buffer to initialize a typed array\\n      // where the array buffer's `byteLength` is not a multiple of the typed\\n      // array's `BYTES_PER_ELEMENT`.\\n      try {\\n        var func = isNative(func = context.Float64Array) && func,\\n            result = new func(new ArrayBuffer(10), 0, 1) && func;\\n      } catch(e) {}\\n      return result;\\n    }());\\n\\n    /** Used as `baseAssign`. */\\n    var nativeAssign = (function() {\\n      // Avoid `Object.assign` in Firefox 34-37 which have an early implementation\\n      // with a now defunct try/catch behavior. See https://bugzilla.mozilla.org/show_bug.cgi?id=1103344\\n      // for more details.\\n      //\\n      // Use `Object.preventExtensions` on a plain object instead of simply using\\n      // `Object('x')` because Chrome and IE fail to throw an error when attempting\\n      // to assign values to readonly indexes of strings.\\n      var func = preventExtensions && isNative(func = Object.assign) && func;\\n      try {\\n        if (func) {\\n          var object = preventExtensions({ '1': 0 });\\n          object[0] = 1;\\n        }\\n      } catch(e) {\\n        // Only attempt in strict mode.\\n        try { func(object, 'xo'); } catch(e) {}\\n        return !object[1] && func;\\n      }\\n      return false;\\n    }());\\n\\n    /* Native method references for those with the same name as other `lodash` methods. */\\n    var nativeIsArray = isNative(nativeIsArray = Array.isArray) && nativeIsArray,\\n        nativeCreate = isNative(nativeCreate = Object.create) && nativeCreate,\\n        nativeIsFinite = context.isFinite,\\n        nativeKeys = isNative(nativeKeys = Object.keys) && nativeKeys,\\n        nativeMax = Math.max,\\n        nativeMin = Math.min,\\n        nativeNow = isNative(nativeNow = Date.now) && nativeNow,\\n        nativeNumIsFinite = isNative(nativeNumIsFinite = Number.isFinite) && nativeNumIsFinite,\\n        nativeParseInt = context.parseInt,\\n        nativeRandom = Math.random;\\n\\n    /** Used as references for `-Infinity` and `Infinity`. */\\n    var NEGATIVE_INFINITY = Number.NEGATIVE_INFINITY,\\n        POSITIVE_INFINITY = Number.POSITIVE_INFINITY;\\n\\n    /** Used as references for the maximum length and index of an array. */\\n    var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1,\\n        MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\\n        HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\\n\\n    /** Used as the size, in bytes, of each `Float64Array` element. */\\n    var FLOAT64_BYTES_PER_ELEMENT = Float64Array ? Float64Array.BYTES_PER_ELEMENT : 0;\\n\\n    /**\\n     * Used as the [maximum length](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)\\n     * of an array-like value.\\n     */\\n    var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;\\n\\n    /** Used to store function metadata. */\\n    var metaMap = WeakMap && new WeakMap;\\n\\n    /** Used to lookup unminified function names. */\\n    var realNames = {};\\n\\n    /**\\n     * Creates a `lodash` object which wraps `value` to enable implicit chaining.\\n     * Methods that operate on and return arrays, collections, and functions can\\n     * be chained together. Methods that return a boolean or single value will\\n     * automatically end the chain returning the unwrapped value. Explicit chaining\\n     * may be enabled using `_.chain`. The execution of chained methods is lazy,\\n     * that is, execution is deferred until `_#value` is implicitly or explicitly\\n     * called.\\n     *\\n     * Lazy evaluation allows several methods to support shortcut fusion. Shortcut\\n     * fusion is an optimization that merges iteratees to avoid creating intermediate\\n     * arrays and reduce the number of iteratee executions.\\n     *\\n     * Chaining is supported in custom builds as long as the `_#value` method is\\n     * directly or indirectly included in the build.\\n     *\\n     * In addition to lodash methods, wrappers have `Array` and `String` methods.\\n     *\\n     * The wrapper `Array` methods are:\\n     * `concat`, `join`, `pop`, `push`, `reverse`, `shift`, `slice`, `sort`,\\n     * `splice`, and `unshift`\\n     *\\n     * The wrapper `String` methods are:\\n     * `replace` and `split`\\n     *\\n     * The wrapper methods that support shortcut fusion are:\\n     * `compact`, `drop`, `dropRight`, `dropRightWhile`, `dropWhile`, `filter`,\\n     * `first`, `initial`, `last`, `map`, `pluck`, `reject`, `rest`, `reverse`,\\n     * `slice`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, `toArray`,\\n     * and `where`\\n     *\\n     * The chainable wrapper methods are:\\n     * `after`, `ary`, `assign`, `at`, `before`, `bind`, `bindAll`, `bindKey`,\\n     * `callback`, `chain`, `chunk`, `commit`, `compact`, `concat`, `constant`,\\n     * `countBy`, `create`, `curry`, `debounce`, `defaults`, `defer`, `delay`,\\n     * `difference`, `drop`, `dropRight`, `dropRightWhile`, `dropWhile`, `fill`,\\n     * `filter`, `flatten`, `flattenDeep`, `flow`, `flowRight`, `forEach`,\\n     * `forEachRight`, `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `functions`,\\n     * `groupBy`, `indexBy`, `initial`, `intersection`, `invert`, `invoke`, `keys`,\\n     * `keysIn`, `map`, `mapValues`, `matches`, `matchesProperty`, `memoize`,\\n     * `merge`, `mixin`, `negate`, `omit`, `once`, `pairs`, `partial`, `partialRight`,\\n     * `partition`, `pick`, `plant`, `pluck`, `property`, `propertyOf`, `pull`,\\n     * `pullAt`, `push`, `range`, `rearg`, `reject`, `remove`, `rest`, `reverse`,\\n     * `shuffle`, `slice`, `sort`, `sortBy`, `sortByAll`, `sortByOrder`, `splice`,\\n     * `spread`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, `tap`,\\n     * `throttle`, `thru`, `times`, `toArray`, `toPlainObject`, `transform`,\\n     * `union`, `uniq`, `unshift`, `unzip`, `values`, `valuesIn`, `where`,\\n     * `without`, `wrap`, `xor`, `zip`, and `zipObject`\\n     *\\n     * The wrapper methods that are **not** chainable by default are:\\n     * `add`, `attempt`, `camelCase`, `capitalize`, `clone`, `cloneDeep`, `deburr`,\\n     * `endsWith`, `escape`, `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`,\\n     * `findLast`, `findLastIndex`, `findLastKey`, `findWhere`, `first`, `has`,\\n     * `identity`, `includes`, `indexOf`, `inRange`, `isArguments`, `isArray`,\\n     * `isBoolean`, `isDate`, `isElement`, `isEmpty`, `isEqual`, `isError`, `isFinite`\\n     * `isFunction`, `isMatch`, `isNative`, `isNaN`, `isNull`, `isNumber`, `isObject`,\\n     * `isPlainObject`, `isRegExp`, `isString`, `isUndefined`, `isTypedArray`,\\n     * `join`, `kebabCase`, `last`, `lastIndexOf`, `max`, `min`, `noConflict`,\\n     * `noop`, `now`, `pad`, `padLeft`, `padRight`, `parseInt`, `pop`, `random`,\\n     * `reduce`, `reduceRight`, `repeat`, `result`, `runInContext`, `shift`, `size`,\\n     * `snakeCase`, `some`, `sortedIndex`, `sortedLastIndex`, `startCase`, `startsWith`,\\n     * `sum`, `template`, `trim`, `trimLeft`, `trimRight`, `trunc`, `unescape`,\\n     * `uniqueId`, `value`, and `words`\\n     *\\n     * The wrapper method `sample` will return a wrapped value when `n` is provided,\\n     * otherwise an unwrapped value is returned.\\n     *\\n     * @name _\\n     * @constructor\\n     * @category Chain\\n     * @param {*} value The value to wrap in a `lodash` instance.\\n     * @returns {Object} Returns the new `lodash` wrapper instance.\\n     * @example\\n     *\\n     * var wrapped = _([1, 2, 3]);\\n     *\\n     * // returns an unwrapped value\\n     * wrapped.reduce(function(total, n) {\\n     *   return total + n;\\n     * });\\n     * // => 6\\n     *\\n     * // returns a wrapped value\\n     * var squares = wrapped.map(function(n) {\\n     *   return n * n;\\n     * });\\n     *\\n     * _.isArray(squares);\\n     * // => false\\n     *\\n     * _.isArray(squares.value());\\n     * // => true\\n     */\\n    function lodash(value) {\\n      if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\\n        if (value instanceof LodashWrapper) {\\n          return value;\\n        }\\n        if (hasOwnProperty.call(value, '__chain__') && hasOwnProperty.call(value, '__wrapped__')) {\\n          return wrapperClone(value);\\n        }\\n      }\\n      return new LodashWrapper(value);\\n    }\\n\\n    /**\\n     * The function whose prototype all chaining wrappers inherit from.\\n     *\\n     * @private\\n     */\\n    function baseLodash() {\\n      // No operation performed.\\n    }\\n\\n    /**\\n     * The base constructor for creating `lodash` wrapper objects.\\n     *\\n     * @private\\n     * @param {*} value The value to wrap.\\n     * @param {boolean} [chainAll] Enable chaining for all wrapper methods.\\n     * @param {Array} [actions=[]] Actions to peform to resolve the unwrapped value.\\n     */\\n    function LodashWrapper(value, chainAll, actions) {\\n      this.__wrapped__ = value;\\n      this.__actions__ = actions || [];\\n      this.__chain__ = !!chainAll;\\n    }\\n\\n    /**\\n     * An object environment feature flags.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @type Object\\n     */\\n    var support = lodash.support = {};\\n\\n    (function(x) {\\n      var Ctor = function() { this.x = x; },\\n          args = arguments,\\n          object = { '0': x, 'length': x },\\n          props = [];\\n\\n      Ctor.prototype = { 'valueOf': x, 'y': x };\\n      for (var key in new Ctor) { props.push(key); }\\n\\n      /**\\n       * Detect if functions can be decompiled by `Function#toString`\\n       * (all but Firefox OS certified apps, older Opera mobile browsers, and\\n       * the PlayStation 3; forced `false` for Windows 8 apps).\\n       *\\n       * @memberOf _.support\\n       * @type boolean\\n       */\\n      support.funcDecomp = /\\\\bthis\\\\b/.test(function() { return this; });\\n\\n      /**\\n       * Detect if `Function#name` is supported (all but IE).\\n       *\\n       * @memberOf _.support\\n       * @type boolean\\n       */\\n      support.funcNames = typeof Function.name == 'string';\\n\\n      /**\\n       * Detect if the DOM is supported.\\n       *\\n       * @memberOf _.support\\n       * @type boolean\\n       */\\n      try {\\n        support.dom = document.createDocumentFragment().nodeType === 11;\\n      } catch(e) {\\n        support.dom = false;\\n      }\\n\\n      /**\\n       * Detect if `arguments` object indexes are non-enumerable.\\n       *\\n       * In Firefox < 4, IE < 9, PhantomJS, and Safari < 5.1 `arguments` object\\n       * indexes are non-enumerable. Chrome < 25 and Node.js < 0.11.0 treat\\n       * `arguments` object indexes as non-enumerable and fail `hasOwnProperty`\\n       * checks for indexes that exceed the number of function parameters and\\n       * whose associated argument values are `0`.\\n       *\\n       * @memberOf _.support\\n       * @type boolean\\n       */\\n      try {\\n        support.nonEnumArgs = !propertyIsEnumerable.call(args, 1);\\n      } catch(e) {\\n        support.nonEnumArgs = true;\\n      }\\n    }(1, 0));\\n\\n    /**\\n     * By default, the template delimiters used by lodash are like those in\\n     * embedded Ruby (ERB). Change the following template settings to use\\n     * alternative delimiters.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @type Object\\n     */\\n    lodash.templateSettings = {\\n\\n      /**\\n       * Used to detect `data` property values to be HTML-escaped.\\n       *\\n       * @memberOf _.templateSettings\\n       * @type RegExp\\n       */\\n      'escape': reEscape,\\n\\n      /**\\n       * Used to detect code to be evaluated.\\n       *\\n       * @memberOf _.templateSettings\\n       * @type RegExp\\n       */\\n      'evaluate': reEvaluate,\\n\\n      /**\\n       * Used to detect `data` property values to inject.\\n       *\\n       * @memberOf _.templateSettings\\n       * @type RegExp\\n       */\\n      'interpolate': reInterpolate,\\n\\n      /**\\n       * Used to reference the data object in the template text.\\n       *\\n       * @memberOf _.templateSettings\\n       * @type string\\n       */\\n      'variable': '',\\n\\n      /**\\n       * Used to import variables into the compiled template.\\n       *\\n       * @memberOf _.templateSettings\\n       * @type Object\\n       */\\n      'imports': {\\n\\n        /**\\n         * A reference to the `lodash` function.\\n         *\\n         * @memberOf _.templateSettings.imports\\n         * @type Function\\n         */\\n        '_': lodash\\n      }\\n    };\\n\\n    /**\\n     * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\\n     *\\n     * @private\\n     * @param {*} value The value to wrap.\\n     */\\n    function LazyWrapper(value) {\\n      this.__wrapped__ = value;\\n      this.__actions__ = null;\\n      this.__dir__ = 1;\\n      this.__dropCount__ = 0;\\n      this.__filtered__ = false;\\n      this.__iteratees__ = null;\\n      this.__takeCount__ = POSITIVE_INFINITY;\\n      this.__views__ = null;\\n    }\\n\\n    /**\\n     * Creates a clone of the lazy wrapper object.\\n     *\\n     * @private\\n     * @name clone\\n     * @memberOf LazyWrapper\\n     * @returns {Object} Returns the cloned `LazyWrapper` object.\\n     */\\n    function lazyClone() {\\n      var actions = this.__actions__,\\n          iteratees = this.__iteratees__,\\n          views = this.__views__,\\n          result = new LazyWrapper(this.__wrapped__);\\n\\n      result.__actions__ = actions ? arrayCopy(actions) : null;\\n      result.__dir__ = this.__dir__;\\n      result.__filtered__ = this.__filtered__;\\n      result.__iteratees__ = iteratees ? arrayCopy(iteratees) : null;\\n      result.__takeCount__ = this.__takeCount__;\\n      result.__views__ = views ? arrayCopy(views) : null;\\n      return result;\\n    }\\n\\n    /**\\n     * Reverses the direction of lazy iteration.\\n     *\\n     * @private\\n     * @name reverse\\n     * @memberOf LazyWrapper\\n     * @returns {Object} Returns the new reversed `LazyWrapper` object.\\n     */\\n    function lazyReverse() {\\n      if (this.__filtered__) {\\n        var result = new LazyWrapper(this);\\n        result.__dir__ = -1;\\n        result.__filtered__ = true;\\n      } else {\\n        result = this.clone();\\n        result.__dir__ *= -1;\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Extracts the unwrapped value from its lazy wrapper.\\n     *\\n     * @private\\n     * @name value\\n     * @memberOf LazyWrapper\\n     * @returns {*} Returns the unwrapped value.\\n     */\\n    function lazyValue() {\\n      var array = this.__wrapped__.value();\\n      if (!isArray(array)) {\\n        return baseWrapperValue(array, this.__actions__);\\n      }\\n      var dir = this.__dir__,\\n          isRight = dir < 0,\\n          view = getView(0, array.length, this.__views__),\\n          start = view.start,\\n          end = view.end,\\n          length = end - start,\\n          index = isRight ? end : (start - 1),\\n          takeCount = nativeMin(length, this.__takeCount__),\\n          iteratees = this.__iteratees__,\\n          iterLength = iteratees ? iteratees.length : 0,\\n          resIndex = 0,\\n          result = [];\\n\\n      outer:\\n      while (length-- && resIndex < takeCount) {\\n        index += dir;\\n\\n        var iterIndex = -1,\\n            value = array[index];\\n\\n        while (++iterIndex < iterLength) {\\n          var data = iteratees[iterIndex],\\n              iteratee = data.iteratee,\\n              type = data.type;\\n\\n          if (type == LAZY_DROP_WHILE_FLAG) {\\n            if (data.done && (isRight ? (index > data.index) : (index < data.index))) {\\n              data.count = 0;\\n              data.done = false;\\n            }\\n            data.index = index;\\n            if (!data.done) {\\n              var limit = data.limit;\\n              if (!(data.done = limit > -1 ? (data.count++ >= limit) : !iteratee(value))) {\\n                continue outer;\\n              }\\n            }\\n          } else {\\n            var computed = iteratee(value);\\n            if (type == LAZY_MAP_FLAG) {\\n              value = computed;\\n            } else if (!computed) {\\n              if (type == LAZY_FILTER_FLAG) {\\n                continue outer;\\n              } else {\\n                break outer;\\n              }\\n            }\\n          }\\n        }\\n        result[resIndex++] = value;\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Creates a cache object to store key/value pairs.\\n     *\\n     * @private\\n     * @static\\n     * @name Cache\\n     * @memberOf _.memoize\\n     */\\n    function MapCache() {\\n      this.__data__ = {};\\n    }\\n\\n    /**\\n     * Removes `key` and its value from the cache.\\n     *\\n     * @private\\n     * @name delete\\n     * @memberOf _.memoize.Cache\\n     * @param {string} key The key of the value to remove.\\n     * @returns {boolean} Returns `true` if the entry was removed successfully, else `false`.\\n     */\\n    function mapDelete(key) {\\n      return this.has(key) && delete this.__data__[key];\\n    }\\n\\n    /**\\n     * Gets the cached value for `key`.\\n     *\\n     * @private\\n     * @name get\\n     * @memberOf _.memoize.Cache\\n     * @param {string} key The key of the value to get.\\n     * @returns {*} Returns the cached value.\\n     */\\n    function mapGet(key) {\\n      return key == '__proto__' ? undefined : this.__data__[key];\\n    }\\n\\n    /**\\n     * Checks if a cached value for `key` exists.\\n     *\\n     * @private\\n     * @name has\\n     * @memberOf _.memoize.Cache\\n     * @param {string} key The key of the entry to check.\\n     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\\n     */\\n    function mapHas(key) {\\n      return key != '__proto__' && hasOwnProperty.call(this.__data__, key);\\n    }\\n\\n    /**\\n     * Sets `value` to `key` of the cache.\\n     *\\n     * @private\\n     * @name set\\n     * @memberOf _.memoize.Cache\\n     * @param {string} key The key of the value to cache.\\n     * @param {*} value The value to cache.\\n     * @returns {Object} Returns the cache object.\\n     */\\n    function mapSet(key, value) {\\n      if (key != '__proto__') {\\n        this.__data__[key] = value;\\n      }\\n      return this;\\n    }\\n\\n    /**\\n     *\\n     * Creates a cache object to store unique values.\\n     *\\n     * @private\\n     * @param {Array} [values] The values to cache.\\n     */\\n    function SetCache(values) {\\n      var length = values ? values.length : 0;\\n\\n      this.data = { 'hash': nativeCreate(null), 'set': new Set };\\n      while (length--) {\\n        this.push(values[length]);\\n      }\\n    }\\n\\n    /**\\n     * Checks if `value` is in `cache` mimicking the return signature of\\n     * `_.indexOf` by returning `0` if the value is found, else `-1`.\\n     *\\n     * @private\\n     * @param {Object} cache The cache to search.\\n     * @param {*} value The value to search for.\\n     * @returns {number} Returns `0` if `value` is found, else `-1`.\\n     */\\n    function cacheIndexOf(cache, value) {\\n      var data = cache.data,\\n          result = (typeof value == 'string' || isObject(value)) ? data.set.has(value) : data.hash[value];\\n\\n      return result ? 0 : -1;\\n    }\\n\\n    /**\\n     * Adds `value` to the cache.\\n     *\\n     * @private\\n     * @name push\\n     * @memberOf SetCache\\n     * @param {*} value The value to cache.\\n     */\\n    function cachePush(value) {\\n      var data = this.data;\\n      if (typeof value == 'string' || isObject(value)) {\\n        data.set.add(value);\\n      } else {\\n        data.hash[value] = true;\\n      }\\n    }\\n\\n    /**\\n     * Copies the values of `source` to `array`.\\n     *\\n     * @private\\n     * @param {Array} source The array to copy values from.\\n     * @param {Array} [array=[]] The array to copy values to.\\n     * @returns {Array} Returns `array`.\\n     */\\n    function arrayCopy(source, array) {\\n      var index = -1,\\n          length = source.length;\\n\\n      array || (array = Array(length));\\n      while (++index < length) {\\n        array[index] = source[index];\\n      }\\n      return array;\\n    }\\n\\n    /**\\n     * A specialized version of `_.forEach` for arrays without support for callback\\n     * shorthands and `this` binding.\\n     *\\n     * @private\\n     * @param {Array} array The array to iterate over.\\n     * @param {Function} iteratee The function invoked per iteration.\\n     * @returns {Array} Returns `array`.\\n     */\\n    function arrayEach(array, iteratee) {\\n      var index = -1,\\n          length = array.length;\\n\\n      while (++index < length) {\\n        if (iteratee(array[index], index, array) === false) {\\n          break;\\n        }\\n      }\\n      return array;\\n    }\\n\\n    /**\\n     * A specialized version of `_.forEachRight` for arrays without support for\\n     * callback shorthands and `this` binding.\\n     *\\n     * @private\\n     * @param {Array} array The array to iterate over.\\n     * @param {Function} iteratee The function invoked per iteration.\\n     * @returns {Array} Returns `array`.\\n     */\\n    function arrayEachRight(array, iteratee) {\\n      var length = array.length;\\n\\n      while (length--) {\\n        if (iteratee(array[length], length, array) === false) {\\n          break;\\n        }\\n      }\\n      return array;\\n    }\\n\\n    /**\\n     * A specialized version of `_.every` for arrays without support for callback\\n     * shorthands and `this` binding.\\n     *\\n     * @private\\n     * @param {Array} array The array to iterate over.\\n     * @param {Function} predicate The function invoked per iteration.\\n     * @returns {boolean} Returns `true` if all elements pass the predicate check,\\n     *  else `false`.\\n     */\\n    function arrayEvery(array, predicate) {\\n      var index = -1,\\n          length = array.length;\\n\\n      while (++index < length) {\\n        if (!predicate(array[index], index, array)) {\\n          return false;\\n        }\\n      }\\n      return true;\\n    }\\n\\n    /**\\n     * A specialized version of `_.filter` for arrays without support for callback\\n     * shorthands and `this` binding.\\n     *\\n     * @private\\n     * @param {Array} array The array to iterate over.\\n     * @param {Function} predicate The function invoked per iteration.\\n     * @returns {Array} Returns the new filtered array.\\n     */\\n    function arrayFilter(array, predicate) {\\n      var index = -1,\\n          length = array.length,\\n          resIndex = -1,\\n          result = [];\\n\\n      while (++index < length) {\\n        var value = array[index];\\n        if (predicate(value, index, array)) {\\n          result[++resIndex] = value;\\n        }\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * A specialized version of `_.map` for arrays without support for callback\\n     * shorthands and `this` binding.\\n     *\\n     * @private\\n     * @param {Array} array The array to iterate over.\\n     * @param {Function} iteratee The function invoked per iteration.\\n     * @returns {Array} Returns the new mapped array.\\n     */\\n    function arrayMap(array, iteratee) {\\n      var index = -1,\\n          length = array.length,\\n          result = Array(length);\\n\\n      while (++index < length) {\\n        result[index] = iteratee(array[index], index, array);\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * A specialized version of `_.max` for arrays without support for iteratees.\\n     *\\n     * @private\\n     * @param {Array} array The array to iterate over.\\n     * @returns {*} Returns the maximum value.\\n     */\\n    function arrayMax(array) {\\n      var index = -1,\\n          length = array.length,\\n          result = NEGATIVE_INFINITY;\\n\\n      while (++index < length) {\\n        var value = array[index];\\n        if (value > result) {\\n          result = value;\\n        }\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * A specialized version of `_.min` for arrays without support for iteratees.\\n     *\\n     * @private\\n     * @param {Array} array The array to iterate over.\\n     * @returns {*} Returns the minimum value.\\n     */\\n    function arrayMin(array) {\\n      var index = -1,\\n          length = array.length,\\n          result = POSITIVE_INFINITY;\\n\\n      while (++index < length) {\\n        var value = array[index];\\n        if (value < result) {\\n          result = value;\\n        }\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * A specialized version of `_.reduce` for arrays without support for callback\\n     * shorthands and `this` binding.\\n     *\\n     * @private\\n     * @param {Array} array The array to iterate over.\\n     * @param {Function} iteratee The function invoked per iteration.\\n     * @param {*} [accumulator] The initial value.\\n     * @param {boolean} [initFromArray] Specify using the first element of `array`\\n     *  as the initial value.\\n     * @returns {*} Returns the accumulated value.\\n     */\\n    function arrayReduce(array, iteratee, accumulator, initFromArray) {\\n      var index = -1,\\n          length = array.length;\\n\\n      if (initFromArray && length) {\\n        accumulator = array[++index];\\n      }\\n      while (++index < length) {\\n        accumulator = iteratee(accumulator, array[index], index, array);\\n      }\\n      return accumulator;\\n    }\\n\\n    /**\\n     * A specialized version of `_.reduceRight` for arrays without support for\\n     * callback shorthands and `this` binding.\\n     *\\n     * @private\\n     * @param {Array} array The array to iterate over.\\n     * @param {Function} iteratee The function invoked per iteration.\\n     * @param {*} [accumulator] The initial value.\\n     * @param {boolean} [initFromArray] Specify using the last element of `array`\\n     *  as the initial value.\\n     * @returns {*} Returns the accumulated value.\\n     */\\n    function arrayReduceRight(array, iteratee, accumulator, initFromArray) {\\n      var length = array.length;\\n      if (initFromArray && length) {\\n        accumulator = array[--length];\\n      }\\n      while (length--) {\\n        accumulator = iteratee(accumulator, array[length], length, array);\\n      }\\n      return accumulator;\\n    }\\n\\n    /**\\n     * A specialized version of `_.some` for arrays without support for callback\\n     * shorthands and `this` binding.\\n     *\\n     * @private\\n     * @param {Array} array The array to iterate over.\\n     * @param {Function} predicate The function invoked per iteration.\\n     * @returns {boolean} Returns `true` if any element passes the predicate check,\\n     *  else `false`.\\n     */\\n    function arraySome(array, predicate) {\\n      var index = -1,\\n          length = array.length;\\n\\n      while (++index < length) {\\n        if (predicate(array[index], index, array)) {\\n          return true;\\n        }\\n      }\\n      return false;\\n    }\\n\\n    /**\\n     * A specialized version of `_.sum` for arrays without support for iteratees.\\n     *\\n     * @private\\n     * @param {Array} array The array to iterate over.\\n     * @returns {number} Returns the sum.\\n     */\\n    function arraySum(array) {\\n      var length = array.length,\\n          result = 0;\\n\\n      while (length--) {\\n        result += +array[length] || 0;\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Used by `_.defaults` to customize its `_.assign` use.\\n     *\\n     * @private\\n     * @param {*} objectValue The destination object property value.\\n     * @param {*} sourceValue The source object property value.\\n     * @returns {*} Returns the value to assign to the destination object.\\n     */\\n    function assignDefaults(objectValue, sourceValue) {\\n      return objectValue === undefined ? sourceValue : objectValue;\\n    }\\n\\n    /**\\n     * Used by `_.template` to customize its `_.assign` use.\\n     *\\n     * **Note:** This function is like `assignDefaults` except that it ignores\\n     * inherited property values when checking if a property is `undefined`.\\n     *\\n     * @private\\n     * @param {*} objectValue The destination object property value.\\n     * @param {*} sourceValue The source object property value.\\n     * @param {string} key The key associated with the object and source values.\\n     * @param {Object} object The destination object.\\n     * @returns {*} Returns the value to assign to the destination object.\\n     */\\n    function assignOwnDefaults(objectValue, sourceValue, key, object) {\\n      return (objectValue === undefined || !hasOwnProperty.call(object, key))\\n        ? sourceValue\\n        : objectValue;\\n    }\\n\\n    /**\\n     * A specialized version of `_.assign` for customizing assigned values without\\n     * support for argument juggling, multiple sources, and `this` binding `customizer`\\n     * functions.\\n     *\\n     * @private\\n     * @param {Object} object The destination object.\\n     * @param {Object} source The source object.\\n     * @param {Function} customizer The function to customize assigned values.\\n     * @returns {Object} Returns `object`.\\n     */\\n    function assignWith(object, source, customizer) {\\n      var props = keys(source);\\n      push.apply(props, getSymbols(source));\\n\\n      var index = -1,\\n          length = props.length;\\n\\n      while (++index < length) {\\n        var key = props[index],\\n            value = object[key],\\n            result = customizer(value, source[key], key, object, source);\\n\\n        if ((result === result ? (result !== value) : (value === value)) ||\\n            (value === undefined && !(key in object))) {\\n          object[key] = result;\\n        }\\n      }\\n      return object;\\n    }\\n\\n    /**\\n     * The base implementation of `_.assign` without support for argument juggling,\\n     * multiple sources, and `customizer` functions.\\n     *\\n     * @private\\n     * @param {Object} object The destination object.\\n     * @param {Object} source The source object.\\n     * @returns {Object} Returns `object`.\\n     */\\n    var baseAssign = nativeAssign || function(object, source) {\\n      return source == null\\n        ? object\\n        : baseCopy(source, getSymbols(source), baseCopy(source, keys(source), object));\\n    };\\n\\n    /**\\n     * The base implementation of `_.at` without support for string collections\\n     * and individual key arguments.\\n     *\\n     * @private\\n     * @param {Array|Object} collection The collection to iterate over.\\n     * @param {number[]|string[]} props The property names or indexes of elements to pick.\\n     * @returns {Array} Returns the new array of picked elements.\\n     */\\n    function baseAt(collection, props) {\\n      var index = -1,\\n          isNil = collection == null,\\n          isArr = !isNil && isArrayLike(collection),\\n          length = isArr && collection.length,\\n          propsLength = props.length,\\n          result = Array(propsLength);\\n\\n      while(++index < propsLength) {\\n        var key = props[index];\\n        if (isArr) {\\n          result[index] = isIndex(key, length) ? collection[key] : undefined;\\n        } else {\\n          result[index] = isNil ? undefined : collection[key];\\n        }\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Copies properties of `source` to `object`.\\n     *\\n     * @private\\n     * @param {Object} source The object to copy properties from.\\n     * @param {Array} props The property names to copy.\\n     * @param {Object} [object={}] The object to copy properties to.\\n     * @returns {Object} Returns `object`.\\n     */\\n    function baseCopy(source, props, object) {\\n      object || (object = {});\\n\\n      var index = -1,\\n          length = props.length;\\n\\n      while (++index < length) {\\n        var key = props[index];\\n        object[key] = source[key];\\n      }\\n      return object;\\n    }\\n\\n    /**\\n     * The base implementation of `_.callback` which supports specifying the\\n     * number of arguments to provide to `func`.\\n     *\\n     * @private\\n     * @param {*} [func=_.identity] The value to convert to a callback.\\n     * @param {*} [thisArg] The `this` binding of `func`.\\n     * @param {number} [argCount] The number of arguments to provide to `func`.\\n     * @returns {Function} Returns the callback.\\n     */\\n    function baseCallback(func, thisArg, argCount) {\\n      var type = typeof func;\\n      if (type == 'function') {\\n        return thisArg === undefined\\n          ? func\\n          : bindCallback(func, thisArg, argCount);\\n      }\\n      if (func == null) {\\n        return identity;\\n      }\\n      if (type == 'object') {\\n        return baseMatches(func);\\n      }\\n      return thisArg === undefined\\n        ? property(func)\\n        : baseMatchesProperty(func, thisArg);\\n    }\\n\\n    /**\\n     * The base implementation of `_.clone` without support for argument juggling\\n     * and `this` binding `customizer` functions.\\n     *\\n     * @private\\n     * @param {*} value The value to clone.\\n     * @param {boolean} [isDeep] Specify a deep clone.\\n     * @param {Function} [customizer] The function to customize cloning values.\\n     * @param {string} [key] The key of `value`.\\n     * @param {Object} [object] The object `value` belongs to.\\n     * @param {Array} [stackA=[]] Tracks traversed source objects.\\n     * @param {Array} [stackB=[]] Associates clones with source counterparts.\\n     * @returns {*} Returns the cloned value.\\n     */\\n    function baseClone(value, isDeep, customizer, key, object, stackA, stackB) {\\n      var result;\\n      if (customizer) {\\n        result = object ? customizer(value, key, object) : customizer(value);\\n      }\\n      if (result !== undefined) {\\n        return result;\\n      }\\n      if (!isObject(value)) {\\n        return value;\\n      }\\n      var isArr = isArray(value);\\n      if (isArr) {\\n        result = initCloneArray(value);\\n        if (!isDeep) {\\n          return arrayCopy(value, result);\\n        }\\n      } else {\\n        var tag = objToString.call(value),\\n            isFunc = tag == funcTag;\\n\\n        if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\\n          result = initCloneObject(isFunc ? {} : value);\\n          if (!isDeep) {\\n            return baseAssign(result, value);\\n          }\\n        } else {\\n          return cloneableTags[tag]\\n            ? initCloneByTag(value, tag, isDeep)\\n            : (object ? value : {});\\n        }\\n      }\\n      // Check for circular references and return corresponding clone.\\n      stackA || (stackA = []);\\n      stackB || (stackB = []);\\n\\n      var length = stackA.length;\\n      while (length--) {\\n        if (stackA[length] == value) {\\n          return stackB[length];\\n        }\\n      }\\n      // Add the source value to the stack of traversed objects and associate it with its clone.\\n      stackA.push(value);\\n      stackB.push(result);\\n\\n      // Recursively populate clone (susceptible to call stack limits).\\n      (isArr ? arrayEach : baseForOwn)(value, function(subValue, key) {\\n        result[key] = baseClone(subValue, isDeep, customizer, key, value, stackA, stackB);\\n      });\\n      return result;\\n    }\\n\\n    /**\\n     * The base implementation of `_.create` without support for assigning\\n     * properties to the created object.\\n     *\\n     * @private\\n     * @param {Object} prototype The object to inherit from.\\n     * @returns {Object} Returns the new object.\\n     */\\n    var baseCreate = (function() {\\n      function Object() {}\\n      return function(prototype) {\\n        if (isObject(prototype)) {\\n          Object.prototype = prototype;\\n          var result = new Object;\\n          Object.prototype = null;\\n        }\\n        return result || context.Object();\\n      };\\n    }());\\n\\n    /**\\n     * The base implementation of `_.delay` and `_.defer` which accepts an index\\n     * of where to slice the arguments to provide to `func`.\\n     *\\n     * @private\\n     * @param {Function} func The function to delay.\\n     * @param {number} wait The number of milliseconds to delay invocation.\\n     * @param {Object} args The arguments provide to `func`.\\n     * @returns {number} Returns the timer id.\\n     */\\n    function baseDelay(func, wait, args) {\\n      if (typeof func != 'function') {\\n        throw new TypeError(FUNC_ERROR_TEXT);\\n      }\\n      return setTimeout(function() { func.apply(undefined, args); }, wait);\\n    }\\n\\n    /**\\n     * The base implementation of `_.difference` which accepts a single array\\n     * of values to exclude.\\n     *\\n     * @private\\n     * @param {Array} array The array to inspect.\\n     * @param {Array} values The values to exclude.\\n     * @returns {Array} Returns the new array of filtered values.\\n     */\\n    function baseDifference(array, values) {\\n      var length = array ? array.length : 0,\\n          result = [];\\n\\n      if (!length) {\\n        return result;\\n      }\\n      var index = -1,\\n          indexOf = getIndexOf(),\\n          isCommon = indexOf == baseIndexOf,\\n          cache = (isCommon && values.length >= 200) ? createCache(values) : null,\\n          valuesLength = values.length;\\n\\n      if (cache) {\\n        indexOf = cacheIndexOf;\\n        isCommon = false;\\n        values = cache;\\n      }\\n      outer:\\n      while (++index < length) {\\n        var value = array[index];\\n\\n        if (isCommon && value === value) {\\n          var valuesIndex = valuesLength;\\n          while (valuesIndex--) {\\n            if (values[valuesIndex] === value) {\\n              continue outer;\\n            }\\n          }\\n          result.push(value);\\n        }\\n        else if (indexOf(values, value, 0) < 0) {\\n          result.push(value);\\n        }\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * The base implementation of `_.forEach` without support for callback\\n     * shorthands and `this` binding.\\n     *\\n     * @private\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function} iteratee The function invoked per iteration.\\n     * @returns {Array|Object|string} Returns `collection`.\\n     */\\n    var baseEach = createBaseEach(baseForOwn);\\n\\n    /**\\n     * The base implementation of `_.forEachRight` without support for callback\\n     * shorthands and `this` binding.\\n     *\\n     * @private\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function} iteratee The function invoked per iteration.\\n     * @returns {Array|Object|string} Returns `collection`.\\n     */\\n    var baseEachRight = createBaseEach(baseForOwnRight, true);\\n\\n    /**\\n     * The base implementation of `_.every` without support for callback\\n     * shorthands and `this` binding.\\n     *\\n     * @private\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function} predicate The function invoked per iteration.\\n     * @returns {boolean} Returns `true` if all elements pass the predicate check,\\n     *  else `false`\\n     */\\n    function baseEvery(collection, predicate) {\\n      var result = true;\\n      baseEach(collection, function(value, index, collection) {\\n        result = !!predicate(value, index, collection);\\n        return result;\\n      });\\n      return result;\\n    }\\n\\n    /**\\n     * The base implementation of `_.fill` without an iteratee call guard.\\n     *\\n     * @private\\n     * @param {Array} array The array to fill.\\n     * @param {*} value The value to fill `array` with.\\n     * @param {number} [start=0] The start position.\\n     * @param {number} [end=array.length] The end position.\\n     * @returns {Array} Returns `array`.\\n     */\\n    function baseFill(array, value, start, end) {\\n      var length = array.length;\\n\\n      start = start == null ? 0 : (+start || 0);\\n      if (start < 0) {\\n        start = -start > length ? 0 : (length + start);\\n      }\\n      end = (end === undefined || end > length) ? length : (+end || 0);\\n      if (end < 0) {\\n        end += length;\\n      }\\n      length = start > end ? 0 : (end >>> 0);\\n      start >>>= 0;\\n\\n      while (start < length) {\\n        array[start++] = value;\\n      }\\n      return array;\\n    }\\n\\n    /**\\n     * The base implementation of `_.filter` without support for callback\\n     * shorthands and `this` binding.\\n     *\\n     * @private\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function} predicate The function invoked per iteration.\\n     * @returns {Array} Returns the new filtered array.\\n     */\\n    function baseFilter(collection, predicate) {\\n      var result = [];\\n      baseEach(collection, function(value, index, collection) {\\n        if (predicate(value, index, collection)) {\\n          result.push(value);\\n        }\\n      });\\n      return result;\\n    }\\n\\n    /**\\n     * The base implementation of `_.find`, `_.findLast`, `_.findKey`, and `_.findLastKey`,\\n     * without support for callback shorthands and `this` binding, which iterates\\n     * over `collection` using the provided `eachFunc`.\\n     *\\n     * @private\\n     * @param {Array|Object|string} collection The collection to search.\\n     * @param {Function} predicate The function invoked per iteration.\\n     * @param {Function} eachFunc The function to iterate over `collection`.\\n     * @param {boolean} [retKey] Specify returning the key of the found element\\n     *  instead of the element itself.\\n     * @returns {*} Returns the found element or its key, else `undefined`.\\n     */\\n    function baseFind(collection, predicate, eachFunc, retKey) {\\n      var result;\\n      eachFunc(collection, function(value, key, collection) {\\n        if (predicate(value, key, collection)) {\\n          result = retKey ? key : value;\\n          return false;\\n        }\\n      });\\n      return result;\\n    }\\n\\n    /**\\n     * The base implementation of `_.flatten` with added support for restricting\\n     * flattening and specifying the start index.\\n     *\\n     * @private\\n     * @param {Array} array The array to flatten.\\n     * @param {boolean} [isDeep] Specify a deep flatten.\\n     * @param {boolean} [isStrict] Restrict flattening to arrays-like objects.\\n     * @returns {Array} Returns the new flattened array.\\n     */\\n    function baseFlatten(array, isDeep, isStrict) {\\n      var index = -1,\\n          length = array.length,\\n          resIndex = -1,\\n          result = [];\\n\\n      while (++index < length) {\\n        var value = array[index];\\n        if (isObjectLike(value) && isArrayLike(value) &&\\n            (isStrict || isArray(value) || isArguments(value))) {\\n          if (isDeep) {\\n            // Recursively flatten arrays (susceptible to call stack limits).\\n            value = baseFlatten(value, isDeep, isStrict);\\n          }\\n          var valIndex = -1,\\n              valLength = value.length;\\n\\n          while (++valIndex < valLength) {\\n            result[++resIndex] = value[valIndex];\\n          }\\n        } else if (!isStrict) {\\n          result[++resIndex] = value;\\n        }\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * The base implementation of `baseForIn` and `baseForOwn` which iterates\\n     * over `object` properties returned by `keysFunc` invoking `iteratee` for\\n     * each property. Iteratee functions may exit iteration early by explicitly\\n     * returning `false`.\\n     *\\n     * @private\\n     * @param {Object} object The object to iterate over.\\n     * @param {Function} iteratee The function invoked per iteration.\\n     * @param {Function} keysFunc The function to get the keys of `object`.\\n     * @returns {Object} Returns `object`.\\n     */\\n    var baseFor = createBaseFor();\\n\\n    /**\\n     * This function is like `baseFor` except that it iterates over properties\\n     * in the opposite order.\\n     *\\n     * @private\\n     * @param {Object} object The object to iterate over.\\n     * @param {Function} iteratee The function invoked per iteration.\\n     * @param {Function} keysFunc The function to get the keys of `object`.\\n     * @returns {Object} Returns `object`.\\n     */\\n    var baseForRight = createBaseFor(true);\\n\\n    /**\\n     * The base implementation of `_.forIn` without support for callback\\n     * shorthands and `this` binding.\\n     *\\n     * @private\\n     * @param {Object} object The object to iterate over.\\n     * @param {Function} iteratee The function invoked per iteration.\\n     * @returns {Object} Returns `object`.\\n     */\\n    function baseForIn(object, iteratee) {\\n      return baseFor(object, iteratee, keysIn);\\n    }\\n\\n    /**\\n     * The base implementation of `_.forOwn` without support for callback\\n     * shorthands and `this` binding.\\n     *\\n     * @private\\n     * @param {Object} object The object to iterate over.\\n     * @param {Function} iteratee The function invoked per iteration.\\n     * @returns {Object} Returns `object`.\\n     */\\n    function baseForOwn(object, iteratee) {\\n      return baseFor(object, iteratee, keys);\\n    }\\n\\n    /**\\n     * The base implementation of `_.forOwnRight` without support for callback\\n     * shorthands and `this` binding.\\n     *\\n     * @private\\n     * @param {Object} object The object to iterate over.\\n     * @param {Function} iteratee The function invoked per iteration.\\n     * @returns {Object} Returns `object`.\\n     */\\n    function baseForOwnRight(object, iteratee) {\\n      return baseForRight(object, iteratee, keys);\\n    }\\n\\n    /**\\n     * The base implementation of `_.functions` which creates an array of\\n     * `object` function property names filtered from those provided.\\n     *\\n     * @private\\n     * @param {Object} object The object to inspect.\\n     * @param {Array} props The property names to filter.\\n     * @returns {Array} Returns the new array of filtered property names.\\n     */\\n    function baseFunctions(object, props) {\\n      var index = -1,\\n          length = props.length,\\n          resIndex = -1,\\n          result = [];\\n\\n      while (++index < length) {\\n        var key = props[index];\\n        if (isFunction(object[key])) {\\n          result[++resIndex] = key;\\n        }\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * The base implementation of `get` without support for string paths\\n     * and default values.\\n     *\\n     * @private\\n     * @param {Object} object The object to query.\\n     * @param {Array} path The path of the property to get.\\n     * @param {string} [pathKey] The key representation of path.\\n     * @returns {*} Returns the resolved value.\\n     */\\n    function baseGet(object, path, pathKey) {\\n      if (object == null) {\\n        return;\\n      }\\n      if (pathKey !== undefined && pathKey in toObject(object)) {\\n        path = [pathKey];\\n      }\\n      var index = -1,\\n          length = path.length;\\n\\n      while (object != null && ++index < length) {\\n        object = object[path[index]];\\n      }\\n      return (index && index == length) ? object : undefined;\\n    }\\n\\n    /**\\n     * The base implementation of `_.isEqual` without support for `this` binding\\n     * `customizer` functions.\\n     *\\n     * @private\\n     * @param {*} value The value to compare.\\n     * @param {*} other The other value to compare.\\n     * @param {Function} [customizer] The function to customize comparing values.\\n     * @param {boolean} [isLoose] Specify performing partial comparisons.\\n     * @param {Array} [stackA] Tracks traversed `value` objects.\\n     * @param {Array} [stackB] Tracks traversed `other` objects.\\n     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\\n     */\\n    function baseIsEqual(value, other, customizer, isLoose, stackA, stackB) {\\n      // Exit early for identical values.\\n      if (value === other) {\\n        return true;\\n      }\\n      var valType = typeof value,\\n          othType = typeof other;\\n\\n      // Exit early for unlike primitive values.\\n      if ((valType != 'function' && valType != 'object' && othType != 'function' && othType != 'object') ||\\n          value == null || other == null) {\\n        // Return `false` unless both values are `NaN`.\\n        return value !== value && other !== other;\\n      }\\n      return baseIsEqualDeep(value, other, baseIsEqual, customizer, isLoose, stackA, stackB);\\n    }\\n\\n    /**\\n     * A specialized version of `baseIsEqual` for arrays and objects which performs\\n     * deep comparisons and tracks traversed objects enabling objects with circular\\n     * references to be compared.\\n     *\\n     * @private\\n     * @param {Object} object The object to compare.\\n     * @param {Object} other The other object to compare.\\n     * @param {Function} equalFunc The function to determine equivalents of values.\\n     * @param {Function} [customizer] The function to customize comparing objects.\\n     * @param {boolean} [isLoose] Specify performing partial comparisons.\\n     * @param {Array} [stackA=[]] Tracks traversed `value` objects.\\n     * @param {Array} [stackB=[]] Tracks traversed `other` objects.\\n     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\\n     */\\n    function baseIsEqualDeep(object, other, equalFunc, customizer, isLoose, stackA, stackB) {\\n      var objIsArr = isArray(object),\\n          othIsArr = isArray(other),\\n          objTag = arrayTag,\\n          othTag = arrayTag;\\n\\n      if (!objIsArr) {\\n        objTag = objToString.call(object);\\n        if (objTag == argsTag) {\\n          objTag = objectTag;\\n        } else if (objTag != objectTag) {\\n          objIsArr = isTypedArray(object);\\n        }\\n      }\\n      if (!othIsArr) {\\n        othTag = objToString.call(other);\\n        if (othTag == argsTag) {\\n          othTag = objectTag;\\n        } else if (othTag != objectTag) {\\n          othIsArr = isTypedArray(other);\\n        }\\n      }\\n      var objIsObj = objTag == objectTag,\\n          othIsObj = othTag == objectTag,\\n          isSameTag = objTag == othTag;\\n\\n      if (isSameTag && !(objIsArr || objIsObj)) {\\n        return equalByTag(object, other, objTag);\\n      }\\n      if (!isLoose) {\\n        var valWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\\n            othWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\\n\\n        if (valWrapped || othWrapped) {\\n          return equalFunc(valWrapped ? object.value() : object, othWrapped ? other.value() : other, customizer, isLoose, stackA, stackB);\\n        }\\n      }\\n      if (!isSameTag) {\\n        return false;\\n      }\\n      // Assume cyclic values are equal.\\n      // For more information on detecting circular references see https://es5.github.io/#JO.\\n      stackA || (stackA = []);\\n      stackB || (stackB = []);\\n\\n      var length = stackA.length;\\n      while (length--) {\\n        if (stackA[length] == object) {\\n          return stackB[length] == other;\\n        }\\n      }\\n      // Add `object` and `other` to the stack of traversed objects.\\n      stackA.push(object);\\n      stackB.push(other);\\n\\n      var result = (objIsArr ? equalArrays : equalObjects)(object, other, equalFunc, customizer, isLoose, stackA, stackB);\\n\\n      stackA.pop();\\n      stackB.pop();\\n\\n      return result;\\n    }\\n\\n    /**\\n     * The base implementation of `_.isMatch` without support for callback\\n     * shorthands and `this` binding.\\n     *\\n     * @private\\n     * @param {Object} object The object to inspect.\\n     * @param {Array} props The source property names to match.\\n     * @param {Array} values The source values to match.\\n     * @param {Array} strictCompareFlags Strict comparison flags for source values.\\n     * @param {Function} [customizer] The function to customize comparing objects.\\n     * @returns {boolean} Returns `true` if `object` is a match, else `false`.\\n     */\\n    function baseIsMatch(object, props, values, strictCompareFlags, customizer) {\\n      var index = -1,\\n          length = props.length,\\n          noCustomizer = !customizer;\\n\\n      while (++index < length) {\\n        if ((noCustomizer && strictCompareFlags[index])\\n              ? values[index] !== object[props[index]]\\n              : !(props[index] in object)\\n            ) {\\n          return false;\\n        }\\n      }\\n      index = -1;\\n      while (++index < length) {\\n        var key = props[index],\\n            objValue = object[key],\\n            srcValue = values[index];\\n\\n        if (noCustomizer && strictCompareFlags[index]) {\\n          var result = objValue !== undefined || (key in object);\\n        } else {\\n          result = customizer ? customizer(objValue, srcValue, key) : undefined;\\n          if (result === undefined) {\\n            result = baseIsEqual(srcValue, objValue, customizer, true);\\n          }\\n        }\\n        if (!result) {\\n          return false;\\n        }\\n      }\\n      return true;\\n    }\\n\\n    /**\\n     * The base implementation of `_.map` without support for callback shorthands\\n     * and `this` binding.\\n     *\\n     * @private\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function} iteratee The function invoked per iteration.\\n     * @returns {Array} Returns the new mapped array.\\n     */\\n    function baseMap(collection, iteratee) {\\n      var index = -1,\\n          result = isArrayLike(collection) ? Array(collection.length) : [];\\n\\n      baseEach(collection, function(value, key, collection) {\\n        result[++index] = iteratee(value, key, collection);\\n      });\\n      return result;\\n    }\\n\\n    /**\\n     * The base implementation of `_.matches` which does not clone `source`.\\n     *\\n     * @private\\n     * @param {Object} source The object of property values to match.\\n     * @returns {Function} Returns the new function.\\n     */\\n    function baseMatches(source) {\\n      var props = keys(source),\\n          length = props.length;\\n\\n      if (!length) {\\n        return constant(true);\\n      }\\n      if (length == 1) {\\n        var key = props[0],\\n            value = source[key];\\n\\n        if (isStrictComparable(value)) {\\n          return function(object) {\\n            if (object == null) {\\n              return false;\\n            }\\n            return object[key] === value && (value !== undefined || (key in toObject(object)));\\n          };\\n        }\\n      }\\n      var values = Array(length),\\n          strictCompareFlags = Array(length);\\n\\n      while (length--) {\\n        value = source[props[length]];\\n        values[length] = value;\\n        strictCompareFlags[length] = isStrictComparable(value);\\n      }\\n      return function(object) {\\n        return object != null && baseIsMatch(toObject(object), props, values, strictCompareFlags);\\n      };\\n    }\\n\\n    /**\\n     * The base implementation of `_.matchesProperty` which does not which does\\n     * not clone `value`.\\n     *\\n     * @private\\n     * @param {string} path The path of the property to get.\\n     * @param {*} value The value to compare.\\n     * @returns {Function} Returns the new function.\\n     */\\n    function baseMatchesProperty(path, value) {\\n      var isArr = isArray(path),\\n          isCommon = isKey(path) && isStrictComparable(value),\\n          pathKey = (path + '');\\n\\n      path = toPath(path);\\n      return function(object) {\\n        if (object == null) {\\n          return false;\\n        }\\n        var key = pathKey;\\n        object = toObject(object);\\n        if ((isArr || !isCommon) && !(key in object)) {\\n          object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\\n          if (object == null) {\\n            return false;\\n          }\\n          key = last(path);\\n          object = toObject(object);\\n        }\\n        return object[key] === value\\n          ? (value !== undefined || (key in object))\\n          : baseIsEqual(value, object[key], null, true);\\n      };\\n    }\\n\\n    /**\\n     * The base implementation of `_.merge` without support for argument juggling,\\n     * multiple sources, and `this` binding `customizer` functions.\\n     *\\n     * @private\\n     * @param {Object} object The destination object.\\n     * @param {Object} source The source object.\\n     * @param {Function} [customizer] The function to customize merging properties.\\n     * @param {Array} [stackA=[]] Tracks traversed source objects.\\n     * @param {Array} [stackB=[]] Associates values with source counterparts.\\n     * @returns {Object} Returns `object`.\\n     */\\n    function baseMerge(object, source, customizer, stackA, stackB) {\\n      if (!isObject(object)) {\\n        return object;\\n      }\\n      var isSrcArr = isArrayLike(source) && (isArray(source) || isTypedArray(source));\\n      if (!isSrcArr) {\\n        var props = keys(source);\\n        push.apply(props, getSymbols(source));\\n      }\\n      arrayEach(props || source, function(srcValue, key) {\\n        if (props) {\\n          key = srcValue;\\n          srcValue = source[key];\\n        }\\n        if (isObjectLike(srcValue)) {\\n          stackA || (stackA = []);\\n          stackB || (stackB = []);\\n          baseMergeDeep(object, source, key, baseMerge, customizer, stackA, stackB);\\n        }\\n        else {\\n          var value = object[key],\\n              result = customizer ? customizer(value, srcValue, key, object, source) : undefined,\\n              isCommon = result === undefined;\\n\\n          if (isCommon) {\\n            result = srcValue;\\n          }\\n          if ((isSrcArr || result !== undefined) &&\\n              (isCommon || (result === result ? (result !== value) : (value === value)))) {\\n            object[key] = result;\\n          }\\n        }\\n      });\\n      return object;\\n    }\\n\\n    /**\\n     * A specialized version of `baseMerge` for arrays and objects which performs\\n     * deep merges and tracks traversed objects enabling objects with circular\\n     * references to be merged.\\n     *\\n     * @private\\n     * @param {Object} object The destination object.\\n     * @param {Object} source The source object.\\n     * @param {string} key The key of the value to merge.\\n     * @param {Function} mergeFunc The function to merge values.\\n     * @param {Function} [customizer] The function to customize merging properties.\\n     * @param {Array} [stackA=[]] Tracks traversed source objects.\\n     * @param {Array} [stackB=[]] Associates values with source counterparts.\\n     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\\n     */\\n    function baseMergeDeep(object, source, key, mergeFunc, customizer, stackA, stackB) {\\n      var length = stackA.length,\\n          srcValue = source[key];\\n\\n      while (length--) {\\n        if (stackA[length] == srcValue) {\\n          object[key] = stackB[length];\\n          return;\\n        }\\n      }\\n      var value = object[key],\\n          result = customizer ? customizer(value, srcValue, key, object, source) : undefined,\\n          isCommon = result === undefined;\\n\\n      if (isCommon) {\\n        result = srcValue;\\n        if (isArrayLike(srcValue) && (isArray(srcValue) || isTypedArray(srcValue))) {\\n          result = isArray(value)\\n            ? value\\n            : (isArrayLike(value) ? arrayCopy(value) : []);\\n        }\\n        else if (isPlainObject(srcValue) || isArguments(srcValue)) {\\n          result = isArguments(value)\\n            ? toPlainObject(value)\\n            : (isPlainObject(value) ? value : {});\\n        }\\n        else {\\n          isCommon = false;\\n        }\\n      }\\n      // Add the source value to the stack of traversed objects and associate\\n      // it with its merged value.\\n      stackA.push(srcValue);\\n      stackB.push(result);\\n\\n      if (isCommon) {\\n        // Recursively merge objects and arrays (susceptible to call stack limits).\\n        object[key] = mergeFunc(result, srcValue, customizer, stackA, stackB);\\n      } else if (result === result ? (result !== value) : (value === value)) {\\n        object[key] = result;\\n      }\\n    }\\n\\n    /**\\n     * The base implementation of `_.property` without support for deep paths.\\n     *\\n     * @private\\n     * @param {string} key The key of the property to get.\\n     * @returns {Function} Returns the new function.\\n     */\\n    function baseProperty(key) {\\n      return function(object) {\\n        return object == null ? undefined : object[key];\\n      };\\n    }\\n\\n    /**\\n     * A specialized version of `baseProperty` which supports deep paths.\\n     *\\n     * @private\\n     * @param {Array|string} path The path of the property to get.\\n     * @returns {Function} Returns the new function.\\n     */\\n    function basePropertyDeep(path) {\\n      var pathKey = (path + '');\\n      path = toPath(path);\\n      return function(object) {\\n        return baseGet(object, path, pathKey);\\n      };\\n    }\\n\\n    /**\\n     * The base implementation of `_.pullAt` without support for individual\\n     * index arguments and capturing the removed elements.\\n     *\\n     * @private\\n     * @param {Array} array The array to modify.\\n     * @param {number[]} indexes The indexes of elements to remove.\\n     * @returns {Array} Returns `array`.\\n     */\\n    function basePullAt(array, indexes) {\\n      var length = array ? indexes.length : 0;\\n      while (length--) {\\n        var index = parseFloat(indexes[length]);\\n        if (index != previous && isIndex(index)) {\\n          var previous = index;\\n          splice.call(array, index, 1);\\n        }\\n      }\\n      return array;\\n    }\\n\\n    /**\\n     * The base implementation of `_.random` without support for argument juggling\\n     * and returning floating-point numbers.\\n     *\\n     * @private\\n     * @param {number} min The minimum possible value.\\n     * @param {number} max The maximum possible value.\\n     * @returns {number} Returns the random number.\\n     */\\n    function baseRandom(min, max) {\\n      return min + floor(nativeRandom() * (max - min + 1));\\n    }\\n\\n    /**\\n     * The base implementation of `_.reduce` and `_.reduceRight` without support\\n     * for callback shorthands and `this` binding, which iterates over `collection`\\n     * using the provided `eachFunc`.\\n     *\\n     * @private\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function} iteratee The function invoked per iteration.\\n     * @param {*} accumulator The initial value.\\n     * @param {boolean} initFromCollection Specify using the first or last element\\n     *  of `collection` as the initial value.\\n     * @param {Function} eachFunc The function to iterate over `collection`.\\n     * @returns {*} Returns the accumulated value.\\n     */\\n    function baseReduce(collection, iteratee, accumulator, initFromCollection, eachFunc) {\\n      eachFunc(collection, function(value, index, collection) {\\n        accumulator = initFromCollection\\n          ? (initFromCollection = false, value)\\n          : iteratee(accumulator, value, index, collection);\\n      });\\n      return accumulator;\\n    }\\n\\n    /**\\n     * The base implementation of `setData` without support for hot loop detection.\\n     *\\n     * @private\\n     * @param {Function} func The function to associate metadata with.\\n     * @param {*} data The metadata.\\n     * @returns {Function} Returns `func`.\\n     */\\n    var baseSetData = !metaMap ? identity : function(func, data) {\\n      metaMap.set(func, data);\\n      return func;\\n    };\\n\\n    /**\\n     * The base implementation of `_.slice` without an iteratee call guard.\\n     *\\n     * @private\\n     * @param {Array} array The array to slice.\\n     * @param {number} [start=0] The start position.\\n     * @param {number} [end=array.length] The end position.\\n     * @returns {Array} Returns the slice of `array`.\\n     */\\n    function baseSlice(array, start, end) {\\n      var index = -1,\\n          length = array.length;\\n\\n      start = start == null ? 0 : (+start || 0);\\n      if (start < 0) {\\n        start = -start > length ? 0 : (length + start);\\n      }\\n      end = (end === undefined || end > length) ? length : (+end || 0);\\n      if (end < 0) {\\n        end += length;\\n      }\\n      length = start > end ? 0 : ((end - start) >>> 0);\\n      start >>>= 0;\\n\\n      var result = Array(length);\\n      while (++index < length) {\\n        result[index] = array[index + start];\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * The base implementation of `_.some` without support for callback shorthands\\n     * and `this` binding.\\n     *\\n     * @private\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function} predicate The function invoked per iteration.\\n     * @returns {boolean} Returns `true` if any element passes the predicate check,\\n     *  else `false`.\\n     */\\n    function baseSome(collection, predicate) {\\n      var result;\\n\\n      baseEach(collection, function(value, index, collection) {\\n        result = predicate(value, index, collection);\\n        return !result;\\n      });\\n      return !!result;\\n    }\\n\\n    /**\\n     * The base implementation of `_.sortBy` which uses `comparer` to define\\n     * the sort order of `array` and replaces criteria objects with their\\n     * corresponding values.\\n     *\\n     * @private\\n     * @param {Array} array The array to sort.\\n     * @param {Function} comparer The function to define sort order.\\n     * @returns {Array} Returns `array`.\\n     */\\n    function baseSortBy(array, comparer) {\\n      var length = array.length;\\n\\n      array.sort(comparer);\\n      while (length--) {\\n        array[length] = array[length].value;\\n      }\\n      return array;\\n    }\\n\\n    /**\\n     * The base implementation of `_.sortByOrder` without param guards.\\n     *\\n     * @private\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\\n     * @param {boolean[]} orders The sort orders of `iteratees`.\\n     * @returns {Array} Returns the new sorted array.\\n     */\\n    function baseSortByOrder(collection, iteratees, orders) {\\n      var callback = getCallback(),\\n          index = -1;\\n\\n      iteratees = arrayMap(iteratees, function(iteratee) { return callback(iteratee); });\\n\\n      var result = baseMap(collection, function(value) {\\n        var criteria = arrayMap(iteratees, function(iteratee) { return iteratee(value); });\\n        return { 'criteria': criteria, 'index': ++index, 'value': value };\\n      });\\n\\n      return baseSortBy(result, function(object, other) {\\n        return compareMultiple(object, other, orders);\\n      });\\n    }\\n\\n    /**\\n     * The base implementation of `_.sum` without support for callback shorthands\\n     * and `this` binding.\\n     *\\n     * @private\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function} iteratee The function invoked per iteration.\\n     * @returns {number} Returns the sum.\\n     */\\n    function baseSum(collection, iteratee) {\\n      var result = 0;\\n      baseEach(collection, function(value, index, collection) {\\n        result += +iteratee(value, index, collection) || 0;\\n      });\\n      return result;\\n    }\\n\\n    /**\\n     * The base implementation of `_.uniq` without support for callback shorthands\\n     * and `this` binding.\\n     *\\n     * @private\\n     * @param {Array} array The array to inspect.\\n     * @param {Function} [iteratee] The function invoked per iteration.\\n     * @returns {Array} Returns the new duplicate-value-free array.\\n     */\\n    function baseUniq(array, iteratee) {\\n      var index = -1,\\n          indexOf = getIndexOf(),\\n          length = array.length,\\n          isCommon = indexOf == baseIndexOf,\\n          isLarge = isCommon && length >= 200,\\n          seen = isLarge ? createCache() : null,\\n          result = [];\\n\\n      if (seen) {\\n        indexOf = cacheIndexOf;\\n        isCommon = false;\\n      } else {\\n        isLarge = false;\\n        seen = iteratee ? [] : result;\\n      }\\n      outer:\\n      while (++index < length) {\\n        var value = array[index],\\n            computed = iteratee ? iteratee(value, index, array) : value;\\n\\n        if (isCommon && value === value) {\\n          var seenIndex = seen.length;\\n          while (seenIndex--) {\\n            if (seen[seenIndex] === computed) {\\n              continue outer;\\n            }\\n          }\\n          if (iteratee) {\\n            seen.push(computed);\\n          }\\n          result.push(value);\\n        }\\n        else if (indexOf(seen, computed, 0) < 0) {\\n          if (iteratee || isLarge) {\\n            seen.push(computed);\\n          }\\n          result.push(value);\\n        }\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * The base implementation of `_.values` and `_.valuesIn` which creates an\\n     * array of `object` property values corresponding to the property names\\n     * of `props`.\\n     *\\n     * @private\\n     * @param {Object} object The object to query.\\n     * @param {Array} props The property names to get values for.\\n     * @returns {Object} Returns the array of property values.\\n     */\\n    function baseValues(object, props) {\\n      var index = -1,\\n          length = props.length,\\n          result = Array(length);\\n\\n      while (++index < length) {\\n        result[index] = object[props[index]];\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * The base implementation of `_.dropRightWhile`, `_.dropWhile`, `_.takeRightWhile`,\\n     * and `_.takeWhile` without support for callback shorthands and `this` binding.\\n     *\\n     * @private\\n     * @param {Array} array The array to query.\\n     * @param {Function} predicate The function invoked per iteration.\\n     * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\\n     * @param {boolean} [fromRight] Specify iterating from right to left.\\n     * @returns {Array} Returns the slice of `array`.\\n     */\\n    function baseWhile(array, predicate, isDrop, fromRight) {\\n      var length = array.length,\\n          index = fromRight ? length : -1;\\n\\n      while ((fromRight ? index-- : ++index < length) && predicate(array[index], index, array)) {}\\n      return isDrop\\n        ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\\n        : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\\n    }\\n\\n    /**\\n     * The base implementation of `wrapperValue` which returns the result of\\n     * performing a sequence of actions on the unwrapped `value`, where each\\n     * successive action is supplied the return value of the previous.\\n     *\\n     * @private\\n     * @param {*} value The unwrapped value.\\n     * @param {Array} actions Actions to peform to resolve the unwrapped value.\\n     * @returns {*} Returns the resolved value.\\n     */\\n    function baseWrapperValue(value, actions) {\\n      var result = value;\\n      if (result instanceof LazyWrapper) {\\n        result = result.value();\\n      }\\n      var index = -1,\\n          length = actions.length;\\n\\n      while (++index < length) {\\n        var args = [result],\\n            action = actions[index];\\n\\n        push.apply(args, action.args);\\n        result = action.func.apply(action.thisArg, args);\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Performs a binary search of `array` to determine the index at which `value`\\n     * should be inserted into `array` in order to maintain its sort order.\\n     *\\n     * @private\\n     * @param {Array} array The sorted array to inspect.\\n     * @param {*} value The value to evaluate.\\n     * @param {boolean} [retHighest] Specify returning the highest qualified index.\\n     * @returns {number} Returns the index at which `value` should be inserted\\n     *  into `array`.\\n     */\\n    function binaryIndex(array, value, retHighest) {\\n      var low = 0,\\n          high = array ? array.length : low;\\n\\n      if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\\n        while (low < high) {\\n          var mid = (low + high) >>> 1,\\n              computed = array[mid];\\n\\n          if (retHighest ? (computed <= value) : (computed < value)) {\\n            low = mid + 1;\\n          } else {\\n            high = mid;\\n          }\\n        }\\n        return high;\\n      }\\n      return binaryIndexBy(array, value, identity, retHighest);\\n    }\\n\\n    /**\\n     * This function is like `binaryIndex` except that it invokes `iteratee` for\\n     * `value` and each element of `array` to compute their sort ranking. The\\n     * iteratee is invoked with one argument; (value).\\n     *\\n     * @private\\n     * @param {Array} array The sorted array to inspect.\\n     * @param {*} value The value to evaluate.\\n     * @param {Function} iteratee The function invoked per iteration.\\n     * @param {boolean} [retHighest] Specify returning the highest qualified index.\\n     * @returns {number} Returns the index at which `value` should be inserted\\n     *  into `array`.\\n     */\\n    function binaryIndexBy(array, value, iteratee, retHighest) {\\n      value = iteratee(value);\\n\\n      var low = 0,\\n          high = array ? array.length : 0,\\n          valIsNaN = value !== value,\\n          valIsUndef = value === undefined;\\n\\n      while (low < high) {\\n        var mid = floor((low + high) / 2),\\n            computed = iteratee(array[mid]),\\n            isReflexive = computed === computed;\\n\\n        if (valIsNaN) {\\n          var setLow = isReflexive || retHighest;\\n        } else if (valIsUndef) {\\n          setLow = isReflexive && (retHighest || computed !== undefined);\\n        } else {\\n          setLow = retHighest ? (computed <= value) : (computed < value);\\n        }\\n        if (setLow) {\\n          low = mid + 1;\\n        } else {\\n          high = mid;\\n        }\\n      }\\n      return nativeMin(high, MAX_ARRAY_INDEX);\\n    }\\n\\n    /**\\n     * A specialized version of `baseCallback` which only supports `this` binding\\n     * and specifying the number of arguments to provide to `func`.\\n     *\\n     * @private\\n     * @param {Function} func The function to bind.\\n     * @param {*} thisArg The `this` binding of `func`.\\n     * @param {number} [argCount] The number of arguments to provide to `func`.\\n     * @returns {Function} Returns the callback.\\n     */\\n    function bindCallback(func, thisArg, argCount) {\\n      if (typeof func != 'function') {\\n        return identity;\\n      }\\n      if (thisArg === undefined) {\\n        return func;\\n      }\\n      switch (argCount) {\\n        case 1: return function(value) {\\n          return func.call(thisArg, value);\\n        };\\n        case 3: return function(value, index, collection) {\\n          return func.call(thisArg, value, index, collection);\\n        };\\n        case 4: return function(accumulator, value, index, collection) {\\n          return func.call(thisArg, accumulator, value, index, collection);\\n        };\\n        case 5: return function(value, other, key, object, source) {\\n          return func.call(thisArg, value, other, key, object, source);\\n        };\\n      }\\n      return function() {\\n        return func.apply(thisArg, arguments);\\n      };\\n    }\\n\\n    /**\\n     * Creates a clone of the given array buffer.\\n     *\\n     * @private\\n     * @param {ArrayBuffer} buffer The array buffer to clone.\\n     * @returns {ArrayBuffer} Returns the cloned array buffer.\\n     */\\n    function bufferClone(buffer) {\\n      return bufferSlice.call(buffer, 0);\\n    }\\n    if (!bufferSlice) {\\n      // PhantomJS has `ArrayBuffer` and `Uint8Array` but not `Float64Array`.\\n      bufferClone = !(ArrayBuffer && Uint8Array) ? constant(null) : function(buffer) {\\n        var byteLength = buffer.byteLength,\\n            floatLength = Float64Array ? floor(byteLength / FLOAT64_BYTES_PER_ELEMENT) : 0,\\n            offset = floatLength * FLOAT64_BYTES_PER_ELEMENT,\\n            result = new ArrayBuffer(byteLength);\\n\\n        if (floatLength) {\\n          var view = new Float64Array(result, 0, floatLength);\\n          view.set(new Float64Array(buffer, 0, floatLength));\\n        }\\n        if (byteLength != offset) {\\n          view = new Uint8Array(result, offset);\\n          view.set(new Uint8Array(buffer, offset));\\n        }\\n        return result;\\n      };\\n    }\\n\\n    /**\\n     * Creates an array that is the composition of partially applied arguments,\\n     * placeholders, and provided arguments into a single array of arguments.\\n     *\\n     * @private\\n     * @param {Array|Object} args The provided arguments.\\n     * @param {Array} partials The arguments to prepend to those provided.\\n     * @param {Array} holders The `partials` placeholder indexes.\\n     * @returns {Array} Returns the new array of composed arguments.\\n     */\\n    function composeArgs(args, partials, holders) {\\n      var holdersLength = holders.length,\\n          argsIndex = -1,\\n          argsLength = nativeMax(args.length - holdersLength, 0),\\n          leftIndex = -1,\\n          leftLength = partials.length,\\n          result = Array(argsLength + leftLength);\\n\\n      while (++leftIndex < leftLength) {\\n        result[leftIndex] = partials[leftIndex];\\n      }\\n      while (++argsIndex < holdersLength) {\\n        result[holders[argsIndex]] = args[argsIndex];\\n      }\\n      while (argsLength--) {\\n        result[leftIndex++] = args[argsIndex++];\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * This function is like `composeArgs` except that the arguments composition\\n     * is tailored for `_.partialRight`.\\n     *\\n     * @private\\n     * @param {Array|Object} args The provided arguments.\\n     * @param {Array} partials The arguments to append to those provided.\\n     * @param {Array} holders The `partials` placeholder indexes.\\n     * @returns {Array} Returns the new array of composed arguments.\\n     */\\n    function composeArgsRight(args, partials, holders) {\\n      var holdersIndex = -1,\\n          holdersLength = holders.length,\\n          argsIndex = -1,\\n          argsLength = nativeMax(args.length - holdersLength, 0),\\n          rightIndex = -1,\\n          rightLength = partials.length,\\n          result = Array(argsLength + rightLength);\\n\\n      while (++argsIndex < argsLength) {\\n        result[argsIndex] = args[argsIndex];\\n      }\\n      var offset = argsIndex;\\n      while (++rightIndex < rightLength) {\\n        result[offset + rightIndex] = partials[rightIndex];\\n      }\\n      while (++holdersIndex < holdersLength) {\\n        result[offset + holders[holdersIndex]] = args[argsIndex++];\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Creates a function that aggregates a collection, creating an accumulator\\n     * object composed from the results of running each element in the collection\\n     * through an iteratee.\\n     *\\n     * **Note:** This function is used to create `_.countBy`, `_.groupBy`, `_.indexBy`,\\n     * and `_.partition`.\\n     *\\n     * @private\\n     * @param {Function} setter The function to set keys and values of the accumulator object.\\n     * @param {Function} [initializer] The function to initialize the accumulator object.\\n     * @returns {Function} Returns the new aggregator function.\\n     */\\n    function createAggregator(setter, initializer) {\\n      return function(collection, iteratee, thisArg) {\\n        var result = initializer ? initializer() : {};\\n        iteratee = getCallback(iteratee, thisArg, 3);\\n\\n        if (isArray(collection)) {\\n          var index = -1,\\n              length = collection.length;\\n\\n          while (++index < length) {\\n            var value = collection[index];\\n            setter(result, value, iteratee(value, index, collection), collection);\\n          }\\n        } else {\\n          baseEach(collection, function(value, key, collection) {\\n            setter(result, value, iteratee(value, key, collection), collection);\\n          });\\n        }\\n        return result;\\n      };\\n    }\\n\\n    /**\\n     * Creates a function that assigns properties of source object(s) to a given\\n     * destination object.\\n     *\\n     * **Note:** This function is used to create `_.assign`, `_.defaults`, and `_.merge`.\\n     *\\n     * @private\\n     * @param {Function} assigner The function to assign values.\\n     * @returns {Function} Returns the new assigner function.\\n     */\\n    function createAssigner(assigner) {\\n      return restParam(function(object, sources) {\\n        var index = -1,\\n            length = object == null ? 0 : sources.length,\\n            customizer = length > 2 && sources[length - 2],\\n            guard = length > 2 && sources[2],\\n            thisArg = length > 1 && sources[length - 1];\\n\\n        if (typeof customizer == 'function') {\\n          customizer = bindCallback(customizer, thisArg, 5);\\n          length -= 2;\\n        } else {\\n          customizer = typeof thisArg == 'function' ? thisArg : null;\\n          length -= (customizer ? 1 : 0);\\n        }\\n        if (guard && isIterateeCall(sources[0], sources[1], guard)) {\\n          customizer = length < 3 ? null : customizer;\\n          length = 1;\\n        }\\n        while (++index < length) {\\n          var source = sources[index];\\n          if (source) {\\n            assigner(object, source, customizer);\\n          }\\n        }\\n        return object;\\n      });\\n    }\\n\\n    /**\\n     * Creates a `baseEach` or `baseEachRight` function.\\n     *\\n     * @private\\n     * @param {Function} eachFunc The function to iterate over a collection.\\n     * @param {boolean} [fromRight] Specify iterating from right to left.\\n     * @returns {Function} Returns the new base function.\\n     */\\n    function createBaseEach(eachFunc, fromRight) {\\n      return function(collection, iteratee) {\\n        var length = collection ? getLength(collection) : 0;\\n        if (!isLength(length)) {\\n          return eachFunc(collection, iteratee);\\n        }\\n        var index = fromRight ? length : -1,\\n            iterable = toObject(collection);\\n\\n        while ((fromRight ? index-- : ++index < length)) {\\n          if (iteratee(iterable[index], index, iterable) === false) {\\n            break;\\n          }\\n        }\\n        return collection;\\n      };\\n    }\\n\\n    /**\\n     * Creates a base function for `_.forIn` or `_.forInRight`.\\n     *\\n     * @private\\n     * @param {boolean} [fromRight] Specify iterating from right to left.\\n     * @returns {Function} Returns the new base function.\\n     */\\n    function createBaseFor(fromRight) {\\n      return function(object, iteratee, keysFunc) {\\n        var iterable = toObject(object),\\n            props = keysFunc(object),\\n            length = props.length,\\n            index = fromRight ? length : -1;\\n\\n        while ((fromRight ? index-- : ++index < length)) {\\n          var key = props[index];\\n          if (iteratee(iterable[key], key, iterable) === false) {\\n            break;\\n          }\\n        }\\n        return object;\\n      };\\n    }\\n\\n    /**\\n     * Creates a function that wraps `func` and invokes it with the `this`\\n     * binding of `thisArg`.\\n     *\\n     * @private\\n     * @param {Function} func The function to bind.\\n     * @param {*} [thisArg] The `this` binding of `func`.\\n     * @returns {Function} Returns the new bound function.\\n     */\\n    function createBindWrapper(func, thisArg) {\\n      var Ctor = createCtorWrapper(func);\\n\\n      function wrapper() {\\n        var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\\n        return fn.apply(thisArg, arguments);\\n      }\\n      return wrapper;\\n    }\\n\\n    /**\\n     * Creates a `Set` cache object to optimize linear searches of large arrays.\\n     *\\n     * @private\\n     * @param {Array} [values] The values to cache.\\n     * @returns {null|Object} Returns the new cache object if `Set` is supported, else `null`.\\n     */\\n    var createCache = !(nativeCreate && Set) ? constant(null) : function(values) {\\n      return new SetCache(values);\\n    };\\n\\n    /**\\n     * Creates a function that produces compound words out of the words in a\\n     * given string.\\n     *\\n     * @private\\n     * @param {Function} callback The function to combine each word.\\n     * @returns {Function} Returns the new compounder function.\\n     */\\n    function createCompounder(callback) {\\n      return function(string) {\\n        var index = -1,\\n            array = words(deburr(string)),\\n            length = array.length,\\n            result = '';\\n\\n        while (++index < length) {\\n          result = callback(result, array[index], index);\\n        }\\n        return result;\\n      };\\n    }\\n\\n    /**\\n     * Creates a function that produces an instance of `Ctor` regardless of\\n     * whether it was invoked as part of a `new` expression or by `call` or `apply`.\\n     *\\n     * @private\\n     * @param {Function} Ctor The constructor to wrap.\\n     * @returns {Function} Returns the new wrapped function.\\n     */\\n    function createCtorWrapper(Ctor) {\\n      return function() {\\n        var thisBinding = baseCreate(Ctor.prototype),\\n            result = Ctor.apply(thisBinding, arguments);\\n\\n        // Mimic the constructor's `return` behavior.\\n        // See https://es5.github.io/#x13.2.2 for more details.\\n        return isObject(result) ? result : thisBinding;\\n      };\\n    }\\n\\n    /**\\n     * Creates a `_.curry` or `_.curryRight` function.\\n     *\\n     * @private\\n     * @param {boolean} flag The curry bit flag.\\n     * @returns {Function} Returns the new curry function.\\n     */\\n    function createCurry(flag) {\\n      function curryFunc(func, arity, guard) {\\n        if (guard && isIterateeCall(func, arity, guard)) {\\n          arity = null;\\n        }\\n        var result = createWrapper(func, flag, null, null, null, null, null, arity);\\n        result.placeholder = curryFunc.placeholder;\\n        return result;\\n      }\\n      return curryFunc;\\n    }\\n\\n    /**\\n     * Creates a `_.max` or `_.min` function.\\n     *\\n     * @private\\n     * @param {Function} arrayFunc The function to get the extremum value from an array.\\n     * @param {boolean} [isMin] Specify returning the minimum, instead of the maximum,\\n     *  extremum value.\\n     * @returns {Function} Returns the new extremum function.\\n     */\\n    function createExtremum(arrayFunc, isMin) {\\n      return function(collection, iteratee, thisArg) {\\n        if (thisArg && isIterateeCall(collection, iteratee, thisArg)) {\\n          iteratee = null;\\n        }\\n        var func = getCallback(),\\n            noIteratee = iteratee == null;\\n\\n        if (!(func === baseCallback && noIteratee)) {\\n          noIteratee = false;\\n          iteratee = func(iteratee, thisArg, 3);\\n        }\\n        if (noIteratee) {\\n          var isArr = isArray(collection);\\n          if (!isArr && isString(collection)) {\\n            iteratee = charAtCallback;\\n          } else {\\n            return arrayFunc(isArr ? collection : toIterable(collection));\\n          }\\n        }\\n        return extremumBy(collection, iteratee, isMin);\\n      };\\n    }\\n\\n    /**\\n     * Creates a `_.find` or `_.findLast` function.\\n     *\\n     * @private\\n     * @param {Function} eachFunc The function to iterate over a collection.\\n     * @param {boolean} [fromRight] Specify iterating from right to left.\\n     * @returns {Function} Returns the new find function.\\n     */\\n    function createFind(eachFunc, fromRight) {\\n      return function(collection, predicate, thisArg) {\\n        predicate = getCallback(predicate, thisArg, 3);\\n        if (isArray(collection)) {\\n          var index = baseFindIndex(collection, predicate, fromRight);\\n          return index > -1 ? collection[index] : undefined;\\n        }\\n        return baseFind(collection, predicate, eachFunc);\\n      };\\n    }\\n\\n    /**\\n     * Creates a `_.findIndex` or `_.findLastIndex` function.\\n     *\\n     * @private\\n     * @param {boolean} [fromRight] Specify iterating from right to left.\\n     * @returns {Function} Returns the new find function.\\n     */\\n    function createFindIndex(fromRight) {\\n      return function(array, predicate, thisArg) {\\n        if (!(array && array.length)) {\\n          return -1;\\n        }\\n        predicate = getCallback(predicate, thisArg, 3);\\n        return baseFindIndex(array, predicate, fromRight);\\n      };\\n    }\\n\\n    /**\\n     * Creates a `_.findKey` or `_.findLastKey` function.\\n     *\\n     * @private\\n     * @param {Function} objectFunc The function to iterate over an object.\\n     * @returns {Function} Returns the new find function.\\n     */\\n    function createFindKey(objectFunc) {\\n      return function(object, predicate, thisArg) {\\n        predicate = getCallback(predicate, thisArg, 3);\\n        return baseFind(object, predicate, objectFunc, true);\\n      };\\n    }\\n\\n    /**\\n     * Creates a `_.flow` or `_.flowRight` function.\\n     *\\n     * @private\\n     * @param {boolean} [fromRight] Specify iterating from right to left.\\n     * @returns {Function} Returns the new flow function.\\n     */\\n    function createFlow(fromRight) {\\n      return function() {\\n        var length = arguments.length;\\n        if (!length) {\\n          return function() { return arguments[0]; };\\n        }\\n        var wrapper,\\n            index = fromRight ? length : -1,\\n            leftIndex = 0,\\n            funcs = Array(length);\\n\\n        while ((fromRight ? index-- : ++index < length)) {\\n          var func = funcs[leftIndex++] = arguments[index];\\n          if (typeof func != 'function') {\\n            throw new TypeError(FUNC_ERROR_TEXT);\\n          }\\n          var funcName = wrapper ? '' : getFuncName(func);\\n          wrapper = funcName == 'wrapper' ? new LodashWrapper([]) : wrapper;\\n        }\\n        index = wrapper ? -1 : length;\\n        while (++index < length) {\\n          func = funcs[index];\\n          funcName = getFuncName(func);\\n\\n          var data = funcName == 'wrapper' ? getData(func) : null;\\n          if (data && isLaziable(data[0]) && data[1] == (ARY_FLAG | CURRY_FLAG | PARTIAL_FLAG | REARG_FLAG) && !data[4].length && data[9] == 1) {\\n            wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\\n          } else {\\n            wrapper = (func.length == 1 && isLaziable(func)) ? wrapper[funcName]() : wrapper.thru(func);\\n          }\\n        }\\n        return function() {\\n          var args = arguments;\\n          if (wrapper && args.length == 1 && isArray(args[0])) {\\n            return wrapper.plant(args[0]).value();\\n          }\\n          var index = 0,\\n              result = funcs[index].apply(this, args);\\n\\n          while (++index < length) {\\n            result = funcs[index].call(this, result);\\n          }\\n          return result;\\n        };\\n      };\\n    }\\n\\n    /**\\n     * Creates a function for `_.forEach` or `_.forEachRight`.\\n     *\\n     * @private\\n     * @param {Function} arrayFunc The function to iterate over an array.\\n     * @param {Function} eachFunc The function to iterate over a collection.\\n     * @returns {Function} Returns the new each function.\\n     */\\n    function createForEach(arrayFunc, eachFunc) {\\n      return function(collection, iteratee, thisArg) {\\n        return (typeof iteratee == 'function' && thisArg === undefined && isArray(collection))\\n          ? arrayFunc(collection, iteratee)\\n          : eachFunc(collection, bindCallback(iteratee, thisArg, 3));\\n      };\\n    }\\n\\n    /**\\n     * Creates a function for `_.forIn` or `_.forInRight`.\\n     *\\n     * @private\\n     * @param {Function} objectFunc The function to iterate over an object.\\n     * @returns {Function} Returns the new each function.\\n     */\\n    function createForIn(objectFunc) {\\n      return function(object, iteratee, thisArg) {\\n        if (typeof iteratee != 'function' || thisArg !== undefined) {\\n          iteratee = bindCallback(iteratee, thisArg, 3);\\n        }\\n        return objectFunc(object, iteratee, keysIn);\\n      };\\n    }\\n\\n    /**\\n     * Creates a function for `_.forOwn` or `_.forOwnRight`.\\n     *\\n     * @private\\n     * @param {Function} objectFunc The function to iterate over an object.\\n     * @returns {Function} Returns the new each function.\\n     */\\n    function createForOwn(objectFunc) {\\n      return function(object, iteratee, thisArg) {\\n        if (typeof iteratee != 'function' || thisArg !== undefined) {\\n          iteratee = bindCallback(iteratee, thisArg, 3);\\n        }\\n        return objectFunc(object, iteratee);\\n      };\\n    }\\n\\n    /**\\n     * Creates a function for `_.mapKeys` or `_.mapValues`.\\n     *\\n     * @private\\n     * @param {boolean} [isMapKeys] Specify mapping keys instead of values.\\n     * @returns {Function} Returns the new map function.\\n     */\\n    function createObjectMapper(isMapKeys) {\\n      return function(object, iteratee, thisArg) {\\n        var result = {};\\n        iteratee = getCallback(iteratee, thisArg, 3);\\n\\n        baseForOwn(object, function(value, key, object) {\\n          var mapped = iteratee(value, key, object);\\n          key = isMapKeys ? mapped : key;\\n          value = isMapKeys ? value : mapped;\\n          result[key] = value;\\n        });\\n        return result;\\n      };\\n    }\\n\\n    /**\\n     * Creates a function for `_.padLeft` or `_.padRight`.\\n     *\\n     * @private\\n     * @param {boolean} [fromRight] Specify padding from the right.\\n     * @returns {Function} Returns the new pad function.\\n     */\\n    function createPadDir(fromRight) {\\n      return function(string, length, chars) {\\n        string = baseToString(string);\\n        return (fromRight ? string : '') + createPadding(string, length, chars) + (fromRight ? '' : string);\\n      };\\n    }\\n\\n    /**\\n     * Creates a `_.partial` or `_.partialRight` function.\\n     *\\n     * @private\\n     * @param {boolean} flag The partial bit flag.\\n     * @returns {Function} Returns the new partial function.\\n     */\\n    function createPartial(flag) {\\n      var partialFunc = restParam(function(func, partials) {\\n        var holders = replaceHolders(partials, partialFunc.placeholder);\\n        return createWrapper(func, flag, null, partials, holders);\\n      });\\n      return partialFunc;\\n    }\\n\\n    /**\\n     * Creates a function for `_.reduce` or `_.reduceRight`.\\n     *\\n     * @private\\n     * @param {Function} arrayFunc The function to iterate over an array.\\n     * @param {Function} eachFunc The function to iterate over a collection.\\n     * @returns {Function} Returns the new each function.\\n     */\\n    function createReduce(arrayFunc, eachFunc) {\\n      return function(collection, iteratee, accumulator, thisArg) {\\n        var initFromArray = arguments.length < 3;\\n        return (typeof iteratee == 'function' && thisArg === undefined && isArray(collection))\\n          ? arrayFunc(collection, iteratee, accumulator, initFromArray)\\n          : baseReduce(collection, getCallback(iteratee, thisArg, 4), accumulator, initFromArray, eachFunc);\\n      };\\n    }\\n\\n    /**\\n     * Creates a function that wraps `func` and invokes it with optional `this`\\n     * binding of, partial application, and currying.\\n     *\\n     * @private\\n     * @param {Function|string} func The function or method name to reference.\\n     * @param {number} bitmask The bitmask of flags. See `createWrapper` for more details.\\n     * @param {*} [thisArg] The `this` binding of `func`.\\n     * @param {Array} [partials] The arguments to prepend to those provided to the new function.\\n     * @param {Array} [holders] The `partials` placeholder indexes.\\n     * @param {Array} [partialsRight] The arguments to append to those provided to the new function.\\n     * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\\n     * @param {Array} [argPos] The argument positions of the new function.\\n     * @param {number} [ary] The arity cap of `func`.\\n     * @param {number} [arity] The arity of `func`.\\n     * @returns {Function} Returns the new wrapped function.\\n     */\\n    function createHybridWrapper(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\\n      var isAry = bitmask & ARY_FLAG,\\n          isBind = bitmask & BIND_FLAG,\\n          isBindKey = bitmask & BIND_KEY_FLAG,\\n          isCurry = bitmask & CURRY_FLAG,\\n          isCurryBound = bitmask & CURRY_BOUND_FLAG,\\n          isCurryRight = bitmask & CURRY_RIGHT_FLAG;\\n\\n      var Ctor = !isBindKey && createCtorWrapper(func),\\n          key = func;\\n\\n      function wrapper() {\\n        // Avoid `arguments` object use disqualifying optimizations by\\n        // converting it to an array before providing it to other functions.\\n        var length = arguments.length,\\n            index = length,\\n            args = Array(length);\\n\\n        while (index--) {\\n          args[index] = arguments[index];\\n        }\\n        if (partials) {\\n          args = composeArgs(args, partials, holders);\\n        }\\n        if (partialsRight) {\\n          args = composeArgsRight(args, partialsRight, holdersRight);\\n        }\\n        if (isCurry || isCurryRight) {\\n          var placeholder = wrapper.placeholder,\\n              argsHolders = replaceHolders(args, placeholder);\\n\\n          length -= argsHolders.length;\\n          if (length < arity) {\\n            var newArgPos = argPos ? arrayCopy(argPos) : null,\\n                newArity = nativeMax(arity - length, 0),\\n                newsHolders = isCurry ? argsHolders : null,\\n                newHoldersRight = isCurry ? null : argsHolders,\\n                newPartials = isCurry ? args : null,\\n                newPartialsRight = isCurry ? null : args;\\n\\n            bitmask |= (isCurry ? PARTIAL_FLAG : PARTIAL_RIGHT_FLAG);\\n            bitmask &= ~(isCurry ? PARTIAL_RIGHT_FLAG : PARTIAL_FLAG);\\n\\n            if (!isCurryBound) {\\n              bitmask &= ~(BIND_FLAG | BIND_KEY_FLAG);\\n            }\\n            var newData = [func, bitmask, thisArg, newPartials, newsHolders, newPartialsRight, newHoldersRight, newArgPos, ary, newArity],\\n                result = createHybridWrapper.apply(undefined, newData);\\n\\n            if (isLaziable(func)) {\\n              setData(result, newData);\\n            }\\n            result.placeholder = placeholder;\\n            return result;\\n          }\\n        }\\n        var thisBinding = isBind ? thisArg : this;\\n        if (isBindKey) {\\n          func = thisBinding[key];\\n        }\\n        if (argPos) {\\n          args = reorder(args, argPos);\\n        }\\n        if (isAry && ary < args.length) {\\n          args.length = ary;\\n        }\\n        var fn = (this && this !== root && this instanceof wrapper) ? (Ctor || createCtorWrapper(func)) : func;\\n        return fn.apply(thisBinding, args);\\n      }\\n      return wrapper;\\n    }\\n\\n    /**\\n     * Creates the padding required for `string` based on the given `length`.\\n     * The `chars` string is truncated if the number of characters exceeds `length`.\\n     *\\n     * @private\\n     * @param {string} string The string to create padding for.\\n     * @param {number} [length=0] The padding length.\\n     * @param {string} [chars=' '] The string used as padding.\\n     * @returns {string} Returns the pad for `string`.\\n     */\\n    function createPadding(string, length, chars) {\\n      var strLength = string.length;\\n      length = +length;\\n\\n      if (strLength >= length || !nativeIsFinite(length)) {\\n        return '';\\n      }\\n      var padLength = length - strLength;\\n      chars = chars == null ? ' ' : (chars + '');\\n      return repeat(chars, ceil(padLength / chars.length)).slice(0, padLength);\\n    }\\n\\n    /**\\n     * Creates a function that wraps `func` and invokes it with the optional `this`\\n     * binding of `thisArg` and the `partials` prepended to those provided to\\n     * the wrapper.\\n     *\\n     * @private\\n     * @param {Function} func The function to partially apply arguments to.\\n     * @param {number} bitmask The bitmask of flags. See `createWrapper` for more details.\\n     * @param {*} thisArg The `this` binding of `func`.\\n     * @param {Array} partials The arguments to prepend to those provided to the new function.\\n     * @returns {Function} Returns the new bound function.\\n     */\\n    function createPartialWrapper(func, bitmask, thisArg, partials) {\\n      var isBind = bitmask & BIND_FLAG,\\n          Ctor = createCtorWrapper(func);\\n\\n      function wrapper() {\\n        // Avoid `arguments` object use disqualifying optimizations by\\n        // converting it to an array before providing it `func`.\\n        var argsIndex = -1,\\n            argsLength = arguments.length,\\n            leftIndex = -1,\\n            leftLength = partials.length,\\n            args = Array(argsLength + leftLength);\\n\\n        while (++leftIndex < leftLength) {\\n          args[leftIndex] = partials[leftIndex];\\n        }\\n        while (argsLength--) {\\n          args[leftIndex++] = arguments[++argsIndex];\\n        }\\n        var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\\n        return fn.apply(isBind ? thisArg : this, args);\\n      }\\n      return wrapper;\\n    }\\n\\n    /**\\n     * Creates a `_.sortedIndex` or `_.sortedLastIndex` function.\\n     *\\n     * @private\\n     * @param {boolean} [retHighest] Specify returning the highest qualified index.\\n     * @returns {Function} Returns the new index function.\\n     */\\n    function createSortedIndex(retHighest) {\\n      return function(array, value, iteratee, thisArg) {\\n        var func = getCallback(iteratee);\\n        return (func === baseCallback && iteratee == null)\\n          ? binaryIndex(array, value, retHighest)\\n          : binaryIndexBy(array, value, func(iteratee, thisArg, 1), retHighest);\\n      };\\n    }\\n\\n    /**\\n     * Creates a function that either curries or invokes `func` with optional\\n     * `this` binding and partially applied arguments.\\n     *\\n     * @private\\n     * @param {Function|string} func The function or method name to reference.\\n     * @param {number} bitmask The bitmask of flags.\\n     *  The bitmask may be composed of the following flags:\\n     *     1 - `_.bind`\\n     *     2 - `_.bindKey`\\n     *     4 - `_.curry` or `_.curryRight` of a bound function\\n     *     8 - `_.curry`\\n     *    16 - `_.curryRight`\\n     *    32 - `_.partial`\\n     *    64 - `_.partialRight`\\n     *   128 - `_.rearg`\\n     *   256 - `_.ary`\\n     * @param {*} [thisArg] The `this` binding of `func`.\\n     * @param {Array} [partials] The arguments to be partially applied.\\n     * @param {Array} [holders] The `partials` placeholder indexes.\\n     * @param {Array} [argPos] The argument positions of the new function.\\n     * @param {number} [ary] The arity cap of `func`.\\n     * @param {number} [arity] The arity of `func`.\\n     * @returns {Function} Returns the new wrapped function.\\n     */\\n    function createWrapper(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\\n      var isBindKey = bitmask & BIND_KEY_FLAG;\\n      if (!isBindKey && typeof func != 'function') {\\n        throw new TypeError(FUNC_ERROR_TEXT);\\n      }\\n      var length = partials ? partials.length : 0;\\n      if (!length) {\\n        bitmask &= ~(PARTIAL_FLAG | PARTIAL_RIGHT_FLAG);\\n        partials = holders = null;\\n      }\\n      length -= (holders ? holders.length : 0);\\n      if (bitmask & PARTIAL_RIGHT_FLAG) {\\n        var partialsRight = partials,\\n            holdersRight = holders;\\n\\n        partials = holders = null;\\n      }\\n      var data = isBindKey ? null : getData(func),\\n          newData = [func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity];\\n\\n      if (data) {\\n        mergeData(newData, data);\\n        bitmask = newData[1];\\n        arity = newData[9];\\n      }\\n      newData[9] = arity == null\\n        ? (isBindKey ? 0 : func.length)\\n        : (nativeMax(arity - length, 0) || 0);\\n\\n      if (bitmask == BIND_FLAG) {\\n        var result = createBindWrapper(newData[0], newData[2]);\\n      } else if ((bitmask == PARTIAL_FLAG || bitmask == (BIND_FLAG | PARTIAL_FLAG)) && !newData[4].length) {\\n        result = createPartialWrapper.apply(undefined, newData);\\n      } else {\\n        result = createHybridWrapper.apply(undefined, newData);\\n      }\\n      var setter = data ? baseSetData : setData;\\n      return setter(result, newData);\\n    }\\n\\n    /**\\n     * A specialized version of `baseIsEqualDeep` for arrays with support for\\n     * partial deep comparisons.\\n     *\\n     * @private\\n     * @param {Array} array The array to compare.\\n     * @param {Array} other The other array to compare.\\n     * @param {Function} equalFunc The function to determine equivalents of values.\\n     * @param {Function} [customizer] The function to customize comparing arrays.\\n     * @param {boolean} [isLoose] Specify performing partial comparisons.\\n     * @param {Array} [stackA] Tracks traversed `value` objects.\\n     * @param {Array} [stackB] Tracks traversed `other` objects.\\n     * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\\n     */\\n    function equalArrays(array, other, equalFunc, customizer, isLoose, stackA, stackB) {\\n      var index = -1,\\n          arrLength = array.length,\\n          othLength = other.length,\\n          result = true;\\n\\n      if (arrLength != othLength && !(isLoose && othLength > arrLength)) {\\n        return false;\\n      }\\n      // Deep compare the contents, ignoring non-numeric properties.\\n      while (result && ++index < arrLength) {\\n        var arrValue = array[index],\\n            othValue = other[index];\\n\\n        result = undefined;\\n        if (customizer) {\\n          result = isLoose\\n            ? customizer(othValue, arrValue, index)\\n            : customizer(arrValue, othValue, index);\\n        }\\n        if (result === undefined) {\\n          // Recursively compare arrays (susceptible to call stack limits).\\n          if (isLoose) {\\n            var othIndex = othLength;\\n            while (othIndex--) {\\n              othValue = other[othIndex];\\n              result = (arrValue && arrValue === othValue) || equalFunc(arrValue, othValue, customizer, isLoose, stackA, stackB);\\n              if (result) {\\n                break;\\n              }\\n            }\\n          } else {\\n            result = (arrValue && arrValue === othValue) || equalFunc(arrValue, othValue, customizer, isLoose, stackA, stackB);\\n          }\\n        }\\n      }\\n      return !!result;\\n    }\\n\\n    /**\\n     * A specialized version of `baseIsEqualDeep` for comparing objects of\\n     * the same `toStringTag`.\\n     *\\n     * **Note:** This function only supports comparing values with tags of\\n     * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\\n     *\\n     * @private\\n     * @param {Object} value The object to compare.\\n     * @param {Object} other The other object to compare.\\n     * @param {string} tag The `toStringTag` of the objects to compare.\\n     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\\n     */\\n    function equalByTag(object, other, tag) {\\n      switch (tag) {\\n        case boolTag:\\n        case dateTag:\\n          // Coerce dates and booleans to numbers, dates to milliseconds and booleans\\n          // to `1` or `0` treating invalid dates coerced to `NaN` as not equal.\\n          return +object == +other;\\n\\n        case errorTag:\\n          return object.name == other.name && object.message == other.message;\\n\\n        case numberTag:\\n          // Treat `NaN` vs. `NaN` as equal.\\n          return (object != +object)\\n            ? other != +other\\n            : object == +other;\\n\\n        case regexpTag:\\n        case stringTag:\\n          // Coerce regexes to strings and treat strings primitives and string\\n          // objects as equal. See https://es5.github.io/#x15.10.6.4 for more details.\\n          return object == (other + '');\\n      }\\n      return false;\\n    }\\n\\n    /**\\n     * A specialized version of `baseIsEqualDeep` for objects with support for\\n     * partial deep comparisons.\\n     *\\n     * @private\\n     * @param {Object} object The object to compare.\\n     * @param {Object} other The other object to compare.\\n     * @param {Function} equalFunc The function to determine equivalents of values.\\n     * @param {Function} [customizer] The function to customize comparing values.\\n     * @param {boolean} [isLoose] Specify performing partial comparisons.\\n     * @param {Array} [stackA] Tracks traversed `value` objects.\\n     * @param {Array} [stackB] Tracks traversed `other` objects.\\n     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\\n     */\\n    function equalObjects(object, other, equalFunc, customizer, isLoose, stackA, stackB) {\\n      var objProps = keys(object),\\n          objLength = objProps.length,\\n          othProps = keys(other),\\n          othLength = othProps.length;\\n\\n      if (objLength != othLength && !isLoose) {\\n        return false;\\n      }\\n      var skipCtor = isLoose,\\n          index = -1;\\n\\n      while (++index < objLength) {\\n        var key = objProps[index],\\n            result = isLoose ? key in other : hasOwnProperty.call(other, key);\\n\\n        if (result) {\\n          var objValue = object[key],\\n              othValue = other[key];\\n\\n          result = undefined;\\n          if (customizer) {\\n            result = isLoose\\n              ? customizer(othValue, objValue, key)\\n              : customizer(objValue, othValue, key);\\n          }\\n          if (result === undefined) {\\n            // Recursively compare objects (susceptible to call stack limits).\\n            result = (objValue && objValue === othValue) || equalFunc(objValue, othValue, customizer, isLoose, stackA, stackB);\\n          }\\n        }\\n        if (!result) {\\n          return false;\\n        }\\n        skipCtor || (skipCtor = key == 'constructor');\\n      }\\n      if (!skipCtor) {\\n        var objCtor = object.constructor,\\n            othCtor = other.constructor;\\n\\n        // Non `Object` object instances with different constructors are not equal.\\n        if (objCtor != othCtor &&\\n            ('constructor' in object && 'constructor' in other) &&\\n            !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\\n              typeof othCtor == 'function' && othCtor instanceof othCtor)) {\\n          return false;\\n        }\\n      }\\n      return true;\\n    }\\n\\n    /**\\n     * Gets the extremum value of `collection` invoking `iteratee` for each value\\n     * in `collection` to generate the criterion by which the value is ranked.\\n     * The `iteratee` is invoked with three arguments: (value, index, collection).\\n     *\\n     * @private\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function} iteratee The function invoked per iteration.\\n     * @param {boolean} [isMin] Specify returning the minimum, instead of the\\n     *  maximum, extremum value.\\n     * @returns {*} Returns the extremum value.\\n     */\\n    function extremumBy(collection, iteratee, isMin) {\\n      var exValue = isMin ? POSITIVE_INFINITY : NEGATIVE_INFINITY,\\n          computed = exValue,\\n          result = computed;\\n\\n      baseEach(collection, function(value, index, collection) {\\n        var current = iteratee(value, index, collection);\\n        if ((isMin ? (current < computed) : (current > computed)) ||\\n            (current === exValue && current === result)) {\\n          computed = current;\\n          result = value;\\n        }\\n      });\\n      return result;\\n    }\\n\\n    /**\\n     * Gets the appropriate \\\"callback\\\" function. If the `_.callback` method is\\n     * customized this function returns the custom method, otherwise it returns\\n     * the `baseCallback` function. If arguments are provided the chosen function\\n     * is invoked with them and its result is returned.\\n     *\\n     * @private\\n     * @returns {Function} Returns the chosen function or its result.\\n     */\\n    function getCallback(func, thisArg, argCount) {\\n      var result = lodash.callback || callback;\\n      result = result === callback ? baseCallback : result;\\n      return argCount ? result(func, thisArg, argCount) : result;\\n    }\\n\\n    /**\\n     * Gets metadata for `func`.\\n     *\\n     * @private\\n     * @param {Function} func The function to query.\\n     * @returns {*} Returns the metadata for `func`.\\n     */\\n    var getData = !metaMap ? noop : function(func) {\\n      return metaMap.get(func);\\n    };\\n\\n    /**\\n     * Gets the name of `func`.\\n     *\\n     * @private\\n     * @param {Function} func The function to query.\\n     * @returns {string} Returns the function name.\\n     */\\n    var getFuncName = (function() {\\n      if (!support.funcNames) {\\n        return constant('');\\n      }\\n      if (constant.name == 'constant') {\\n        return baseProperty('name');\\n      }\\n      return function(func) {\\n        var result = func.name,\\n            array = realNames[result],\\n            length = array ? array.length : 0;\\n\\n        while (length--) {\\n          var data = array[length],\\n              otherFunc = data.func;\\n\\n          if (otherFunc == null || otherFunc == func) {\\n            return data.name;\\n          }\\n        }\\n        return result;\\n      };\\n    }());\\n\\n    /**\\n     * Gets the appropriate \\\"indexOf\\\" function. If the `_.indexOf` method is\\n     * customized this function returns the custom method, otherwise it returns\\n     * the `baseIndexOf` function. If arguments are provided the chosen function\\n     * is invoked with them and its result is returned.\\n     *\\n     * @private\\n     * @returns {Function|number} Returns the chosen function or its result.\\n     */\\n    function getIndexOf(collection, target, fromIndex) {\\n      var result = lodash.indexOf || indexOf;\\n      result = result === indexOf ? baseIndexOf : result;\\n      return collection ? result(collection, target, fromIndex) : result;\\n    }\\n\\n    /**\\n     * Gets the \\\"length\\\" property value of `object`.\\n     *\\n     * **Note:** This function is used to avoid a [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792)\\n     * that affects Safari on at least iOS 8.1-8.3 ARM64.\\n     *\\n     * @private\\n     * @param {Object} object The object to query.\\n     * @returns {*} Returns the \\\"length\\\" value.\\n     */\\n    var getLength = baseProperty('length');\\n\\n    /**\\n     * Creates an array of the own symbols of `object`.\\n     *\\n     * @private\\n     * @param {Object} object The object to query.\\n     * @returns {Array} Returns the array of symbols.\\n     */\\n    var getSymbols = !getOwnPropertySymbols ? constant([]) : function(object) {\\n      return getOwnPropertySymbols(toObject(object));\\n    };\\n\\n    /**\\n     * Gets the view, applying any `transforms` to the `start` and `end` positions.\\n     *\\n     * @private\\n     * @param {number} start The start of the view.\\n     * @param {number} end The end of the view.\\n     * @param {Array} [transforms] The transformations to apply to the view.\\n     * @returns {Object} Returns an object containing the `start` and `end`\\n     *  positions of the view.\\n     */\\n    function getView(start, end, transforms) {\\n      var index = -1,\\n          length = transforms ? transforms.length : 0;\\n\\n      while (++index < length) {\\n        var data = transforms[index],\\n            size = data.size;\\n\\n        switch (data.type) {\\n          case 'drop':      start += size; break;\\n          case 'dropRight': end -= size; break;\\n          case 'take':      end = nativeMin(end, start + size); break;\\n          case 'takeRight': start = nativeMax(start, end - size); break;\\n        }\\n      }\\n      return { 'start': start, 'end': end };\\n    }\\n\\n    /**\\n     * Initializes an array clone.\\n     *\\n     * @private\\n     * @param {Array} array The array to clone.\\n     * @returns {Array} Returns the initialized clone.\\n     */\\n    function initCloneArray(array) {\\n      var length = array.length,\\n          result = new array.constructor(length);\\n\\n      // Add array properties assigned by `RegExp#exec`.\\n      if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\\n        result.index = array.index;\\n        result.input = array.input;\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Initializes an object clone.\\n     *\\n     * @private\\n     * @param {Object} object The object to clone.\\n     * @returns {Object} Returns the initialized clone.\\n     */\\n    function initCloneObject(object) {\\n      var Ctor = object.constructor;\\n      if (!(typeof Ctor == 'function' && Ctor instanceof Ctor)) {\\n        Ctor = Object;\\n      }\\n      return new Ctor;\\n    }\\n\\n    /**\\n     * Initializes an object clone based on its `toStringTag`.\\n     *\\n     * **Note:** This function only supports cloning values with tags of\\n     * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\\n     *\\n     * @private\\n     * @param {Object} object The object to clone.\\n     * @param {string} tag The `toStringTag` of the object to clone.\\n     * @param {boolean} [isDeep] Specify a deep clone.\\n     * @returns {Object} Returns the initialized clone.\\n     */\\n    function initCloneByTag(object, tag, isDeep) {\\n      var Ctor = object.constructor;\\n      switch (tag) {\\n        case arrayBufferTag:\\n          return bufferClone(object);\\n\\n        case boolTag:\\n        case dateTag:\\n          return new Ctor(+object);\\n\\n        case float32Tag: case float64Tag:\\n        case int8Tag: case int16Tag: case int32Tag:\\n        case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\\n          var buffer = object.buffer;\\n          return new Ctor(isDeep ? bufferClone(buffer) : buffer, object.byteOffset, object.length);\\n\\n        case numberTag:\\n        case stringTag:\\n          return new Ctor(object);\\n\\n        case regexpTag:\\n          var result = new Ctor(object.source, reFlags.exec(object));\\n          result.lastIndex = object.lastIndex;\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Invokes the method at `path` on `object`.\\n     *\\n     * @private\\n     * @param {Object} object The object to query.\\n     * @param {Array|string} path The path of the method to invoke.\\n     * @param {Array} args The arguments to invoke the method with.\\n     * @returns {*} Returns the result of the invoked method.\\n     */\\n    function invokePath(object, path, args) {\\n      if (object != null && !isKey(path, object)) {\\n        path = toPath(path);\\n        object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\\n        path = last(path);\\n      }\\n      var func = object == null ? object : object[path];\\n      return func == null ? undefined : func.apply(object, args);\\n    }\\n\\n    /**\\n     * Checks if `value` is array-like.\\n     *\\n     * @private\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\\n     */\\n    function isArrayLike(value) {\\n      return value != null && isLength(getLength(value));\\n    }\\n\\n    /**\\n     * Checks if `value` is a valid array-like index.\\n     *\\n     * @private\\n     * @param {*} value The value to check.\\n     * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\\n     * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\\n     */\\n    function isIndex(value, length) {\\n      value = +value;\\n      length = length == null ? MAX_SAFE_INTEGER : length;\\n      return value > -1 && value % 1 == 0 && value < length;\\n    }\\n\\n    /**\\n     * Checks if the provided arguments are from an iteratee call.\\n     *\\n     * @private\\n     * @param {*} value The potential iteratee value argument.\\n     * @param {*} index The potential iteratee index or key argument.\\n     * @param {*} object The potential iteratee object argument.\\n     * @returns {boolean} Returns `true` if the arguments are from an iteratee call, else `false`.\\n     */\\n    function isIterateeCall(value, index, object) {\\n      if (!isObject(object)) {\\n        return false;\\n      }\\n      var type = typeof index;\\n      if (type == 'number'\\n          ? (isArrayLike(object) && isIndex(index, object.length))\\n          : (type == 'string' && index in object)) {\\n        var other = object[index];\\n        return value === value ? (value === other) : (other !== other);\\n      }\\n      return false;\\n    }\\n\\n    /**\\n     * Checks if `value` is a property name and not a property path.\\n     *\\n     * @private\\n     * @param {*} value The value to check.\\n     * @param {Object} [object] The object to query keys on.\\n     * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\\n     */\\n    function isKey(value, object) {\\n      var type = typeof value;\\n      if ((type == 'string' && reIsPlainProp.test(value)) || type == 'number') {\\n        return true;\\n      }\\n      if (isArray(value)) {\\n        return false;\\n      }\\n      var result = !reIsDeepProp.test(value);\\n      return result || (object != null && value in toObject(object));\\n    }\\n\\n    /**\\n     * Checks if `func` has a lazy counterpart.\\n     *\\n     * @private\\n     * @param {Function} func The function to check.\\n     * @returns {boolean} Returns `true` if `func` has a lazy counterpart, else `false`.\\n     */\\n    function isLaziable(func) {\\n      var funcName = getFuncName(func);\\n      return !!funcName && func === lodash[funcName] && funcName in LazyWrapper.prototype;\\n    }\\n\\n    /**\\n     * Checks if `value` is a valid array-like length.\\n     *\\n     * **Note:** This function is based on [`ToLength`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength).\\n     *\\n     * @private\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\\n     */\\n    function isLength(value) {\\n      return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\\n    }\\n\\n    /**\\n     * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\\n     *\\n     * @private\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` if suitable for strict\\n     *  equality comparisons, else `false`.\\n     */\\n    function isStrictComparable(value) {\\n      return value === value && !isObject(value);\\n    }\\n\\n    /**\\n     * Merges the function metadata of `source` into `data`.\\n     *\\n     * Merging metadata reduces the number of wrappers required to invoke a function.\\n     * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\\n     * may be applied regardless of execution order. Methods like `_.ary` and `_.rearg`\\n     * augment function arguments, making the order in which they are executed important,\\n     * preventing the merging of metadata. However, we make an exception for a safe\\n     * common case where curried functions have `_.ary` and or `_.rearg` applied.\\n     *\\n     * @private\\n     * @param {Array} data The destination metadata.\\n     * @param {Array} source The source metadata.\\n     * @returns {Array} Returns `data`.\\n     */\\n    function mergeData(data, source) {\\n      var bitmask = data[1],\\n          srcBitmask = source[1],\\n          newBitmask = bitmask | srcBitmask,\\n          isCommon = newBitmask < ARY_FLAG;\\n\\n      var isCombo =\\n        (srcBitmask == ARY_FLAG && bitmask == CURRY_FLAG) ||\\n        (srcBitmask == ARY_FLAG && bitmask == REARG_FLAG && data[7].length <= source[8]) ||\\n        (srcBitmask == (ARY_FLAG | REARG_FLAG) && bitmask == CURRY_FLAG);\\n\\n      // Exit early if metadata can't be merged.\\n      if (!(isCommon || isCombo)) {\\n        return data;\\n      }\\n      // Use source `thisArg` if available.\\n      if (srcBitmask & BIND_FLAG) {\\n        data[2] = source[2];\\n        // Set when currying a bound function.\\n        newBitmask |= (bitmask & BIND_FLAG) ? 0 : CURRY_BOUND_FLAG;\\n      }\\n      // Compose partial arguments.\\n      var value = source[3];\\n      if (value) {\\n        var partials = data[3];\\n        data[3] = partials ? composeArgs(partials, value, source[4]) : arrayCopy(value);\\n        data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : arrayCopy(source[4]);\\n      }\\n      // Compose partial right arguments.\\n      value = source[5];\\n      if (value) {\\n        partials = data[5];\\n        data[5] = partials ? composeArgsRight(partials, value, source[6]) : arrayCopy(value);\\n        data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : arrayCopy(source[6]);\\n      }\\n      // Use source `argPos` if available.\\n      value = source[7];\\n      if (value) {\\n        data[7] = arrayCopy(value);\\n      }\\n      // Use source `ary` if it's smaller.\\n      if (srcBitmask & ARY_FLAG) {\\n        data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\\n      }\\n      // Use source `arity` if one is not provided.\\n      if (data[9] == null) {\\n        data[9] = source[9];\\n      }\\n      // Use source `func` and merge bitmasks.\\n      data[0] = source[0];\\n      data[1] = newBitmask;\\n\\n      return data;\\n    }\\n\\n    /**\\n     * A specialized version of `_.pick` which picks `object` properties specified\\n     * by `props`.\\n     *\\n     * @private\\n     * @param {Object} object The source object.\\n     * @param {string[]} props The property names to pick.\\n     * @returns {Object} Returns the new object.\\n     */\\n    function pickByArray(object, props) {\\n      object = toObject(object);\\n\\n      var index = -1,\\n          length = props.length,\\n          result = {};\\n\\n      while (++index < length) {\\n        var key = props[index];\\n        if (key in object) {\\n          result[key] = object[key];\\n        }\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * A specialized version of `_.pick` which picks `object` properties `predicate`\\n     * returns truthy for.\\n     *\\n     * @private\\n     * @param {Object} object The source object.\\n     * @param {Function} predicate The function invoked per iteration.\\n     * @returns {Object} Returns the new object.\\n     */\\n    function pickByCallback(object, predicate) {\\n      var result = {};\\n      baseForIn(object, function(value, key, object) {\\n        if (predicate(value, key, object)) {\\n          result[key] = value;\\n        }\\n      });\\n      return result;\\n    }\\n\\n    /**\\n     * Reorder `array` according to the specified indexes where the element at\\n     * the first index is assigned as the first element, the element at\\n     * the second index is assigned as the second element, and so on.\\n     *\\n     * @private\\n     * @param {Array} array The array to reorder.\\n     * @param {Array} indexes The arranged array indexes.\\n     * @returns {Array} Returns `array`.\\n     */\\n    function reorder(array, indexes) {\\n      var arrLength = array.length,\\n          length = nativeMin(indexes.length, arrLength),\\n          oldArray = arrayCopy(array);\\n\\n      while (length--) {\\n        var index = indexes[length];\\n        array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\\n      }\\n      return array;\\n    }\\n\\n    /**\\n     * Sets metadata for `func`.\\n     *\\n     * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\\n     * period of time, it will trip its breaker and transition to an identity function\\n     * to avoid garbage collection pauses in V8. See [V8 issue 2070](https://code.google.com/p/v8/issues/detail?id=2070)\\n     * for more details.\\n     *\\n     * @private\\n     * @param {Function} func The function to associate metadata with.\\n     * @param {*} data The metadata.\\n     * @returns {Function} Returns `func`.\\n     */\\n    var setData = (function() {\\n      var count = 0,\\n          lastCalled = 0;\\n\\n      return function(key, value) {\\n        var stamp = now(),\\n            remaining = HOT_SPAN - (stamp - lastCalled);\\n\\n        lastCalled = stamp;\\n        if (remaining > 0) {\\n          if (++count >= HOT_COUNT) {\\n            return key;\\n          }\\n        } else {\\n          count = 0;\\n        }\\n        return baseSetData(key, value);\\n      };\\n    }());\\n\\n    /**\\n     * A fallback implementation of `_.isPlainObject` which checks if `value`\\n     * is an object created by the `Object` constructor or has a `[[Prototype]]`\\n     * of `null`.\\n     *\\n     * @private\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\\n     */\\n    function shimIsPlainObject(value) {\\n      var Ctor,\\n          support = lodash.support;\\n\\n      // Exit early for non `Object` objects.\\n      if (!(isObjectLike(value) && objToString.call(value) == objectTag) ||\\n          (!hasOwnProperty.call(value, 'constructor') &&\\n            (Ctor = value.constructor, typeof Ctor == 'function' && !(Ctor instanceof Ctor)))) {\\n        return false;\\n      }\\n      // IE < 9 iterates inherited properties before own properties. If the first\\n      // iterated property is an object's own property then there are no inherited\\n      // enumerable properties.\\n      var result;\\n      // In most environments an object's own properties are iterated before\\n      // its inherited properties. If the last iterated property is an object's\\n      // own property then there are no inherited enumerable properties.\\n      baseForIn(value, function(subValue, key) {\\n        result = key;\\n      });\\n      return result === undefined || hasOwnProperty.call(value, result);\\n    }\\n\\n    /**\\n     * A fallback implementation of `Object.keys` which creates an array of the\\n     * own enumerable property names of `object`.\\n     *\\n     * @private\\n     * @param {Object} object The object to query.\\n     * @returns {Array} Returns the array of property names.\\n     */\\n    function shimKeys(object) {\\n      var props = keysIn(object),\\n          propsLength = props.length,\\n          length = propsLength && object.length,\\n          support = lodash.support;\\n\\n      var allowIndexes = length && isLength(length) &&\\n        (isArray(object) || (support.nonEnumArgs && isArguments(object)));\\n\\n      var index = -1,\\n          result = [];\\n\\n      while (++index < propsLength) {\\n        var key = props[index];\\n        if ((allowIndexes && isIndex(key, length)) || hasOwnProperty.call(object, key)) {\\n          result.push(key);\\n        }\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Converts `value` to an array-like object if it is not one.\\n     *\\n     * @private\\n     * @param {*} value The value to process.\\n     * @returns {Array|Object} Returns the array-like object.\\n     */\\n    function toIterable(value) {\\n      if (value == null) {\\n        return [];\\n      }\\n      if (!isArrayLike(value)) {\\n        return values(value);\\n      }\\n      return isObject(value) ? value : Object(value);\\n    }\\n\\n    /**\\n     * Converts `value` to an object if it is not one.\\n     *\\n     * @private\\n     * @param {*} value The value to process.\\n     * @returns {Object} Returns the object.\\n     */\\n    function toObject(value) {\\n      return isObject(value) ? value : Object(value);\\n    }\\n\\n    /**\\n     * Converts `value` to property path array if it is not one.\\n     *\\n     * @private\\n     * @param {*} value The value to process.\\n     * @returns {Array} Returns the property path array.\\n     */\\n    function toPath(value) {\\n      if (isArray(value)) {\\n        return value;\\n      }\\n      var result = [];\\n      baseToString(value).replace(rePropName, function(match, number, quote, string) {\\n        result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));\\n      });\\n      return result;\\n    }\\n\\n    /**\\n     * Creates a clone of `wrapper`.\\n     *\\n     * @private\\n     * @param {Object} wrapper The wrapper to clone.\\n     * @returns {Object} Returns the cloned wrapper.\\n     */\\n    function wrapperClone(wrapper) {\\n      return wrapper instanceof LazyWrapper\\n        ? wrapper.clone()\\n        : new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__, arrayCopy(wrapper.__actions__));\\n    }\\n\\n    /**\\n     * Creates an array of elements split into groups the length of `size`.\\n     * If `collection` can't be split evenly, the final chunk will be the remaining\\n     * elements.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to process.\\n     * @param {number} [size=1] The length of each chunk.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {Array} Returns the new array containing chunks.\\n     * @example\\n     *\\n     * _.chunk(['a', 'b', 'c', 'd'], 2);\\n     * // => [['a', 'b'], ['c', 'd']]\\n     *\\n     * _.chunk(['a', 'b', 'c', 'd'], 3);\\n     * // => [['a', 'b', 'c'], ['d']]\\n     */\\n    function chunk(array, size, guard) {\\n      if (guard ? isIterateeCall(array, size, guard) : size == null) {\\n        size = 1;\\n      } else {\\n        size = nativeMax(+size || 1, 1);\\n      }\\n      var index = 0,\\n          length = array ? array.length : 0,\\n          resIndex = -1,\\n          result = Array(ceil(length / size));\\n\\n      while (index < length) {\\n        result[++resIndex] = baseSlice(array, index, (index += size));\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Creates an array with all falsey values removed. The values `false`, `null`,\\n     * `0`, `\\\"\\\"`, `undefined`, and `NaN` are falsey.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to compact.\\n     * @returns {Array} Returns the new array of filtered values.\\n     * @example\\n     *\\n     * _.compact([0, 1, false, 2, '', 3]);\\n     * // => [1, 2, 3]\\n     */\\n    function compact(array) {\\n      var index = -1,\\n          length = array ? array.length : 0,\\n          resIndex = -1,\\n          result = [];\\n\\n      while (++index < length) {\\n        var value = array[index];\\n        if (value) {\\n          result[++resIndex] = value;\\n        }\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Creates an array excluding all values of the provided arrays using\\n     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\\n     * for equality comparisons.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to inspect.\\n     * @param {...Array} [values] The arrays of values to exclude.\\n     * @returns {Array} Returns the new array of filtered values.\\n     * @example\\n     *\\n     * _.difference([1, 2, 3], [4, 2]);\\n     * // => [1, 3]\\n     */\\n    var difference = restParam(function(array, values) {\\n      return isArrayLike(array)\\n        ? baseDifference(array, baseFlatten(values, false, true))\\n        : [];\\n    });\\n\\n    /**\\n     * Creates a slice of `array` with `n` elements dropped from the beginning.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to query.\\n     * @param {number} [n=1] The number of elements to drop.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {Array} Returns the slice of `array`.\\n     * @example\\n     *\\n     * _.drop([1, 2, 3]);\\n     * // => [2, 3]\\n     *\\n     * _.drop([1, 2, 3], 2);\\n     * // => [3]\\n     *\\n     * _.drop([1, 2, 3], 5);\\n     * // => []\\n     *\\n     * _.drop([1, 2, 3], 0);\\n     * // => [1, 2, 3]\\n     */\\n    function drop(array, n, guard) {\\n      var length = array ? array.length : 0;\\n      if (!length) {\\n        return [];\\n      }\\n      if (guard ? isIterateeCall(array, n, guard) : n == null) {\\n        n = 1;\\n      }\\n      return baseSlice(array, n < 0 ? 0 : n);\\n    }\\n\\n    /**\\n     * Creates a slice of `array` with `n` elements dropped from the end.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to query.\\n     * @param {number} [n=1] The number of elements to drop.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {Array} Returns the slice of `array`.\\n     * @example\\n     *\\n     * _.dropRight([1, 2, 3]);\\n     * // => [1, 2]\\n     *\\n     * _.dropRight([1, 2, 3], 2);\\n     * // => [1]\\n     *\\n     * _.dropRight([1, 2, 3], 5);\\n     * // => []\\n     *\\n     * _.dropRight([1, 2, 3], 0);\\n     * // => [1, 2, 3]\\n     */\\n    function dropRight(array, n, guard) {\\n      var length = array ? array.length : 0;\\n      if (!length) {\\n        return [];\\n      }\\n      if (guard ? isIterateeCall(array, n, guard) : n == null) {\\n        n = 1;\\n      }\\n      n = length - (+n || 0);\\n      return baseSlice(array, 0, n < 0 ? 0 : n);\\n    }\\n\\n    /**\\n     * Creates a slice of `array` excluding elements dropped from the end.\\n     * Elements are dropped until `predicate` returns falsey. The predicate is\\n     * bound to `thisArg` and invoked with three arguments: (value, index, array).\\n     *\\n     * If a property name is provided for `predicate` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `predicate` the created `_.matches` style\\n     * callback returns `true` for elements that match the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to query.\\n     * @param {Function|Object|string} [predicate=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `predicate`.\\n     * @returns {Array} Returns the slice of `array`.\\n     * @example\\n     *\\n     * _.dropRightWhile([1, 2, 3], function(n) {\\n     *   return n > 1;\\n     * });\\n     * // => [1]\\n     *\\n     * var users = [\\n     *   { 'user': 'barney',  'active': true },\\n     *   { 'user': 'fred',    'active': false },\\n     *   { 'user': 'pebbles', 'active': false }\\n     * ];\\n     *\\n     * // using the `_.matches` callback shorthand\\n     * _.pluck(_.dropRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user');\\n     * // => ['barney', 'fred']\\n     *\\n     * // using the `_.matchesProperty` callback shorthand\\n     * _.pluck(_.dropRightWhile(users, 'active', false), 'user');\\n     * // => ['barney']\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.pluck(_.dropRightWhile(users, 'active'), 'user');\\n     * // => ['barney', 'fred', 'pebbles']\\n     */\\n    function dropRightWhile(array, predicate, thisArg) {\\n      return (array && array.length)\\n        ? baseWhile(array, getCallback(predicate, thisArg, 3), true, true)\\n        : [];\\n    }\\n\\n    /**\\n     * Creates a slice of `array` excluding elements dropped from the beginning.\\n     * Elements are dropped until `predicate` returns falsey. The predicate is\\n     * bound to `thisArg` and invoked with three arguments: (value, index, array).\\n     *\\n     * If a property name is provided for `predicate` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `predicate` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to query.\\n     * @param {Function|Object|string} [predicate=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `predicate`.\\n     * @returns {Array} Returns the slice of `array`.\\n     * @example\\n     *\\n     * _.dropWhile([1, 2, 3], function(n) {\\n     *   return n < 3;\\n     * });\\n     * // => [3]\\n     *\\n     * var users = [\\n     *   { 'user': 'barney',  'active': false },\\n     *   { 'user': 'fred',    'active': false },\\n     *   { 'user': 'pebbles', 'active': true }\\n     * ];\\n     *\\n     * // using the `_.matches` callback shorthand\\n     * _.pluck(_.dropWhile(users, { 'user': 'barney', 'active': false }), 'user');\\n     * // => ['fred', 'pebbles']\\n     *\\n     * // using the `_.matchesProperty` callback shorthand\\n     * _.pluck(_.dropWhile(users, 'active', false), 'user');\\n     * // => ['pebbles']\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.pluck(_.dropWhile(users, 'active'), 'user');\\n     * // => ['barney', 'fred', 'pebbles']\\n     */\\n    function dropWhile(array, predicate, thisArg) {\\n      return (array && array.length)\\n        ? baseWhile(array, getCallback(predicate, thisArg, 3), true)\\n        : [];\\n    }\\n\\n    /**\\n     * Fills elements of `array` with `value` from `start` up to, but not\\n     * including, `end`.\\n     *\\n     * **Note:** This method mutates `array`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to fill.\\n     * @param {*} value The value to fill `array` with.\\n     * @param {number} [start=0] The start position.\\n     * @param {number} [end=array.length] The end position.\\n     * @returns {Array} Returns `array`.\\n     * @example\\n     *\\n     * var array = [1, 2, 3];\\n     *\\n     * _.fill(array, 'a');\\n     * console.log(array);\\n     * // => ['a', 'a', 'a']\\n     *\\n     * _.fill(Array(3), 2);\\n     * // => [2, 2, 2]\\n     *\\n     * _.fill([4, 6, 8], '*', 1, 2);\\n     * // => [4, '*', 8]\\n     */\\n    function fill(array, value, start, end) {\\n      var length = array ? array.length : 0;\\n      if (!length) {\\n        return [];\\n      }\\n      if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\\n        start = 0;\\n        end = length;\\n      }\\n      return baseFill(array, value, start, end);\\n    }\\n\\n    /**\\n     * This method is like `_.find` except that it returns the index of the first\\n     * element `predicate` returns truthy for instead of the element itself.\\n     *\\n     * If a property name is provided for `predicate` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `predicate` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to search.\\n     * @param {Function|Object|string} [predicate=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `predicate`.\\n     * @returns {number} Returns the index of the found element, else `-1`.\\n     * @example\\n     *\\n     * var users = [\\n     *   { 'user': 'barney',  'active': false },\\n     *   { 'user': 'fred',    'active': false },\\n     *   { 'user': 'pebbles', 'active': true }\\n     * ];\\n     *\\n     * _.findIndex(users, function(chr) {\\n     *   return chr.user == 'barney';\\n     * });\\n     * // => 0\\n     *\\n     * // using the `_.matches` callback shorthand\\n     * _.findIndex(users, { 'user': 'fred', 'active': false });\\n     * // => 1\\n     *\\n     * // using the `_.matchesProperty` callback shorthand\\n     * _.findIndex(users, 'active', false);\\n     * // => 0\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.findIndex(users, 'active');\\n     * // => 2\\n     */\\n    var findIndex = createFindIndex();\\n\\n    /**\\n     * This method is like `_.findIndex` except that it iterates over elements\\n     * of `collection` from right to left.\\n     *\\n     * If a property name is provided for `predicate` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `predicate` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to search.\\n     * @param {Function|Object|string} [predicate=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `predicate`.\\n     * @returns {number} Returns the index of the found element, else `-1`.\\n     * @example\\n     *\\n     * var users = [\\n     *   { 'user': 'barney',  'active': true },\\n     *   { 'user': 'fred',    'active': false },\\n     *   { 'user': 'pebbles', 'active': false }\\n     * ];\\n     *\\n     * _.findLastIndex(users, function(chr) {\\n     *   return chr.user == 'pebbles';\\n     * });\\n     * // => 2\\n     *\\n     * // using the `_.matches` callback shorthand\\n     * _.findLastIndex(users, { 'user': 'barney', 'active': true });\\n     * // => 0\\n     *\\n     * // using the `_.matchesProperty` callback shorthand\\n     * _.findLastIndex(users, 'active', false);\\n     * // => 2\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.findLastIndex(users, 'active');\\n     * // => 0\\n     */\\n    var findLastIndex = createFindIndex(true);\\n\\n    /**\\n     * Gets the first element of `array`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @alias head\\n     * @category Array\\n     * @param {Array} array The array to query.\\n     * @returns {*} Returns the first element of `array`.\\n     * @example\\n     *\\n     * _.first([1, 2, 3]);\\n     * // => 1\\n     *\\n     * _.first([]);\\n     * // => undefined\\n     */\\n    function first(array) {\\n      return array ? array[0] : undefined;\\n    }\\n\\n    /**\\n     * Flattens a nested array. If `isDeep` is `true` the array is recursively\\n     * flattened, otherwise it is only flattened a single level.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to flatten.\\n     * @param {boolean} [isDeep] Specify a deep flatten.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {Array} Returns the new flattened array.\\n     * @example\\n     *\\n     * _.flatten([1, [2, 3, [4]]]);\\n     * // => [1, 2, 3, [4]]\\n     *\\n     * // using `isDeep`\\n     * _.flatten([1, [2, 3, [4]]], true);\\n     * // => [1, 2, 3, 4]\\n     */\\n    function flatten(array, isDeep, guard) {\\n      var length = array ? array.length : 0;\\n      if (guard && isIterateeCall(array, isDeep, guard)) {\\n        isDeep = false;\\n      }\\n      return length ? baseFlatten(array, isDeep) : [];\\n    }\\n\\n    /**\\n     * Recursively flattens a nested array.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to recursively flatten.\\n     * @returns {Array} Returns the new flattened array.\\n     * @example\\n     *\\n     * _.flattenDeep([1, [2, 3, [4]]]);\\n     * // => [1, 2, 3, 4]\\n     */\\n    function flattenDeep(array) {\\n      var length = array ? array.length : 0;\\n      return length ? baseFlatten(array, true) : [];\\n    }\\n\\n    /**\\n     * Gets the index at which the first occurrence of `value` is found in `array`\\n     * using [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\\n     * for equality comparisons. If `fromIndex` is negative, it is used as the offset\\n     * from the end of `array`. If `array` is sorted providing `true` for `fromIndex`\\n     * performs a faster binary search.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to search.\\n     * @param {*} value The value to search for.\\n     * @param {boolean|number} [fromIndex=0] The index to search from or `true`\\n     *  to perform a binary search on a sorted array.\\n     * @returns {number} Returns the index of the matched value, else `-1`.\\n     * @example\\n     *\\n     * _.indexOf([1, 2, 1, 2], 2);\\n     * // => 1\\n     *\\n     * // using `fromIndex`\\n     * _.indexOf([1, 2, 1, 2], 2, 2);\\n     * // => 3\\n     *\\n     * // performing a binary search\\n     * _.indexOf([1, 1, 2, 2], 2, true);\\n     * // => 2\\n     */\\n    function indexOf(array, value, fromIndex) {\\n      var length = array ? array.length : 0;\\n      if (!length) {\\n        return -1;\\n      }\\n      if (typeof fromIndex == 'number') {\\n        fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : fromIndex;\\n      } else if (fromIndex) {\\n        var index = binaryIndex(array, value),\\n            other = array[index];\\n\\n        if (value === value ? (value === other) : (other !== other)) {\\n          return index;\\n        }\\n        return -1;\\n      }\\n      return baseIndexOf(array, value, fromIndex || 0);\\n    }\\n\\n    /**\\n     * Gets all but the last element of `array`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to query.\\n     * @returns {Array} Returns the slice of `array`.\\n     * @example\\n     *\\n     * _.initial([1, 2, 3]);\\n     * // => [1, 2]\\n     */\\n    function initial(array) {\\n      return dropRight(array, 1);\\n    }\\n\\n    /**\\n     * Creates an array of unique values in all provided arrays using\\n     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\\n     * for equality comparisons.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {...Array} [arrays] The arrays to inspect.\\n     * @returns {Array} Returns the new array of shared values.\\n     * @example\\n     * _.intersection([1, 2], [4, 2], [2, 1]);\\n     * // => [2]\\n     */\\n    function intersection() {\\n      var args = [],\\n          argsIndex = -1,\\n          argsLength = arguments.length,\\n          caches = [],\\n          indexOf = getIndexOf(),\\n          isCommon = indexOf == baseIndexOf,\\n          result = [];\\n\\n      while (++argsIndex < argsLength) {\\n        var value = arguments[argsIndex];\\n        if (isArrayLike(value)) {\\n          args.push(value);\\n          caches.push((isCommon && value.length >= 120) ? createCache(argsIndex && value) : null);\\n        }\\n      }\\n      argsLength = args.length;\\n      if (argsLength < 2) {\\n        return result;\\n      }\\n      var array = args[0],\\n          index = -1,\\n          length = array ? array.length : 0,\\n          seen = caches[0];\\n\\n      outer:\\n      while (++index < length) {\\n        value = array[index];\\n        if ((seen ? cacheIndexOf(seen, value) : indexOf(result, value, 0)) < 0) {\\n          argsIndex = argsLength;\\n          while (--argsIndex) {\\n            var cache = caches[argsIndex];\\n            if ((cache ? cacheIndexOf(cache, value) : indexOf(args[argsIndex], value, 0)) < 0) {\\n              continue outer;\\n            }\\n          }\\n          if (seen) {\\n            seen.push(value);\\n          }\\n          result.push(value);\\n        }\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Gets the last element of `array`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to query.\\n     * @returns {*} Returns the last element of `array`.\\n     * @example\\n     *\\n     * _.last([1, 2, 3]);\\n     * // => 3\\n     */\\n    function last(array) {\\n      var length = array ? array.length : 0;\\n      return length ? array[length - 1] : undefined;\\n    }\\n\\n    /**\\n     * This method is like `_.indexOf` except that it iterates over elements of\\n     * `array` from right to left.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to search.\\n     * @param {*} value The value to search for.\\n     * @param {boolean|number} [fromIndex=array.length-1] The index to search from\\n     *  or `true` to perform a binary search on a sorted array.\\n     * @returns {number} Returns the index of the matched value, else `-1`.\\n     * @example\\n     *\\n     * _.lastIndexOf([1, 2, 1, 2], 2);\\n     * // => 3\\n     *\\n     * // using `fromIndex`\\n     * _.lastIndexOf([1, 2, 1, 2], 2, 2);\\n     * // => 1\\n     *\\n     * // performing a binary search\\n     * _.lastIndexOf([1, 1, 2, 2], 2, true);\\n     * // => 3\\n     */\\n    function lastIndexOf(array, value, fromIndex) {\\n      var length = array ? array.length : 0;\\n      if (!length) {\\n        return -1;\\n      }\\n      var index = length;\\n      if (typeof fromIndex == 'number') {\\n        index = (fromIndex < 0 ? nativeMax(length + fromIndex, 0) : nativeMin(fromIndex || 0, length - 1)) + 1;\\n      } else if (fromIndex) {\\n        index = binaryIndex(array, value, true) - 1;\\n        var other = array[index];\\n        if (value === value ? (value === other) : (other !== other)) {\\n          return index;\\n        }\\n        return -1;\\n      }\\n      if (value !== value) {\\n        return indexOfNaN(array, index, true);\\n      }\\n      while (index--) {\\n        if (array[index] === value) {\\n          return index;\\n        }\\n      }\\n      return -1;\\n    }\\n\\n    /**\\n     * Removes all provided values from `array` using\\n     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\\n     * for equality comparisons.\\n     *\\n     * **Note:** Unlike `_.without`, this method mutates `array`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to modify.\\n     * @param {...*} [values] The values to remove.\\n     * @returns {Array} Returns `array`.\\n     * @example\\n     *\\n     * var array = [1, 2, 3, 1, 2, 3];\\n     *\\n     * _.pull(array, 2, 3);\\n     * console.log(array);\\n     * // => [1, 1]\\n     */\\n    function pull() {\\n      var args = arguments,\\n          array = args[0];\\n\\n      if (!(array && array.length)) {\\n        return array;\\n      }\\n      var index = 0,\\n          indexOf = getIndexOf(),\\n          length = args.length;\\n\\n      while (++index < length) {\\n        var fromIndex = 0,\\n            value = args[index];\\n\\n        while ((fromIndex = indexOf(array, value, fromIndex)) > -1) {\\n          splice.call(array, fromIndex, 1);\\n        }\\n      }\\n      return array;\\n    }\\n\\n    /**\\n     * Removes elements from `array` corresponding to the given indexes and returns\\n     * an array of the removed elements. Indexes may be specified as an array of\\n     * indexes or as individual arguments.\\n     *\\n     * **Note:** Unlike `_.at`, this method mutates `array`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to modify.\\n     * @param {...(number|number[])} [indexes] The indexes of elements to remove,\\n     *  specified as individual indexes or arrays of indexes.\\n     * @returns {Array} Returns the new array of removed elements.\\n     * @example\\n     *\\n     * var array = [5, 10, 15, 20];\\n     * var evens = _.pullAt(array, 1, 3);\\n     *\\n     * console.log(array);\\n     * // => [5, 15]\\n     *\\n     * console.log(evens);\\n     * // => [10, 20]\\n     */\\n    var pullAt = restParam(function(array, indexes) {\\n      indexes = baseFlatten(indexes);\\n\\n      var result = baseAt(array, indexes);\\n      basePullAt(array, indexes.sort(baseCompareAscending));\\n      return result;\\n    });\\n\\n    /**\\n     * Removes all elements from `array` that `predicate` returns truthy for\\n     * and returns an array of the removed elements. The predicate is bound to\\n     * `thisArg` and invoked with three arguments: (value, index, array).\\n     *\\n     * If a property name is provided for `predicate` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `predicate` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * **Note:** Unlike `_.filter`, this method mutates `array`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to modify.\\n     * @param {Function|Object|string} [predicate=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `predicate`.\\n     * @returns {Array} Returns the new array of removed elements.\\n     * @example\\n     *\\n     * var array = [1, 2, 3, 4];\\n     * var evens = _.remove(array, function(n) {\\n     *   return n % 2 == 0;\\n     * });\\n     *\\n     * console.log(array);\\n     * // => [1, 3]\\n     *\\n     * console.log(evens);\\n     * // => [2, 4]\\n     */\\n    function remove(array, predicate, thisArg) {\\n      var result = [];\\n      if (!(array && array.length)) {\\n        return result;\\n      }\\n      var index = -1,\\n          indexes = [],\\n          length = array.length;\\n\\n      predicate = getCallback(predicate, thisArg, 3);\\n      while (++index < length) {\\n        var value = array[index];\\n        if (predicate(value, index, array)) {\\n          result.push(value);\\n          indexes.push(index);\\n        }\\n      }\\n      basePullAt(array, indexes);\\n      return result;\\n    }\\n\\n    /**\\n     * Gets all but the first element of `array`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @alias tail\\n     * @category Array\\n     * @param {Array} array The array to query.\\n     * @returns {Array} Returns the slice of `array`.\\n     * @example\\n     *\\n     * _.rest([1, 2, 3]);\\n     * // => [2, 3]\\n     */\\n    function rest(array) {\\n      return drop(array, 1);\\n    }\\n\\n    /**\\n     * Creates a slice of `array` from `start` up to, but not including, `end`.\\n     *\\n     * **Note:** This method is used instead of `Array#slice` to support node\\n     * lists in IE < 9 and to ensure dense arrays are returned.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to slice.\\n     * @param {number} [start=0] The start position.\\n     * @param {number} [end=array.length] The end position.\\n     * @returns {Array} Returns the slice of `array`.\\n     */\\n    function slice(array, start, end) {\\n      var length = array ? array.length : 0;\\n      if (!length) {\\n        return [];\\n      }\\n      if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\\n        start = 0;\\n        end = length;\\n      }\\n      return baseSlice(array, start, end);\\n    }\\n\\n    /**\\n     * Uses a binary search to determine the lowest index at which `value` should\\n     * be inserted into `array` in order to maintain its sort order. If an iteratee\\n     * function is provided it is invoked for `value` and each element of `array`\\n     * to compute their sort ranking. The iteratee is bound to `thisArg` and\\n     * invoked with one argument; (value).\\n     *\\n     * If a property name is provided for `iteratee` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `iteratee` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The sorted array to inspect.\\n     * @param {*} value The value to evaluate.\\n     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {number} Returns the index at which `value` should be inserted\\n     *  into `array`.\\n     * @example\\n     *\\n     * _.sortedIndex([30, 50], 40);\\n     * // => 1\\n     *\\n     * _.sortedIndex([4, 4, 5, 5], 5);\\n     * // => 2\\n     *\\n     * var dict = { 'data': { 'thirty': 30, 'forty': 40, 'fifty': 50 } };\\n     *\\n     * // using an iteratee function\\n     * _.sortedIndex(['thirty', 'fifty'], 'forty', function(word) {\\n     *   return this.data[word];\\n     * }, dict);\\n     * // => 1\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.sortedIndex([{ 'x': 30 }, { 'x': 50 }], { 'x': 40 }, 'x');\\n     * // => 1\\n     */\\n    var sortedIndex = createSortedIndex();\\n\\n    /**\\n     * This method is like `_.sortedIndex` except that it returns the highest\\n     * index at which `value` should be inserted into `array` in order to\\n     * maintain its sort order.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The sorted array to inspect.\\n     * @param {*} value The value to evaluate.\\n     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {number} Returns the index at which `value` should be inserted\\n     *  into `array`.\\n     * @example\\n     *\\n     * _.sortedLastIndex([4, 4, 5, 5], 5);\\n     * // => 4\\n     */\\n    var sortedLastIndex = createSortedIndex(true);\\n\\n    /**\\n     * Creates a slice of `array` with `n` elements taken from the beginning.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to query.\\n     * @param {number} [n=1] The number of elements to take.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {Array} Returns the slice of `array`.\\n     * @example\\n     *\\n     * _.take([1, 2, 3]);\\n     * // => [1]\\n     *\\n     * _.take([1, 2, 3], 2);\\n     * // => [1, 2]\\n     *\\n     * _.take([1, 2, 3], 5);\\n     * // => [1, 2, 3]\\n     *\\n     * _.take([1, 2, 3], 0);\\n     * // => []\\n     */\\n    function take(array, n, guard) {\\n      var length = array ? array.length : 0;\\n      if (!length) {\\n        return [];\\n      }\\n      if (guard ? isIterateeCall(array, n, guard) : n == null) {\\n        n = 1;\\n      }\\n      return baseSlice(array, 0, n < 0 ? 0 : n);\\n    }\\n\\n    /**\\n     * Creates a slice of `array` with `n` elements taken from the end.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to query.\\n     * @param {number} [n=1] The number of elements to take.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {Array} Returns the slice of `array`.\\n     * @example\\n     *\\n     * _.takeRight([1, 2, 3]);\\n     * // => [3]\\n     *\\n     * _.takeRight([1, 2, 3], 2);\\n     * // => [2, 3]\\n     *\\n     * _.takeRight([1, 2, 3], 5);\\n     * // => [1, 2, 3]\\n     *\\n     * _.takeRight([1, 2, 3], 0);\\n     * // => []\\n     */\\n    function takeRight(array, n, guard) {\\n      var length = array ? array.length : 0;\\n      if (!length) {\\n        return [];\\n      }\\n      if (guard ? isIterateeCall(array, n, guard) : n == null) {\\n        n = 1;\\n      }\\n      n = length - (+n || 0);\\n      return baseSlice(array, n < 0 ? 0 : n);\\n    }\\n\\n    /**\\n     * Creates a slice of `array` with elements taken from the end. Elements are\\n     * taken until `predicate` returns falsey. The predicate is bound to `thisArg`\\n     * and invoked with three arguments: (value, index, array).\\n     *\\n     * If a property name is provided for `predicate` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `predicate` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to query.\\n     * @param {Function|Object|string} [predicate=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `predicate`.\\n     * @returns {Array} Returns the slice of `array`.\\n     * @example\\n     *\\n     * _.takeRightWhile([1, 2, 3], function(n) {\\n     *   return n > 1;\\n     * });\\n     * // => [2, 3]\\n     *\\n     * var users = [\\n     *   { 'user': 'barney',  'active': true },\\n     *   { 'user': 'fred',    'active': false },\\n     *   { 'user': 'pebbles', 'active': false }\\n     * ];\\n     *\\n     * // using the `_.matches` callback shorthand\\n     * _.pluck(_.takeRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user');\\n     * // => ['pebbles']\\n     *\\n     * // using the `_.matchesProperty` callback shorthand\\n     * _.pluck(_.takeRightWhile(users, 'active', false), 'user');\\n     * // => ['fred', 'pebbles']\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.pluck(_.takeRightWhile(users, 'active'), 'user');\\n     * // => []\\n     */\\n    function takeRightWhile(array, predicate, thisArg) {\\n      return (array && array.length)\\n        ? baseWhile(array, getCallback(predicate, thisArg, 3), false, true)\\n        : [];\\n    }\\n\\n    /**\\n     * Creates a slice of `array` with elements taken from the beginning. Elements\\n     * are taken until `predicate` returns falsey. The predicate is bound to\\n     * `thisArg` and invoked with three arguments: (value, index, array).\\n     *\\n     * If a property name is provided for `predicate` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `predicate` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to query.\\n     * @param {Function|Object|string} [predicate=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `predicate`.\\n     * @returns {Array} Returns the slice of `array`.\\n     * @example\\n     *\\n     * _.takeWhile([1, 2, 3], function(n) {\\n     *   return n < 3;\\n     * });\\n     * // => [1, 2]\\n     *\\n     * var users = [\\n     *   { 'user': 'barney',  'active': false },\\n     *   { 'user': 'fred',    'active': false},\\n     *   { 'user': 'pebbles', 'active': true }\\n     * ];\\n     *\\n     * // using the `_.matches` callback shorthand\\n     * _.pluck(_.takeWhile(users, { 'user': 'barney', 'active': false }), 'user');\\n     * // => ['barney']\\n     *\\n     * // using the `_.matchesProperty` callback shorthand\\n     * _.pluck(_.takeWhile(users, 'active', false), 'user');\\n     * // => ['barney', 'fred']\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.pluck(_.takeWhile(users, 'active'), 'user');\\n     * // => []\\n     */\\n    function takeWhile(array, predicate, thisArg) {\\n      return (array && array.length)\\n        ? baseWhile(array, getCallback(predicate, thisArg, 3))\\n        : [];\\n    }\\n\\n    /**\\n     * Creates an array of unique values, in order, of the provided arrays using\\n     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\\n     * for equality comparisons.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {...Array} [arrays] The arrays to inspect.\\n     * @returns {Array} Returns the new array of combined values.\\n     * @example\\n     *\\n     * _.union([1, 2], [4, 2], [2, 1]);\\n     * // => [1, 2, 4]\\n     */\\n    var union = restParam(function(arrays) {\\n      return baseUniq(baseFlatten(arrays, false, true));\\n    });\\n\\n    /**\\n     * Creates a duplicate-free version of an array, using\\n     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\\n     * for equality comparisons, in which only the first occurence of each element\\n     * is kept. Providing `true` for `isSorted` performs a faster search algorithm\\n     * for sorted arrays. If an iteratee function is provided it is invoked for\\n     * each element in the array to generate the criterion by which uniqueness\\n     * is computed. The `iteratee` is bound to `thisArg` and invoked with three\\n     * arguments: (value, index, array).\\n     *\\n     * If a property name is provided for `iteratee` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `iteratee` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @alias unique\\n     * @category Array\\n     * @param {Array} array The array to inspect.\\n     * @param {boolean} [isSorted] Specify the array is sorted.\\n     * @param {Function|Object|string} [iteratee] The function invoked per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {Array} Returns the new duplicate-value-free array.\\n     * @example\\n     *\\n     * _.uniq([2, 1, 2]);\\n     * // => [2, 1]\\n     *\\n     * // using `isSorted`\\n     * _.uniq([1, 1, 2], true);\\n     * // => [1, 2]\\n     *\\n     * // using an iteratee function\\n     * _.uniq([1, 2.5, 1.5, 2], function(n) {\\n     *   return this.floor(n);\\n     * }, Math);\\n     * // => [1, 2.5]\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.uniq([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\\n     * // => [{ 'x': 1 }, { 'x': 2 }]\\n     */\\n    function uniq(array, isSorted, iteratee, thisArg) {\\n      var length = array ? array.length : 0;\\n      if (!length) {\\n        return [];\\n      }\\n      if (isSorted != null && typeof isSorted != 'boolean') {\\n        thisArg = iteratee;\\n        iteratee = isIterateeCall(array, isSorted, thisArg) ? null : isSorted;\\n        isSorted = false;\\n      }\\n      var func = getCallback();\\n      if (!(func === baseCallback && iteratee == null)) {\\n        iteratee = func(iteratee, thisArg, 3);\\n      }\\n      return (isSorted && getIndexOf() == baseIndexOf)\\n        ? sortedUniq(array, iteratee)\\n        : baseUniq(array, iteratee);\\n    }\\n\\n    /**\\n     * This method is like `_.zip` except that it accepts an array of grouped\\n     * elements and creates an array regrouping the elements to their pre-zip\\n     * configuration.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array of grouped elements to process.\\n     * @returns {Array} Returns the new array of regrouped elements.\\n     * @example\\n     *\\n     * var zipped = _.zip(['fred', 'barney'], [30, 40], [true, false]);\\n     * // => [['fred', 30, true], ['barney', 40, false]]\\n     *\\n     * _.unzip(zipped);\\n     * // => [['fred', 'barney'], [30, 40], [true, false]]\\n     */\\n    function unzip(array) {\\n      if (!(array && array.length)) {\\n        return [];\\n      }\\n      var index = -1,\\n          length = 0;\\n\\n      array = arrayFilter(array, function(group) {\\n        if (isArrayLike(group)) {\\n          length = nativeMax(group.length, length);\\n          return true;\\n        }\\n      });\\n      var result = Array(length);\\n      while (++index < length) {\\n        result[index] = arrayMap(array, baseProperty(index));\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * This method is like `_.unzip` except that it accepts an iteratee to specify\\n     * how regrouped values should be combined. The `iteratee` is bound to `thisArg`\\n     * and invoked with four arguments: (accumulator, value, index, group).\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array of grouped elements to process.\\n     * @param {Function} [iteratee] The function to combine regrouped values.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {Array} Returns the new array of regrouped elements.\\n     * @example\\n     *\\n     * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\\n     * // => [[1, 10, 100], [2, 20, 200]]\\n     *\\n     * _.unzipWith(zipped, _.add);\\n     * // => [3, 30, 300]\\n     */\\n    function unzipWith(array, iteratee, thisArg) {\\n      var length = array ? array.length : 0;\\n      if (!length) {\\n        return [];\\n      }\\n      var result = unzip(array);\\n      if (iteratee == null) {\\n        return result;\\n      }\\n      iteratee = bindCallback(iteratee, thisArg, 4);\\n      return arrayMap(result, function(group) {\\n        return arrayReduce(group, iteratee, undefined, true);\\n      });\\n    }\\n\\n    /**\\n     * Creates an array excluding all provided values using\\n     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\\n     * for equality comparisons.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {Array} array The array to filter.\\n     * @param {...*} [values] The values to exclude.\\n     * @returns {Array} Returns the new array of filtered values.\\n     * @example\\n     *\\n     * _.without([1, 2, 1, 3], 1, 2);\\n     * // => [3]\\n     */\\n    var without = restParam(function(array, values) {\\n      return isArrayLike(array)\\n        ? baseDifference(array, values)\\n        : [];\\n    });\\n\\n    /**\\n     * Creates an array that is the [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\\n     * of the provided arrays.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {...Array} [arrays] The arrays to inspect.\\n     * @returns {Array} Returns the new array of values.\\n     * @example\\n     *\\n     * _.xor([1, 2], [4, 2]);\\n     * // => [1, 4]\\n     */\\n    function xor() {\\n      var index = -1,\\n          length = arguments.length;\\n\\n      while (++index < length) {\\n        var array = arguments[index];\\n        if (isArrayLike(array)) {\\n          var result = result\\n            ? baseDifference(result, array).concat(baseDifference(array, result))\\n            : array;\\n        }\\n      }\\n      return result ? baseUniq(result) : [];\\n    }\\n\\n    /**\\n     * Creates an array of grouped elements, the first of which contains the first\\n     * elements of the given arrays, the second of which contains the second elements\\n     * of the given arrays, and so on.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {...Array} [arrays] The arrays to process.\\n     * @returns {Array} Returns the new array of grouped elements.\\n     * @example\\n     *\\n     * _.zip(['fred', 'barney'], [30, 40], [true, false]);\\n     * // => [['fred', 30, true], ['barney', 40, false]]\\n     */\\n    var zip = restParam(unzip);\\n\\n    /**\\n     * The inverse of `_.pairs`; this method returns an object composed from arrays\\n     * of property names and values. Provide either a single two dimensional array,\\n     * e.g. `[[key1, value1], [key2, value2]]` or two arrays, one of property names\\n     * and one of corresponding values.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @alias object\\n     * @category Array\\n     * @param {Array} props The property names.\\n     * @param {Array} [values=[]] The property values.\\n     * @returns {Object} Returns the new object.\\n     * @example\\n     *\\n     * _.zipObject([['fred', 30], ['barney', 40]]);\\n     * // => { 'fred': 30, 'barney': 40 }\\n     *\\n     * _.zipObject(['fred', 'barney'], [30, 40]);\\n     * // => { 'fred': 30, 'barney': 40 }\\n     */\\n    function zipObject(props, values) {\\n      var index = -1,\\n          length = props ? props.length : 0,\\n          result = {};\\n\\n      if (length && !values && !isArray(props[0])) {\\n        values = [];\\n      }\\n      while (++index < length) {\\n        var key = props[index];\\n        if (values) {\\n          result[key] = values[index];\\n        } else if (key) {\\n          result[key[0]] = key[1];\\n        }\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * This method is like `_.zip` except that it accepts an iteratee to specify\\n     * how grouped values should be combined. The `iteratee` is bound to `thisArg`\\n     * and invoked with four arguments: (accumulator, value, index, group).\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Array\\n     * @param {...Array} [arrays] The arrays to process.\\n     * @param {Function} [iteratee] The function to combine grouped values.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {Array} Returns the new array of grouped elements.\\n     * @example\\n     *\\n     * _.zipWith([1, 2], [10, 20], [100, 200], _.add);\\n     * // => [111, 222]\\n     */\\n    var zipWith = restParam(function(arrays) {\\n      var length = arrays.length,\\n          iteratee = arrays[length - 2],\\n          thisArg = arrays[length - 1];\\n\\n      if (length > 2 && typeof iteratee == 'function') {\\n        length -= 2;\\n      } else {\\n        iteratee = (length > 1 && typeof thisArg == 'function') ? (--length, thisArg) : undefined;\\n        thisArg = undefined;\\n      }\\n      arrays.length = length;\\n      return unzipWith(arrays, iteratee, thisArg);\\n    });\\n\\n    /**\\n     * Creates a `lodash` object that wraps `value` with explicit method\\n     * chaining enabled.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Chain\\n     * @param {*} value The value to wrap.\\n     * @returns {Object} Returns the new `lodash` wrapper instance.\\n     * @example\\n     *\\n     * var users = [\\n     *   { 'user': 'barney',  'age': 36 },\\n     *   { 'user': 'fred',    'age': 40 },\\n     *   { 'user': 'pebbles', 'age': 1 }\\n     * ];\\n     *\\n     * var youngest = _.chain(users)\\n     *   .sortBy('age')\\n     *   .map(function(chr) {\\n     *     return chr.user + ' is ' + chr.age;\\n     *   })\\n     *   .first()\\n     *   .value();\\n     * // => 'pebbles is 1'\\n     */\\n    function chain(value) {\\n      var result = lodash(value);\\n      result.__chain__ = true;\\n      return result;\\n    }\\n\\n    /**\\n     * This method invokes `interceptor` and returns `value`. The interceptor is\\n     * bound to `thisArg` and invoked with one argument; (value). The purpose of\\n     * this method is to \\\"tap into\\\" a method chain in order to perform operations\\n     * on intermediate results within the chain.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Chain\\n     * @param {*} value The value to provide to `interceptor`.\\n     * @param {Function} interceptor The function to invoke.\\n     * @param {*} [thisArg] The `this` binding of `interceptor`.\\n     * @returns {*} Returns `value`.\\n     * @example\\n     *\\n     * _([1, 2, 3])\\n     *  .tap(function(array) {\\n     *    array.pop();\\n     *  })\\n     *  .reverse()\\n     *  .value();\\n     * // => [2, 1]\\n     */\\n    function tap(value, interceptor, thisArg) {\\n      interceptor.call(thisArg, value);\\n      return value;\\n    }\\n\\n    /**\\n     * This method is like `_.tap` except that it returns the result of `interceptor`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Chain\\n     * @param {*} value The value to provide to `interceptor`.\\n     * @param {Function} interceptor The function to invoke.\\n     * @param {*} [thisArg] The `this` binding of `interceptor`.\\n     * @returns {*} Returns the result of `interceptor`.\\n     * @example\\n     *\\n     * _('  abc  ')\\n     *  .chain()\\n     *  .trim()\\n     *  .thru(function(value) {\\n     *    return [value];\\n     *  })\\n     *  .value();\\n     * // => ['abc']\\n     */\\n    function thru(value, interceptor, thisArg) {\\n      return interceptor.call(thisArg, value);\\n    }\\n\\n    /**\\n     * Enables explicit method chaining on the wrapper object.\\n     *\\n     * @name chain\\n     * @memberOf _\\n     * @category Chain\\n     * @returns {Object} Returns the new `lodash` wrapper instance.\\n     * @example\\n     *\\n     * var users = [\\n     *   { 'user': 'barney', 'age': 36 },\\n     *   { 'user': 'fred',   'age': 40 }\\n     * ];\\n     *\\n     * // without explicit chaining\\n     * _(users).first();\\n     * // => { 'user': 'barney', 'age': 36 }\\n     *\\n     * // with explicit chaining\\n     * _(users).chain()\\n     *   .first()\\n     *   .pick('user')\\n     *   .value();\\n     * // => { 'user': 'barney' }\\n     */\\n    function wrapperChain() {\\n      return chain(this);\\n    }\\n\\n    /**\\n     * Executes the chained sequence and returns the wrapped result.\\n     *\\n     * @name commit\\n     * @memberOf _\\n     * @category Chain\\n     * @returns {Object} Returns the new `lodash` wrapper instance.\\n     * @example\\n     *\\n     * var array = [1, 2];\\n     * var wrapper = _(array).push(3);\\n     *\\n     * console.log(array);\\n     * // => [1, 2]\\n     *\\n     * wrapper = wrapper.commit();\\n     * console.log(array);\\n     * // => [1, 2, 3]\\n     *\\n     * wrapper.last();\\n     * // => 3\\n     *\\n     * console.log(array);\\n     * // => [1, 2, 3]\\n     */\\n    function wrapperCommit() {\\n      return new LodashWrapper(this.value(), this.__chain__);\\n    }\\n\\n    /**\\n     * Creates a clone of the chained sequence planting `value` as the wrapped value.\\n     *\\n     * @name plant\\n     * @memberOf _\\n     * @category Chain\\n     * @returns {Object} Returns the new `lodash` wrapper instance.\\n     * @example\\n     *\\n     * var array = [1, 2];\\n     * var wrapper = _(array).map(function(value) {\\n     *   return Math.pow(value, 2);\\n     * });\\n     *\\n     * var other = [3, 4];\\n     * var otherWrapper = wrapper.plant(other);\\n     *\\n     * otherWrapper.value();\\n     * // => [9, 16]\\n     *\\n     * wrapper.value();\\n     * // => [1, 4]\\n     */\\n    function wrapperPlant(value) {\\n      var result,\\n          parent = this;\\n\\n      while (parent instanceof baseLodash) {\\n        var clone = wrapperClone(parent);\\n        if (result) {\\n          previous.__wrapped__ = clone;\\n        } else {\\n          result = clone;\\n        }\\n        var previous = clone;\\n        parent = parent.__wrapped__;\\n      }\\n      previous.__wrapped__ = value;\\n      return result;\\n    }\\n\\n    /**\\n     * Reverses the wrapped array so the first element becomes the last, the\\n     * second element becomes the second to last, and so on.\\n     *\\n     * **Note:** This method mutates the wrapped array.\\n     *\\n     * @name reverse\\n     * @memberOf _\\n     * @category Chain\\n     * @returns {Object} Returns the new reversed `lodash` wrapper instance.\\n     * @example\\n     *\\n     * var array = [1, 2, 3];\\n     *\\n     * _(array).reverse().value()\\n     * // => [3, 2, 1]\\n     *\\n     * console.log(array);\\n     * // => [3, 2, 1]\\n     */\\n    function wrapperReverse() {\\n      var value = this.__wrapped__;\\n      if (value instanceof LazyWrapper) {\\n        if (this.__actions__.length) {\\n          value = new LazyWrapper(this);\\n        }\\n        return new LodashWrapper(value.reverse(), this.__chain__);\\n      }\\n      return this.thru(function(value) {\\n        return value.reverse();\\n      });\\n    }\\n\\n    /**\\n     * Produces the result of coercing the unwrapped value to a string.\\n     *\\n     * @name toString\\n     * @memberOf _\\n     * @category Chain\\n     * @returns {string} Returns the coerced string value.\\n     * @example\\n     *\\n     * _([1, 2, 3]).toString();\\n     * // => '1,2,3'\\n     */\\n    function wrapperToString() {\\n      return (this.value() + '');\\n    }\\n\\n    /**\\n     * Executes the chained sequence to extract the unwrapped value.\\n     *\\n     * @name value\\n     * @memberOf _\\n     * @alias run, toJSON, valueOf\\n     * @category Chain\\n     * @returns {*} Returns the resolved unwrapped value.\\n     * @example\\n     *\\n     * _([1, 2, 3]).value();\\n     * // => [1, 2, 3]\\n     */\\n    function wrapperValue() {\\n      return baseWrapperValue(this.__wrapped__, this.__actions__);\\n    }\\n\\n    /**\\n     * Creates an array of elements corresponding to the given keys, or indexes,\\n     * of `collection`. Keys may be specified as individual arguments or as arrays\\n     * of keys.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {...(number|number[]|string|string[])} [props] The property names\\n     *  or indexes of elements to pick, specified individually or in arrays.\\n     * @returns {Array} Returns the new array of picked elements.\\n     * @example\\n     *\\n     * _.at(['a', 'b', 'c'], [0, 2]);\\n     * // => ['a', 'c']\\n     *\\n     * _.at(['barney', 'fred', 'pebbles'], 0, 2);\\n     * // => ['barney', 'pebbles']\\n     */\\n    var at = restParam(function(collection, props) {\\n      return baseAt(collection, baseFlatten(props));\\n    });\\n\\n    /**\\n     * Creates an object composed of keys generated from the results of running\\n     * each element of `collection` through `iteratee`. The corresponding value\\n     * of each key is the number of times the key was returned by `iteratee`.\\n     * The `iteratee` is bound to `thisArg` and invoked with three arguments:\\n     * (value, index|key, collection).\\n     *\\n     * If a property name is provided for `iteratee` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `iteratee` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {Object} Returns the composed aggregate object.\\n     * @example\\n     *\\n     * _.countBy([4.3, 6.1, 6.4], function(n) {\\n     *   return Math.floor(n);\\n     * });\\n     * // => { '4': 1, '6': 2 }\\n     *\\n     * _.countBy([4.3, 6.1, 6.4], function(n) {\\n     *   return this.floor(n);\\n     * }, Math);\\n     * // => { '4': 1, '6': 2 }\\n     *\\n     * _.countBy(['one', 'two', 'three'], 'length');\\n     * // => { '3': 2, '5': 1 }\\n     */\\n    var countBy = createAggregator(function(result, value, key) {\\n      hasOwnProperty.call(result, key) ? ++result[key] : (result[key] = 1);\\n    });\\n\\n    /**\\n     * Checks if `predicate` returns truthy for **all** elements of `collection`.\\n     * The predicate is bound to `thisArg` and invoked with three arguments:\\n     * (value, index|key, collection).\\n     *\\n     * If a property name is provided for `predicate` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `predicate` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @alias all\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function|Object|string} [predicate=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `predicate`.\\n     * @returns {boolean} Returns `true` if all elements pass the predicate check,\\n     *  else `false`.\\n     * @example\\n     *\\n     * _.every([true, 1, null, 'yes'], Boolean);\\n     * // => false\\n     *\\n     * var users = [\\n     *   { 'user': 'barney', 'active': false },\\n     *   { 'user': 'fred',   'active': false }\\n     * ];\\n     *\\n     * // using the `_.matches` callback shorthand\\n     * _.every(users, { 'user': 'barney', 'active': false });\\n     * // => false\\n     *\\n     * // using the `_.matchesProperty` callback shorthand\\n     * _.every(users, 'active', false);\\n     * // => true\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.every(users, 'active');\\n     * // => false\\n     */\\n    function every(collection, predicate, thisArg) {\\n      var func = isArray(collection) ? arrayEvery : baseEvery;\\n      if (thisArg && isIterateeCall(collection, predicate, thisArg)) {\\n        predicate = null;\\n      }\\n      if (typeof predicate != 'function' || thisArg !== undefined) {\\n        predicate = getCallback(predicate, thisArg, 3);\\n      }\\n      return func(collection, predicate);\\n    }\\n\\n    /**\\n     * Iterates over elements of `collection`, returning an array of all elements\\n     * `predicate` returns truthy for. The predicate is bound to `thisArg` and\\n     * invoked with three arguments: (value, index|key, collection).\\n     *\\n     * If a property name is provided for `predicate` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `predicate` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @alias select\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function|Object|string} [predicate=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `predicate`.\\n     * @returns {Array} Returns the new filtered array.\\n     * @example\\n     *\\n     * _.filter([4, 5, 6], function(n) {\\n     *   return n % 2 == 0;\\n     * });\\n     * // => [4, 6]\\n     *\\n     * var users = [\\n     *   { 'user': 'barney', 'age': 36, 'active': true },\\n     *   { 'user': 'fred',   'age': 40, 'active': false }\\n     * ];\\n     *\\n     * // using the `_.matches` callback shorthand\\n     * _.pluck(_.filter(users, { 'age': 36, 'active': true }), 'user');\\n     * // => ['barney']\\n     *\\n     * // using the `_.matchesProperty` callback shorthand\\n     * _.pluck(_.filter(users, 'active', false), 'user');\\n     * // => ['fred']\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.pluck(_.filter(users, 'active'), 'user');\\n     * // => ['barney']\\n     */\\n    function filter(collection, predicate, thisArg) {\\n      var func = isArray(collection) ? arrayFilter : baseFilter;\\n      predicate = getCallback(predicate, thisArg, 3);\\n      return func(collection, predicate);\\n    }\\n\\n    /**\\n     * Iterates over elements of `collection`, returning the first element\\n     * `predicate` returns truthy for. The predicate is bound to `thisArg` and\\n     * invoked with three arguments: (value, index|key, collection).\\n     *\\n     * If a property name is provided for `predicate` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `predicate` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @alias detect\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to search.\\n     * @param {Function|Object|string} [predicate=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `predicate`.\\n     * @returns {*} Returns the matched element, else `undefined`.\\n     * @example\\n     *\\n     * var users = [\\n     *   { 'user': 'barney',  'age': 36, 'active': true },\\n     *   { 'user': 'fred',    'age': 40, 'active': false },\\n     *   { 'user': 'pebbles', 'age': 1,  'active': true }\\n     * ];\\n     *\\n     * _.result(_.find(users, function(chr) {\\n     *   return chr.age < 40;\\n     * }), 'user');\\n     * // => 'barney'\\n     *\\n     * // using the `_.matches` callback shorthand\\n     * _.result(_.find(users, { 'age': 1, 'active': true }), 'user');\\n     * // => 'pebbles'\\n     *\\n     * // using the `_.matchesProperty` callback shorthand\\n     * _.result(_.find(users, 'active', false), 'user');\\n     * // => 'fred'\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.result(_.find(users, 'active'), 'user');\\n     * // => 'barney'\\n     */\\n    var find = createFind(baseEach);\\n\\n    /**\\n     * This method is like `_.find` except that it iterates over elements of\\n     * `collection` from right to left.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to search.\\n     * @param {Function|Object|string} [predicate=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `predicate`.\\n     * @returns {*} Returns the matched element, else `undefined`.\\n     * @example\\n     *\\n     * _.findLast([1, 2, 3, 4], function(n) {\\n     *   return n % 2 == 1;\\n     * });\\n     * // => 3\\n     */\\n    var findLast = createFind(baseEachRight, true);\\n\\n    /**\\n     * Performs a deep comparison between each element in `collection` and the\\n     * source object, returning the first element that has equivalent property\\n     * values.\\n     *\\n     * **Note:** This method supports comparing arrays, booleans, `Date` objects,\\n     * numbers, `Object` objects, regexes, and strings. Objects are compared by\\n     * their own, not inherited, enumerable properties. For comparing a single\\n     * own or inherited property value see `_.matchesProperty`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to search.\\n     * @param {Object} source The object of property values to match.\\n     * @returns {*} Returns the matched element, else `undefined`.\\n     * @example\\n     *\\n     * var users = [\\n     *   { 'user': 'barney', 'age': 36, 'active': true },\\n     *   { 'user': 'fred',   'age': 40, 'active': false }\\n     * ];\\n     *\\n     * _.result(_.findWhere(users, { 'age': 36, 'active': true }), 'user');\\n     * // => 'barney'\\n     *\\n     * _.result(_.findWhere(users, { 'age': 40, 'active': false }), 'user');\\n     * // => 'fred'\\n     */\\n    function findWhere(collection, source) {\\n      return find(collection, baseMatches(source));\\n    }\\n\\n    /**\\n     * Iterates over elements of `collection` invoking `iteratee` for each element.\\n     * The `iteratee` is bound to `thisArg` and invoked with three arguments:\\n     * (value, index|key, collection). Iteratee functions may exit iteration early\\n     * by explicitly returning `false`.\\n     *\\n     * **Note:** As with other \\\"Collections\\\" methods, objects with a \\\"length\\\" property\\n     * are iterated like arrays. To avoid this behavior `_.forIn` or `_.forOwn`\\n     * may be used for object iteration.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @alias each\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {Array|Object|string} Returns `collection`.\\n     * @example\\n     *\\n     * _([1, 2]).forEach(function(n) {\\n     *   console.log(n);\\n     * }).value();\\n     * // => logs each value from left to right and returns the array\\n     *\\n     * _.forEach({ 'a': 1, 'b': 2 }, function(n, key) {\\n     *   console.log(n, key);\\n     * });\\n     * // => logs each value-key pair and returns the object (iteration order is not guaranteed)\\n     */\\n    var forEach = createForEach(arrayEach, baseEach);\\n\\n    /**\\n     * This method is like `_.forEach` except that it iterates over elements of\\n     * `collection` from right to left.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @alias eachRight\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {Array|Object|string} Returns `collection`.\\n     * @example\\n     *\\n     * _([1, 2]).forEachRight(function(n) {\\n     *   console.log(n);\\n     * }).value();\\n     * // => logs each value from right to left and returns the array\\n     */\\n    var forEachRight = createForEach(arrayEachRight, baseEachRight);\\n\\n    /**\\n     * Creates an object composed of keys generated from the results of running\\n     * each element of `collection` through `iteratee`. The corresponding value\\n     * of each key is an array of the elements responsible for generating the key.\\n     * The `iteratee` is bound to `thisArg` and invoked with three arguments:\\n     * (value, index|key, collection).\\n     *\\n     * If a property name is provided for `iteratee` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `iteratee` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {Object} Returns the composed aggregate object.\\n     * @example\\n     *\\n     * _.groupBy([4.2, 6.1, 6.4], function(n) {\\n     *   return Math.floor(n);\\n     * });\\n     * // => { '4': [4.2], '6': [6.1, 6.4] }\\n     *\\n     * _.groupBy([4.2, 6.1, 6.4], function(n) {\\n     *   return this.floor(n);\\n     * }, Math);\\n     * // => { '4': [4.2], '6': [6.1, 6.4] }\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.groupBy(['one', 'two', 'three'], 'length');\\n     * // => { '3': ['one', 'two'], '5': ['three'] }\\n     */\\n    var groupBy = createAggregator(function(result, value, key) {\\n      if (hasOwnProperty.call(result, key)) {\\n        result[key].push(value);\\n      } else {\\n        result[key] = [value];\\n      }\\n    });\\n\\n    /**\\n     * Checks if `value` is in `collection` using\\n     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\\n     * for equality comparisons. If `fromIndex` is negative, it is used as the offset\\n     * from the end of `collection`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @alias contains, include\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to search.\\n     * @param {*} target The value to search for.\\n     * @param {number} [fromIndex=0] The index to search from.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.reduce`.\\n     * @returns {boolean} Returns `true` if a matching element is found, else `false`.\\n     * @example\\n     *\\n     * _.includes([1, 2, 3], 1);\\n     * // => true\\n     *\\n     * _.includes([1, 2, 3], 1, 2);\\n     * // => false\\n     *\\n     * _.includes({ 'user': 'fred', 'age': 40 }, 'fred');\\n     * // => true\\n     *\\n     * _.includes('pebbles', 'eb');\\n     * // => true\\n     */\\n    function includes(collection, target, fromIndex, guard) {\\n      var length = collection ? getLength(collection) : 0;\\n      if (!isLength(length)) {\\n        collection = values(collection);\\n        length = collection.length;\\n      }\\n      if (!length) {\\n        return false;\\n      }\\n      if (typeof fromIndex != 'number' || (guard && isIterateeCall(target, fromIndex, guard))) {\\n        fromIndex = 0;\\n      } else {\\n        fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : (fromIndex || 0);\\n      }\\n      return (typeof collection == 'string' || !isArray(collection) && isString(collection))\\n        ? (fromIndex < length && collection.indexOf(target, fromIndex) > -1)\\n        : (getIndexOf(collection, target, fromIndex) > -1);\\n    }\\n\\n    /**\\n     * Creates an object composed of keys generated from the results of running\\n     * each element of `collection` through `iteratee`. The corresponding value\\n     * of each key is the last element responsible for generating the key. The\\n     * iteratee function is bound to `thisArg` and invoked with three arguments:\\n     * (value, index|key, collection).\\n     *\\n     * If a property name is provided for `iteratee` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `iteratee` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {Object} Returns the composed aggregate object.\\n     * @example\\n     *\\n     * var keyData = [\\n     *   { 'dir': 'left', 'code': 97 },\\n     *   { 'dir': 'right', 'code': 100 }\\n     * ];\\n     *\\n     * _.indexBy(keyData, 'dir');\\n     * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\\n     *\\n     * _.indexBy(keyData, function(object) {\\n     *   return String.fromCharCode(object.code);\\n     * });\\n     * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\\n     *\\n     * _.indexBy(keyData, function(object) {\\n     *   return this.fromCharCode(object.code);\\n     * }, String);\\n     * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\\n     */\\n    var indexBy = createAggregator(function(result, value, key) {\\n      result[key] = value;\\n    });\\n\\n    /**\\n     * Invokes the method at `path` on each element in `collection`, returning\\n     * an array of the results of each invoked method. Any additional arguments\\n     * are provided to each invoked method. If `methodName` is a function it is\\n     * invoked for, and `this` bound to, each element in `collection`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Array|Function|string} path The path of the method to invoke or\\n     *  the function invoked per iteration.\\n     * @param {...*} [args] The arguments to invoke the method with.\\n     * @returns {Array} Returns the array of results.\\n     * @example\\n     *\\n     * _.invoke([[5, 1, 7], [3, 2, 1]], 'sort');\\n     * // => [[1, 5, 7], [1, 2, 3]]\\n     *\\n     * _.invoke([123, 456], String.prototype.split, '');\\n     * // => [['1', '2', '3'], ['4', '5', '6']]\\n     */\\n    var invoke = restParam(function(collection, path, args) {\\n      var index = -1,\\n          isFunc = typeof path == 'function',\\n          isProp = isKey(path),\\n          result = isArrayLike(collection) ? Array(collection.length) : [];\\n\\n      baseEach(collection, function(value) {\\n        var func = isFunc ? path : (isProp && value != null && value[path]);\\n        result[++index] = func ? func.apply(value, args) : invokePath(value, path, args);\\n      });\\n      return result;\\n    });\\n\\n    /**\\n     * Creates an array of values by running each element in `collection` through\\n     * `iteratee`. The `iteratee` is bound to `thisArg` and invoked with three\\n     * arguments: (value, index|key, collection).\\n     *\\n     * If a property name is provided for `iteratee` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `iteratee` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * Many lodash methods are guarded to work as interatees for methods like\\n     * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\\n     *\\n     * The guarded methods are:\\n     * `ary`, `callback`, `chunk`, `clone`, `create`, `curry`, `curryRight`,\\n     * `drop`, `dropRight`, `every`, `fill`, `flatten`, `invert`, `max`, `min`,\\n     * `parseInt`, `slice`, `sortBy`, `take`, `takeRight`, `template`, `trim`,\\n     * `trimLeft`, `trimRight`, `trunc`, `random`, `range`, `sample`, `some`,\\n     * `sum`, `uniq`, and `words`\\n     *\\n     * @static\\n     * @memberOf _\\n     * @alias collect\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {Array} Returns the new mapped array.\\n     * @example\\n     *\\n     * function timesThree(n) {\\n     *   return n * 3;\\n     * }\\n     *\\n     * _.map([1, 2], timesThree);\\n     * // => [3, 6]\\n     *\\n     * _.map({ 'a': 1, 'b': 2 }, timesThree);\\n     * // => [3, 6] (iteration order is not guaranteed)\\n     *\\n     * var users = [\\n     *   { 'user': 'barney' },\\n     *   { 'user': 'fred' }\\n     * ];\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.map(users, 'user');\\n     * // => ['barney', 'fred']\\n     */\\n    function map(collection, iteratee, thisArg) {\\n      var func = isArray(collection) ? arrayMap : baseMap;\\n      iteratee = getCallback(iteratee, thisArg, 3);\\n      return func(collection, iteratee);\\n    }\\n\\n    /**\\n     * Creates an array of elements split into two groups, the first of which\\n     * contains elements `predicate` returns truthy for, while the second of which\\n     * contains elements `predicate` returns falsey for. The predicate is bound\\n     * to `thisArg` and invoked with three arguments: (value, index|key, collection).\\n     *\\n     * If a property name is provided for `predicate` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `predicate` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function|Object|string} [predicate=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `predicate`.\\n     * @returns {Array} Returns the array of grouped elements.\\n     * @example\\n     *\\n     * _.partition([1, 2, 3], function(n) {\\n     *   return n % 2;\\n     * });\\n     * // => [[1, 3], [2]]\\n     *\\n     * _.partition([1.2, 2.3, 3.4], function(n) {\\n     *   return this.floor(n) % 2;\\n     * }, Math);\\n     * // => [[1.2, 3.4], [2.3]]\\n     *\\n     * var users = [\\n     *   { 'user': 'barney',  'age': 36, 'active': false },\\n     *   { 'user': 'fred',    'age': 40, 'active': true },\\n     *   { 'user': 'pebbles', 'age': 1,  'active': false }\\n     * ];\\n     *\\n     * var mapper = function(array) {\\n     *   return _.pluck(array, 'user');\\n     * };\\n     *\\n     * // using the `_.matches` callback shorthand\\n     * _.map(_.partition(users, { 'age': 1, 'active': false }), mapper);\\n     * // => [['pebbles'], ['barney', 'fred']]\\n     *\\n     * // using the `_.matchesProperty` callback shorthand\\n     * _.map(_.partition(users, 'active', false), mapper);\\n     * // => [['barney', 'pebbles'], ['fred']]\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.map(_.partition(users, 'active'), mapper);\\n     * // => [['fred'], ['barney', 'pebbles']]\\n     */\\n    var partition = createAggregator(function(result, value, key) {\\n      result[key ? 0 : 1].push(value);\\n    }, function() { return [[], []]; });\\n\\n    /**\\n     * Gets the property value of `path` from all elements in `collection`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Array|string} path The path of the property to pluck.\\n     * @returns {Array} Returns the property values.\\n     * @example\\n     *\\n     * var users = [\\n     *   { 'user': 'barney', 'age': 36 },\\n     *   { 'user': 'fred',   'age': 40 }\\n     * ];\\n     *\\n     * _.pluck(users, 'user');\\n     * // => ['barney', 'fred']\\n     *\\n     * var userIndex = _.indexBy(users, 'user');\\n     * _.pluck(userIndex, 'age');\\n     * // => [36, 40] (iteration order is not guaranteed)\\n     */\\n    function pluck(collection, path) {\\n      return map(collection, property(path));\\n    }\\n\\n    /**\\n     * Reduces `collection` to a value which is the accumulated result of running\\n     * each element in `collection` through `iteratee`, where each successive\\n     * invocation is supplied the return value of the previous. If `accumulator`\\n     * is not provided the first element of `collection` is used as the initial\\n     * value. The `iteratee` is bound to `thisArg` and invoked with four arguments:\\n     * (accumulator, value, index|key, collection).\\n     *\\n     * Many lodash methods are guarded to work as interatees for methods like\\n     * `_.reduce`, `_.reduceRight`, and `_.transform`.\\n     *\\n     * The guarded methods are:\\n     * `assign`, `defaults`, `includes`, `merge`, `sortByAll`, and `sortByOrder`\\n     *\\n     * @static\\n     * @memberOf _\\n     * @alias foldl, inject\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\\n     * @param {*} [accumulator] The initial value.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {*} Returns the accumulated value.\\n     * @example\\n     *\\n     * _.reduce([1, 2], function(total, n) {\\n     *   return total + n;\\n     * });\\n     * // => 3\\n     *\\n     * _.reduce({ 'a': 1, 'b': 2 }, function(result, n, key) {\\n     *   result[key] = n * 3;\\n     *   return result;\\n     * }, {});\\n     * // => { 'a': 3, 'b': 6 } (iteration order is not guaranteed)\\n     */\\n    var reduce = createReduce(arrayReduce, baseEach);\\n\\n    /**\\n     * This method is like `_.reduce` except that it iterates over elements of\\n     * `collection` from right to left.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @alias foldr\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\\n     * @param {*} [accumulator] The initial value.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {*} Returns the accumulated value.\\n     * @example\\n     *\\n     * var array = [[0, 1], [2, 3], [4, 5]];\\n     *\\n     * _.reduceRight(array, function(flattened, other) {\\n     *   return flattened.concat(other);\\n     * }, []);\\n     * // => [4, 5, 2, 3, 0, 1]\\n     */\\n    var reduceRight = createReduce(arrayReduceRight, baseEachRight);\\n\\n    /**\\n     * The opposite of `_.filter`; this method returns the elements of `collection`\\n     * that `predicate` does **not** return truthy for.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function|Object|string} [predicate=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `predicate`.\\n     * @returns {Array} Returns the new filtered array.\\n     * @example\\n     *\\n     * _.reject([1, 2, 3, 4], function(n) {\\n     *   return n % 2 == 0;\\n     * });\\n     * // => [1, 3]\\n     *\\n     * var users = [\\n     *   { 'user': 'barney', 'age': 36, 'active': false },\\n     *   { 'user': 'fred',   'age': 40, 'active': true }\\n     * ];\\n     *\\n     * // using the `_.matches` callback shorthand\\n     * _.pluck(_.reject(users, { 'age': 40, 'active': true }), 'user');\\n     * // => ['barney']\\n     *\\n     * // using the `_.matchesProperty` callback shorthand\\n     * _.pluck(_.reject(users, 'active', false), 'user');\\n     * // => ['fred']\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.pluck(_.reject(users, 'active'), 'user');\\n     * // => ['barney']\\n     */\\n    function reject(collection, predicate, thisArg) {\\n      var func = isArray(collection) ? arrayFilter : baseFilter;\\n      predicate = getCallback(predicate, thisArg, 3);\\n      return func(collection, function(value, index, collection) {\\n        return !predicate(value, index, collection);\\n      });\\n    }\\n\\n    /**\\n     * Gets a random element or `n` random elements from a collection.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to sample.\\n     * @param {number} [n] The number of elements to sample.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {*} Returns the random sample(s).\\n     * @example\\n     *\\n     * _.sample([1, 2, 3, 4]);\\n     * // => 2\\n     *\\n     * _.sample([1, 2, 3, 4], 2);\\n     * // => [3, 1]\\n     */\\n    function sample(collection, n, guard) {\\n      if (guard ? isIterateeCall(collection, n, guard) : n == null) {\\n        collection = toIterable(collection);\\n        var length = collection.length;\\n        return length > 0 ? collection[baseRandom(0, length - 1)] : undefined;\\n      }\\n      var result = shuffle(collection);\\n      result.length = nativeMin(n < 0 ? 0 : (+n || 0), result.length);\\n      return result;\\n    }\\n\\n    /**\\n     * Creates an array of shuffled values, using a version of the\\n     * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to shuffle.\\n     * @returns {Array} Returns the new shuffled array.\\n     * @example\\n     *\\n     * _.shuffle([1, 2, 3, 4]);\\n     * // => [4, 1, 3, 2]\\n     */\\n    function shuffle(collection) {\\n      collection = toIterable(collection);\\n\\n      var index = -1,\\n          length = collection.length,\\n          result = Array(length);\\n\\n      while (++index < length) {\\n        var rand = baseRandom(0, index);\\n        if (index != rand) {\\n          result[index] = result[rand];\\n        }\\n        result[rand] = collection[index];\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Gets the size of `collection` by returning its length for array-like\\n     * values or the number of own enumerable properties for objects.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to inspect.\\n     * @returns {number} Returns the size of `collection`.\\n     * @example\\n     *\\n     * _.size([1, 2, 3]);\\n     * // => 3\\n     *\\n     * _.size({ 'a': 1, 'b': 2 });\\n     * // => 2\\n     *\\n     * _.size('pebbles');\\n     * // => 7\\n     */\\n    function size(collection) {\\n      var length = collection ? getLength(collection) : 0;\\n      return isLength(length) ? length : keys(collection).length;\\n    }\\n\\n    /**\\n     * Checks if `predicate` returns truthy for **any** element of `collection`.\\n     * The function returns as soon as it finds a passing value and does not iterate\\n     * over the entire collection. The predicate is bound to `thisArg` and invoked\\n     * with three arguments: (value, index|key, collection).\\n     *\\n     * If a property name is provided for `predicate` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `predicate` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @alias any\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function|Object|string} [predicate=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `predicate`.\\n     * @returns {boolean} Returns `true` if any element passes the predicate check,\\n     *  else `false`.\\n     * @example\\n     *\\n     * _.some([null, 0, 'yes', false], Boolean);\\n     * // => true\\n     *\\n     * var users = [\\n     *   { 'user': 'barney', 'active': true },\\n     *   { 'user': 'fred',   'active': false }\\n     * ];\\n     *\\n     * // using the `_.matches` callback shorthand\\n     * _.some(users, { 'user': 'barney', 'active': false });\\n     * // => false\\n     *\\n     * // using the `_.matchesProperty` callback shorthand\\n     * _.some(users, 'active', false);\\n     * // => true\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.some(users, 'active');\\n     * // => true\\n     */\\n    function some(collection, predicate, thisArg) {\\n      var func = isArray(collection) ? arraySome : baseSome;\\n      if (thisArg && isIterateeCall(collection, predicate, thisArg)) {\\n        predicate = null;\\n      }\\n      if (typeof predicate != 'function' || thisArg !== undefined) {\\n        predicate = getCallback(predicate, thisArg, 3);\\n      }\\n      return func(collection, predicate);\\n    }\\n\\n    /**\\n     * Creates an array of elements, sorted in ascending order by the results of\\n     * running each element in a collection through `iteratee`. This method performs\\n     * a stable sort, that is, it preserves the original sort order of equal elements.\\n     * The `iteratee` is bound to `thisArg` and invoked with three arguments:\\n     * (value, index|key, collection).\\n     *\\n     * If a property name is provided for `iteratee` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `iteratee` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {Array} Returns the new sorted array.\\n     * @example\\n     *\\n     * _.sortBy([1, 2, 3], function(n) {\\n     *   return Math.sin(n);\\n     * });\\n     * // => [3, 1, 2]\\n     *\\n     * _.sortBy([1, 2, 3], function(n) {\\n     *   return this.sin(n);\\n     * }, Math);\\n     * // => [3, 1, 2]\\n     *\\n     * var users = [\\n     *   { 'user': 'fred' },\\n     *   { 'user': 'pebbles' },\\n     *   { 'user': 'barney' }\\n     * ];\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.pluck(_.sortBy(users, 'user'), 'user');\\n     * // => ['barney', 'fred', 'pebbles']\\n     */\\n    function sortBy(collection, iteratee, thisArg) {\\n      if (collection == null) {\\n        return [];\\n      }\\n      if (thisArg && isIterateeCall(collection, iteratee, thisArg)) {\\n        iteratee = null;\\n      }\\n      var index = -1;\\n      iteratee = getCallback(iteratee, thisArg, 3);\\n\\n      var result = baseMap(collection, function(value, key, collection) {\\n        return { 'criteria': iteratee(value, key, collection), 'index': ++index, 'value': value };\\n      });\\n      return baseSortBy(result, compareAscending);\\n    }\\n\\n    /**\\n     * This method is like `_.sortBy` except that it can sort by multiple iteratees\\n     * or property names.\\n     *\\n     * If a property name is provided for an iteratee the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If an object is provided for an iteratee the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {...(Function|Function[]|Object|Object[]|string|string[])} iteratees\\n     *  The iteratees to sort by, specified as individual values or arrays of values.\\n     * @returns {Array} Returns the new sorted array.\\n     * @example\\n     *\\n     * var users = [\\n     *   { 'user': 'fred',   'age': 48 },\\n     *   { 'user': 'barney', 'age': 36 },\\n     *   { 'user': 'fred',   'age': 42 },\\n     *   { 'user': 'barney', 'age': 34 }\\n     * ];\\n     *\\n     * _.map(_.sortByAll(users, ['user', 'age']), _.values);\\n     * // => [['barney', 34], ['barney', 36], ['fred', 42], ['fred', 48]]\\n     *\\n     * _.map(_.sortByAll(users, 'user', function(chr) {\\n     *   return Math.floor(chr.age / 10);\\n     * }), _.values);\\n     * // => [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]]\\n     */\\n    var sortByAll = restParam(function(collection, iteratees) {\\n      if (collection == null) {\\n        return [];\\n      }\\n      var guard = iteratees[2];\\n      if (guard && isIterateeCall(iteratees[0], iteratees[1], guard)) {\\n        iteratees.length = 1;\\n      }\\n      return baseSortByOrder(collection, baseFlatten(iteratees), []);\\n    });\\n\\n    /**\\n     * This method is like `_.sortByAll` except that it allows specifying the\\n     * sort orders of the iteratees to sort by. A truthy value in `orders` will\\n     * sort the corresponding property name in ascending order while a falsey\\n     * value will sort it in descending order.\\n     *\\n     * If a property name is provided for an iteratee the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If an object is provided for an iteratee the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\\n     * @param {boolean[]} orders The sort orders of `iteratees`.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.reduce`.\\n     * @returns {Array} Returns the new sorted array.\\n     * @example\\n     *\\n     * var users = [\\n     *   { 'user': 'fred',   'age': 48 },\\n     *   { 'user': 'barney', 'age': 34 },\\n     *   { 'user': 'fred',   'age': 42 },\\n     *   { 'user': 'barney', 'age': 36 }\\n     * ];\\n     *\\n     * // sort by `user` in ascending order and by `age` in descending order\\n     * _.map(_.sortByOrder(users, ['user', 'age'], [true, false]), _.values);\\n     * // => [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]]\\n     */\\n    function sortByOrder(collection, iteratees, orders, guard) {\\n      if (collection == null) {\\n        return [];\\n      }\\n      if (guard && isIterateeCall(iteratees, orders, guard)) {\\n        orders = null;\\n      }\\n      if (!isArray(iteratees)) {\\n        iteratees = iteratees == null ? [] : [iteratees];\\n      }\\n      if (!isArray(orders)) {\\n        orders = orders == null ? [] : [orders];\\n      }\\n      return baseSortByOrder(collection, iteratees, orders);\\n    }\\n\\n    /**\\n     * Performs a deep comparison between each element in `collection` and the\\n     * source object, returning an array of all elements that have equivalent\\n     * property values.\\n     *\\n     * **Note:** This method supports comparing arrays, booleans, `Date` objects,\\n     * numbers, `Object` objects, regexes, and strings. Objects are compared by\\n     * their own, not inherited, enumerable properties. For comparing a single\\n     * own or inherited property value see `_.matchesProperty`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Collection\\n     * @param {Array|Object|string} collection The collection to search.\\n     * @param {Object} source The object of property values to match.\\n     * @returns {Array} Returns the new filtered array.\\n     * @example\\n     *\\n     * var users = [\\n     *   { 'user': 'barney', 'age': 36, 'active': false, 'pets': ['hoppy'] },\\n     *   { 'user': 'fred',   'age': 40, 'active': true, 'pets': ['baby puss', 'dino'] }\\n     * ];\\n     *\\n     * _.pluck(_.where(users, { 'age': 36, 'active': false }), 'user');\\n     * // => ['barney']\\n     *\\n     * _.pluck(_.where(users, { 'pets': ['dino'] }), 'user');\\n     * // => ['fred']\\n     */\\n    function where(collection, source) {\\n      return filter(collection, baseMatches(source));\\n    }\\n\\n    /**\\n     * Gets the number of milliseconds that have elapsed since the Unix epoch\\n     * (1 January 1970 00:00:00 UTC).\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Date\\n     * @example\\n     *\\n     * _.defer(function(stamp) {\\n     *   console.log(_.now() - stamp);\\n     * }, _.now());\\n     * // => logs the number of milliseconds it took for the deferred function to be invoked\\n     */\\n    var now = nativeNow || function() {\\n      return new Date().getTime();\\n    };\\n\\n    /**\\n     * The opposite of `_.before`; this method creates a function that invokes\\n     * `func` once it is called `n` or more times.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {number} n The number of calls before `func` is invoked.\\n     * @param {Function} func The function to restrict.\\n     * @returns {Function} Returns the new restricted function.\\n     * @example\\n     *\\n     * var saves = ['profile', 'settings'];\\n     *\\n     * var done = _.after(saves.length, function() {\\n     *   console.log('done saving!');\\n     * });\\n     *\\n     * _.forEach(saves, function(type) {\\n     *   asyncSave({ 'type': type, 'complete': done });\\n     * });\\n     * // => logs 'done saving!' after the two async saves have completed\\n     */\\n    function after(n, func) {\\n      if (typeof func != 'function') {\\n        if (typeof n == 'function') {\\n          var temp = n;\\n          n = func;\\n          func = temp;\\n        } else {\\n          throw new TypeError(FUNC_ERROR_TEXT);\\n        }\\n      }\\n      n = nativeIsFinite(n = +n) ? n : 0;\\n      return function() {\\n        if (--n < 1) {\\n          return func.apply(this, arguments);\\n        }\\n      };\\n    }\\n\\n    /**\\n     * Creates a function that accepts up to `n` arguments ignoring any\\n     * additional arguments.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {Function} func The function to cap arguments for.\\n     * @param {number} [n=func.length] The arity cap.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {Function} Returns the new function.\\n     * @example\\n     *\\n     * _.map(['6', '8', '10'], _.ary(parseInt, 1));\\n     * // => [6, 8, 10]\\n     */\\n    function ary(func, n, guard) {\\n      if (guard && isIterateeCall(func, n, guard)) {\\n        n = null;\\n      }\\n      n = (func && n == null) ? func.length : nativeMax(+n || 0, 0);\\n      return createWrapper(func, ARY_FLAG, null, null, null, null, n);\\n    }\\n\\n    /**\\n     * Creates a function that invokes `func`, with the `this` binding and arguments\\n     * of the created function, while it is called less than `n` times. Subsequent\\n     * calls to the created function return the result of the last `func` invocation.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {number} n The number of calls at which `func` is no longer invoked.\\n     * @param {Function} func The function to restrict.\\n     * @returns {Function} Returns the new restricted function.\\n     * @example\\n     *\\n     * jQuery('#add').on('click', _.before(5, addContactToList));\\n     * // => allows adding up to 4 contacts to the list\\n     */\\n    function before(n, func) {\\n      var result;\\n      if (typeof func != 'function') {\\n        if (typeof n == 'function') {\\n          var temp = n;\\n          n = func;\\n          func = temp;\\n        } else {\\n          throw new TypeError(FUNC_ERROR_TEXT);\\n        }\\n      }\\n      return function() {\\n        if (--n > 0) {\\n          result = func.apply(this, arguments);\\n        }\\n        if (n <= 1) {\\n          func = null;\\n        }\\n        return result;\\n      };\\n    }\\n\\n    /**\\n     * Creates a function that invokes `func` with the `this` binding of `thisArg`\\n     * and prepends any additional `_.bind` arguments to those provided to the\\n     * bound function.\\n     *\\n     * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\\n     * may be used as a placeholder for partially applied arguments.\\n     *\\n     * **Note:** Unlike native `Function#bind` this method does not set the \\\"length\\\"\\n     * property of bound functions.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {Function} func The function to bind.\\n     * @param {*} thisArg The `this` binding of `func`.\\n     * @param {...*} [partials] The arguments to be partially applied.\\n     * @returns {Function} Returns the new bound function.\\n     * @example\\n     *\\n     * var greet = function(greeting, punctuation) {\\n     *   return greeting + ' ' + this.user + punctuation;\\n     * };\\n     *\\n     * var object = { 'user': 'fred' };\\n     *\\n     * var bound = _.bind(greet, object, 'hi');\\n     * bound('!');\\n     * // => 'hi fred!'\\n     *\\n     * // using placeholders\\n     * var bound = _.bind(greet, object, _, '!');\\n     * bound('hi');\\n     * // => 'hi fred!'\\n     */\\n    var bind = restParam(function(func, thisArg, partials) {\\n      var bitmask = BIND_FLAG;\\n      if (partials.length) {\\n        var holders = replaceHolders(partials, bind.placeholder);\\n        bitmask |= PARTIAL_FLAG;\\n      }\\n      return createWrapper(func, bitmask, thisArg, partials, holders);\\n    });\\n\\n    /**\\n     * Binds methods of an object to the object itself, overwriting the existing\\n     * method. Method names may be specified as individual arguments or as arrays\\n     * of method names. If no method names are provided all enumerable function\\n     * properties, own and inherited, of `object` are bound.\\n     *\\n     * **Note:** This method does not set the \\\"length\\\" property of bound functions.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {Object} object The object to bind and assign the bound methods to.\\n     * @param {...(string|string[])} [methodNames] The object method names to bind,\\n     *  specified as individual method names or arrays of method names.\\n     * @returns {Object} Returns `object`.\\n     * @example\\n     *\\n     * var view = {\\n     *   'label': 'docs',\\n     *   'onClick': function() {\\n     *     console.log('clicked ' + this.label);\\n     *   }\\n     * };\\n     *\\n     * _.bindAll(view);\\n     * jQuery('#docs').on('click', view.onClick);\\n     * // => logs 'clicked docs' when the element is clicked\\n     */\\n    var bindAll = restParam(function(object, methodNames) {\\n      methodNames = methodNames.length ? baseFlatten(methodNames) : functions(object);\\n\\n      var index = -1,\\n          length = methodNames.length;\\n\\n      while (++index < length) {\\n        var key = methodNames[index];\\n        object[key] = createWrapper(object[key], BIND_FLAG, object);\\n      }\\n      return object;\\n    });\\n\\n    /**\\n     * Creates a function that invokes the method at `object[key]` and prepends\\n     * any additional `_.bindKey` arguments to those provided to the bound function.\\n     *\\n     * This method differs from `_.bind` by allowing bound functions to reference\\n     * methods that may be redefined or don't yet exist.\\n     * See [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\\n     * for more details.\\n     *\\n     * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\\n     * builds, may be used as a placeholder for partially applied arguments.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {Object} object The object the method belongs to.\\n     * @param {string} key The key of the method.\\n     * @param {...*} [partials] The arguments to be partially applied.\\n     * @returns {Function} Returns the new bound function.\\n     * @example\\n     *\\n     * var object = {\\n     *   'user': 'fred',\\n     *   'greet': function(greeting, punctuation) {\\n     *     return greeting + ' ' + this.user + punctuation;\\n     *   }\\n     * };\\n     *\\n     * var bound = _.bindKey(object, 'greet', 'hi');\\n     * bound('!');\\n     * // => 'hi fred!'\\n     *\\n     * object.greet = function(greeting, punctuation) {\\n     *   return greeting + 'ya ' + this.user + punctuation;\\n     * };\\n     *\\n     * bound('!');\\n     * // => 'hiya fred!'\\n     *\\n     * // using placeholders\\n     * var bound = _.bindKey(object, 'greet', _, '!');\\n     * bound('hi');\\n     * // => 'hiya fred!'\\n     */\\n    var bindKey = restParam(function(object, key, partials) {\\n      var bitmask = BIND_FLAG | BIND_KEY_FLAG;\\n      if (partials.length) {\\n        var holders = replaceHolders(partials, bindKey.placeholder);\\n        bitmask |= PARTIAL_FLAG;\\n      }\\n      return createWrapper(key, bitmask, object, partials, holders);\\n    });\\n\\n    /**\\n     * Creates a function that accepts one or more arguments of `func` that when\\n     * called either invokes `func` returning its result, if all `func` arguments\\n     * have been provided, or returns a function that accepts one or more of the\\n     * remaining `func` arguments, and so on. The arity of `func` may be specified\\n     * if `func.length` is not sufficient.\\n     *\\n     * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\\n     * may be used as a placeholder for provided arguments.\\n     *\\n     * **Note:** This method does not set the \\\"length\\\" property of curried functions.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {Function} func The function to curry.\\n     * @param {number} [arity=func.length] The arity of `func`.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {Function} Returns the new curried function.\\n     * @example\\n     *\\n     * var abc = function(a, b, c) {\\n     *   return [a, b, c];\\n     * };\\n     *\\n     * var curried = _.curry(abc);\\n     *\\n     * curried(1)(2)(3);\\n     * // => [1, 2, 3]\\n     *\\n     * curried(1, 2)(3);\\n     * // => [1, 2, 3]\\n     *\\n     * curried(1, 2, 3);\\n     * // => [1, 2, 3]\\n     *\\n     * // using placeholders\\n     * curried(1)(_, 3)(2);\\n     * // => [1, 2, 3]\\n     */\\n    var curry = createCurry(CURRY_FLAG);\\n\\n    /**\\n     * This method is like `_.curry` except that arguments are applied to `func`\\n     * in the manner of `_.partialRight` instead of `_.partial`.\\n     *\\n     * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\\n     * builds, may be used as a placeholder for provided arguments.\\n     *\\n     * **Note:** This method does not set the \\\"length\\\" property of curried functions.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {Function} func The function to curry.\\n     * @param {number} [arity=func.length] The arity of `func`.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {Function} Returns the new curried function.\\n     * @example\\n     *\\n     * var abc = function(a, b, c) {\\n     *   return [a, b, c];\\n     * };\\n     *\\n     * var curried = _.curryRight(abc);\\n     *\\n     * curried(3)(2)(1);\\n     * // => [1, 2, 3]\\n     *\\n     * curried(2, 3)(1);\\n     * // => [1, 2, 3]\\n     *\\n     * curried(1, 2, 3);\\n     * // => [1, 2, 3]\\n     *\\n     * // using placeholders\\n     * curried(3)(1, _)(2);\\n     * // => [1, 2, 3]\\n     */\\n    var curryRight = createCurry(CURRY_RIGHT_FLAG);\\n\\n    /**\\n     * Creates a function that delays invoking `func` until after `wait` milliseconds\\n     * have elapsed since the last time it was invoked. The created function comes\\n     * with a `cancel` method to cancel delayed invocations. Provide an options\\n     * object to indicate that `func` should be invoked on the leading and/or\\n     * trailing edge of the `wait` timeout. Subsequent calls to the debounced\\n     * function return the result of the last `func` invocation.\\n     *\\n     * **Note:** If `leading` and `trailing` options are `true`, `func` is invoked\\n     * on the trailing edge of the timeout only if the the debounced function is\\n     * invoked more than once during the `wait` timeout.\\n     *\\n     * See [David Corbacho's article](http://drupalmotion.com/article/debounce-and-throttle-visual-explanation)\\n     * for details over the differences between `_.debounce` and `_.throttle`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {Function} func The function to debounce.\\n     * @param {number} [wait=0] The number of milliseconds to delay.\\n     * @param {Object} [options] The options object.\\n     * @param {boolean} [options.leading=false] Specify invoking on the leading\\n     *  edge of the timeout.\\n     * @param {number} [options.maxWait] The maximum time `func` is allowed to be\\n     *  delayed before it is invoked.\\n     * @param {boolean} [options.trailing=true] Specify invoking on the trailing\\n     *  edge of the timeout.\\n     * @returns {Function} Returns the new debounced function.\\n     * @example\\n     *\\n     * // avoid costly calculations while the window size is in flux\\n     * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\\n     *\\n     * // invoke `sendMail` when the click event is fired, debouncing subsequent calls\\n     * jQuery('#postbox').on('click', _.debounce(sendMail, 300, {\\n     *   'leading': true,\\n     *   'trailing': false\\n     * }));\\n     *\\n     * // ensure `batchLog` is invoked once after 1 second of debounced calls\\n     * var source = new EventSource('/stream');\\n     * jQuery(source).on('message', _.debounce(batchLog, 250, {\\n     *   'maxWait': 1000\\n     * }));\\n     *\\n     * // cancel a debounced call\\n     * var todoChanges = _.debounce(batchLog, 1000);\\n     * Object.observe(models.todo, todoChanges);\\n     *\\n     * Object.observe(models, function(changes) {\\n     *   if (_.find(changes, { 'user': 'todo', 'type': 'delete'})) {\\n     *     todoChanges.cancel();\\n     *   }\\n     * }, ['delete']);\\n     *\\n     * // ...at some point `models.todo` is changed\\n     * models.todo.completed = true;\\n     *\\n     * // ...before 1 second has passed `models.todo` is deleted\\n     * // which cancels the debounced `todoChanges` call\\n     * delete models.todo;\\n     */\\n    function debounce(func, wait, options) {\\n      var args,\\n          maxTimeoutId,\\n          result,\\n          stamp,\\n          thisArg,\\n          timeoutId,\\n          trailingCall,\\n          lastCalled = 0,\\n          maxWait = false,\\n          trailing = true;\\n\\n      if (typeof func != 'function') {\\n        throw new TypeError(FUNC_ERROR_TEXT);\\n      }\\n      wait = wait < 0 ? 0 : (+wait || 0);\\n      if (options === true) {\\n        var leading = true;\\n        trailing = false;\\n      } else if (isObject(options)) {\\n        leading = options.leading;\\n        maxWait = 'maxWait' in options && nativeMax(+options.maxWait || 0, wait);\\n        trailing = 'trailing' in options ? options.trailing : trailing;\\n      }\\n\\n      function cancel() {\\n        if (timeoutId) {\\n          clearTimeout(timeoutId);\\n        }\\n        if (maxTimeoutId) {\\n          clearTimeout(maxTimeoutId);\\n        }\\n        maxTimeoutId = timeoutId = trailingCall = undefined;\\n      }\\n\\n      function delayed() {\\n        var remaining = wait - (now() - stamp);\\n        if (remaining <= 0 || remaining > wait) {\\n          if (maxTimeoutId) {\\n            clearTimeout(maxTimeoutId);\\n          }\\n          var isCalled = trailingCall;\\n          maxTimeoutId = timeoutId = trailingCall = undefined;\\n          if (isCalled) {\\n            lastCalled = now();\\n            result = func.apply(thisArg, args);\\n            if (!timeoutId && !maxTimeoutId) {\\n              args = thisArg = null;\\n            }\\n          }\\n        } else {\\n          timeoutId = setTimeout(delayed, remaining);\\n        }\\n      }\\n\\n      function maxDelayed() {\\n        if (timeoutId) {\\n          clearTimeout(timeoutId);\\n        }\\n        maxTimeoutId = timeoutId = trailingCall = undefined;\\n        if (trailing || (maxWait !== wait)) {\\n          lastCalled = now();\\n          result = func.apply(thisArg, args);\\n          if (!timeoutId && !maxTimeoutId) {\\n            args = thisArg = null;\\n          }\\n        }\\n      }\\n\\n      function debounced() {\\n        args = arguments;\\n        stamp = now();\\n        thisArg = this;\\n        trailingCall = trailing && (timeoutId || !leading);\\n\\n        if (maxWait === false) {\\n          var leadingCall = leading && !timeoutId;\\n        } else {\\n          if (!maxTimeoutId && !leading) {\\n            lastCalled = stamp;\\n          }\\n          var remaining = maxWait - (stamp - lastCalled),\\n              isCalled = remaining <= 0 || remaining > maxWait;\\n\\n          if (isCalled) {\\n            if (maxTimeoutId) {\\n              maxTimeoutId = clearTimeout(maxTimeoutId);\\n            }\\n            lastCalled = stamp;\\n            result = func.apply(thisArg, args);\\n          }\\n          else if (!maxTimeoutId) {\\n            maxTimeoutId = setTimeout(maxDelayed, remaining);\\n          }\\n        }\\n        if (isCalled && timeoutId) {\\n          timeoutId = clearTimeout(timeoutId);\\n        }\\n        else if (!timeoutId && wait !== maxWait) {\\n          timeoutId = setTimeout(delayed, wait);\\n        }\\n        if (leadingCall) {\\n          isCalled = true;\\n          result = func.apply(thisArg, args);\\n        }\\n        if (isCalled && !timeoutId && !maxTimeoutId) {\\n          args = thisArg = null;\\n        }\\n        return result;\\n      }\\n      debounced.cancel = cancel;\\n      return debounced;\\n    }\\n\\n    /**\\n     * Defers invoking the `func` until the current call stack has cleared. Any\\n     * additional arguments are provided to `func` when it is invoked.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {Function} func The function to defer.\\n     * @param {...*} [args] The arguments to invoke the function with.\\n     * @returns {number} Returns the timer id.\\n     * @example\\n     *\\n     * _.defer(function(text) {\\n     *   console.log(text);\\n     * }, 'deferred');\\n     * // logs 'deferred' after one or more milliseconds\\n     */\\n    var defer = restParam(function(func, args) {\\n      return baseDelay(func, 1, args);\\n    });\\n\\n    /**\\n     * Invokes `func` after `wait` milliseconds. Any additional arguments are\\n     * provided to `func` when it is invoked.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {Function} func The function to delay.\\n     * @param {number} wait The number of milliseconds to delay invocation.\\n     * @param {...*} [args] The arguments to invoke the function with.\\n     * @returns {number} Returns the timer id.\\n     * @example\\n     *\\n     * _.delay(function(text) {\\n     *   console.log(text);\\n     * }, 1000, 'later');\\n     * // => logs 'later' after one second\\n     */\\n    var delay = restParam(function(func, wait, args) {\\n      return baseDelay(func, wait, args);\\n    });\\n\\n    /**\\n     * Creates a function that returns the result of invoking the provided\\n     * functions with the `this` binding of the created function, where each\\n     * successive invocation is supplied the return value of the previous.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {...Function} [funcs] Functions to invoke.\\n     * @returns {Function} Returns the new function.\\n     * @example\\n     *\\n     * function square(n) {\\n     *   return n * n;\\n     * }\\n     *\\n     * var addSquare = _.flow(_.add, square);\\n     * addSquare(1, 2);\\n     * // => 9\\n     */\\n    var flow = createFlow();\\n\\n    /**\\n     * This method is like `_.flow` except that it creates a function that\\n     * invokes the provided functions from right to left.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @alias backflow, compose\\n     * @category Function\\n     * @param {...Function} [funcs] Functions to invoke.\\n     * @returns {Function} Returns the new function.\\n     * @example\\n     *\\n     * function square(n) {\\n     *   return n * n;\\n     * }\\n     *\\n     * var addSquare = _.flowRight(square, _.add);\\n     * addSquare(1, 2);\\n     * // => 9\\n     */\\n    var flowRight = createFlow(true);\\n\\n    /**\\n     * Creates a function that memoizes the result of `func`. If `resolver` is\\n     * provided it determines the cache key for storing the result based on the\\n     * arguments provided to the memoized function. By default, the first argument\\n     * provided to the memoized function is coerced to a string and used as the\\n     * cache key. The `func` is invoked with the `this` binding of the memoized\\n     * function.\\n     *\\n     * **Note:** The cache is exposed as the `cache` property on the memoized\\n     * function. Its creation may be customized by replacing the `_.memoize.Cache`\\n     * constructor with one whose instances implement the [`Map`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-properties-of-the-map-prototype-object)\\n     * method interface of `get`, `has`, and `set`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {Function} func The function to have its output memoized.\\n     * @param {Function} [resolver] The function to resolve the cache key.\\n     * @returns {Function} Returns the new memoizing function.\\n     * @example\\n     *\\n     * var upperCase = _.memoize(function(string) {\\n     *   return string.toUpperCase();\\n     * });\\n     *\\n     * upperCase('fred');\\n     * // => 'FRED'\\n     *\\n     * // modifying the result cache\\n     * upperCase.cache.set('fred', 'BARNEY');\\n     * upperCase('fred');\\n     * // => 'BARNEY'\\n     *\\n     * // replacing `_.memoize.Cache`\\n     * var object = { 'user': 'fred' };\\n     * var other = { 'user': 'barney' };\\n     * var identity = _.memoize(_.identity);\\n     *\\n     * identity(object);\\n     * // => { 'user': 'fred' }\\n     * identity(other);\\n     * // => { 'user': 'fred' }\\n     *\\n     * _.memoize.Cache = WeakMap;\\n     * var identity = _.memoize(_.identity);\\n     *\\n     * identity(object);\\n     * // => { 'user': 'fred' }\\n     * identity(other);\\n     * // => { 'user': 'barney' }\\n     */\\n    function memoize(func, resolver) {\\n      if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {\\n        throw new TypeError(FUNC_ERROR_TEXT);\\n      }\\n      var memoized = function() {\\n        var args = arguments,\\n            cache = memoized.cache,\\n            key = resolver ? resolver.apply(this, args) : args[0];\\n\\n        if (cache.has(key)) {\\n          return cache.get(key);\\n        }\\n        var result = func.apply(this, args);\\n        cache.set(key, result);\\n        return result;\\n      };\\n      memoized.cache = new memoize.Cache;\\n      return memoized;\\n    }\\n\\n    /**\\n     * Creates a function that negates the result of the predicate `func`. The\\n     * `func` predicate is invoked with the `this` binding and arguments of the\\n     * created function.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {Function} predicate The predicate to negate.\\n     * @returns {Function} Returns the new function.\\n     * @example\\n     *\\n     * function isEven(n) {\\n     *   return n % 2 == 0;\\n     * }\\n     *\\n     * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\\n     * // => [1, 3, 5]\\n     */\\n    function negate(predicate) {\\n      if (typeof predicate != 'function') {\\n        throw new TypeError(FUNC_ERROR_TEXT);\\n      }\\n      return function() {\\n        return !predicate.apply(this, arguments);\\n      };\\n    }\\n\\n    /**\\n     * Creates a function that is restricted to invoking `func` once. Repeat calls\\n     * to the function return the value of the first call. The `func` is invoked\\n     * with the `this` binding and arguments of the created function.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {Function} func The function to restrict.\\n     * @returns {Function} Returns the new restricted function.\\n     * @example\\n     *\\n     * var initialize = _.once(createApplication);\\n     * initialize();\\n     * initialize();\\n     * // `initialize` invokes `createApplication` once\\n     */\\n    function once(func) {\\n      return before(2, func);\\n    }\\n\\n    /**\\n     * Creates a function that invokes `func` with `partial` arguments prepended\\n     * to those provided to the new function. This method is like `_.bind` except\\n     * it does **not** alter the `this` binding.\\n     *\\n     * The `_.partial.placeholder` value, which defaults to `_` in monolithic\\n     * builds, may be used as a placeholder for partially applied arguments.\\n     *\\n     * **Note:** This method does not set the \\\"length\\\" property of partially\\n     * applied functions.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {Function} func The function to partially apply arguments to.\\n     * @param {...*} [partials] The arguments to be partially applied.\\n     * @returns {Function} Returns the new partially applied function.\\n     * @example\\n     *\\n     * var greet = function(greeting, name) {\\n     *   return greeting + ' ' + name;\\n     * };\\n     *\\n     * var sayHelloTo = _.partial(greet, 'hello');\\n     * sayHelloTo('fred');\\n     * // => 'hello fred'\\n     *\\n     * // using placeholders\\n     * var greetFred = _.partial(greet, _, 'fred');\\n     * greetFred('hi');\\n     * // => 'hi fred'\\n     */\\n    var partial = createPartial(PARTIAL_FLAG);\\n\\n    /**\\n     * This method is like `_.partial` except that partially applied arguments\\n     * are appended to those provided to the new function.\\n     *\\n     * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\\n     * builds, may be used as a placeholder for partially applied arguments.\\n     *\\n     * **Note:** This method does not set the \\\"length\\\" property of partially\\n     * applied functions.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {Function} func The function to partially apply arguments to.\\n     * @param {...*} [partials] The arguments to be partially applied.\\n     * @returns {Function} Returns the new partially applied function.\\n     * @example\\n     *\\n     * var greet = function(greeting, name) {\\n     *   return greeting + ' ' + name;\\n     * };\\n     *\\n     * var greetFred = _.partialRight(greet, 'fred');\\n     * greetFred('hi');\\n     * // => 'hi fred'\\n     *\\n     * // using placeholders\\n     * var sayHelloTo = _.partialRight(greet, 'hello', _);\\n     * sayHelloTo('fred');\\n     * // => 'hello fred'\\n     */\\n    var partialRight = createPartial(PARTIAL_RIGHT_FLAG);\\n\\n    /**\\n     * Creates a function that invokes `func` with arguments arranged according\\n     * to the specified indexes where the argument value at the first index is\\n     * provided as the first argument, the argument value at the second index is\\n     * provided as the second argument, and so on.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {Function} func The function to rearrange arguments for.\\n     * @param {...(number|number[])} indexes The arranged argument indexes,\\n     *  specified as individual indexes or arrays of indexes.\\n     * @returns {Function} Returns the new function.\\n     * @example\\n     *\\n     * var rearged = _.rearg(function(a, b, c) {\\n     *   return [a, b, c];\\n     * }, 2, 0, 1);\\n     *\\n     * rearged('b', 'c', 'a')\\n     * // => ['a', 'b', 'c']\\n     *\\n     * var map = _.rearg(_.map, [1, 0]);\\n     * map(function(n) {\\n     *   return n * 3;\\n     * }, [1, 2, 3]);\\n     * // => [3, 6, 9]\\n     */\\n    var rearg = restParam(function(func, indexes) {\\n      return createWrapper(func, REARG_FLAG, null, null, null, baseFlatten(indexes));\\n    });\\n\\n    /**\\n     * Creates a function that invokes `func` with the `this` binding of the\\n     * created function and arguments from `start` and beyond provided as an array.\\n     *\\n     * **Note:** This method is based on the [rest parameter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters).\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {Function} func The function to apply a rest parameter to.\\n     * @param {number} [start=func.length-1] The start position of the rest parameter.\\n     * @returns {Function} Returns the new function.\\n     * @example\\n     *\\n     * var say = _.restParam(function(what, names) {\\n     *   return what + ' ' + _.initial(names).join(', ') +\\n     *     (_.size(names) > 1 ? ', & ' : '') + _.last(names);\\n     * });\\n     *\\n     * say('hello', 'fred', 'barney', 'pebbles');\\n     * // => 'hello fred, barney, & pebbles'\\n     */\\n    function restParam(func, start) {\\n      if (typeof func != 'function') {\\n        throw new TypeError(FUNC_ERROR_TEXT);\\n      }\\n      start = nativeMax(start === undefined ? (func.length - 1) : (+start || 0), 0);\\n      return function() {\\n        var args = arguments,\\n            index = -1,\\n            length = nativeMax(args.length - start, 0),\\n            rest = Array(length);\\n\\n        while (++index < length) {\\n          rest[index] = args[start + index];\\n        }\\n        switch (start) {\\n          case 0: return func.call(this, rest);\\n          case 1: return func.call(this, args[0], rest);\\n          case 2: return func.call(this, args[0], args[1], rest);\\n        }\\n        var otherArgs = Array(start + 1);\\n        index = -1;\\n        while (++index < start) {\\n          otherArgs[index] = args[index];\\n        }\\n        otherArgs[start] = rest;\\n        return func.apply(this, otherArgs);\\n      };\\n    }\\n\\n    /**\\n     * Creates a function that invokes `func` with the `this` binding of the created\\n     * function and an array of arguments much like [`Function#apply`](https://es5.github.io/#x15.3.4.3).\\n     *\\n     * **Note:** This method is based on the [spread operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator).\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {Function} func The function to spread arguments over.\\n     * @returns {Function} Returns the new function.\\n     * @example\\n     *\\n     * var say = _.spread(function(who, what) {\\n     *   return who + ' says ' + what;\\n     * });\\n     *\\n     * say(['fred', 'hello']);\\n     * // => 'fred says hello'\\n     *\\n     * // with a Promise\\n     * var numbers = Promise.all([\\n     *   Promise.resolve(40),\\n     *   Promise.resolve(36)\\n     * ]);\\n     *\\n     * numbers.then(_.spread(function(x, y) {\\n     *   return x + y;\\n     * }));\\n     * // => a Promise of 76\\n     */\\n    function spread(func) {\\n      if (typeof func != 'function') {\\n        throw new TypeError(FUNC_ERROR_TEXT);\\n      }\\n      return function(array) {\\n        return func.apply(this, array);\\n      };\\n    }\\n\\n    /**\\n     * Creates a function that only invokes `func` at most once per every `wait`\\n     * milliseconds. The created function comes with a `cancel` method to cancel\\n     * delayed invocations. Provide an options object to indicate that `func`\\n     * should be invoked on the leading and/or trailing edge of the `wait` timeout.\\n     * Subsequent calls to the throttled function return the result of the last\\n     * `func` call.\\n     *\\n     * **Note:** If `leading` and `trailing` options are `true`, `func` is invoked\\n     * on the trailing edge of the timeout only if the the throttled function is\\n     * invoked more than once during the `wait` timeout.\\n     *\\n     * See [David Corbacho's article](http://drupalmotion.com/article/debounce-and-throttle-visual-explanation)\\n     * for details over the differences between `_.throttle` and `_.debounce`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {Function} func The function to throttle.\\n     * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\\n     * @param {Object} [options] The options object.\\n     * @param {boolean} [options.leading=true] Specify invoking on the leading\\n     *  edge of the timeout.\\n     * @param {boolean} [options.trailing=true] Specify invoking on the trailing\\n     *  edge of the timeout.\\n     * @returns {Function} Returns the new throttled function.\\n     * @example\\n     *\\n     * // avoid excessively updating the position while scrolling\\n     * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\\n     *\\n     * // invoke `renewToken` when the click event is fired, but not more than once every 5 minutes\\n     * jQuery('.interactive').on('click', _.throttle(renewToken, 300000, {\\n     *   'trailing': false\\n     * }));\\n     *\\n     * // cancel a trailing throttled call\\n     * jQuery(window).on('popstate', throttled.cancel);\\n     */\\n    function throttle(func, wait, options) {\\n      var leading = true,\\n          trailing = true;\\n\\n      if (typeof func != 'function') {\\n        throw new TypeError(FUNC_ERROR_TEXT);\\n      }\\n      if (options === false) {\\n        leading = false;\\n      } else if (isObject(options)) {\\n        leading = 'leading' in options ? !!options.leading : leading;\\n        trailing = 'trailing' in options ? !!options.trailing : trailing;\\n      }\\n      debounceOptions.leading = leading;\\n      debounceOptions.maxWait = +wait;\\n      debounceOptions.trailing = trailing;\\n      return debounce(func, wait, debounceOptions);\\n    }\\n\\n    /**\\n     * Creates a function that provides `value` to the wrapper function as its\\n     * first argument. Any additional arguments provided to the function are\\n     * appended to those provided to the wrapper function. The wrapper is invoked\\n     * with the `this` binding of the created function.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Function\\n     * @param {*} value The value to wrap.\\n     * @param {Function} wrapper The wrapper function.\\n     * @returns {Function} Returns the new function.\\n     * @example\\n     *\\n     * var p = _.wrap(_.escape, function(func, text) {\\n     *   return '<p>' + func(text) + '</p>';\\n     * });\\n     *\\n     * p('fred, barney, & pebbles');\\n     * // => '<p>fred, barney, &amp; pebbles</p>'\\n     */\\n    function wrap(value, wrapper) {\\n      wrapper = wrapper == null ? identity : wrapper;\\n      return createWrapper(wrapper, PARTIAL_FLAG, null, [value], []);\\n    }\\n\\n    /**\\n     * Creates a clone of `value`. If `isDeep` is `true` nested objects are cloned,\\n     * otherwise they are assigned by reference. If `customizer` is provided it is\\n     * invoked to produce the cloned values. If `customizer` returns `undefined`\\n     * cloning is handled by the method instead. The `customizer` is bound to\\n     * `thisArg` and invoked with two argument; (value [, index|key, object]).\\n     *\\n     * **Note:** This method is loosely based on the\\n     * [structured clone algorithm](http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm).\\n     * The enumerable properties of `arguments` objects and objects created by\\n     * constructors other than `Object` are cloned to plain `Object` objects. An\\n     * empty object is returned for uncloneable values such as functions, DOM nodes,\\n     * Maps, Sets, and WeakMaps.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to clone.\\n     * @param {boolean} [isDeep] Specify a deep clone.\\n     * @param {Function} [customizer] The function to customize cloning values.\\n     * @param {*} [thisArg] The `this` binding of `customizer`.\\n     * @returns {*} Returns the cloned value.\\n     * @example\\n     *\\n     * var users = [\\n     *   { 'user': 'barney' },\\n     *   { 'user': 'fred' }\\n     * ];\\n     *\\n     * var shallow = _.clone(users);\\n     * shallow[0] === users[0];\\n     * // => true\\n     *\\n     * var deep = _.clone(users, true);\\n     * deep[0] === users[0];\\n     * // => false\\n     *\\n     * // using a customizer callback\\n     * var el = _.clone(document.body, function(value) {\\n     *   if (_.isElement(value)) {\\n     *     return value.cloneNode(false);\\n     *   }\\n     * });\\n     *\\n     * el === document.body\\n     * // => false\\n     * el.nodeName\\n     * // => BODY\\n     * el.childNodes.length;\\n     * // => 0\\n     */\\n    function clone(value, isDeep, customizer, thisArg) {\\n      if (isDeep && typeof isDeep != 'boolean' && isIterateeCall(value, isDeep, customizer)) {\\n        isDeep = false;\\n      }\\n      else if (typeof isDeep == 'function') {\\n        thisArg = customizer;\\n        customizer = isDeep;\\n        isDeep = false;\\n      }\\n      customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 1);\\n      return baseClone(value, isDeep, customizer);\\n    }\\n\\n    /**\\n     * Creates a deep clone of `value`. If `customizer` is provided it is invoked\\n     * to produce the cloned values. If `customizer` returns `undefined` cloning\\n     * is handled by the method instead. The `customizer` is bound to `thisArg`\\n     * and invoked with two argument; (value [, index|key, object]).\\n     *\\n     * **Note:** This method is loosely based on the\\n     * [structured clone algorithm](http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm).\\n     * The enumerable properties of `arguments` objects and objects created by\\n     * constructors other than `Object` are cloned to plain `Object` objects. An\\n     * empty object is returned for uncloneable values such as functions, DOM nodes,\\n     * Maps, Sets, and WeakMaps.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to deep clone.\\n     * @param {Function} [customizer] The function to customize cloning values.\\n     * @param {*} [thisArg] The `this` binding of `customizer`.\\n     * @returns {*} Returns the deep cloned value.\\n     * @example\\n     *\\n     * var users = [\\n     *   { 'user': 'barney' },\\n     *   { 'user': 'fred' }\\n     * ];\\n     *\\n     * var deep = _.cloneDeep(users);\\n     * deep[0] === users[0];\\n     * // => false\\n     *\\n     * // using a customizer callback\\n     * var el = _.cloneDeep(document.body, function(value) {\\n     *   if (_.isElement(value)) {\\n     *     return value.cloneNode(true);\\n     *   }\\n     * });\\n     *\\n     * el === document.body\\n     * // => false\\n     * el.nodeName\\n     * // => BODY\\n     * el.childNodes.length;\\n     * // => 20\\n     */\\n    function cloneDeep(value, customizer, thisArg) {\\n      customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 1);\\n      return baseClone(value, true, customizer);\\n    }\\n\\n    /**\\n     * Checks if `value` is classified as an `arguments` object.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\\n     * @example\\n     *\\n     * _.isArguments(function() { return arguments; }());\\n     * // => true\\n     *\\n     * _.isArguments([1, 2, 3]);\\n     * // => false\\n     */\\n    function isArguments(value) {\\n      return isObjectLike(value) && isArrayLike(value) && objToString.call(value) == argsTag;\\n    }\\n\\n    /**\\n     * Checks if `value` is classified as an `Array` object.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\\n     * @example\\n     *\\n     * _.isArray([1, 2, 3]);\\n     * // => true\\n     *\\n     * _.isArray(function() { return arguments; }());\\n     * // => false\\n     */\\n    var isArray = nativeIsArray || function(value) {\\n      return isObjectLike(value) && isLength(value.length) && objToString.call(value) == arrayTag;\\n    };\\n\\n    /**\\n     * Checks if `value` is classified as a boolean primitive or object.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\\n     * @example\\n     *\\n     * _.isBoolean(false);\\n     * // => true\\n     *\\n     * _.isBoolean(null);\\n     * // => false\\n     */\\n    function isBoolean(value) {\\n      return value === true || value === false || (isObjectLike(value) && objToString.call(value) == boolTag);\\n    }\\n\\n    /**\\n     * Checks if `value` is classified as a `Date` object.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\\n     * @example\\n     *\\n     * _.isDate(new Date);\\n     * // => true\\n     *\\n     * _.isDate('Mon April 23 2012');\\n     * // => false\\n     */\\n    function isDate(value) {\\n      return isObjectLike(value) && objToString.call(value) == dateTag;\\n    }\\n\\n    /**\\n     * Checks if `value` is a DOM element.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\\n     * @example\\n     *\\n     * _.isElement(document.body);\\n     * // => true\\n     *\\n     * _.isElement('<body>');\\n     * // => false\\n     */\\n    function isElement(value) {\\n      return !!value && value.nodeType === 1 && isObjectLike(value) &&\\n        (objToString.call(value).indexOf('Element') > -1);\\n    }\\n    // Fallback for environments without DOM support.\\n    if (!support.dom) {\\n      isElement = function(value) {\\n        return !!value && value.nodeType === 1 && isObjectLike(value) && !isPlainObject(value);\\n      };\\n    }\\n\\n    /**\\n     * Checks if `value` is empty. A value is considered empty unless it is an\\n     * `arguments` object, array, string, or jQuery-like collection with a length\\n     * greater than `0` or an object with own enumerable properties.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {Array|Object|string} value The value to inspect.\\n     * @returns {boolean} Returns `true` if `value` is empty, else `false`.\\n     * @example\\n     *\\n     * _.isEmpty(null);\\n     * // => true\\n     *\\n     * _.isEmpty(true);\\n     * // => true\\n     *\\n     * _.isEmpty(1);\\n     * // => true\\n     *\\n     * _.isEmpty([1, 2, 3]);\\n     * // => false\\n     *\\n     * _.isEmpty({ 'a': 1 });\\n     * // => false\\n     */\\n    function isEmpty(value) {\\n      if (value == null) {\\n        return true;\\n      }\\n      if (isArrayLike(value) && (isArray(value) || isString(value) || isArguments(value) ||\\n          (isObjectLike(value) && isFunction(value.splice)))) {\\n        return !value.length;\\n      }\\n      return !keys(value).length;\\n    }\\n\\n    /**\\n     * Performs a deep comparison between two values to determine if they are\\n     * equivalent. If `customizer` is provided it is invoked to compare values.\\n     * If `customizer` returns `undefined` comparisons are handled by the method\\n     * instead. The `customizer` is bound to `thisArg` and invoked with three\\n     * arguments: (value, other [, index|key]).\\n     *\\n     * **Note:** This method supports comparing arrays, booleans, `Date` objects,\\n     * numbers, `Object` objects, regexes, and strings. Objects are compared by\\n     * their own, not inherited, enumerable properties. Functions and DOM nodes\\n     * are **not** supported. Provide a customizer function to extend support\\n     * for comparing other values.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to compare.\\n     * @param {*} other The other value to compare.\\n     * @param {Function} [customizer] The function to customize value comparisons.\\n     * @param {*} [thisArg] The `this` binding of `customizer`.\\n     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\\n     * @example\\n     *\\n     * var object = { 'user': 'fred' };\\n     * var other = { 'user': 'fred' };\\n     *\\n     * object == other;\\n     * // => false\\n     *\\n     * _.isEqual(object, other);\\n     * // => true\\n     *\\n     * // using a customizer callback\\n     * var array = ['hello', 'goodbye'];\\n     * var other = ['hi', 'goodbye'];\\n     *\\n     * _.isEqual(array, other, function(value, other) {\\n     *   if (_.every([value, other], RegExp.prototype.test, /^h(?:i|ello)$/)) {\\n     *     return true;\\n     *   }\\n     * });\\n     * // => true\\n     */\\n    function isEqual(value, other, customizer, thisArg) {\\n      customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 3);\\n      if (!customizer && isStrictComparable(value) && isStrictComparable(other)) {\\n        return value === other;\\n      }\\n      var result = customizer ? customizer(value, other) : undefined;\\n      return result === undefined ? baseIsEqual(value, other, customizer) : !!result;\\n    }\\n\\n    /**\\n     * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\\n     * `SyntaxError`, `TypeError`, or `URIError` object.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\\n     * @example\\n     *\\n     * _.isError(new Error);\\n     * // => true\\n     *\\n     * _.isError(Error);\\n     * // => false\\n     */\\n    function isError(value) {\\n      return isObjectLike(value) && typeof value.message == 'string' && objToString.call(value) == errorTag;\\n    }\\n\\n    /**\\n     * Checks if `value` is a finite primitive number.\\n     *\\n     * **Note:** This method is based on [`Number.isFinite`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.isfinite).\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\\n     * @example\\n     *\\n     * _.isFinite(10);\\n     * // => true\\n     *\\n     * _.isFinite('10');\\n     * // => false\\n     *\\n     * _.isFinite(true);\\n     * // => false\\n     *\\n     * _.isFinite(Object(10));\\n     * // => false\\n     *\\n     * _.isFinite(Infinity);\\n     * // => false\\n     */\\n    var isFinite = nativeNumIsFinite || function(value) {\\n      return typeof value == 'number' && nativeIsFinite(value);\\n    };\\n\\n    /**\\n     * Checks if `value` is classified as a `Function` object.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\\n     * @example\\n     *\\n     * _.isFunction(_);\\n     * // => true\\n     *\\n     * _.isFunction(/abc/);\\n     * // => false\\n     */\\n    var isFunction = !(baseIsFunction(/x/) || (Uint8Array && !baseIsFunction(Uint8Array))) ? baseIsFunction : function(value) {\\n      // The use of `Object#toString` avoids issues with the `typeof` operator\\n      // in older versions of Chrome and Safari which return 'function' for regexes\\n      // and Safari 8 equivalents which return 'object' for typed array constructors.\\n      return objToString.call(value) == funcTag;\\n    };\\n\\n    /**\\n     * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.\\n     * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is an object, else `false`.\\n     * @example\\n     *\\n     * _.isObject({});\\n     * // => true\\n     *\\n     * _.isObject([1, 2, 3]);\\n     * // => true\\n     *\\n     * _.isObject(1);\\n     * // => false\\n     */\\n    function isObject(value) {\\n      // Avoid a V8 JIT bug in Chrome 19-20.\\n      // See https://code.google.com/p/v8/issues/detail?id=2291 for more details.\\n      var type = typeof value;\\n      return type == 'function' || (!!value && type == 'object');\\n    }\\n\\n    /**\\n     * Performs a deep comparison between `object` and `source` to determine if\\n     * `object` contains equivalent property values. If `customizer` is provided\\n     * it is invoked to compare values. If `customizer` returns `undefined`\\n     * comparisons are handled by the method instead. The `customizer` is bound\\n     * to `thisArg` and invoked with three arguments: (value, other, index|key).\\n     *\\n     * **Note:** This method supports comparing properties of arrays, booleans,\\n     * `Date` objects, numbers, `Object` objects, regexes, and strings. Functions\\n     * and DOM nodes are **not** supported. Provide a customizer function to extend\\n     * support for comparing other values.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {Object} object The object to inspect.\\n     * @param {Object} source The object of property values to match.\\n     * @param {Function} [customizer] The function to customize value comparisons.\\n     * @param {*} [thisArg] The `this` binding of `customizer`.\\n     * @returns {boolean} Returns `true` if `object` is a match, else `false`.\\n     * @example\\n     *\\n     * var object = { 'user': 'fred', 'age': 40 };\\n     *\\n     * _.isMatch(object, { 'age': 40 });\\n     * // => true\\n     *\\n     * _.isMatch(object, { 'age': 36 });\\n     * // => false\\n     *\\n     * // using a customizer callback\\n     * var object = { 'greeting': 'hello' };\\n     * var source = { 'greeting': 'hi' };\\n     *\\n     * _.isMatch(object, source, function(value, other) {\\n     *   return _.every([value, other], RegExp.prototype.test, /^h(?:i|ello)$/) || undefined;\\n     * });\\n     * // => true\\n     */\\n    function isMatch(object, source, customizer, thisArg) {\\n      var props = keys(source),\\n          length = props.length;\\n\\n      if (!length) {\\n        return true;\\n      }\\n      if (object == null) {\\n        return false;\\n      }\\n      customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 3);\\n      object = toObject(object);\\n      if (!customizer && length == 1) {\\n        var key = props[0],\\n            value = source[key];\\n\\n        if (isStrictComparable(value)) {\\n          return value === object[key] && (value !== undefined || (key in object));\\n        }\\n      }\\n      var values = Array(length),\\n          strictCompareFlags = Array(length);\\n\\n      while (length--) {\\n        value = values[length] = source[props[length]];\\n        strictCompareFlags[length] = isStrictComparable(value);\\n      }\\n      return baseIsMatch(object, props, values, strictCompareFlags, customizer);\\n    }\\n\\n    /**\\n     * Checks if `value` is `NaN`.\\n     *\\n     * **Note:** This method is not the same as [`isNaN`](https://es5.github.io/#x15.1.2.4)\\n     * which returns `true` for `undefined` and other non-numeric values.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\\n     * @example\\n     *\\n     * _.isNaN(NaN);\\n     * // => true\\n     *\\n     * _.isNaN(new Number(NaN));\\n     * // => true\\n     *\\n     * isNaN(undefined);\\n     * // => true\\n     *\\n     * _.isNaN(undefined);\\n     * // => false\\n     */\\n    function isNaN(value) {\\n      // An `NaN` primitive is the only value that is not equal to itself.\\n      // Perform the `toStringTag` check first to avoid errors with some host objects in IE.\\n      return isNumber(value) && value != +value;\\n    }\\n\\n    /**\\n     * Checks if `value` is a native function.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is a native function, else `false`.\\n     * @example\\n     *\\n     * _.isNative(Array.prototype.push);\\n     * // => true\\n     *\\n     * _.isNative(_);\\n     * // => false\\n     */\\n    function isNative(value) {\\n      if (value == null) {\\n        return false;\\n      }\\n      if (objToString.call(value) == funcTag) {\\n        return reIsNative.test(fnToString.call(value));\\n      }\\n      return isObjectLike(value) && reIsHostCtor.test(value);\\n    }\\n\\n    /**\\n     * Checks if `value` is `null`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\\n     * @example\\n     *\\n     * _.isNull(null);\\n     * // => true\\n     *\\n     * _.isNull(void 0);\\n     * // => false\\n     */\\n    function isNull(value) {\\n      return value === null;\\n    }\\n\\n    /**\\n     * Checks if `value` is classified as a `Number` primitive or object.\\n     *\\n     * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are classified\\n     * as numbers, use the `_.isFinite` method.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\\n     * @example\\n     *\\n     * _.isNumber(8.4);\\n     * // => true\\n     *\\n     * _.isNumber(NaN);\\n     * // => true\\n     *\\n     * _.isNumber('8.4');\\n     * // => false\\n     */\\n    function isNumber(value) {\\n      return typeof value == 'number' || (isObjectLike(value) && objToString.call(value) == numberTag);\\n    }\\n\\n    /**\\n     * Checks if `value` is a plain object, that is, an object created by the\\n     * `Object` constructor or one with a `[[Prototype]]` of `null`.\\n     *\\n     * **Note:** This method assumes objects created by the `Object` constructor\\n     * have no inherited enumerable properties.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\\n     * @example\\n     *\\n     * function Foo() {\\n     *   this.a = 1;\\n     * }\\n     *\\n     * _.isPlainObject(new Foo);\\n     * // => false\\n     *\\n     * _.isPlainObject([1, 2, 3]);\\n     * // => false\\n     *\\n     * _.isPlainObject({ 'x': 0, 'y': 0 });\\n     * // => true\\n     *\\n     * _.isPlainObject(Object.create(null));\\n     * // => true\\n     */\\n    var isPlainObject = !getPrototypeOf ? shimIsPlainObject : function(value) {\\n      if (!(value && objToString.call(value) == objectTag)) {\\n        return false;\\n      }\\n      var valueOf = value.valueOf,\\n          objProto = isNative(valueOf) && (objProto = getPrototypeOf(valueOf)) && getPrototypeOf(objProto);\\n\\n      return objProto\\n        ? (value == objProto || getPrototypeOf(value) == objProto)\\n        : shimIsPlainObject(value);\\n    };\\n\\n    /**\\n     * Checks if `value` is classified as a `RegExp` object.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\\n     * @example\\n     *\\n     * _.isRegExp(/abc/);\\n     * // => true\\n     *\\n     * _.isRegExp('/abc/');\\n     * // => false\\n     */\\n    function isRegExp(value) {\\n      return isObjectLike(value) && objToString.call(value) == regexpTag;\\n    }\\n\\n    /**\\n     * Checks if `value` is classified as a `String` primitive or object.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\\n     * @example\\n     *\\n     * _.isString('abc');\\n     * // => true\\n     *\\n     * _.isString(1);\\n     * // => false\\n     */\\n    function isString(value) {\\n      return typeof value == 'string' || (isObjectLike(value) && objToString.call(value) == stringTag);\\n    }\\n\\n    /**\\n     * Checks if `value` is classified as a typed array.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\\n     * @example\\n     *\\n     * _.isTypedArray(new Uint8Array);\\n     * // => true\\n     *\\n     * _.isTypedArray([]);\\n     * // => false\\n     */\\n    function isTypedArray(value) {\\n      return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[objToString.call(value)];\\n    }\\n\\n    /**\\n     * Checks if `value` is `undefined`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to check.\\n     * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\\n     * @example\\n     *\\n     * _.isUndefined(void 0);\\n     * // => true\\n     *\\n     * _.isUndefined(null);\\n     * // => false\\n     */\\n    function isUndefined(value) {\\n      return value === undefined;\\n    }\\n\\n    /**\\n     * Converts `value` to an array.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to convert.\\n     * @returns {Array} Returns the converted array.\\n     * @example\\n     *\\n     * (function() {\\n     *   return _.toArray(arguments).slice(1);\\n     * }(1, 2, 3));\\n     * // => [2, 3]\\n     */\\n    function toArray(value) {\\n      var length = value ? getLength(value) : 0;\\n      if (!isLength(length)) {\\n        return values(value);\\n      }\\n      if (!length) {\\n        return [];\\n      }\\n      return arrayCopy(value);\\n    }\\n\\n    /**\\n     * Converts `value` to a plain object flattening inherited enumerable\\n     * properties of `value` to own properties of the plain object.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Lang\\n     * @param {*} value The value to convert.\\n     * @returns {Object} Returns the converted plain object.\\n     * @example\\n     *\\n     * function Foo() {\\n     *   this.b = 2;\\n     * }\\n     *\\n     * Foo.prototype.c = 3;\\n     *\\n     * _.assign({ 'a': 1 }, new Foo);\\n     * // => { 'a': 1, 'b': 2 }\\n     *\\n     * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\\n     * // => { 'a': 1, 'b': 2, 'c': 3 }\\n     */\\n    function toPlainObject(value) {\\n      return baseCopy(value, keysIn(value));\\n    }\\n\\n    /**\\n     * Assigns own enumerable properties of source object(s) to the destination\\n     * object. Subsequent sources overwrite property assignments of previous sources.\\n     * If `customizer` is provided it is invoked to produce the assigned values.\\n     * The `customizer` is bound to `thisArg` and invoked with five arguments:\\n     * (objectValue, sourceValue, key, object, source).\\n     *\\n     * **Note:** This method mutates `object` and is based on\\n     * [`Object.assign`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.assign).\\n     *\\n     * @static\\n     * @memberOf _\\n     * @alias extend\\n     * @category Object\\n     * @param {Object} object The destination object.\\n     * @param {...Object} [sources] The source objects.\\n     * @param {Function} [customizer] The function to customize assigned values.\\n     * @param {*} [thisArg] The `this` binding of `customizer`.\\n     * @returns {Object} Returns `object`.\\n     * @example\\n     *\\n     * _.assign({ 'user': 'barney' }, { 'age': 40 }, { 'user': 'fred' });\\n     * // => { 'user': 'fred', 'age': 40 }\\n     *\\n     * // using a customizer callback\\n     * var defaults = _.partialRight(_.assign, function(value, other) {\\n     *   return _.isUndefined(value) ? other : value;\\n     * });\\n     *\\n     * defaults({ 'user': 'barney' }, { 'age': 36 }, { 'user': 'fred' });\\n     * // => { 'user': 'barney', 'age': 36 }\\n     */\\n    var assign = createAssigner(function(object, source, customizer) {\\n      return customizer\\n        ? assignWith(object, source, customizer)\\n        : baseAssign(object, source);\\n    });\\n\\n    /**\\n     * Creates an object that inherits from the given `prototype` object. If a\\n     * `properties` object is provided its own enumerable properties are assigned\\n     * to the created object.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} prototype The object to inherit from.\\n     * @param {Object} [properties] The properties to assign to the object.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {Object} Returns the new object.\\n     * @example\\n     *\\n     * function Shape() {\\n     *   this.x = 0;\\n     *   this.y = 0;\\n     * }\\n     *\\n     * function Circle() {\\n     *   Shape.call(this);\\n     * }\\n     *\\n     * Circle.prototype = _.create(Shape.prototype, {\\n     *   'constructor': Circle\\n     * });\\n     *\\n     * var circle = new Circle;\\n     * circle instanceof Circle;\\n     * // => true\\n     *\\n     * circle instanceof Shape;\\n     * // => true\\n     */\\n    function create(prototype, properties, guard) {\\n      var result = baseCreate(prototype);\\n      if (guard && isIterateeCall(prototype, properties, guard)) {\\n        properties = null;\\n      }\\n      return properties ? baseAssign(result, properties) : result;\\n    }\\n\\n    /**\\n     * Assigns own enumerable properties of source object(s) to the destination\\n     * object for all destination properties that resolve to `undefined`. Once a\\n     * property is set, additional values of the same property are ignored.\\n     *\\n     * **Note:** This method mutates `object`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The destination object.\\n     * @param {...Object} [sources] The source objects.\\n     * @returns {Object} Returns `object`.\\n     * @example\\n     *\\n     * _.defaults({ 'user': 'barney' }, { 'age': 36 }, { 'user': 'fred' });\\n     * // => { 'user': 'barney', 'age': 36 }\\n     */\\n    var defaults = restParam(function(args) {\\n      var object = args[0];\\n      if (object == null) {\\n        return object;\\n      }\\n      args.push(assignDefaults);\\n      return assign.apply(undefined, args);\\n    });\\n\\n    /**\\n     * This method is like `_.find` except that it returns the key of the first\\n     * element `predicate` returns truthy for instead of the element itself.\\n     *\\n     * If a property name is provided for `predicate` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `predicate` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The object to search.\\n     * @param {Function|Object|string} [predicate=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `predicate`.\\n     * @returns {string|undefined} Returns the key of the matched element, else `undefined`.\\n     * @example\\n     *\\n     * var users = {\\n     *   'barney':  { 'age': 36, 'active': true },\\n     *   'fred':    { 'age': 40, 'active': false },\\n     *   'pebbles': { 'age': 1,  'active': true }\\n     * };\\n     *\\n     * _.findKey(users, function(chr) {\\n     *   return chr.age < 40;\\n     * });\\n     * // => 'barney' (iteration order is not guaranteed)\\n     *\\n     * // using the `_.matches` callback shorthand\\n     * _.findKey(users, { 'age': 1, 'active': true });\\n     * // => 'pebbles'\\n     *\\n     * // using the `_.matchesProperty` callback shorthand\\n     * _.findKey(users, 'active', false);\\n     * // => 'fred'\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.findKey(users, 'active');\\n     * // => 'barney'\\n     */\\n    var findKey = createFindKey(baseForOwn);\\n\\n    /**\\n     * This method is like `_.findKey` except that it iterates over elements of\\n     * a collection in the opposite order.\\n     *\\n     * If a property name is provided for `predicate` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `predicate` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The object to search.\\n     * @param {Function|Object|string} [predicate=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `predicate`.\\n     * @returns {string|undefined} Returns the key of the matched element, else `undefined`.\\n     * @example\\n     *\\n     * var users = {\\n     *   'barney':  { 'age': 36, 'active': true },\\n     *   'fred':    { 'age': 40, 'active': false },\\n     *   'pebbles': { 'age': 1,  'active': true }\\n     * };\\n     *\\n     * _.findLastKey(users, function(chr) {\\n     *   return chr.age < 40;\\n     * });\\n     * // => returns `pebbles` assuming `_.findKey` returns `barney`\\n     *\\n     * // using the `_.matches` callback shorthand\\n     * _.findLastKey(users, { 'age': 36, 'active': true });\\n     * // => 'barney'\\n     *\\n     * // using the `_.matchesProperty` callback shorthand\\n     * _.findLastKey(users, 'active', false);\\n     * // => 'fred'\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.findLastKey(users, 'active');\\n     * // => 'pebbles'\\n     */\\n    var findLastKey = createFindKey(baseForOwnRight);\\n\\n    /**\\n     * Iterates over own and inherited enumerable properties of an object invoking\\n     * `iteratee` for each property. The `iteratee` is bound to `thisArg` and invoked\\n     * with three arguments: (value, key, object). Iteratee functions may exit\\n     * iteration early by explicitly returning `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The object to iterate over.\\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {Object} Returns `object`.\\n     * @example\\n     *\\n     * function Foo() {\\n     *   this.a = 1;\\n     *   this.b = 2;\\n     * }\\n     *\\n     * Foo.prototype.c = 3;\\n     *\\n     * _.forIn(new Foo, function(value, key) {\\n     *   console.log(key);\\n     * });\\n     * // => logs 'a', 'b', and 'c' (iteration order is not guaranteed)\\n     */\\n    var forIn = createForIn(baseFor);\\n\\n    /**\\n     * This method is like `_.forIn` except that it iterates over properties of\\n     * `object` in the opposite order.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The object to iterate over.\\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {Object} Returns `object`.\\n     * @example\\n     *\\n     * function Foo() {\\n     *   this.a = 1;\\n     *   this.b = 2;\\n     * }\\n     *\\n     * Foo.prototype.c = 3;\\n     *\\n     * _.forInRight(new Foo, function(value, key) {\\n     *   console.log(key);\\n     * });\\n     * // => logs 'c', 'b', and 'a' assuming `_.forIn ` logs 'a', 'b', and 'c'\\n     */\\n    var forInRight = createForIn(baseForRight);\\n\\n    /**\\n     * Iterates over own enumerable properties of an object invoking `iteratee`\\n     * for each property. The `iteratee` is bound to `thisArg` and invoked with\\n     * three arguments: (value, key, object). Iteratee functions may exit iteration\\n     * early by explicitly returning `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The object to iterate over.\\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {Object} Returns `object`.\\n     * @example\\n     *\\n     * function Foo() {\\n     *   this.a = 1;\\n     *   this.b = 2;\\n     * }\\n     *\\n     * Foo.prototype.c = 3;\\n     *\\n     * _.forOwn(new Foo, function(value, key) {\\n     *   console.log(key);\\n     * });\\n     * // => logs 'a' and 'b' (iteration order is not guaranteed)\\n     */\\n    var forOwn = createForOwn(baseForOwn);\\n\\n    /**\\n     * This method is like `_.forOwn` except that it iterates over properties of\\n     * `object` in the opposite order.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The object to iterate over.\\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {Object} Returns `object`.\\n     * @example\\n     *\\n     * function Foo() {\\n     *   this.a = 1;\\n     *   this.b = 2;\\n     * }\\n     *\\n     * Foo.prototype.c = 3;\\n     *\\n     * _.forOwnRight(new Foo, function(value, key) {\\n     *   console.log(key);\\n     * });\\n     * // => logs 'b' and 'a' assuming `_.forOwn` logs 'a' and 'b'\\n     */\\n    var forOwnRight = createForOwn(baseForOwnRight);\\n\\n    /**\\n     * Creates an array of function property names from all enumerable properties,\\n     * own and inherited, of `object`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @alias methods\\n     * @category Object\\n     * @param {Object} object The object to inspect.\\n     * @returns {Array} Returns the new array of property names.\\n     * @example\\n     *\\n     * _.functions(_);\\n     * // => ['after', 'ary', 'assign', ...]\\n     */\\n    function functions(object) {\\n      return baseFunctions(object, keysIn(object));\\n    }\\n\\n    /**\\n     * Gets the property value of `path` on `object`. If the resolved value is\\n     * `undefined` the `defaultValue` is used in its place.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The object to query.\\n     * @param {Array|string} path The path of the property to get.\\n     * @param {*} [defaultValue] The value returned if the resolved value is `undefined`.\\n     * @returns {*} Returns the resolved value.\\n     * @example\\n     *\\n     * var object = { 'a': [{ 'b': { 'c': 3 } }] };\\n     *\\n     * _.get(object, 'a[0].b.c');\\n     * // => 3\\n     *\\n     * _.get(object, ['a', '0', 'b', 'c']);\\n     * // => 3\\n     *\\n     * _.get(object, 'a.b.c', 'default');\\n     * // => 'default'\\n     */\\n    function get(object, path, defaultValue) {\\n      var result = object == null ? undefined : baseGet(object, toPath(path), path + '');\\n      return result === undefined ? defaultValue : result;\\n    }\\n\\n    /**\\n     * Checks if `path` is a direct property.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The object to query.\\n     * @param {Array|string} path The path to check.\\n     * @returns {boolean} Returns `true` if `path` is a direct property, else `false`.\\n     * @example\\n     *\\n     * var object = { 'a': { 'b': { 'c': 3 } } };\\n     *\\n     * _.has(object, 'a');\\n     * // => true\\n     *\\n     * _.has(object, 'a.b.c');\\n     * // => true\\n     *\\n     * _.has(object, ['a', 'b', 'c']);\\n     * // => true\\n     */\\n    function has(object, path) {\\n      if (object == null) {\\n        return false;\\n      }\\n      var result = hasOwnProperty.call(object, path);\\n      if (!result && !isKey(path)) {\\n        path = toPath(path);\\n        object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\\n        path = last(path);\\n        result = object != null && hasOwnProperty.call(object, path);\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Creates an object composed of the inverted keys and values of `object`.\\n     * If `object` contains duplicate values, subsequent values overwrite property\\n     * assignments of previous values unless `multiValue` is `true`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The object to invert.\\n     * @param {boolean} [multiValue] Allow multiple values per key.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {Object} Returns the new inverted object.\\n     * @example\\n     *\\n     * var object = { 'a': 1, 'b': 2, 'c': 1 };\\n     *\\n     * _.invert(object);\\n     * // => { '1': 'c', '2': 'b' }\\n     *\\n     * // with `multiValue`\\n     * _.invert(object, true);\\n     * // => { '1': ['a', 'c'], '2': ['b'] }\\n     */\\n    function invert(object, multiValue, guard) {\\n      if (guard && isIterateeCall(object, multiValue, guard)) {\\n        multiValue = null;\\n      }\\n      var index = -1,\\n          props = keys(object),\\n          length = props.length,\\n          result = {};\\n\\n      while (++index < length) {\\n        var key = props[index],\\n            value = object[key];\\n\\n        if (multiValue) {\\n          if (hasOwnProperty.call(result, value)) {\\n            result[value].push(key);\\n          } else {\\n            result[value] = [key];\\n          }\\n        }\\n        else {\\n          result[value] = key;\\n        }\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Creates an array of the own enumerable property names of `object`.\\n     *\\n     * **Note:** Non-object values are coerced to objects. See the\\n     * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.keys)\\n     * for more details.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The object to query.\\n     * @returns {Array} Returns the array of property names.\\n     * @example\\n     *\\n     * function Foo() {\\n     *   this.a = 1;\\n     *   this.b = 2;\\n     * }\\n     *\\n     * Foo.prototype.c = 3;\\n     *\\n     * _.keys(new Foo);\\n     * // => ['a', 'b'] (iteration order is not guaranteed)\\n     *\\n     * _.keys('hi');\\n     * // => ['0', '1']\\n     */\\n    var keys = !nativeKeys ? shimKeys : function(object) {\\n      var Ctor = object != null && object.constructor;\\n      if ((typeof Ctor == 'function' && Ctor.prototype === object) ||\\n          (typeof object != 'function' && isArrayLike(object))) {\\n        return shimKeys(object);\\n      }\\n      return isObject(object) ? nativeKeys(object) : [];\\n    };\\n\\n    /**\\n     * Creates an array of the own and inherited enumerable property names of `object`.\\n     *\\n     * **Note:** Non-object values are coerced to objects.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The object to query.\\n     * @returns {Array} Returns the array of property names.\\n     * @example\\n     *\\n     * function Foo() {\\n     *   this.a = 1;\\n     *   this.b = 2;\\n     * }\\n     *\\n     * Foo.prototype.c = 3;\\n     *\\n     * _.keysIn(new Foo);\\n     * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\\n     */\\n    function keysIn(object) {\\n      if (object == null) {\\n        return [];\\n      }\\n      if (!isObject(object)) {\\n        object = Object(object);\\n      }\\n      var length = object.length;\\n      length = (length && isLength(length) &&\\n        (isArray(object) || (support.nonEnumArgs && isArguments(object))) && length) || 0;\\n\\n      var Ctor = object.constructor,\\n          index = -1,\\n          isProto = typeof Ctor == 'function' && Ctor.prototype === object,\\n          result = Array(length),\\n          skipIndexes = length > 0;\\n\\n      while (++index < length) {\\n        result[index] = (index + '');\\n      }\\n      for (var key in object) {\\n        if (!(skipIndexes && isIndex(key, length)) &&\\n            !(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\\n          result.push(key);\\n        }\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * The opposite of `_.mapValues`; this method creates an object with the\\n     * same values as `object` and keys generated by running each own enumerable\\n     * property of `object` through `iteratee`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The object to iterate over.\\n     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {Object} Returns the new mapped object.\\n     * @example\\n     *\\n     * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\\n     *   return key + value;\\n     * });\\n     * // => { 'a1': 1, 'b2': 2 }\\n     */\\n    var mapKeys = createObjectMapper(true);\\n\\n    /**\\n     * Creates an object with the same keys as `object` and values generated by\\n     * running each own enumerable property of `object` through `iteratee`. The\\n     * iteratee function is bound to `thisArg` and invoked with three arguments:\\n     * (value, key, object).\\n     *\\n     * If a property name is provided for `iteratee` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `iteratee` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The object to iterate over.\\n     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\\n     *  per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {Object} Returns the new mapped object.\\n     * @example\\n     *\\n     * _.mapValues({ 'a': 1, 'b': 2 }, function(n) {\\n     *   return n * 3;\\n     * });\\n     * // => { 'a': 3, 'b': 6 }\\n     *\\n     * var users = {\\n     *   'fred':    { 'user': 'fred',    'age': 40 },\\n     *   'pebbles': { 'user': 'pebbles', 'age': 1 }\\n     * };\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.mapValues(users, 'age');\\n     * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\\n     */\\n    var mapValues = createObjectMapper();\\n\\n    /**\\n     * Recursively merges own enumerable properties of the source object(s), that\\n     * don't resolve to `undefined` into the destination object. Subsequent sources\\n     * overwrite property assignments of previous sources. If `customizer` is\\n     * provided it is invoked to produce the merged values of the destination and\\n     * source properties. If `customizer` returns `undefined` merging is handled\\n     * by the method instead. The `customizer` is bound to `thisArg` and invoked\\n     * with five arguments: (objectValue, sourceValue, key, object, source).\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The destination object.\\n     * @param {...Object} [sources] The source objects.\\n     * @param {Function} [customizer] The function to customize assigned values.\\n     * @param {*} [thisArg] The `this` binding of `customizer`.\\n     * @returns {Object} Returns `object`.\\n     * @example\\n     *\\n     * var users = {\\n     *   'data': [{ 'user': 'barney' }, { 'user': 'fred' }]\\n     * };\\n     *\\n     * var ages = {\\n     *   'data': [{ 'age': 36 }, { 'age': 40 }]\\n     * };\\n     *\\n     * _.merge(users, ages);\\n     * // => { 'data': [{ 'user': 'barney', 'age': 36 }, { 'user': 'fred', 'age': 40 }] }\\n     *\\n     * // using a customizer callback\\n     * var object = {\\n     *   'fruits': ['apple'],\\n     *   'vegetables': ['beet']\\n     * };\\n     *\\n     * var other = {\\n     *   'fruits': ['banana'],\\n     *   'vegetables': ['carrot']\\n     * };\\n     *\\n     * _.merge(object, other, function(a, b) {\\n     *   if (_.isArray(a)) {\\n     *     return a.concat(b);\\n     *   }\\n     * });\\n     * // => { 'fruits': ['apple', 'banana'], 'vegetables': ['beet', 'carrot'] }\\n     */\\n    var merge = createAssigner(baseMerge);\\n\\n    /**\\n     * The opposite of `_.pick`; this method creates an object composed of the\\n     * own and inherited enumerable properties of `object` that are not omitted.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The source object.\\n     * @param {Function|...(string|string[])} [predicate] The function invoked per\\n     *  iteration or property names to omit, specified as individual property\\n     *  names or arrays of property names.\\n     * @param {*} [thisArg] The `this` binding of `predicate`.\\n     * @returns {Object} Returns the new object.\\n     * @example\\n     *\\n     * var object = { 'user': 'fred', 'age': 40 };\\n     *\\n     * _.omit(object, 'age');\\n     * // => { 'user': 'fred' }\\n     *\\n     * _.omit(object, _.isNumber);\\n     * // => { 'user': 'fred' }\\n     */\\n    var omit = restParam(function(object, props) {\\n      if (object == null) {\\n        return {};\\n      }\\n      if (typeof props[0] != 'function') {\\n        var props = arrayMap(baseFlatten(props), String);\\n        return pickByArray(object, baseDifference(keysIn(object), props));\\n      }\\n      var predicate = bindCallback(props[0], props[1], 3);\\n      return pickByCallback(object, function(value, key, object) {\\n        return !predicate(value, key, object);\\n      });\\n    });\\n\\n    /**\\n     * Creates a two dimensional array of the key-value pairs for `object`,\\n     * e.g. `[[key1, value1], [key2, value2]]`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The object to query.\\n     * @returns {Array} Returns the new array of key-value pairs.\\n     * @example\\n     *\\n     * _.pairs({ 'barney': 36, 'fred': 40 });\\n     * // => [['barney', 36], ['fred', 40]] (iteration order is not guaranteed)\\n     */\\n    function pairs(object) {\\n      var index = -1,\\n          props = keys(object),\\n          length = props.length,\\n          result = Array(length);\\n\\n      while (++index < length) {\\n        var key = props[index];\\n        result[index] = [key, object[key]];\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Creates an object composed of the picked `object` properties. Property\\n     * names may be specified as individual arguments or as arrays of property\\n     * names. If `predicate` is provided it is invoked for each property of `object`\\n     * picking the properties `predicate` returns truthy for. The predicate is\\n     * bound to `thisArg` and invoked with three arguments: (value, key, object).\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The source object.\\n     * @param {Function|...(string|string[])} [predicate] The function invoked per\\n     *  iteration or property names to pick, specified as individual property\\n     *  names or arrays of property names.\\n     * @param {*} [thisArg] The `this` binding of `predicate`.\\n     * @returns {Object} Returns the new object.\\n     * @example\\n     *\\n     * var object = { 'user': 'fred', 'age': 40 };\\n     *\\n     * _.pick(object, 'user');\\n     * // => { 'user': 'fred' }\\n     *\\n     * _.pick(object, _.isString);\\n     * // => { 'user': 'fred' }\\n     */\\n    var pick = restParam(function(object, props) {\\n      if (object == null) {\\n        return {};\\n      }\\n      return typeof props[0] == 'function'\\n        ? pickByCallback(object, bindCallback(props[0], props[1], 3))\\n        : pickByArray(object, baseFlatten(props));\\n    });\\n\\n    /**\\n     * This method is like `_.get` except that if the resolved value is a function\\n     * it is invoked with the `this` binding of its parent object and its result\\n     * is returned.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The object to query.\\n     * @param {Array|string} path The path of the property to resolve.\\n     * @param {*} [defaultValue] The value returned if the resolved value is `undefined`.\\n     * @returns {*} Returns the resolved value.\\n     * @example\\n     *\\n     * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\\n     *\\n     * _.result(object, 'a[0].b.c1');\\n     * // => 3\\n     *\\n     * _.result(object, 'a[0].b.c2');\\n     * // => 4\\n     *\\n     * _.result(object, 'a.b.c', 'default');\\n     * // => 'default'\\n     *\\n     * _.result(object, 'a.b.c', _.constant('default'));\\n     * // => 'default'\\n     */\\n    function result(object, path, defaultValue) {\\n      var result = object == null ? undefined : object[path];\\n      if (result === undefined) {\\n        if (object != null && !isKey(path, object)) {\\n          path = toPath(path);\\n          object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\\n          result = object == null ? undefined : object[last(path)];\\n        }\\n        result = result === undefined ? defaultValue : result;\\n      }\\n      return isFunction(result) ? result.call(object) : result;\\n    }\\n\\n    /**\\n     * Sets the property value of `path` on `object`. If a portion of `path`\\n     * does not exist it is created.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The object to augment.\\n     * @param {Array|string} path The path of the property to set.\\n     * @param {*} value The value to set.\\n     * @returns {Object} Returns `object`.\\n     * @example\\n     *\\n     * var object = { 'a': [{ 'b': { 'c': 3 } }] };\\n     *\\n     * _.set(object, 'a[0].b.c', 4);\\n     * console.log(object.a[0].b.c);\\n     * // => 4\\n     *\\n     * _.set(object, 'x[0].y.z', 5);\\n     * console.log(object.x[0].y.z);\\n     * // => 5\\n     */\\n    function set(object, path, value) {\\n      if (object == null) {\\n        return object;\\n      }\\n      var pathKey = (path + '');\\n      path = (object[pathKey] != null || isKey(path, object)) ? [pathKey] : toPath(path);\\n\\n      var index = -1,\\n          length = path.length,\\n          endIndex = length - 1,\\n          nested = object;\\n\\n      while (nested != null && ++index < length) {\\n        var key = path[index];\\n        if (isObject(nested)) {\\n          if (index == endIndex) {\\n            nested[key] = value;\\n          } else if (nested[key] == null) {\\n            nested[key] = isIndex(path[index + 1]) ? [] : {};\\n          }\\n        }\\n        nested = nested[key];\\n      }\\n      return object;\\n    }\\n\\n    /**\\n     * An alternative to `_.reduce`; this method transforms `object` to a new\\n     * `accumulator` object which is the result of running each of its own enumerable\\n     * properties through `iteratee`, with each invocation potentially mutating\\n     * the `accumulator` object. The `iteratee` is bound to `thisArg` and invoked\\n     * with four arguments: (accumulator, value, key, object). Iteratee functions\\n     * may exit iteration early by explicitly returning `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Array|Object} object The object to iterate over.\\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\\n     * @param {*} [accumulator] The custom accumulator value.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {*} Returns the accumulated value.\\n     * @example\\n     *\\n     * _.transform([2, 3, 4], function(result, n) {\\n     *   result.push(n *= n);\\n     *   return n % 2 == 0;\\n     * });\\n     * // => [4, 9]\\n     *\\n     * _.transform({ 'a': 1, 'b': 2 }, function(result, n, key) {\\n     *   result[key] = n * 3;\\n     * });\\n     * // => { 'a': 3, 'b': 6 }\\n     */\\n    function transform(object, iteratee, accumulator, thisArg) {\\n      var isArr = isArray(object) || isTypedArray(object);\\n      iteratee = getCallback(iteratee, thisArg, 4);\\n\\n      if (accumulator == null) {\\n        if (isArr || isObject(object)) {\\n          var Ctor = object.constructor;\\n          if (isArr) {\\n            accumulator = isArray(object) ? new Ctor : [];\\n          } else {\\n            accumulator = baseCreate(isFunction(Ctor) && Ctor.prototype);\\n          }\\n        } else {\\n          accumulator = {};\\n        }\\n      }\\n      (isArr ? arrayEach : baseForOwn)(object, function(value, index, object) {\\n        return iteratee(accumulator, value, index, object);\\n      });\\n      return accumulator;\\n    }\\n\\n    /**\\n     * Creates an array of the own enumerable property values of `object`.\\n     *\\n     * **Note:** Non-object values are coerced to objects.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The object to query.\\n     * @returns {Array} Returns the array of property values.\\n     * @example\\n     *\\n     * function Foo() {\\n     *   this.a = 1;\\n     *   this.b = 2;\\n     * }\\n     *\\n     * Foo.prototype.c = 3;\\n     *\\n     * _.values(new Foo);\\n     * // => [1, 2] (iteration order is not guaranteed)\\n     *\\n     * _.values('hi');\\n     * // => ['h', 'i']\\n     */\\n    function values(object) {\\n      return baseValues(object, keys(object));\\n    }\\n\\n    /**\\n     * Creates an array of the own and inherited enumerable property values\\n     * of `object`.\\n     *\\n     * **Note:** Non-object values are coerced to objects.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Object\\n     * @param {Object} object The object to query.\\n     * @returns {Array} Returns the array of property values.\\n     * @example\\n     *\\n     * function Foo() {\\n     *   this.a = 1;\\n     *   this.b = 2;\\n     * }\\n     *\\n     * Foo.prototype.c = 3;\\n     *\\n     * _.valuesIn(new Foo);\\n     * // => [1, 2, 3] (iteration order is not guaranteed)\\n     */\\n    function valuesIn(object) {\\n      return baseValues(object, keysIn(object));\\n    }\\n\\n    /**\\n     * Checks if `n` is between `start` and up to but not including, `end`. If\\n     * `end` is not specified it is set to `start` with `start` then set to `0`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Number\\n     * @param {number} n The number to check.\\n     * @param {number} [start=0] The start of the range.\\n     * @param {number} end The end of the range.\\n     * @returns {boolean} Returns `true` if `n` is in the range, else `false`.\\n     * @example\\n     *\\n     * _.inRange(3, 2, 4);\\n     * // => true\\n     *\\n     * _.inRange(4, 8);\\n     * // => true\\n     *\\n     * _.inRange(4, 2);\\n     * // => false\\n     *\\n     * _.inRange(2, 2);\\n     * // => false\\n     *\\n     * _.inRange(1.2, 2);\\n     * // => true\\n     *\\n     * _.inRange(5.2, 4);\\n     * // => false\\n     */\\n    function inRange(value, start, end) {\\n      start = +start || 0;\\n      if (typeof end === 'undefined') {\\n        end = start;\\n        start = 0;\\n      } else {\\n        end = +end || 0;\\n      }\\n      return value >= nativeMin(start, end) && value < nativeMax(start, end);\\n    }\\n\\n    /**\\n     * Produces a random number between `min` and `max` (inclusive). If only one\\n     * argument is provided a number between `0` and the given number is returned.\\n     * If `floating` is `true`, or either `min` or `max` are floats, a floating-point\\n     * number is returned instead of an integer.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Number\\n     * @param {number} [min=0] The minimum possible value.\\n     * @param {number} [max=1] The maximum possible value.\\n     * @param {boolean} [floating] Specify returning a floating-point number.\\n     * @returns {number} Returns the random number.\\n     * @example\\n     *\\n     * _.random(0, 5);\\n     * // => an integer between 0 and 5\\n     *\\n     * _.random(5);\\n     * // => also an integer between 0 and 5\\n     *\\n     * _.random(5, true);\\n     * // => a floating-point number between 0 and 5\\n     *\\n     * _.random(1.2, 5.2);\\n     * // => a floating-point number between 1.2 and 5.2\\n     */\\n    function random(min, max, floating) {\\n      if (floating && isIterateeCall(min, max, floating)) {\\n        max = floating = null;\\n      }\\n      var noMin = min == null,\\n          noMax = max == null;\\n\\n      if (floating == null) {\\n        if (noMax && typeof min == 'boolean') {\\n          floating = min;\\n          min = 1;\\n        }\\n        else if (typeof max == 'boolean') {\\n          floating = max;\\n          noMax = true;\\n        }\\n      }\\n      if (noMin && noMax) {\\n        max = 1;\\n        noMax = false;\\n      }\\n      min = +min || 0;\\n      if (noMax) {\\n        max = min;\\n        min = 0;\\n      } else {\\n        max = +max || 0;\\n      }\\n      if (floating || min % 1 || max % 1) {\\n        var rand = nativeRandom();\\n        return nativeMin(min + (rand * (max - min + parseFloat('1e-' + ((rand + '').length - 1)))), max);\\n      }\\n      return baseRandom(min, max);\\n    }\\n\\n    /**\\n     * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to convert.\\n     * @returns {string} Returns the camel cased string.\\n     * @example\\n     *\\n     * _.camelCase('Foo Bar');\\n     * // => 'fooBar'\\n     *\\n     * _.camelCase('--foo-bar');\\n     * // => 'fooBar'\\n     *\\n     * _.camelCase('__foo_bar__');\\n     * // => 'fooBar'\\n     */\\n    var camelCase = createCompounder(function(result, word, index) {\\n      word = word.toLowerCase();\\n      return result + (index ? (word.charAt(0).toUpperCase() + word.slice(1)) : word);\\n    });\\n\\n    /**\\n     * Capitalizes the first character of `string`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to capitalize.\\n     * @returns {string} Returns the capitalized string.\\n     * @example\\n     *\\n     * _.capitalize('fred');\\n     * // => 'Fred'\\n     */\\n    function capitalize(string) {\\n      string = baseToString(string);\\n      return string && (string.charAt(0).toUpperCase() + string.slice(1));\\n    }\\n\\n    /**\\n     * Deburrs `string` by converting [latin-1 supplementary letters](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\\n     * to basic latin letters and removing [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to deburr.\\n     * @returns {string} Returns the deburred string.\\n     * @example\\n     *\\n     * _.deburr('déjà vu');\\n     * // => 'deja vu'\\n     */\\n    function deburr(string) {\\n      string = baseToString(string);\\n      return string && string.replace(reLatin1, deburrLetter).replace(reComboMark, '');\\n    }\\n\\n    /**\\n     * Checks if `string` ends with the given target string.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to search.\\n     * @param {string} [target] The string to search for.\\n     * @param {number} [position=string.length] The position to search from.\\n     * @returns {boolean} Returns `true` if `string` ends with `target`, else `false`.\\n     * @example\\n     *\\n     * _.endsWith('abc', 'c');\\n     * // => true\\n     *\\n     * _.endsWith('abc', 'b');\\n     * // => false\\n     *\\n     * _.endsWith('abc', 'b', 2);\\n     * // => true\\n     */\\n    function endsWith(string, target, position) {\\n      string = baseToString(string);\\n      target = (target + '');\\n\\n      var length = string.length;\\n      position = position === undefined\\n        ? length\\n        : nativeMin(position < 0 ? 0 : (+position || 0), length);\\n\\n      position -= target.length;\\n      return position >= 0 && string.indexOf(target, position) == position;\\n    }\\n\\n    /**\\n     * Converts the characters \\\"&\\\", \\\"<\\\", \\\">\\\", '\\\"', \\\"'\\\", and \\\"\\\\`\\\", in `string` to\\n     * their corresponding HTML entities.\\n     *\\n     * **Note:** No other characters are escaped. To escape additional characters\\n     * use a third-party library like [_he_](https://mths.be/he).\\n     *\\n     * Though the \\\">\\\" character is escaped for symmetry, characters like\\n     * \\\">\\\" and \\\"/\\\" don't require escaping in HTML and have no special meaning\\n     * unless they're part of a tag or unquoted attribute value.\\n     * See [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\\n     * (under \\\"semi-related fun fact\\\") for more details.\\n     *\\n     * Backticks are escaped because in Internet Explorer < 9, they can break out\\n     * of attribute values or HTML comments. See [#59](https://html5sec.org/#59),\\n     * [#102](https://html5sec.org/#102), [#108](https://html5sec.org/#108), and\\n     * [#133](https://html5sec.org/#133) of the [HTML5 Security Cheatsheet](https://html5sec.org/)\\n     * for more details.\\n     *\\n     * When working with HTML you should always [quote attribute values](http://wonko.com/post/html-escaping)\\n     * to reduce XSS vectors.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to escape.\\n     * @returns {string} Returns the escaped string.\\n     * @example\\n     *\\n     * _.escape('fred, barney, & pebbles');\\n     * // => 'fred, barney, &amp; pebbles'\\n     */\\n    function escape(string) {\\n      // Reset `lastIndex` because in IE < 9 `String#replace` does not.\\n      string = baseToString(string);\\n      return (string && reHasUnescapedHtml.test(string))\\n        ? string.replace(reUnescapedHtml, escapeHtmlChar)\\n        : string;\\n    }\\n\\n    /**\\n     * Escapes the `RegExp` special characters \\\"\\\\\\\", \\\"/\\\", \\\"^\\\", \\\"$\\\", \\\".\\\", \\\"|\\\", \\\"?\\\",\\n     * \\\"*\\\", \\\"+\\\", \\\"(\\\", \\\")\\\", \\\"[\\\", \\\"]\\\", \\\"{\\\" and \\\"}\\\" in `string`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to escape.\\n     * @returns {string} Returns the escaped string.\\n     * @example\\n     *\\n     * _.escapeRegExp('[lodash](https://lodash.com/)');\\n     * // => '\\\\[lodash\\\\]\\\\(https:\\\\/\\\\/lodash\\\\.com\\\\/\\\\)'\\n     */\\n    function escapeRegExp(string) {\\n      string = baseToString(string);\\n      return (string && reHasRegExpChars.test(string))\\n        ? string.replace(reRegExpChars, '\\\\\\\\$&')\\n        : string;\\n    }\\n\\n    /**\\n     * Converts `string` to [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to convert.\\n     * @returns {string} Returns the kebab cased string.\\n     * @example\\n     *\\n     * _.kebabCase('Foo Bar');\\n     * // => 'foo-bar'\\n     *\\n     * _.kebabCase('fooBar');\\n     * // => 'foo-bar'\\n     *\\n     * _.kebabCase('__foo_bar__');\\n     * // => 'foo-bar'\\n     */\\n    var kebabCase = createCompounder(function(result, word, index) {\\n      return result + (index ? '-' : '') + word.toLowerCase();\\n    });\\n\\n    /**\\n     * Pads `string` on the left and right sides if it is shorter than `length`.\\n     * Padding characters are truncated if they can't be evenly divided by `length`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to pad.\\n     * @param {number} [length=0] The padding length.\\n     * @param {string} [chars=' '] The string used as padding.\\n     * @returns {string} Returns the padded string.\\n     * @example\\n     *\\n     * _.pad('abc', 8);\\n     * // => '  abc   '\\n     *\\n     * _.pad('abc', 8, '_-');\\n     * // => '_-abc_-_'\\n     *\\n     * _.pad('abc', 3);\\n     * // => 'abc'\\n     */\\n    function pad(string, length, chars) {\\n      string = baseToString(string);\\n      length = +length;\\n\\n      var strLength = string.length;\\n      if (strLength >= length || !nativeIsFinite(length)) {\\n        return string;\\n      }\\n      var mid = (length - strLength) / 2,\\n          leftLength = floor(mid),\\n          rightLength = ceil(mid);\\n\\n      chars = createPadding('', rightLength, chars);\\n      return chars.slice(0, leftLength) + string + chars;\\n    }\\n\\n    /**\\n     * Pads `string` on the left side if it is shorter than `length`. Padding\\n     * characters are truncated if they exceed `length`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to pad.\\n     * @param {number} [length=0] The padding length.\\n     * @param {string} [chars=' '] The string used as padding.\\n     * @returns {string} Returns the padded string.\\n     * @example\\n     *\\n     * _.padLeft('abc', 6);\\n     * // => '   abc'\\n     *\\n     * _.padLeft('abc', 6, '_-');\\n     * // => '_-_abc'\\n     *\\n     * _.padLeft('abc', 3);\\n     * // => 'abc'\\n     */\\n    var padLeft = createPadDir();\\n\\n    /**\\n     * Pads `string` on the right side if it is shorter than `length`. Padding\\n     * characters are truncated if they exceed `length`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to pad.\\n     * @param {number} [length=0] The padding length.\\n     * @param {string} [chars=' '] The string used as padding.\\n     * @returns {string} Returns the padded string.\\n     * @example\\n     *\\n     * _.padRight('abc', 6);\\n     * // => 'abc   '\\n     *\\n     * _.padRight('abc', 6, '_-');\\n     * // => 'abc_-_'\\n     *\\n     * _.padRight('abc', 3);\\n     * // => 'abc'\\n     */\\n    var padRight = createPadDir(true);\\n\\n    /**\\n     * Converts `string` to an integer of the specified radix. If `radix` is\\n     * `undefined` or `0`, a `radix` of `10` is used unless `value` is a hexadecimal,\\n     * in which case a `radix` of `16` is used.\\n     *\\n     * **Note:** This method aligns with the [ES5 implementation](https://es5.github.io/#E)\\n     * of `parseInt`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} string The string to convert.\\n     * @param {number} [radix] The radix to interpret `value` by.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {number} Returns the converted integer.\\n     * @example\\n     *\\n     * _.parseInt('08');\\n     * // => 8\\n     *\\n     * _.map(['6', '08', '10'], _.parseInt);\\n     * // => [6, 8, 10]\\n     */\\n    function parseInt(string, radix, guard) {\\n      if (guard && isIterateeCall(string, radix, guard)) {\\n        radix = 0;\\n      }\\n      return nativeParseInt(string, radix);\\n    }\\n    // Fallback for environments with pre-ES5 implementations.\\n    if (nativeParseInt(whitespace + '08') != 8) {\\n      parseInt = function(string, radix, guard) {\\n        // Firefox < 21 and Opera < 15 follow ES3 for `parseInt`.\\n        // Chrome fails to trim leading <BOM> whitespace characters.\\n        // See https://code.google.com/p/v8/issues/detail?id=3109 for more details.\\n        if (guard ? isIterateeCall(string, radix, guard) : radix == null) {\\n          radix = 0;\\n        } else if (radix) {\\n          radix = +radix;\\n        }\\n        string = trim(string);\\n        return nativeParseInt(string, radix || (reHasHexPrefix.test(string) ? 16 : 10));\\n      };\\n    }\\n\\n    /**\\n     * Repeats the given string `n` times.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to repeat.\\n     * @param {number} [n=0] The number of times to repeat the string.\\n     * @returns {string} Returns the repeated string.\\n     * @example\\n     *\\n     * _.repeat('*', 3);\\n     * // => '***'\\n     *\\n     * _.repeat('abc', 2);\\n     * // => 'abcabc'\\n     *\\n     * _.repeat('abc', 0);\\n     * // => ''\\n     */\\n    function repeat(string, n) {\\n      var result = '';\\n      string = baseToString(string);\\n      n = +n;\\n      if (n < 1 || !string || !nativeIsFinite(n)) {\\n        return result;\\n      }\\n      // Leverage the exponentiation by squaring algorithm for a faster repeat.\\n      // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\\n      do {\\n        if (n % 2) {\\n          result += string;\\n        }\\n        n = floor(n / 2);\\n        string += string;\\n      } while (n);\\n\\n      return result;\\n    }\\n\\n    /**\\n     * Converts `string` to [snake case](https://en.wikipedia.org/wiki/Snake_case).\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to convert.\\n     * @returns {string} Returns the snake cased string.\\n     * @example\\n     *\\n     * _.snakeCase('Foo Bar');\\n     * // => 'foo_bar'\\n     *\\n     * _.snakeCase('fooBar');\\n     * // => 'foo_bar'\\n     *\\n     * _.snakeCase('--foo-bar');\\n     * // => 'foo_bar'\\n     */\\n    var snakeCase = createCompounder(function(result, word, index) {\\n      return result + (index ? '_' : '') + word.toLowerCase();\\n    });\\n\\n    /**\\n     * Converts `string` to [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to convert.\\n     * @returns {string} Returns the start cased string.\\n     * @example\\n     *\\n     * _.startCase('--foo-bar');\\n     * // => 'Foo Bar'\\n     *\\n     * _.startCase('fooBar');\\n     * // => 'Foo Bar'\\n     *\\n     * _.startCase('__foo_bar__');\\n     * // => 'Foo Bar'\\n     */\\n    var startCase = createCompounder(function(result, word, index) {\\n      return result + (index ? ' ' : '') + (word.charAt(0).toUpperCase() + word.slice(1));\\n    });\\n\\n    /**\\n     * Checks if `string` starts with the given target string.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to search.\\n     * @param {string} [target] The string to search for.\\n     * @param {number} [position=0] The position to search from.\\n     * @returns {boolean} Returns `true` if `string` starts with `target`, else `false`.\\n     * @example\\n     *\\n     * _.startsWith('abc', 'a');\\n     * // => true\\n     *\\n     * _.startsWith('abc', 'b');\\n     * // => false\\n     *\\n     * _.startsWith('abc', 'b', 1);\\n     * // => true\\n     */\\n    function startsWith(string, target, position) {\\n      string = baseToString(string);\\n      position = position == null\\n        ? 0\\n        : nativeMin(position < 0 ? 0 : (+position || 0), string.length);\\n\\n      return string.lastIndexOf(target, position) == position;\\n    }\\n\\n    /**\\n     * Creates a compiled template function that can interpolate data properties\\n     * in \\\"interpolate\\\" delimiters, HTML-escape interpolated data properties in\\n     * \\\"escape\\\" delimiters, and execute JavaScript in \\\"evaluate\\\" delimiters. Data\\n     * properties may be accessed as free variables in the template. If a setting\\n     * object is provided it takes precedence over `_.templateSettings` values.\\n     *\\n     * **Note:** In the development build `_.template` utilizes\\n     * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\\n     * for easier debugging.\\n     *\\n     * For more information on precompiling templates see\\n     * [lodash's custom builds documentation](https://lodash.com/custom-builds).\\n     *\\n     * For more information on Chrome extension sandboxes see\\n     * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The template string.\\n     * @param {Object} [options] The options object.\\n     * @param {RegExp} [options.escape] The HTML \\\"escape\\\" delimiter.\\n     * @param {RegExp} [options.evaluate] The \\\"evaluate\\\" delimiter.\\n     * @param {Object} [options.imports] An object to import into the template as free variables.\\n     * @param {RegExp} [options.interpolate] The \\\"interpolate\\\" delimiter.\\n     * @param {string} [options.sourceURL] The sourceURL of the template's compiled source.\\n     * @param {string} [options.variable] The data object variable name.\\n     * @param- {Object} [otherOptions] Enables the legacy `options` param signature.\\n     * @returns {Function} Returns the compiled template function.\\n     * @example\\n     *\\n     * // using the \\\"interpolate\\\" delimiter to create a compiled template\\n     * var compiled = _.template('hello <%= user %>!');\\n     * compiled({ 'user': 'fred' });\\n     * // => 'hello fred!'\\n     *\\n     * // using the HTML \\\"escape\\\" delimiter to escape data property values\\n     * var compiled = _.template('<b><%- value %></b>');\\n     * compiled({ 'value': '<script>' });\\n     * // => '<b>&lt;script&gt;</b>'\\n     *\\n     * // using the \\\"evaluate\\\" delimiter to execute JavaScript and generate HTML\\n     * var compiled = _.template('<% _.forEach(users, function(user) { %><li><%- user %></li><% }); %>');\\n     * compiled({ 'users': ['fred', 'barney'] });\\n     * // => '<li>fred</li><li>barney</li>'\\n     *\\n     * // using the internal `print` function in \\\"evaluate\\\" delimiters\\n     * var compiled = _.template('<% print(\\\"hello \\\" + user); %>!');\\n     * compiled({ 'user': 'barney' });\\n     * // => 'hello barney!'\\n     *\\n     * // using the ES delimiter as an alternative to the default \\\"interpolate\\\" delimiter\\n     * var compiled = _.template('hello ${ user }!');\\n     * compiled({ 'user': 'pebbles' });\\n     * // => 'hello pebbles!'\\n     *\\n     * // using custom template delimiters\\n     * _.templateSettings.interpolate = /{{([\\\\s\\\\S]+?)}}/g;\\n     * var compiled = _.template('hello {{ user }}!');\\n     * compiled({ 'user': 'mustache' });\\n     * // => 'hello mustache!'\\n     *\\n     * // using backslashes to treat delimiters as plain text\\n     * var compiled = _.template('<%= \\\"\\\\\\\\<%- value %\\\\\\\\>\\\" %>');\\n     * compiled({ 'value': 'ignored' });\\n     * // => '<%- value %>'\\n     *\\n     * // using the `imports` option to import `jQuery` as `jq`\\n     * var text = '<% jq.each(users, function(user) { %><li><%- user %></li><% }); %>';\\n     * var compiled = _.template(text, { 'imports': { 'jq': jQuery } });\\n     * compiled({ 'users': ['fred', 'barney'] });\\n     * // => '<li>fred</li><li>barney</li>'\\n     *\\n     * // using the `sourceURL` option to specify a custom sourceURL for the template\\n     * var compiled = _.template('hello <%= user %>!', { 'sourceURL': '/basic/greeting.jst' });\\n     * compiled(data);\\n     * // => find the source of \\\"greeting.jst\\\" under the Sources tab or Resources panel of the web inspector\\n     *\\n     * // using the `variable` option to ensure a with-statement isn't used in the compiled template\\n     * var compiled = _.template('hi <%= data.user %>!', { 'variable': 'data' });\\n     * compiled.source;\\n     * // => function(data) {\\n     * //   var __t, __p = '';\\n     * //   __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!';\\n     * //   return __p;\\n     * // }\\n     *\\n     * // using the `source` property to inline compiled templates for meaningful\\n     * // line numbers in error messages and a stack trace\\n     * fs.writeFileSync(path.join(cwd, 'jst.js'), '\\\\\\n     *   var JST = {\\\\\\n     *     \\\"main\\\": ' + _.template(mainText).source + '\\\\\\n     *   };\\\\\\n     * ');\\n     */\\n    function template(string, options, otherOptions) {\\n      // Based on John Resig's `tmpl` implementation (http://ejohn.org/blog/javascript-micro-templating/)\\n      // and Laura Doktorova's doT.js (https://github.com/olado/doT).\\n      var settings = lodash.templateSettings;\\n\\n      if (otherOptions && isIterateeCall(string, options, otherOptions)) {\\n        options = otherOptions = null;\\n      }\\n      string = baseToString(string);\\n      options = assignWith(baseAssign({}, otherOptions || options), settings, assignOwnDefaults);\\n\\n      var imports = assignWith(baseAssign({}, options.imports), settings.imports, assignOwnDefaults),\\n          importsKeys = keys(imports),\\n          importsValues = baseValues(imports, importsKeys);\\n\\n      var isEscaping,\\n          isEvaluating,\\n          index = 0,\\n          interpolate = options.interpolate || reNoMatch,\\n          source = \\\"__p += '\\\";\\n\\n      // Compile the regexp to match each delimiter.\\n      var reDelimiters = RegExp(\\n        (options.escape || reNoMatch).source + '|' +\\n        interpolate.source + '|' +\\n        (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + '|' +\\n        (options.evaluate || reNoMatch).source + '|$'\\n      , 'g');\\n\\n      // Use a sourceURL for easier debugging.\\n      var sourceURL = '//# sourceURL=' +\\n        ('sourceURL' in options\\n          ? options.sourceURL\\n          : ('lodash.templateSources[' + (++templateCounter) + ']')\\n        ) + '\\\\n';\\n\\n      string.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {\\n        interpolateValue || (interpolateValue = esTemplateValue);\\n\\n        // Escape characters that can't be included in string literals.\\n        source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);\\n\\n        // Replace delimiters with snippets.\\n        if (escapeValue) {\\n          isEscaping = true;\\n          source += \\\"' +\\\\n__e(\\\" + escapeValue + \\\") +\\\\n'\\\";\\n        }\\n        if (evaluateValue) {\\n          isEvaluating = true;\\n          source += \\\"';\\\\n\\\" + evaluateValue + \\\";\\\\n__p += '\\\";\\n        }\\n        if (interpolateValue) {\\n          source += \\\"' +\\\\n((__t = (\\\" + interpolateValue + \\\")) == null ? '' : __t) +\\\\n'\\\";\\n        }\\n        index = offset + match.length;\\n\\n        // The JS engine embedded in Adobe products requires returning the `match`\\n        // string in order to produce the correct `offset` value.\\n        return match;\\n      });\\n\\n      source += \\\"';\\\\n\\\";\\n\\n      // If `variable` is not specified wrap a with-statement around the generated\\n      // code to add the data object to the top of the scope chain.\\n      var variable = options.variable;\\n      if (!variable) {\\n        source = 'with (obj) {\\\\n' + source + '\\\\n}\\\\n';\\n      }\\n      // Cleanup code by stripping empty strings.\\n      source = (isEvaluating ? source.replace(reEmptyStringLeading, '') : source)\\n        .replace(reEmptyStringMiddle, '$1')\\n        .replace(reEmptyStringTrailing, '$1;');\\n\\n      // Frame code as the function body.\\n      source = 'function(' + (variable || 'obj') + ') {\\\\n' +\\n        (variable\\n          ? ''\\n          : 'obj || (obj = {});\\\\n'\\n        ) +\\n        \\\"var __t, __p = ''\\\" +\\n        (isEscaping\\n           ? ', __e = _.escape'\\n           : ''\\n        ) +\\n        (isEvaluating\\n          ? ', __j = Array.prototype.join;\\\\n' +\\n            \\\"function print() { __p += __j.call(arguments, '') }\\\\n\\\"\\n          : ';\\\\n'\\n        ) +\\n        source +\\n        'return __p\\\\n}';\\n\\n      var result = attempt(function() {\\n        return Function(importsKeys, sourceURL + 'return ' + source).apply(undefined, importsValues);\\n      });\\n\\n      // Provide the compiled function's source by its `toString` method or\\n      // the `source` property as a convenience for inlining compiled templates.\\n      result.source = source;\\n      if (isError(result)) {\\n        throw result;\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Removes leading and trailing whitespace or specified characters from `string`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to trim.\\n     * @param {string} [chars=whitespace] The characters to trim.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {string} Returns the trimmed string.\\n     * @example\\n     *\\n     * _.trim('  abc  ');\\n     * // => 'abc'\\n     *\\n     * _.trim('-_-abc-_-', '_-');\\n     * // => 'abc'\\n     *\\n     * _.map(['  foo  ', '  bar  '], _.trim);\\n     * // => ['foo', 'bar']\\n     */\\n    function trim(string, chars, guard) {\\n      var value = string;\\n      string = baseToString(string);\\n      if (!string) {\\n        return string;\\n      }\\n      if (guard ? isIterateeCall(value, chars, guard) : chars == null) {\\n        return string.slice(trimmedLeftIndex(string), trimmedRightIndex(string) + 1);\\n      }\\n      chars = (chars + '');\\n      return string.slice(charsLeftIndex(string, chars), charsRightIndex(string, chars) + 1);\\n    }\\n\\n    /**\\n     * Removes leading whitespace or specified characters from `string`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to trim.\\n     * @param {string} [chars=whitespace] The characters to trim.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {string} Returns the trimmed string.\\n     * @example\\n     *\\n     * _.trimLeft('  abc  ');\\n     * // => 'abc  '\\n     *\\n     * _.trimLeft('-_-abc-_-', '_-');\\n     * // => 'abc-_-'\\n     */\\n    function trimLeft(string, chars, guard) {\\n      var value = string;\\n      string = baseToString(string);\\n      if (!string) {\\n        return string;\\n      }\\n      if (guard ? isIterateeCall(value, chars, guard) : chars == null) {\\n        return string.slice(trimmedLeftIndex(string));\\n      }\\n      return string.slice(charsLeftIndex(string, (chars + '')));\\n    }\\n\\n    /**\\n     * Removes trailing whitespace or specified characters from `string`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to trim.\\n     * @param {string} [chars=whitespace] The characters to trim.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {string} Returns the trimmed string.\\n     * @example\\n     *\\n     * _.trimRight('  abc  ');\\n     * // => '  abc'\\n     *\\n     * _.trimRight('-_-abc-_-', '_-');\\n     * // => '-_-abc'\\n     */\\n    function trimRight(string, chars, guard) {\\n      var value = string;\\n      string = baseToString(string);\\n      if (!string) {\\n        return string;\\n      }\\n      if (guard ? isIterateeCall(value, chars, guard) : chars == null) {\\n        return string.slice(0, trimmedRightIndex(string) + 1);\\n      }\\n      return string.slice(0, charsRightIndex(string, (chars + '')) + 1);\\n    }\\n\\n    /**\\n     * Truncates `string` if it is longer than the given maximum string length.\\n     * The last characters of the truncated string are replaced with the omission\\n     * string which defaults to \\\"...\\\".\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to truncate.\\n     * @param {Object|number} [options] The options object or maximum string length.\\n     * @param {number} [options.length=30] The maximum string length.\\n     * @param {string} [options.omission='...'] The string to indicate text is omitted.\\n     * @param {RegExp|string} [options.separator] The separator pattern to truncate to.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {string} Returns the truncated string.\\n     * @example\\n     *\\n     * _.trunc('hi-diddly-ho there, neighborino');\\n     * // => 'hi-diddly-ho there, neighbo...'\\n     *\\n     * _.trunc('hi-diddly-ho there, neighborino', 24);\\n     * // => 'hi-diddly-ho there, n...'\\n     *\\n     * _.trunc('hi-diddly-ho there, neighborino', {\\n     *   'length': 24,\\n     *   'separator': ' '\\n     * });\\n     * // => 'hi-diddly-ho there,...'\\n     *\\n     * _.trunc('hi-diddly-ho there, neighborino', {\\n     *   'length': 24,\\n     *   'separator': /,? +/\\n     * });\\n     * // => 'hi-diddly-ho there...'\\n     *\\n     * _.trunc('hi-diddly-ho there, neighborino', {\\n     *   'omission': ' [...]'\\n     * });\\n     * // => 'hi-diddly-ho there, neig [...]'\\n     */\\n    function trunc(string, options, guard) {\\n      if (guard && isIterateeCall(string, options, guard)) {\\n        options = null;\\n      }\\n      var length = DEFAULT_TRUNC_LENGTH,\\n          omission = DEFAULT_TRUNC_OMISSION;\\n\\n      if (options != null) {\\n        if (isObject(options)) {\\n          var separator = 'separator' in options ? options.separator : separator;\\n          length = 'length' in options ? (+options.length || 0) : length;\\n          omission = 'omission' in options ? baseToString(options.omission) : omission;\\n        } else {\\n          length = +options || 0;\\n        }\\n      }\\n      string = baseToString(string);\\n      if (length >= string.length) {\\n        return string;\\n      }\\n      var end = length - omission.length;\\n      if (end < 1) {\\n        return omission;\\n      }\\n      var result = string.slice(0, end);\\n      if (separator == null) {\\n        return result + omission;\\n      }\\n      if (isRegExp(separator)) {\\n        if (string.slice(end).search(separator)) {\\n          var match,\\n              newEnd,\\n              substring = string.slice(0, end);\\n\\n          if (!separator.global) {\\n            separator = RegExp(separator.source, (reFlags.exec(separator) || '') + 'g');\\n          }\\n          separator.lastIndex = 0;\\n          while ((match = separator.exec(substring))) {\\n            newEnd = match.index;\\n          }\\n          result = result.slice(0, newEnd == null ? end : newEnd);\\n        }\\n      } else if (string.indexOf(separator, end) != end) {\\n        var index = result.lastIndexOf(separator);\\n        if (index > -1) {\\n          result = result.slice(0, index);\\n        }\\n      }\\n      return result + omission;\\n    }\\n\\n    /**\\n     * The inverse of `_.escape`; this method converts the HTML entities\\n     * `&amp;`, `&lt;`, `&gt;`, `&quot;`, `&#39;`, and `&#96;` in `string` to their\\n     * corresponding characters.\\n     *\\n     * **Note:** No other HTML entities are unescaped. To unescape additional HTML\\n     * entities use a third-party library like [_he_](https://mths.be/he).\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to unescape.\\n     * @returns {string} Returns the unescaped string.\\n     * @example\\n     *\\n     * _.unescape('fred, barney, &amp; pebbles');\\n     * // => 'fred, barney, & pebbles'\\n     */\\n    function unescape(string) {\\n      string = baseToString(string);\\n      return (string && reHasEscapedHtml.test(string))\\n        ? string.replace(reEscapedHtml, unescapeHtmlChar)\\n        : string;\\n    }\\n\\n    /**\\n     * Splits `string` into an array of its words.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category String\\n     * @param {string} [string=''] The string to inspect.\\n     * @param {RegExp|string} [pattern] The pattern to match words.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {Array} Returns the words of `string`.\\n     * @example\\n     *\\n     * _.words('fred, barney, & pebbles');\\n     * // => ['fred', 'barney', 'pebbles']\\n     *\\n     * _.words('fred, barney, & pebbles', /[^, ]+/g);\\n     * // => ['fred', 'barney', '&', 'pebbles']\\n     */\\n    function words(string, pattern, guard) {\\n      if (guard && isIterateeCall(string, pattern, guard)) {\\n        pattern = null;\\n      }\\n      string = baseToString(string);\\n      return string.match(pattern || reWords) || [];\\n    }\\n\\n    /**\\n     * Attempts to invoke `func`, returning either the result or the caught error\\n     * object. Any additional arguments are provided to `func` when it is invoked.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Utility\\n     * @param {Function} func The function to attempt.\\n     * @returns {*} Returns the `func` result or error object.\\n     * @example\\n     *\\n     * // avoid throwing errors for invalid selectors\\n     * var elements = _.attempt(function(selector) {\\n     *   return document.querySelectorAll(selector);\\n     * }, '>_>');\\n     *\\n     * if (_.isError(elements)) {\\n     *   elements = [];\\n     * }\\n     */\\n    var attempt = restParam(function(func, args) {\\n      try {\\n        return func.apply(undefined, args);\\n      } catch(e) {\\n        return isError(e) ? e : new Error(e);\\n      }\\n    });\\n\\n    /**\\n     * Creates a function that invokes `func` with the `this` binding of `thisArg`\\n     * and arguments of the created function. If `func` is a property name the\\n     * created callback returns the property value for a given element. If `func`\\n     * is an object the created callback returns `true` for elements that contain\\n     * the equivalent object properties, otherwise it returns `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @alias iteratee\\n     * @category Utility\\n     * @param {*} [func=_.identity] The value to convert to a callback.\\n     * @param {*} [thisArg] The `this` binding of `func`.\\n     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\\n     * @returns {Function} Returns the callback.\\n     * @example\\n     *\\n     * var users = [\\n     *   { 'user': 'barney', 'age': 36 },\\n     *   { 'user': 'fred',   'age': 40 }\\n     * ];\\n     *\\n     * // wrap to create custom callback shorthands\\n     * _.callback = _.wrap(_.callback, function(callback, func, thisArg) {\\n     *   var match = /^(.+?)__([gl]t)(.+)$/.exec(func);\\n     *   if (!match) {\\n     *     return callback(func, thisArg);\\n     *   }\\n     *   return function(object) {\\n     *     return match[2] == 'gt'\\n     *       ? object[match[1]] > match[3]\\n     *       : object[match[1]] < match[3];\\n     *   };\\n     * });\\n     *\\n     * _.filter(users, 'age__gt36');\\n     * // => [{ 'user': 'fred', 'age': 40 }]\\n     */\\n    function callback(func, thisArg, guard) {\\n      if (guard && isIterateeCall(func, thisArg, guard)) {\\n        thisArg = null;\\n      }\\n      return isObjectLike(func)\\n        ? matches(func)\\n        : baseCallback(func, thisArg);\\n    }\\n\\n    /**\\n     * Creates a function that returns `value`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Utility\\n     * @param {*} value The value to return from the new function.\\n     * @returns {Function} Returns the new function.\\n     * @example\\n     *\\n     * var object = { 'user': 'fred' };\\n     * var getter = _.constant(object);\\n     *\\n     * getter() === object;\\n     * // => true\\n     */\\n    function constant(value) {\\n      return function() {\\n        return value;\\n      };\\n    }\\n\\n    /**\\n     * This method returns the first argument provided to it.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Utility\\n     * @param {*} value Any value.\\n     * @returns {*} Returns `value`.\\n     * @example\\n     *\\n     * var object = { 'user': 'fred' };\\n     *\\n     * _.identity(object) === object;\\n     * // => true\\n     */\\n    function identity(value) {\\n      return value;\\n    }\\n\\n    /**\\n     * Creates a function which performs a deep comparison between a given object\\n     * and `source`, returning `true` if the given object has equivalent property\\n     * values, else `false`.\\n     *\\n     * **Note:** This method supports comparing arrays, booleans, `Date` objects,\\n     * numbers, `Object` objects, regexes, and strings. Objects are compared by\\n     * their own, not inherited, enumerable properties. For comparing a single\\n     * own or inherited property value see `_.matchesProperty`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Utility\\n     * @param {Object} source The object of property values to match.\\n     * @returns {Function} Returns the new function.\\n     * @example\\n     *\\n     * var users = [\\n     *   { 'user': 'barney', 'age': 36, 'active': true },\\n     *   { 'user': 'fred',   'age': 40, 'active': false }\\n     * ];\\n     *\\n     * _.filter(users, _.matches({ 'age': 40, 'active': false }));\\n     * // => [{ 'user': 'fred', 'age': 40, 'active': false }]\\n     */\\n    function matches(source) {\\n      return baseMatches(baseClone(source, true));\\n    }\\n\\n    /**\\n     * Creates a function which compares the property value of `path` on a given\\n     * object to `value`.\\n     *\\n     * **Note:** This method supports comparing arrays, booleans, `Date` objects,\\n     * numbers, `Object` objects, regexes, and strings. Objects are compared by\\n     * their own, not inherited, enumerable properties.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Utility\\n     * @param {Array|string} path The path of the property to get.\\n     * @param {*} value The value to compare.\\n     * @returns {Function} Returns the new function.\\n     * @example\\n     *\\n     * var users = [\\n     *   { 'user': 'barney' },\\n     *   { 'user': 'fred' }\\n     * ];\\n     *\\n     * _.find(users, _.matchesProperty('user', 'fred'));\\n     * // => { 'user': 'fred' }\\n     */\\n    function matchesProperty(path, value) {\\n      return baseMatchesProperty(path, baseClone(value, true));\\n    }\\n\\n    /**\\n     * Creates a function which invokes the method at `path` on a given object.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Utility\\n     * @param {Array|string} path The path of the method to invoke.\\n     * @returns {Function} Returns the new function.\\n     * @example\\n     *\\n     * var objects = [\\n     *   { 'a': { 'b': { 'c': _.constant(2) } } },\\n     *   { 'a': { 'b': { 'c': _.constant(1) } } }\\n     * ];\\n     *\\n     * _.map(objects, _.method('a.b.c'));\\n     * // => [2, 1]\\n     *\\n     * _.invoke(_.sortBy(objects, _.method(['a', 'b', 'c'])), 'a.b.c');\\n     * // => [1, 2]\\n     */\\n    var method = restParam(function(path, args) {\\n      return function(object) {\\n        return invokePath(object, path, args);\\n      };\\n    });\\n\\n    /**\\n     * The opposite of `_.method`; this method creates a function which invokes\\n     * the method at a given path on `object`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Utility\\n     * @param {Object} object The object to query.\\n     * @returns {Function} Returns the new function.\\n     * @example\\n     *\\n     * var array = _.times(3, _.constant),\\n     *     object = { 'a': array, 'b': array, 'c': array };\\n     *\\n     * _.map(['a[2]', 'c[0]'], _.methodOf(object));\\n     * // => [2, 0]\\n     *\\n     * _.map([['a', '2'], ['c', '0']], _.methodOf(object));\\n     * // => [2, 0]\\n     */\\n    var methodOf = restParam(function(object, args) {\\n      return function(path) {\\n        return invokePath(object, path, args);\\n      };\\n    });\\n\\n    /**\\n     * Adds all own enumerable function properties of a source object to the\\n     * destination object. If `object` is a function then methods are added to\\n     * its prototype as well.\\n     *\\n     * **Note:** Use `_.runInContext` to create a pristine `lodash` function to\\n     * avoid conflicts caused by modifying the original.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Utility\\n     * @param {Function|Object} [object=lodash] The destination object.\\n     * @param {Object} source The object of functions to add.\\n     * @param {Object} [options] The options object.\\n     * @param {boolean} [options.chain=true] Specify whether the functions added\\n     *  are chainable.\\n     * @returns {Function|Object} Returns `object`.\\n     * @example\\n     *\\n     * function vowels(string) {\\n     *   return _.filter(string, function(v) {\\n     *     return /[aeiou]/i.test(v);\\n     *   });\\n     * }\\n     *\\n     * // use `_.runInContext` to avoid conflicts (esp. in Node.js)\\n     * var _ = require('lodash').runInContext();\\n     *\\n     * _.mixin({ 'vowels': vowels });\\n     * _.vowels('fred');\\n     * // => ['e']\\n     *\\n     * _('fred').vowels().value();\\n     * // => ['e']\\n     *\\n     * _.mixin({ 'vowels': vowels }, { 'chain': false });\\n     * _('fred').vowels();\\n     * // => ['e']\\n     */\\n    function mixin(object, source, options) {\\n      if (options == null) {\\n        var isObj = isObject(source),\\n            props = isObj && keys(source),\\n            methodNames = props && props.length && baseFunctions(source, props);\\n\\n        if (!(methodNames ? methodNames.length : isObj)) {\\n          methodNames = false;\\n          options = source;\\n          source = object;\\n          object = this;\\n        }\\n      }\\n      if (!methodNames) {\\n        methodNames = baseFunctions(source, keys(source));\\n      }\\n      var chain = true,\\n          index = -1,\\n          isFunc = isFunction(object),\\n          length = methodNames.length;\\n\\n      if (options === false) {\\n        chain = false;\\n      } else if (isObject(options) && 'chain' in options) {\\n        chain = options.chain;\\n      }\\n      while (++index < length) {\\n        var methodName = methodNames[index],\\n            func = source[methodName];\\n\\n        object[methodName] = func;\\n        if (isFunc) {\\n          object.prototype[methodName] = (function(func) {\\n            return function() {\\n              var chainAll = this.__chain__;\\n              if (chain || chainAll) {\\n                var result = object(this.__wrapped__),\\n                    actions = result.__actions__ = arrayCopy(this.__actions__);\\n\\n                actions.push({ 'func': func, 'args': arguments, 'thisArg': object });\\n                result.__chain__ = chainAll;\\n                return result;\\n              }\\n              var args = [this.value()];\\n              push.apply(args, arguments);\\n              return func.apply(object, args);\\n            };\\n          }(func));\\n        }\\n      }\\n      return object;\\n    }\\n\\n    /**\\n     * Reverts the `_` variable to its previous value and returns a reference to\\n     * the `lodash` function.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Utility\\n     * @returns {Function} Returns the `lodash` function.\\n     * @example\\n     *\\n     * var lodash = _.noConflict();\\n     */\\n    function noConflict() {\\n      context._ = oldDash;\\n      return this;\\n    }\\n\\n    /**\\n     * A no-operation function which returns `undefined` regardless of the\\n     * arguments it receives.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Utility\\n     * @example\\n     *\\n     * var object = { 'user': 'fred' };\\n     *\\n     * _.noop(object) === undefined;\\n     * // => true\\n     */\\n    function noop() {\\n      // No operation performed.\\n    }\\n\\n    /**\\n     * Creates a function which returns the property value at `path` on a\\n     * given object.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Utility\\n     * @param {Array|string} path The path of the property to get.\\n     * @returns {Function} Returns the new function.\\n     * @example\\n     *\\n     * var objects = [\\n     *   { 'a': { 'b': { 'c': 2 } } },\\n     *   { 'a': { 'b': { 'c': 1 } } }\\n     * ];\\n     *\\n     * _.map(objects, _.property('a.b.c'));\\n     * // => [2, 1]\\n     *\\n     * _.pluck(_.sortBy(objects, _.property(['a', 'b', 'c'])), 'a.b.c');\\n     * // => [1, 2]\\n     */\\n    function property(path) {\\n      return isKey(path) ? baseProperty(path) : basePropertyDeep(path);\\n    }\\n\\n    /**\\n     * The opposite of `_.property`; this method creates a function which returns\\n     * the property value at a given path on `object`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Utility\\n     * @param {Object} object The object to query.\\n     * @returns {Function} Returns the new function.\\n     * @example\\n     *\\n     * var array = [0, 1, 2],\\n     *     object = { 'a': array, 'b': array, 'c': array };\\n     *\\n     * _.map(['a[2]', 'c[0]'], _.propertyOf(object));\\n     * // => [2, 0]\\n     *\\n     * _.map([['a', '2'], ['c', '0']], _.propertyOf(object));\\n     * // => [2, 0]\\n     */\\n    function propertyOf(object) {\\n      return function(path) {\\n        return baseGet(object, toPath(path), path + '');\\n      };\\n    }\\n\\n    /**\\n     * Creates an array of numbers (positive and/or negative) progressing from\\n     * `start` up to, but not including, `end`. If `end` is not specified it is\\n     * set to `start` with `start` then set to `0`. If `end` is less than `start`\\n     * a zero-length range is created unless a negative `step` is specified.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Utility\\n     * @param {number} [start=0] The start of the range.\\n     * @param {number} end The end of the range.\\n     * @param {number} [step=1] The value to increment or decrement by.\\n     * @returns {Array} Returns the new array of numbers.\\n     * @example\\n     *\\n     * _.range(4);\\n     * // => [0, 1, 2, 3]\\n     *\\n     * _.range(1, 5);\\n     * // => [1, 2, 3, 4]\\n     *\\n     * _.range(0, 20, 5);\\n     * // => [0, 5, 10, 15]\\n     *\\n     * _.range(0, -4, -1);\\n     * // => [0, -1, -2, -3]\\n     *\\n     * _.range(1, 4, 0);\\n     * // => [1, 1, 1]\\n     *\\n     * _.range(0);\\n     * // => []\\n     */\\n    function range(start, end, step) {\\n      if (step && isIterateeCall(start, end, step)) {\\n        end = step = null;\\n      }\\n      start = +start || 0;\\n      step = step == null ? 1 : (+step || 0);\\n\\n      if (end == null) {\\n        end = start;\\n        start = 0;\\n      } else {\\n        end = +end || 0;\\n      }\\n      // Use `Array(length)` so engines like Chakra and V8 avoid slower modes.\\n      // See https://youtu.be/XAqIpGU8ZZk#t=17m25s for more details.\\n      var index = -1,\\n          length = nativeMax(ceil((end - start) / (step || 1)), 0),\\n          result = Array(length);\\n\\n      while (++index < length) {\\n        result[index] = start;\\n        start += step;\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Invokes the iteratee function `n` times, returning an array of the results\\n     * of each invocation. The `iteratee` is bound to `thisArg` and invoked with\\n     * one argument; (index).\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Utility\\n     * @param {number} n The number of times to invoke `iteratee`.\\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {Array} Returns the array of results.\\n     * @example\\n     *\\n     * var diceRolls = _.times(3, _.partial(_.random, 1, 6, false));\\n     * // => [3, 6, 4]\\n     *\\n     * _.times(3, function(n) {\\n     *   mage.castSpell(n);\\n     * });\\n     * // => invokes `mage.castSpell(n)` three times with `n` of `0`, `1`, and `2`\\n     *\\n     * _.times(3, function(n) {\\n     *   this.cast(n);\\n     * }, mage);\\n     * // => also invokes `mage.castSpell(n)` three times\\n     */\\n    function times(n, iteratee, thisArg) {\\n      n = floor(n);\\n\\n      // Exit early to avoid a JSC JIT bug in Safari 8\\n      // where `Array(0)` is treated as `Array(1)`.\\n      if (n < 1 || !nativeIsFinite(n)) {\\n        return [];\\n      }\\n      var index = -1,\\n          result = Array(nativeMin(n, MAX_ARRAY_LENGTH));\\n\\n      iteratee = bindCallback(iteratee, thisArg, 1);\\n      while (++index < n) {\\n        if (index < MAX_ARRAY_LENGTH) {\\n          result[index] = iteratee(index);\\n        } else {\\n          iteratee(index);\\n        }\\n      }\\n      return result;\\n    }\\n\\n    /**\\n     * Generates a unique ID. If `prefix` is provided the ID is appended to it.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Utility\\n     * @param {string} [prefix] The value to prefix the ID with.\\n     * @returns {string} Returns the unique ID.\\n     * @example\\n     *\\n     * _.uniqueId('contact_');\\n     * // => 'contact_104'\\n     *\\n     * _.uniqueId();\\n     * // => '105'\\n     */\\n    function uniqueId(prefix) {\\n      var id = ++idCounter;\\n      return baseToString(prefix) + id;\\n    }\\n\\n    /**\\n     * Adds two numbers.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Math\\n     * @param {number} augend The first number to add.\\n     * @param {number} addend The second number to add.\\n     * @returns {number} Returns the sum.\\n     * @example\\n     *\\n     * _.add(6, 4);\\n     * // => 10\\n     */\\n    function add(augend, addend) {\\n      return (+augend || 0) + (+addend || 0);\\n    }\\n\\n    /**\\n     * Gets the maximum value of `collection`. If `collection` is empty or falsey\\n     * `-Infinity` is returned. If an iteratee function is provided it is invoked\\n     * for each value in `collection` to generate the criterion by which the value\\n     * is ranked. The `iteratee` is bound to `thisArg` and invoked with three\\n     * arguments: (value, index, collection).\\n     *\\n     * If a property name is provided for `iteratee` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `iteratee` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Math\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function|Object|string} [iteratee] The function invoked per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {*} Returns the maximum value.\\n     * @example\\n     *\\n     * _.max([4, 2, 8, 6]);\\n     * // => 8\\n     *\\n     * _.max([]);\\n     * // => -Infinity\\n     *\\n     * var users = [\\n     *   { 'user': 'barney', 'age': 36 },\\n     *   { 'user': 'fred',   'age': 40 }\\n     * ];\\n     *\\n     * _.max(users, function(chr) {\\n     *   return chr.age;\\n     * });\\n     * // => { 'user': 'fred', 'age': 40 }\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.max(users, 'age');\\n     * // => { 'user': 'fred', 'age': 40 }\\n     */\\n    var max = createExtremum(arrayMax);\\n\\n    /**\\n     * Gets the minimum value of `collection`. If `collection` is empty or falsey\\n     * `Infinity` is returned. If an iteratee function is provided it is invoked\\n     * for each value in `collection` to generate the criterion by which the value\\n     * is ranked. The `iteratee` is bound to `thisArg` and invoked with three\\n     * arguments: (value, index, collection).\\n     *\\n     * If a property name is provided for `iteratee` the created `_.property`\\n     * style callback returns the property value of the given element.\\n     *\\n     * If a value is also provided for `thisArg` the created `_.matchesProperty`\\n     * style callback returns `true` for elements that have a matching property\\n     * value, else `false`.\\n     *\\n     * If an object is provided for `iteratee` the created `_.matches` style\\n     * callback returns `true` for elements that have the properties of the given\\n     * object, else `false`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Math\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function|Object|string} [iteratee] The function invoked per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {*} Returns the minimum value.\\n     * @example\\n     *\\n     * _.min([4, 2, 8, 6]);\\n     * // => 2\\n     *\\n     * _.min([]);\\n     * // => Infinity\\n     *\\n     * var users = [\\n     *   { 'user': 'barney', 'age': 36 },\\n     *   { 'user': 'fred',   'age': 40 }\\n     * ];\\n     *\\n     * _.min(users, function(chr) {\\n     *   return chr.age;\\n     * });\\n     * // => { 'user': 'barney', 'age': 36 }\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.min(users, 'age');\\n     * // => { 'user': 'barney', 'age': 36 }\\n     */\\n    var min = createExtremum(arrayMin, true);\\n\\n    /**\\n     * Gets the sum of the values in `collection`.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @category Math\\n     * @param {Array|Object|string} collection The collection to iterate over.\\n     * @param {Function|Object|string} [iteratee] The function invoked per iteration.\\n     * @param {*} [thisArg] The `this` binding of `iteratee`.\\n     * @returns {number} Returns the sum.\\n     * @example\\n     *\\n     * _.sum([4, 6]);\\n     * // => 10\\n     *\\n     * _.sum({ 'a': 4, 'b': 6 });\\n     * // => 10\\n     *\\n     * var objects = [\\n     *   { 'n': 4 },\\n     *   { 'n': 6 }\\n     * ];\\n     *\\n     * _.sum(objects, function(object) {\\n     *   return object.n;\\n     * });\\n     * // => 10\\n     *\\n     * // using the `_.property` callback shorthand\\n     * _.sum(objects, 'n');\\n     * // => 10\\n     */\\n    function sum(collection, iteratee, thisArg) {\\n      if (thisArg && isIterateeCall(collection, iteratee, thisArg)) {\\n        iteratee = null;\\n      }\\n      var func = getCallback(),\\n          noIteratee = iteratee == null;\\n\\n      if (!(func === baseCallback && noIteratee)) {\\n        noIteratee = false;\\n        iteratee = func(iteratee, thisArg, 3);\\n      }\\n      return noIteratee\\n        ? arraySum(isArray(collection) ? collection : toIterable(collection))\\n        : baseSum(collection, iteratee);\\n    }\\n\\n    // Ensure wrappers are instances of `baseLodash`.\\n    lodash.prototype = baseLodash.prototype;\\n\\n    LodashWrapper.prototype = baseCreate(baseLodash.prototype);\\n    LodashWrapper.prototype.constructor = LodashWrapper;\\n\\n    LazyWrapper.prototype = baseCreate(baseLodash.prototype);\\n    LazyWrapper.prototype.constructor = LazyWrapper;\\n\\n    // Add functions to the `Map` cache.\\n    MapCache.prototype['delete'] = mapDelete;\\n    MapCache.prototype.get = mapGet;\\n    MapCache.prototype.has = mapHas;\\n    MapCache.prototype.set = mapSet;\\n\\n    // Add functions to the `Set` cache.\\n    SetCache.prototype.push = cachePush;\\n\\n    // Assign cache to `_.memoize`.\\n    memoize.Cache = MapCache;\\n\\n    // Add functions that return wrapped values when chaining.\\n    lodash.after = after;\\n    lodash.ary = ary;\\n    lodash.assign = assign;\\n    lodash.at = at;\\n    lodash.before = before;\\n    lodash.bind = bind;\\n    lodash.bindAll = bindAll;\\n    lodash.bindKey = bindKey;\\n    lodash.callback = callback;\\n    lodash.chain = chain;\\n    lodash.chunk = chunk;\\n    lodash.compact = compact;\\n    lodash.constant = constant;\\n    lodash.countBy = countBy;\\n    lodash.create = create;\\n    lodash.curry = curry;\\n    lodash.curryRight = curryRight;\\n    lodash.debounce = debounce;\\n    lodash.defaults = defaults;\\n    lodash.defer = defer;\\n    lodash.delay = delay;\\n    lodash.difference = difference;\\n    lodash.drop = drop;\\n    lodash.dropRight = dropRight;\\n    lodash.dropRightWhile = dropRightWhile;\\n    lodash.dropWhile = dropWhile;\\n    lodash.fill = fill;\\n    lodash.filter = filter;\\n    lodash.flatten = flatten;\\n    lodash.flattenDeep = flattenDeep;\\n    lodash.flow = flow;\\n    lodash.flowRight = flowRight;\\n    lodash.forEach = forEach;\\n    lodash.forEachRight = forEachRight;\\n    lodash.forIn = forIn;\\n    lodash.forInRight = forInRight;\\n    lodash.forOwn = forOwn;\\n    lodash.forOwnRight = forOwnRight;\\n    lodash.functions = functions;\\n    lodash.groupBy = groupBy;\\n    lodash.indexBy = indexBy;\\n    lodash.initial = initial;\\n    lodash.intersection = intersection;\\n    lodash.invert = invert;\\n    lodash.invoke = invoke;\\n    lodash.keys = keys;\\n    lodash.keysIn = keysIn;\\n    lodash.map = map;\\n    lodash.mapKeys = mapKeys;\\n    lodash.mapValues = mapValues;\\n    lodash.matches = matches;\\n    lodash.matchesProperty = matchesProperty;\\n    lodash.memoize = memoize;\\n    lodash.merge = merge;\\n    lodash.method = method;\\n    lodash.methodOf = methodOf;\\n    lodash.mixin = mixin;\\n    lodash.negate = negate;\\n    lodash.omit = omit;\\n    lodash.once = once;\\n    lodash.pairs = pairs;\\n    lodash.partial = partial;\\n    lodash.partialRight = partialRight;\\n    lodash.partition = partition;\\n    lodash.pick = pick;\\n    lodash.pluck = pluck;\\n    lodash.property = property;\\n    lodash.propertyOf = propertyOf;\\n    lodash.pull = pull;\\n    lodash.pullAt = pullAt;\\n    lodash.range = range;\\n    lodash.rearg = rearg;\\n    lodash.reject = reject;\\n    lodash.remove = remove;\\n    lodash.rest = rest;\\n    lodash.restParam = restParam;\\n    lodash.set = set;\\n    lodash.shuffle = shuffle;\\n    lodash.slice = slice;\\n    lodash.sortBy = sortBy;\\n    lodash.sortByAll = sortByAll;\\n    lodash.sortByOrder = sortByOrder;\\n    lodash.spread = spread;\\n    lodash.take = take;\\n    lodash.takeRight = takeRight;\\n    lodash.takeRightWhile = takeRightWhile;\\n    lodash.takeWhile = takeWhile;\\n    lodash.tap = tap;\\n    lodash.throttle = throttle;\\n    lodash.thru = thru;\\n    lodash.times = times;\\n    lodash.toArray = toArray;\\n    lodash.toPlainObject = toPlainObject;\\n    lodash.transform = transform;\\n    lodash.union = union;\\n    lodash.uniq = uniq;\\n    lodash.unzip = unzip;\\n    lodash.unzipWith = unzipWith;\\n    lodash.values = values;\\n    lodash.valuesIn = valuesIn;\\n    lodash.where = where;\\n    lodash.without = without;\\n    lodash.wrap = wrap;\\n    lodash.xor = xor;\\n    lodash.zip = zip;\\n    lodash.zipObject = zipObject;\\n    lodash.zipWith = zipWith;\\n\\n    // Add aliases.\\n    lodash.backflow = flowRight;\\n    lodash.collect = map;\\n    lodash.compose = flowRight;\\n    lodash.each = forEach;\\n    lodash.eachRight = forEachRight;\\n    lodash.extend = assign;\\n    lodash.iteratee = callback;\\n    lodash.methods = functions;\\n    lodash.object = zipObject;\\n    lodash.select = filter;\\n    lodash.tail = rest;\\n    lodash.unique = uniq;\\n\\n    // Add functions to `lodash.prototype`.\\n    mixin(lodash, lodash);\\n\\n    // Add functions that return unwrapped values when chaining.\\n    lodash.add = add;\\n    lodash.attempt = attempt;\\n    lodash.camelCase = camelCase;\\n    lodash.capitalize = capitalize;\\n    lodash.clone = clone;\\n    lodash.cloneDeep = cloneDeep;\\n    lodash.deburr = deburr;\\n    lodash.endsWith = endsWith;\\n    lodash.escape = escape;\\n    lodash.escapeRegExp = escapeRegExp;\\n    lodash.every = every;\\n    lodash.find = find;\\n    lodash.findIndex = findIndex;\\n    lodash.findKey = findKey;\\n    lodash.findLast = findLast;\\n    lodash.findLastIndex = findLastIndex;\\n    lodash.findLastKey = findLastKey;\\n    lodash.findWhere = findWhere;\\n    lodash.first = first;\\n    lodash.get = get;\\n    lodash.has = has;\\n    lodash.identity = identity;\\n    lodash.includes = includes;\\n    lodash.indexOf = indexOf;\\n    lodash.inRange = inRange;\\n    lodash.isArguments = isArguments;\\n    lodash.isArray = isArray;\\n    lodash.isBoolean = isBoolean;\\n    lodash.isDate = isDate;\\n    lodash.isElement = isElement;\\n    lodash.isEmpty = isEmpty;\\n    lodash.isEqual = isEqual;\\n    lodash.isError = isError;\\n    lodash.isFinite = isFinite;\\n    lodash.isFunction = isFunction;\\n    lodash.isMatch = isMatch;\\n    lodash.isNaN = isNaN;\\n    lodash.isNative = isNative;\\n    lodash.isNull = isNull;\\n    lodash.isNumber = isNumber;\\n    lodash.isObject = isObject;\\n    lodash.isPlainObject = isPlainObject;\\n    lodash.isRegExp = isRegExp;\\n    lodash.isString = isString;\\n    lodash.isTypedArray = isTypedArray;\\n    lodash.isUndefined = isUndefined;\\n    lodash.kebabCase = kebabCase;\\n    lodash.last = last;\\n    lodash.lastIndexOf = lastIndexOf;\\n    lodash.max = max;\\n    lodash.min = min;\\n    lodash.noConflict = noConflict;\\n    lodash.noop = noop;\\n    lodash.now = now;\\n    lodash.pad = pad;\\n    lodash.padLeft = padLeft;\\n    lodash.padRight = padRight;\\n    lodash.parseInt = parseInt;\\n    lodash.random = random;\\n    lodash.reduce = reduce;\\n    lodash.reduceRight = reduceRight;\\n    lodash.repeat = repeat;\\n    lodash.result = result;\\n    lodash.runInContext = runInContext;\\n    lodash.size = size;\\n    lodash.snakeCase = snakeCase;\\n    lodash.some = some;\\n    lodash.sortedIndex = sortedIndex;\\n    lodash.sortedLastIndex = sortedLastIndex;\\n    lodash.startCase = startCase;\\n    lodash.startsWith = startsWith;\\n    lodash.sum = sum;\\n    lodash.template = template;\\n    lodash.trim = trim;\\n    lodash.trimLeft = trimLeft;\\n    lodash.trimRight = trimRight;\\n    lodash.trunc = trunc;\\n    lodash.unescape = unescape;\\n    lodash.uniqueId = uniqueId;\\n    lodash.words = words;\\n\\n    // Add aliases.\\n    lodash.all = every;\\n    lodash.any = some;\\n    lodash.contains = includes;\\n    lodash.detect = find;\\n    lodash.foldl = reduce;\\n    lodash.foldr = reduceRight;\\n    lodash.head = first;\\n    lodash.include = includes;\\n    lodash.inject = reduce;\\n\\n    mixin(lodash, (function() {\\n      var source = {};\\n      baseForOwn(lodash, function(func, methodName) {\\n        if (!lodash.prototype[methodName]) {\\n          source[methodName] = func;\\n        }\\n      });\\n      return source;\\n    }()), false);\\n\\n    // Add functions capable of returning wrapped and unwrapped values when chaining.\\n    lodash.sample = sample;\\n\\n    lodash.prototype.sample = function(n) {\\n      if (!this.__chain__ && n == null) {\\n        return sample(this.value());\\n      }\\n      return this.thru(function(value) {\\n        return sample(value, n);\\n      });\\n    };\\n\\n    /**\\n     * The semantic version number.\\n     *\\n     * @static\\n     * @memberOf _\\n     * @type string\\n     */\\n    lodash.VERSION = VERSION;\\n\\n    // Assign default placeholders.\\n    arrayEach(['bind', 'bindKey', 'curry', 'curryRight', 'partial', 'partialRight'], function(methodName) {\\n      lodash[methodName].placeholder = lodash;\\n    });\\n\\n    // Add `LazyWrapper` methods that accept an `iteratee` value.\\n    arrayEach(['dropWhile', 'filter', 'map', 'takeWhile'], function(methodName, type) {\\n      var isFilter = type != LAZY_MAP_FLAG,\\n          isDropWhile = type == LAZY_DROP_WHILE_FLAG;\\n\\n      LazyWrapper.prototype[methodName] = function(iteratee, thisArg) {\\n        var filtered = this.__filtered__,\\n            result = (filtered && isDropWhile) ? new LazyWrapper(this) : this.clone(),\\n            iteratees = result.__iteratees__ || (result.__iteratees__ = []);\\n\\n        iteratees.push({\\n          'done': false,\\n          'count': 0,\\n          'index': 0,\\n          'iteratee': getCallback(iteratee, thisArg, 1),\\n          'limit': -1,\\n          'type': type\\n        });\\n\\n        result.__filtered__ = filtered || isFilter;\\n        return result;\\n      };\\n    });\\n\\n    // Add `LazyWrapper` methods for `_.drop` and `_.take` variants.\\n    arrayEach(['drop', 'take'], function(methodName, index) {\\n      var whileName = methodName + 'While';\\n\\n      LazyWrapper.prototype[methodName] = function(n) {\\n        var filtered = this.__filtered__,\\n            result = (filtered && !index) ? this.dropWhile() : this.clone();\\n\\n        n = n == null ? 1 : nativeMax(floor(n) || 0, 0);\\n        if (filtered) {\\n          if (index) {\\n            result.__takeCount__ = nativeMin(result.__takeCount__, n);\\n          } else {\\n            last(result.__iteratees__).limit = n;\\n          }\\n        } else {\\n          var views = result.__views__ || (result.__views__ = []);\\n          views.push({ 'size': n, 'type': methodName + (result.__dir__ < 0 ? 'Right' : '') });\\n        }\\n        return result;\\n      };\\n\\n      LazyWrapper.prototype[methodName + 'Right'] = function(n) {\\n        return this.reverse()[methodName](n).reverse();\\n      };\\n\\n      LazyWrapper.prototype[methodName + 'RightWhile'] = function(predicate, thisArg) {\\n        return this.reverse()[whileName](predicate, thisArg).reverse();\\n      };\\n    });\\n\\n    // Add `LazyWrapper` methods for `_.first` and `_.last`.\\n    arrayEach(['first', 'last'], function(methodName, index) {\\n      var takeName = 'take' + (index ? 'Right' : '');\\n\\n      LazyWrapper.prototype[methodName] = function() {\\n        return this[takeName](1).value()[0];\\n      };\\n    });\\n\\n    // Add `LazyWrapper` methods for `_.initial` and `_.rest`.\\n    arrayEach(['initial', 'rest'], function(methodName, index) {\\n      var dropName = 'drop' + (index ? '' : 'Right');\\n\\n      LazyWrapper.prototype[methodName] = function() {\\n        return this[dropName](1);\\n      };\\n    });\\n\\n    // Add `LazyWrapper` methods for `_.pluck` and `_.where`.\\n    arrayEach(['pluck', 'where'], function(methodName, index) {\\n      var operationName = index ? 'filter' : 'map',\\n          createCallback = index ? baseMatches : property;\\n\\n      LazyWrapper.prototype[methodName] = function(value) {\\n        return this[operationName](createCallback(value));\\n      };\\n    });\\n\\n    LazyWrapper.prototype.compact = function() {\\n      return this.filter(identity);\\n    };\\n\\n    LazyWrapper.prototype.reject = function(predicate, thisArg) {\\n      predicate = getCallback(predicate, thisArg, 1);\\n      return this.filter(function(value) {\\n        return !predicate(value);\\n      });\\n    };\\n\\n    LazyWrapper.prototype.slice = function(start, end) {\\n      start = start == null ? 0 : (+start || 0);\\n\\n      var result = this;\\n      if (start < 0) {\\n        result = this.takeRight(-start);\\n      } else if (start) {\\n        result = this.drop(start);\\n      }\\n      if (end !== undefined) {\\n        end = (+end || 0);\\n        result = end < 0 ? result.dropRight(-end) : result.take(end - start);\\n      }\\n      return result;\\n    };\\n\\n    LazyWrapper.prototype.toArray = function() {\\n      return this.drop(0);\\n    };\\n\\n    // Add `LazyWrapper` methods to `lodash.prototype`.\\n    baseForOwn(LazyWrapper.prototype, function(func, methodName) {\\n      var lodashFunc = lodash[methodName];\\n      if (!lodashFunc) {\\n        return;\\n      }\\n      var checkIteratee = /^(?:filter|map|reject)|While$/.test(methodName),\\n          retUnwrapped = /^(?:first|last)$/.test(methodName);\\n\\n      lodash.prototype[methodName] = function() {\\n        var args = arguments,\\n            chainAll = this.__chain__,\\n            value = this.__wrapped__,\\n            isHybrid = !!this.__actions__.length,\\n            isLazy = value instanceof LazyWrapper,\\n            iteratee = args[0],\\n            useLazy = isLazy || isArray(value);\\n\\n        if (useLazy && checkIteratee && typeof iteratee == 'function' && iteratee.length != 1) {\\n          // avoid lazy use if the iteratee has a \\\"length\\\" value other than `1`\\n          isLazy = useLazy = false;\\n        }\\n        var onlyLazy = isLazy && !isHybrid;\\n        if (retUnwrapped && !chainAll) {\\n          return onlyLazy\\n            ? func.call(value)\\n            : lodashFunc.call(lodash, this.value());\\n        }\\n        var interceptor = function(value) {\\n          var otherArgs = [value];\\n          push.apply(otherArgs, args);\\n          return lodashFunc.apply(lodash, otherArgs);\\n        };\\n        if (useLazy) {\\n          var wrapper = onlyLazy ? value : new LazyWrapper(this),\\n              result = func.apply(wrapper, args);\\n\\n          if (!retUnwrapped && (isHybrid || result.__actions__)) {\\n            var actions = result.__actions__ || (result.__actions__ = []);\\n            actions.push({ 'func': thru, 'args': [interceptor], 'thisArg': lodash });\\n          }\\n          return new LodashWrapper(result, chainAll);\\n        }\\n        return this.thru(interceptor);\\n      };\\n    });\\n\\n    // Add `Array` and `String` methods to `lodash.prototype`.\\n    arrayEach(['concat', 'join', 'pop', 'push', 'replace', 'shift', 'sort', 'splice', 'split', 'unshift'], function(methodName) {\\n      var func = (/^(?:replace|split)$/.test(methodName) ? stringProto : arrayProto)[methodName],\\n          chainName = /^(?:push|sort|unshift)$/.test(methodName) ? 'tap' : 'thru',\\n          retUnwrapped = /^(?:join|pop|replace|shift)$/.test(methodName);\\n\\n      lodash.prototype[methodName] = function() {\\n        var args = arguments;\\n        if (retUnwrapped && !this.__chain__) {\\n          return func.apply(this.value(), args);\\n        }\\n        return this[chainName](function(value) {\\n          return func.apply(value, args);\\n        });\\n      };\\n    });\\n\\n    // Map minified function names to their real names.\\n    baseForOwn(LazyWrapper.prototype, function(func, methodName) {\\n      var lodashFunc = lodash[methodName];\\n      if (lodashFunc) {\\n        var key = lodashFunc.name,\\n            names = realNames[key] || (realNames[key] = []);\\n\\n        names.push({ 'name': methodName, 'func': lodashFunc });\\n      }\\n    });\\n\\n    realNames[createHybridWrapper(null, BIND_KEY_FLAG).name] = [{ 'name': 'wrapper', 'func': null }];\\n\\n    // Add functions to the lazy wrapper.\\n    LazyWrapper.prototype.clone = lazyClone;\\n    LazyWrapper.prototype.reverse = lazyReverse;\\n    LazyWrapper.prototype.value = lazyValue;\\n\\n    // Add chaining functions to the `lodash` wrapper.\\n    lodash.prototype.chain = wrapperChain;\\n    lodash.prototype.commit = wrapperCommit;\\n    lodash.prototype.plant = wrapperPlant;\\n    lodash.prototype.reverse = wrapperReverse;\\n    lodash.prototype.toString = wrapperToString;\\n    lodash.prototype.run = lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue;\\n\\n    // Add function aliases to the `lodash` wrapper.\\n    lodash.prototype.collect = lodash.prototype.map;\\n    lodash.prototype.head = lodash.prototype.first;\\n    lodash.prototype.select = lodash.prototype.filter;\\n    lodash.prototype.tail = lodash.prototype.rest;\\n\\n    return lodash;\\n  }\\n\\n  // Export lodash.\\n  var _ = runInContext();\\n\\n  // Some AMD build optimizers like r.js check for condition patterns like the following:\\n  if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) {\\n    // Expose lodash to the global object when an AMD loader is present to avoid\\n    // errors in cases where lodash is loaded by a script tag and not intended\\n    // as an AMD module. See http://requirejs.org/docs/errors.html#mismatch for\\n    // more details.\\n    root._ = _;\\n\\n    // Define as an anonymous module so, through path mapping, it can be\\n    // referenced as the \\\"underscore\\\" module.\\n    define(function() {\\n      return _;\\n    });\\n  }\\n  // Check for `exports` after `define` in case a build optimizer adds an `exports` object.\\n  else if (freeExports && freeModule) {\\n    // Export for Node.js or RingoJS.\\n    if (moduleExports) {\\n      (freeModule.exports = _)._ = _;\\n    }\\n    // Export for Narwhal or Rhino -require.\\n    else {\\n      freeExports._ = _;\\n    }\\n  }\\n  else {\\n    // Export for a browser or Rhino.\\n    root._ = _;\\n  }\\n}.call(this));\\n\\n\\n\\n/*****************\\n ** WEBPACK FOOTER\\n ** ./~/lodash/index.js\\n ** module id = 39\\n ** module chunks = 0\\n **/\",\"'use strict';\\n\\n/**\\n * Representation of a single EventEmitter function.\\n *\\n * @param {Function} fn Event handler to be called.\\n * @param {Mixed} context Context for function execution.\\n * @param {Boolean} once Only emit once\\n * @api private\\n */\\nfunction EE(fn, context, once) {\\n  this.fn = fn;\\n  this.context = context;\\n  this.once = once || false;\\n}\\n\\n/**\\n * Minimal EventEmitter interface that is molded against the Node.js\\n * EventEmitter interface.\\n *\\n * @constructor\\n * @api public\\n */\\nfunction EventEmitter() { /* Nothing to set */ }\\n\\n/**\\n * Holds the assigned EventEmitters by name.\\n *\\n * @type {Object}\\n * @private\\n */\\nEventEmitter.prototype._events = undefined;\\n\\n/**\\n * Return a list of assigned event listeners.\\n *\\n * @param {String} event The events that should be listed.\\n * @returns {Array}\\n * @api public\\n */\\nEventEmitter.prototype.listeners = function listeners(event) {\\n  if (!this._events || !this._events[event]) return [];\\n  if (this._events[event].fn) return [this._events[event].fn];\\n\\n  for (var i = 0, l = this._events[event].length, ee = new Array(l); i < l; i++) {\\n    ee[i] = this._events[event][i].fn;\\n  }\\n\\n  return ee;\\n};\\n\\n/**\\n * Emit an event to all registered event listeners.\\n *\\n * @param {String} event The name of the event.\\n * @returns {Boolean} Indication if we've emitted an event.\\n * @api public\\n */\\nEventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {\\n  if (!this._events || !this._events[event]) return false;\\n\\n  var listeners = this._events[event]\\n    , len = arguments.length\\n    , args\\n    , i;\\n\\n  if ('function' === typeof listeners.fn) {\\n    if (listeners.once) this.removeListener(event, listeners.fn, true);\\n\\n    switch (len) {\\n      case 1: return listeners.fn.call(listeners.context), true;\\n      case 2: return listeners.fn.call(listeners.context, a1), true;\\n      case 3: return listeners.fn.call(listeners.context, a1, a2), true;\\n      case 4: return listeners.fn.call(listeners.context, a1, a2, a3), true;\\n      case 5: return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;\\n      case 6: return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;\\n    }\\n\\n    for (i = 1, args = new Array(len -1); i < len; i++) {\\n      args[i - 1] = arguments[i];\\n    }\\n\\n    listeners.fn.apply(listeners.context, args);\\n  } else {\\n    var length = listeners.length\\n      , j;\\n\\n    for (i = 0; i < length; i++) {\\n      if (listeners[i].once) this.removeListener(event, listeners[i].fn, true);\\n\\n      switch (len) {\\n        case 1: listeners[i].fn.call(listeners[i].context); break;\\n        case 2: listeners[i].fn.call(listeners[i].context, a1); break;\\n        case 3: listeners[i].fn.call(listeners[i].context, a1, a2); break;\\n        default:\\n          if (!args) for (j = 1, args = new Array(len -1); j < len; j++) {\\n            args[j - 1] = arguments[j];\\n          }\\n\\n          listeners[i].fn.apply(listeners[i].context, args);\\n      }\\n    }\\n  }\\n\\n  return true;\\n};\\n\\n/**\\n * Register a new EventListener for the given event.\\n *\\n * @param {String} event Name of the event.\\n * @param {Functon} fn Callback function.\\n * @param {Mixed} context The context of the function.\\n * @api public\\n */\\nEventEmitter.prototype.on = function on(event, fn, context) {\\n  var listener = new EE(fn, context || this);\\n\\n  if (!this._events) this._events = {};\\n  if (!this._events[event]) this._events[event] = listener;\\n  else {\\n    if (!this._events[event].fn) this._events[event].push(listener);\\n    else this._events[event] = [\\n      this._events[event], listener\\n    ];\\n  }\\n\\n  return this;\\n};\\n\\n/**\\n * Add an EventListener that's only called once.\\n *\\n * @param {String} event Name of the event.\\n * @param {Function} fn Callback function.\\n * @param {Mixed} context The context of the function.\\n * @api public\\n */\\nEventEmitter.prototype.once = function once(event, fn, context) {\\n  var listener = new EE(fn, context || this, true);\\n\\n  if (!this._events) this._events = {};\\n  if (!this._events[event]) this._events[event] = listener;\\n  else {\\n    if (!this._events[event].fn) this._events[event].push(listener);\\n    else this._events[event] = [\\n      this._events[event], listener\\n    ];\\n  }\\n\\n  return this;\\n};\\n\\n/**\\n * Remove event listeners.\\n *\\n * @param {String} event The event we want to remove.\\n * @param {Function} fn The listener that we need to find.\\n * @param {Boolean} once Only remove once listeners.\\n * @api public\\n */\\nEventEmitter.prototype.removeListener = function removeListener(event, fn, once) {\\n  if (!this._events || !this._events[event]) return this;\\n\\n  var listeners = this._events[event]\\n    , events = [];\\n\\n  if (fn) {\\n    if (listeners.fn && (listeners.fn !== fn || (once && !listeners.once))) {\\n      events.push(listeners);\\n    }\\n    if (!listeners.fn) for (var i = 0, length = listeners.length; i < length; i++) {\\n      if (listeners[i].fn !== fn || (once && !listeners[i].once)) {\\n        events.push(listeners[i]);\\n      }\\n    }\\n  }\\n\\n  //\\n  // Reset the array, or remove it completely if we have no more listeners.\\n  //\\n  if (events.length) {\\n    this._events[event] = events.length === 1 ? events[0] : events;\\n  } else {\\n    delete this._events[event];\\n  }\\n\\n  return this;\\n};\\n\\n/**\\n * Remove all listeners or only the listeners for the specified event.\\n *\\n * @param {String} event The event want to remove all listeners for.\\n * @api public\\n */\\nEventEmitter.prototype.removeAllListeners = function removeAllListeners(event) {\\n  if (!this._events) return this;\\n\\n  if (event) delete this._events[event];\\n  else this._events = {};\\n\\n  return this;\\n};\\n\\n//\\n// Alias methods names because people roll like that.\\n//\\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\\nEventEmitter.prototype.addListener = EventEmitter.prototype.on;\\n\\n//\\n// This function doesn't apply anymore.\\n//\\nEventEmitter.prototype.setMaxListeners = function setMaxListeners() {\\n  return this;\\n};\\n\\n//\\n// Expose the module.\\n//\\nEventEmitter.EventEmitter = EventEmitter;\\nEventEmitter.EventEmitter2 = EventEmitter;\\nEventEmitter.EventEmitter3 = EventEmitter;\\n\\n//\\n// Expose the module.\\n//\\nmodule.exports = EventEmitter;\\n\\n\\n\\n/*****************\\n ** WEBPACK FOOTER\\n ** ./~/eventemitter3/index.js\\n ** module id = 40\\n ** module chunks = 0\\n **/\",\"Utils = require \\\"../Utils\\\"\\n{Defaults}   = require \\\"../Defaults\\\"\\n\\n{Simulator} = require \\\"../Simulator\\\"\\n{Integrator} = require \\\"../Integrator\\\"\\n\\nclass exports.SpringSimulator extends Simulator\\n\\n\\tsetup: (options) ->\\n\\n\\t\\t@options = Defaults.getDefaults \\\"SpringSimulator\\\", options\\n\\t\\t@options = _.defaults options,\\n\\t\\t\\tvelocity: 0\\n\\t\\t\\tposition: 0\\n\\t\\t\\toffset: 0\\n\\t\\t\\t\\n\\t\\t@_state =\\n\\t\\t\\tx: @options.position\\n\\t\\t\\tv: @options.velocity\\n\\n\\t\\t@_integrator = new Integrator (state) =>\\n\\t\\t\\treturn - @options.tension * state.x - @options.friction * state.v\\n\\n\\tnext: (delta) ->\\n\\t\\t@_state = @_integrator.integrateState(@_state, delta)\\n\\t\\t\\n\\t\\t# Return a copy of the state so it cannot be modified\\n\\t\\treturn @getState()\\n\\n\\tfinished: =>\\n\\t\\tpositionNearZero = Math.abs(@_state.x) < @options.tolerance\\n\\t\\tvelocityNearZero = Math.abs(@_state.v) < @options.tolerance\\n\\t\\tpositionNearZero and velocityNearZero\\n\\t\\n\\t# Internally, the spring always rests at state.x == 0. However, since it's a \\n\\t# common use case to rest at a non-zero position, offset is automatically\\n\\t# applied to position for convenience when interfacing with the outside world.\\n\\tsetState: (state) ->\\n\\t\\t@_state = \\n\\t\\t\\tx: state.x - @options.offset\\n\\t\\t\\tv: state.v\\n\\n\\tgetState: ->\\n\\t\\tstate =\\n\\t\\t\\tx: @_state.x + @options.offset\\n\\t\\t\\tv: @_state.v\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Simulators/SpringSimulator.coffee\\n **/\",\"Utils = require \\\"../Utils\\\"\\n{Defaults}   = require \\\"../Defaults\\\"\\n\\n{Simulator} = require \\\"../Simulator\\\"\\n{Integrator} = require \\\"../Integrator\\\"\\n\\nclass exports.FrictionSimulator extends Simulator\\n\\n\\tsetup: (options) ->\\n\\n\\t\\t@options = Defaults.getDefaults \\\"FrictionSimulator\\\", options\\n\\t\\t@options = _.defaults options,\\n\\t\\t\\tvelocity: 0\\n\\t\\t\\tposition: 0\\n\\n\\t\\t@_state =\\n\\t\\t\\tx: @options.position\\n\\t\\t\\tv: @options.velocity\\n\\n\\t\\t@_integrator = new Integrator (state) =>\\n\\t\\t\\treturn - (@options.friction * state.v)\\n\\n\\tnext: (delta) ->\\n\\t\\t\\n\\t\\t@_state = @_integrator.integrateState(@_state, delta)\\n\\n\\t\\treturn @_state\\n\\n\\tfinished: =>\\n\\t\\t\\n\\t\\tMath.abs(@_state.v) < @options.tolerance\\n\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Simulators/FrictionSimulator.coffee\\n **/\",\"\\nUtils = require \\\"../Utils\\\"\\n\\n{Defaults}   = require \\\"../Defaults\\\"\\n{Simulator} = require \\\"../Simulator\\\"\\n\\n{SpringSimulator} = require \\\"./SpringSimulator\\\"\\n{FrictionSimulator} = require \\\"./FrictionSimulator\\\"\\n\\nclass exports.MomentumBounceSimulator extends Simulator\\n\\n\\tsetup: (options) ->\\n\\n\\t\\t@options = Defaults.getDefaults(\\\"MomentumBounceSimulator\\\", options)\\n\\t\\t@options = _.defaults options,\\n\\t\\t\\tvelocity: 0\\n\\t\\t\\tposition: 0\\n\\t\\t\\tmin: 0\\n\\t\\t\\tmax: 0\\n\\n\\t\\t@_frictionSimulator = new FrictionSimulator\\n\\t\\t\\tfriction: @options.momentum.friction\\n\\t\\t\\ttolerance: @options.momentum.tolerance\\n\\t\\t\\tvelocity: @options.velocity\\n\\t\\t\\tposition: @options.position\\n\\n\\t\\t@_springSimulator = new SpringSimulator\\n\\t\\t\\ttension: @options.bounce.tension\\n\\t\\t\\tfriction: @options.bounce.friction\\n\\t\\t\\ttolerance: @options.bounce.tolerance\\n\\t\\t\\tvelocity: @options.velocity\\n\\t\\t\\tposition: @options.position\\n\\n\\t\\t@_state =\\n\\t\\t\\tx: @options.position\\n\\t\\t\\tv: @options.velocity\\n\\n\\t\\t@_useSpring = false\\n\\n\\tnext: (delta) ->\\n\\n\\t\\tif @_useSpring\\n\\t\\t\\t@_state = @_springSimulator.next(delta)\\n\\t\\telse\\n\\t\\t\\t@_state = @_frictionSimulator.next(delta)\\n\\t\\t\\t@_tryTransitionToSpring(@_state)\\n\\n\\t\\treturn @_state\\n\\n\\tfinished: =>\\n\\t\\treturn @_springSimulator.finished() if @_useSpring\\n\\t\\treturn @_frictionSimulator.finished()\\n\\n\\tsetState: (state) ->\\n\\n\\t\\t@_state = \\n\\t\\t\\tx: state.x\\n\\t\\t\\tv: state.v\\n\\n\\t\\t@_frictionSimulator.setState(@_state)\\n\\t\\t\\n\\t\\tif @_isValidState()\\n\\t\\t\\t@_tryTransitionToSpring()\\n\\t\\telse\\n\\t\\t\\tbound = @options.min if @_state.x <= @options.min\\n\\t\\t\\tbound = @options.max if @_state.x >= @options.max\\n\\t\\t\\t@_transitionToSpring(bound)\\n\\n\\t# If the position is outside the min and max bounds, and traveling\\n\\t# further away, then transition from friction to spring simulation\\n\\t_tryTransitionToSpring: (force) ->\\n\\n\\t\\tbelowMinWithVelocity = @_state.x < @options.min && @_state.v <= 0\\n\\t\\taboveMaxWithVelocity = @_state.x > @options.max && @_state.v >= 0\\n\\t\\t\\n\\t\\tif (belowMinWithVelocity || aboveMaxWithVelocity)\\n\\t\\t\\tbound = @options.min if belowMinWithVelocity\\n\\t\\t\\tbound = @options.max if aboveMaxWithVelocity\\n\\t\\t\\t@_transitionToSpring(bound)\\n\\t\\telse\\n\\t\\t\\t@_useSpring = false\\n\\n\\t_transitionToSpring: (bound) ->\\n\\t\\t@_useSpring = true\\n\\t\\t@_springSimulator.options.offset = bound\\n\\t\\t@_springSimulator.setState(@_state)\\n\\n\\t# If the position is outside the min and max bounds, but traveling\\n\\t# back towards the bounds, check if the velocity is sufficient to\\n\\t# carry the position back within bounds. If it is, let friction do the\\n\\t# work. If not, the state is invalid, so use the spring.\\n\\t_isValidState: ->\\n\\n\\t\\t# Note that if velocity is 0, the state is still valid (should use spring, \\n\\t\\t# not friction), and we don't want to divide by 0 later in the check.\\n\\t\\tbelowMinTravelingBack = @_state.x < @options.min && @_state.v > 0\\n\\t\\taboveMaxTravelingBack = @_state.x > @options.max && @_state.v < 0\\n\\t\\t\\n\\t\\tcheck = false\\n\\n\\t\\tif (belowMinTravelingBack)\\n\\t\\t\\tbound = @options.min\\n\\t\\t\\tcheck = true\\n\\t\\telse if (aboveMaxTravelingBack)\\n\\t\\t\\tbound = @options.max\\n\\t\\t\\tcheck = true\\n\\n\\t\\tif check\\n\\t\\t\\tfriction = @_frictionSimulator.options.friction\\n\\t\\t\\tsolution = 1 - (friction * (bound - @_state.x)) / @_state.v\\n\\n\\t\\t\\treturn solution > 0\\n\\n\\t\\treturn true\\n\\n\\t# The math behind _isValidState:\\n\\t# \\n\\t# 1. Integrate the friction simulator's acceleration to find velocity\\n\\t# \\n\\t#         a = - k * v\\n\\t#     dv/dt = - k * v\\n\\t# Int(dv/v) = - k * Int(dt)\\n\\t#      ln v = - k * t + C\\n\\t# \\n\\t# => Solve for C at t = 0\\n\\t# \\n\\t# ln v(0) = - k * 0 + C\\n\\t# ln v(0) = C\\n\\t# \\n\\t# => Plug C back into v(t)\\n\\t# \\n\\t#     ln v = - k * t + ln v(0)\\n\\t# e^(ln v) = e^(- k * t) + e^(ln v(0))\\n\\t#        v = v(0) * e^(- k * t)\\n\\t# \\n\\t# 2. Integrate velocity to find position\\n\\t# \\n\\t# Int(v) = v(0) * Int(e^(- k * t))\\n\\t#      x = - v(0) * e^(-k * t) / k + C\\n\\t# \\n\\t# => Solve for C at t = 0\\n\\t# \\n\\t#            x(0) = - v(0) * e^(-k * 0) / k + C\\n\\t#            x(0) = - v(0) / k + C\\n\\t# x(0) + v(0) / k = C\\n\\t# \\n\\t# => Plug C back into x(t)\\n\\t# \\n\\t# x = - v(0) * e^(-k * t) / k + x(0) + v(0) / k\\n\\t# \\n\\t# 3. Check if a (real) solution exists for t for position x\\n\\t# \\n\\t#                                x = - v(0) * e^(-k * t) / k + x(0) + v(0) / k\\n\\t#                         x - x(0) = - v(0) * e^(-k * t) / k + v(0) / k\\n\\t#                   k * (x - x(0)) = - v(0) * e^(-k * t) + v(0)\\n\\t#            k * (x - x(0)) - v(0) = - v(0) * e^(-k * t)\\n\\t# (k * (x - x(0)) - v(0)) / - v(0) = e^(-k * t)\\n\\t#       1 - (k * (x - x(0)) / v(0) = e^(-k * t)\\n\\t#   ln(1 - (k * (x - x(0)) / v(0)) = -k * t\\n\\t# \\n\\t# Therefore, a real solution exists if 1 - (k * (x - x(0)) / v(0) > 0\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Simulators/MomentumBounceSimulator.coffee\\n **/\",\"Utils = require \\\"./Utils\\\"\\n\\n{_} = require \\\"./Underscore\\\"\\n{Config} = require \\\"./Config\\\"\\n{BaseClass} = require \\\"./BaseClass\\\"\\n\\nclass exports.Simulator extends BaseClass\\n\\n\\t\\\"\\\"\\\"\\n\\tThe simulator class runs a physics simulation based on a set of input values \\n\\tat setup({input values}), and emits an output state {x, v}\\n\\t\\\"\\\"\\\"\\n\\t\\n\\t@define \\\"state\\\",\\n\\t\\tget: -> _.clone(@_state)\\n\\t\\tset: (state) -> @_state = _.clone(state)\\n\\n\\tconstructor: (options={}) ->\\n\\t\\t@_state = {x:0, v:0}\\n\\t\\t@options = null\\n\\t\\t@setup(options)\\n\\n\\tsetup: (options) -> \\n\\t\\tthrow Error \\\"Not implemented\\\"\\n\\t\\n\\tnext: (delta) -> \\n\\t\\tthrow Error \\\"Not implemented\\\"\\n\\t\\n\\tfinished: -> \\n\\t\\tthrow Error \\\"Not implemented\\\"\\n\\n\\n\\n/** WEBPACK FOOTER **\\n ** ./framer/Simulator.coffee\\n **/\",\"module.exports = function(module) {\\r\\n\\tif(!module.webpackPolyfill) {\\r\\n\\t\\tmodule.deprecate = function() {};\\r\\n\\t\\tmodule.paths = [];\\r\\n\\t\\t// module.parent = undefined by default\\r\\n\\t\\tmodule.children = [];\\r\\n\\t\\tmodule.webpackPolyfill = 1;\\r\\n\\t}\\r\\n\\treturn module;\\r\\n}\\r\\n\\n\\n\\n/*****************\\n ** WEBPACK FOOTER\\n ** (webpack)/buildin/module.js\\n ** module id = 45\\n ** module chunks = 0\\n **/\"],\"sourceRoot\":\"\"}"
  },
  {
    "path": "Example Codes/Framer/Diary.framer/framer/framer.js.old",
    "content": "/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Defaults, Framer, _;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tFramer = {};\n\t\n\tFramer._ = _;\n\t\n\tFramer.Utils = __webpack_require__(2);\n\t\n\tFramer.Layer = (__webpack_require__(3)).Layer;\n\t\n\tFramer.BackgroundLayer = (__webpack_require__(4)).BackgroundLayer;\n\t\n\tFramer.VideoLayer = (__webpack_require__(5)).VideoLayer;\n\t\n\tFramer.Events = (__webpack_require__(6)).Events;\n\t\n\tFramer.Animation = (__webpack_require__(7)).Animation;\n\t\n\tFramer.AnimationGroup = (__webpack_require__(8)).AnimationGroup;\n\t\n\tFramer.Screen = (__webpack_require__(9)).Screen;\n\t\n\tFramer.Canvas = (__webpack_require__(10)).Canvas;\n\t\n\tFramer.print = (__webpack_require__(11)).print;\n\t\n\tFramer.ScrollComponent = (__webpack_require__(12)).ScrollComponent;\n\t\n\tFramer.PageComponent = (__webpack_require__(13)).PageComponent;\n\t\n\tFramer.SliderComponent = (__webpack_require__(14)).SliderComponent;\n\t\n\tFramer.DeviceComponent = (__webpack_require__(15)).DeviceComponent;\n\t\n\tFramer.DeviceView = Framer.DeviceComponent;\n\t\n\tif (window) {\n\t  _.extend(window, Framer);\n\t}\n\t\n\tFramer.Context = (__webpack_require__(16)).Context;\n\t\n\tFramer.Config = (__webpack_require__(17)).Config;\n\t\n\tFramer.EventEmitter = (__webpack_require__(18)).EventEmitter;\n\t\n\tFramer.BaseClass = (__webpack_require__(19)).BaseClass;\n\t\n\tFramer.LayerStyle = (__webpack_require__(20)).LayerStyle;\n\t\n\tFramer.AnimationLoop = (__webpack_require__(21)).AnimationLoop;\n\t\n\tFramer.LinearAnimator = (__webpack_require__(22)).LinearAnimator;\n\t\n\tFramer.BezierCurveAnimator = (__webpack_require__(23)).BezierCurveAnimator;\n\t\n\tFramer.SpringDHOAnimator = (__webpack_require__(24)).SpringDHOAnimator;\n\t\n\tFramer.SpringRK4Animator = (__webpack_require__(25)).SpringRK4Animator;\n\t\n\tFramer.LayerDraggable = (__webpack_require__(26)).LayerDraggable;\n\t\n\tFramer.Importer = (__webpack_require__(27)).Importer;\n\t\n\tFramer.Debug = (__webpack_require__(28)).Debug;\n\t\n\tFramer.Extras = __webpack_require__(29);\n\t\n\tFramer.Loop = new Framer.AnimationLoop();\n\t\n\tUtils.domComplete(Framer.Loop.start);\n\t\n\tif (window) {\n\t  window.Framer = Framer;\n\t}\n\t\n\tFramer.DefaultContext = new Framer.Context({\n\t  name: \"Default\"\n\t});\n\t\n\tFramer.CurrentContext = Framer.DefaultContext;\n\t\n\tif (Utils.isMobile()) {\n\t  Framer.Extras.MobileScrollFix.enable();\n\t}\n\t\n\tDefaults = (__webpack_require__(30)).Defaults;\n\t\n\tDefaults.setup();\n\t\n\tFramer.resetDefaults = Defaults.reset;\n\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\texports._ = __webpack_require__(39);\n\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Screen, Utils, _, __domComplete, __domReady, _textSizeNode,\n\t  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },\n\t  slice = [].slice;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tScreen = __webpack_require__(9).Screen;\n\t\n\tUtils = {};\n\t\n\tUtils.reset = function() {\n\t  return Framer.CurrentContext.reset();\n\t};\n\t\n\tUtils.getValue = function(value) {\n\t  if (_.isFunction(value)) {\n\t    return value();\n\t  }\n\t  return value;\n\t};\n\t\n\tUtils.getValueForKeyPath = function(obj, key) {\n\t  var len, m, ref, ref1, result;\n\t  result = obj;\n\t  if (ref = !\".\", indexOf.call(key, ref) >= 0) {\n\t    return obj[key];\n\t  }\n\t  ref1 = key.split(\".\");\n\t  for (m = 0, len = ref1.length; m < len; m++) {\n\t    key = ref1[m];\n\t    result = result[key];\n\t  }\n\t  return result;\n\t};\n\t\n\tUtils.setValueForKeyPath = function(obj, path, val) {\n\t  var field, fields, i, n, result;\n\t  fields = path.split('.');\n\t  result = obj;\n\t  i = 0;\n\t  n = fields.length;\n\t  while (i < n && result !== void 0) {\n\t    field = fields[i];\n\t    if (i === n - 1) {\n\t      result[field] = val;\n\t    } else {\n\t      if (typeof result[field] === 'undefined' || !_.isObject(result[field])) {\n\t        result[field] = {};\n\t      }\n\t      result = result[field];\n\t    }\n\t    i++;\n\t  }\n\t};\n\t\n\tUtils.valueOrDefault = function(value, defaultValue) {\n\t  if (value === (void 0) || value === null) {\n\t    value = defaultValue;\n\t  }\n\t  return value;\n\t};\n\t\n\tUtils.arrayNext = function(arr, item) {\n\t  return arr[arr.indexOf(item) + 1] || _.first(arr);\n\t};\n\t\n\tUtils.arrayPrev = function(arr, item) {\n\t  return arr[arr.indexOf(item) - 1] || _.last(arr);\n\t};\n\t\n\tUtils.sum = function(arr) {\n\t  return _.reduce(arr, function(a, b) {\n\t    return a + b;\n\t  });\n\t};\n\t\n\tUtils.average = function(arr) {\n\t  return Utils.sum(arr) / arr.length;\n\t};\n\t\n\tUtils.mean = Utils.average;\n\t\n\tUtils.median = function(x) {\n\t  var sorted;\n\t  if (x.length === 0) {\n\t    return null;\n\t  }\n\t  sorted = x.slice().sort(function(a, b) {\n\t    return a - b;\n\t  });\n\t  if (sorted.length % 2 === 1) {\n\t    return sorted[(sorted.length - 1) / 2];\n\t  } else {\n\t    return (sorted[(sorted.length / 2) - 1] + sorted[sorted.length / 2]) / 2;\n\t  }\n\t};\n\t\n\tif (window.requestAnimationFrame == null) {\n\t  window.requestAnimationFrame = window.webkitRequestAnimationFrame;\n\t}\n\t\n\tif (window.requestAnimationFrame == null) {\n\t  window.requestAnimationFrame = function(f) {\n\t    return Utils.delay(1 / 60, f);\n\t  };\n\t}\n\t\n\tif (window.performance) {\n\t  Utils.getTime = function() {\n\t    return window.performance.now() / 1000;\n\t  };\n\t} else {\n\t  Utils.getTime = function() {\n\t    return Date.now() / 1000;\n\t  };\n\t}\n\t\n\tUtils.delay = function(time, f) {\n\t  var timer;\n\t  timer = setTimeout(f, time * 1000);\n\t  Framer.CurrentContext._delayTimers.push(timer);\n\t  return timer;\n\t};\n\t\n\tUtils.interval = function(time, f) {\n\t  var timer;\n\t  timer = setInterval(f, time * 1000);\n\t  Framer.CurrentContext._delayIntervals.push(timer);\n\t  return timer;\n\t};\n\t\n\tUtils.debounce = function(threshold, fn, immediate) {\n\t  var timeout;\n\t  if (threshold == null) {\n\t    threshold = 0.1;\n\t  }\n\t  timeout = null;\n\t  threshold *= 1000;\n\t  return function() {\n\t    var args, delayed, obj;\n\t    args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n\t    obj = this;\n\t    delayed = function() {\n\t      if (!immediate) {\n\t        fn.apply(obj, args);\n\t      }\n\t      return timeout = null;\n\t    };\n\t    if (timeout) {\n\t      clearTimeout(timeout);\n\t    } else if (immediate) {\n\t      fn.apply(obj, args);\n\t    }\n\t    return timeout = setTimeout(delayed, threshold);\n\t  };\n\t};\n\t\n\tUtils.throttle = function(delay, fn) {\n\t  var timer;\n\t  if (delay === 0) {\n\t    return fn;\n\t  }\n\t  delay *= 1000;\n\t  timer = false;\n\t  return function() {\n\t    if (timer) {\n\t      return;\n\t    }\n\t    timer = true;\n\t    if (delay !== -1) {\n\t      setTimeout((function() {\n\t        return timer = false;\n\t      }), delay);\n\t    }\n\t    return fn.apply(null, arguments);\n\t  };\n\t};\n\t\n\tUtils.memoize = function(fn) {\n\t  return function() {\n\t    var args, currentArg, hash, i;\n\t    args = Array.prototype.slice.call(arguments);\n\t    hash = \"\";\n\t    i = args.length;\n\t    currentArg = null;\n\t    while (i--) {\n\t      currentArg = args[i];\n\t      hash += (currentArg === Object(currentArg) ? JSON.stringify(currentArg) : currentArg);\n\t      fn.memoize || (fn.memoize = {});\n\t    }\n\t    if (hash in fn.memoize) {\n\t      return fn.memoize[hash];\n\t    } else {\n\t      return fn.memoize[hash] = fn.apply(this, args);\n\t    }\n\t  };\n\t};\n\t\n\tUtils.randomColor = function(alpha) {\n\t  var c;\n\t  if (alpha == null) {\n\t    alpha = 1.0;\n\t  }\n\t  c = function() {\n\t    return parseInt(Math.random() * 255);\n\t  };\n\t  return \"rgba(\" + (c()) + \", \" + (c()) + \", \" + (c()) + \", \" + alpha + \")\";\n\t};\n\t\n\tUtils.randomChoice = function(arr) {\n\t  return arr[Math.floor(Math.random() * arr.length)];\n\t};\n\t\n\tUtils.randomNumber = function(a, b) {\n\t  if (a == null) {\n\t    a = 0;\n\t  }\n\t  if (b == null) {\n\t    b = 1;\n\t  }\n\t  return Utils.mapRange(Math.random(), 0, 1, a, b);\n\t};\n\t\n\tUtils.defineEnum = function(names, offset, geometric) {\n\t  var Enum, i, j, len, m, name;\n\t  if (names == null) {\n\t    names = [];\n\t  }\n\t  if (offset == null) {\n\t    offset = 0;\n\t  }\n\t  if (geometric == null) {\n\t    geometric = 0;\n\t  }\n\t  Enum = {};\n\t  for (i = m = 0, len = names.length; m < len; i = ++m) {\n\t    name = names[i];\n\t    j = i;\n\t    j = !offset ? j : j + offset;\n\t    j = !geometric ? j : Math.pow(geometric, j);\n\t    Enum[Enum[name] = j] = name;\n\t  }\n\t  return Enum;\n\t};\n\t\n\tUtils.labelLayer = function(layer, text, style) {\n\t  if (style == null) {\n\t    style = {};\n\t  }\n\t  style = _.extend({\n\t    font: \"10px/1em Menlo\",\n\t    lineHeight: layer.height + \"px\",\n\t    textAlign: \"center\",\n\t    color: \"#fff\"\n\t  }, style);\n\t  layer.style = style;\n\t  return layer.html = text;\n\t};\n\t\n\tUtils.stringify = function(obj) {\n\t  try {\n\t    if (_.isObject(obj)) {\n\t      return JSON.stringify(obj);\n\t    }\n\t  } catch (_error) {\n\t    \"\";\n\t  }\n\t  if (obj === null) {\n\t    return \"null\";\n\t  }\n\t  if (obj === void 0) {\n\t    return \"undefined\";\n\t  }\n\t  if (obj.toString) {\n\t    return obj.toString();\n\t  }\n\t  return obj;\n\t};\n\t\n\tUtils.inspectObjectType = function(item) {\n\t  var className, extract, ref, ref1, ref2;\n\t  if ((((ref = item.constructor) != null ? ref.name : void 0) != null) && ((ref1 = item.constructor) != null ? ref1.name : void 0) !== \"Object\") {\n\t    return item.constructor.name;\n\t  }\n\t  extract = function(str) {\n\t    var match, regex;\n\t    if (!str) {\n\t      return null;\n\t    }\n\t    regex = /\\[object (\\w+)\\]/;\n\t    match = regex.exec(str);\n\t    if (match) {\n\t      return match[1];\n\t    }\n\t    return null;\n\t  };\n\t  className = extract(item.toString());\n\t  if (className) {\n\t    return className;\n\t  }\n\t  className = extract((ref2 = item.constructor) != null ? ref2.toString() : void 0);\n\t  if (className) {\n\t    return className.replace(\"Constructor\", \"\");\n\t  }\n\t  return item;\n\t};\n\t\n\tUtils.inspect = function(item, max, l) {\n\t  var code, limit, objectInfo, objectType;\n\t  if (max == null) {\n\t    max = 5;\n\t  }\n\t  if (l == null) {\n\t    l = 0;\n\t  }\n\t  if (item === null) {\n\t    return \"null\";\n\t  }\n\t  if (item === void 0) {\n\t    return \"undefined\";\n\t  }\n\t  if (_.isFunction(item.toInspect)) {\n\t    return item.toInspect();\n\t  }\n\t  if (_.isString(item)) {\n\t    return \"\\\"\" + item + \"\\\"\";\n\t  }\n\t  if (_.isNumber(item)) {\n\t    return \"\" + item;\n\t  }\n\t  if (_.isFunction(item)) {\n\t    code = item.toString().slice(\"function \".length).replace(/\\n/g, \"\").replace(/\\s+/g, \" \");\n\t    limit = 50;\n\t    if (code.length > limit && l > 0) {\n\t      code = (_.trimRight(code.slice(0, +limit + 1 || 9e9))) + \"… }\";\n\t    }\n\t    return \"<Function \" + code + \">\";\n\t  }\n\t  if (_.isArray(item)) {\n\t    if (l > max) {\n\t      return \"[...]\";\n\t    }\n\t    return \"[\" + _.map(item, function(i) {\n\t      return Utils.inspect(i, max, l + 1);\n\t    }).join(\", \") + \"]\";\n\t  }\n\t  if (_.isObject(item)) {\n\t    objectType = Utils.inspectObjectType(item);\n\t    if (/HTML\\w+?Element/.test(objectType)) {\n\t      return \"<\" + objectType + \">\";\n\t    }\n\t    if (l > max) {\n\t      objectInfo = \"{...}\";\n\t    } else {\n\t      objectInfo = \"{\" + _.map(item, function(v, k) {\n\t        return k + \":\" + (Utils.inspect(v, max, l + 1));\n\t      }).join(\", \") + \"}\";\n\t    }\n\t    if (objectType === \"Object\") {\n\t      return objectInfo;\n\t    }\n\t    return \"<\" + objectType + \" \" + objectInfo + \">\";\n\t  }\n\t  return \"\" + item;\n\t};\n\t\n\tUtils.uuid = function() {\n\t  var chars, digit, m, output, r, random;\n\t  chars = \"0123456789abcdefghijklmnopqrstuvwxyz\".split(\"\");\n\t  output = new Array(36);\n\t  random = 0;\n\t  for (digit = m = 1; m <= 32; digit = ++m) {\n\t    if (random <= 0x02) {\n\t      random = 0x2000000 + (Math.random() * 0x1000000) | 0;\n\t    }\n\t    r = random & 0xf;\n\t    random = random >> 4;\n\t    output[digit] = chars[digit === 19 ? (r & 0x3) | 0x8 : r];\n\t  }\n\t  return output.join(\"\");\n\t};\n\t\n\tUtils.arrayFromArguments = function(args) {\n\t  if (_.isArray(args[0])) {\n\t    return args[0];\n\t  }\n\t  return Array.prototype.slice.call(args);\n\t};\n\t\n\tUtils.cycle = function() {\n\t  var args, curr;\n\t  args = Utils.arrayFromArguments(arguments);\n\t  curr = -1;\n\t  return function() {\n\t    curr++;\n\t    if (curr >= args.length) {\n\t      curr = 0;\n\t    }\n\t    return args[curr];\n\t  };\n\t};\n\t\n\tUtils.toggle = Utils.cycle;\n\t\n\tUtils.isWebKit = function() {\n\t  return window.WebKitCSSMatrix !== void 0;\n\t};\n\t\n\tUtils.webkitVersion = function() {\n\t  var regexp, result, version;\n\t  version = -1;\n\t  regexp = /AppleWebKit\\/([\\d.]+)/;\n\t  result = regexp.exec(navigator.userAgent);\n\t  if (result) {\n\t    version = parseFloat(result[1]);\n\t  }\n\t  return version;\n\t};\n\t\n\tUtils.isChrome = function() {\n\t  return /chrome/.test(navigator.userAgent.toLowerCase());\n\t};\n\t\n\tUtils.isSafari = function() {\n\t  return /safari/.test(navigator.userAgent.toLowerCase());\n\t};\n\t\n\tUtils.isTouch = function() {\n\t  return window.ontouchstart === null;\n\t};\n\t\n\tUtils.isDesktop = function() {\n\t  return Utils.deviceType() === \"desktop\";\n\t};\n\t\n\tUtils.isPhone = function() {\n\t  return Utils.deviceType() === \"phone\";\n\t};\n\t\n\tUtils.isTablet = function() {\n\t  return Utils.deviceType() === \"tablet\";\n\t};\n\t\n\tUtils.isMobile = function() {\n\t  return Utils.isPhone() || Utils.isTablet();\n\t};\n\t\n\tUtils.isLocal = function() {\n\t  return Utils.isLocalUrl(window.location.href);\n\t};\n\t\n\tUtils.isLocalUrl = function(url) {\n\t  return url.slice(0, 7) === \"file://\";\n\t};\n\t\n\tUtils.isFramerStudio = function() {\n\t  return navigator.userAgent.indexOf(\"FramerStudio\") !== -1;\n\t};\n\t\n\tUtils.devicePixelRatio = function() {\n\t  return window.devicePixelRatio;\n\t};\n\t\n\tUtils.isJP2Supported = function() {\n\t  return Utils.isWebKit() && !Utils.isChrome();\n\t};\n\t\n\tUtils.deviceType = function() {\n\t  if (/(tablet)|(iPad)|(Nexus 9)/i.test(navigator.userAgent)) {\n\t    return \"tablet\";\n\t  }\n\t  if (/(mobi)/i.test(navigator.userAgent)) {\n\t    return \"phone\";\n\t  }\n\t  return \"desktop\";\n\t};\n\t\n\tUtils.pathJoin = function() {\n\t  return Utils.arrayFromArguments(arguments).join(\"/\");\n\t};\n\t\n\tUtils.round = function(value, decimals) {\n\t  var d;\n\t  if (decimals == null) {\n\t    decimals = 0;\n\t  }\n\t  d = Math.pow(10, decimals);\n\t  return Math.round(value * d) / d;\n\t};\n\t\n\tUtils.clamp = function(value, min, max) {\n\t  if (value < min) {\n\t    value = min;\n\t  }\n\t  if (value > max) {\n\t    value = max;\n\t  }\n\t  return value;\n\t};\n\t\n\tUtils.mapRange = function(value, fromLow, fromHigh, toLow, toHigh) {\n\t  return toLow + (((value - fromLow) / (fromHigh - fromLow)) * (toHigh - toLow));\n\t};\n\t\n\tUtils.modulate = function(value, rangeA, rangeB, limit) {\n\t  var fromHigh, fromLow, result, toHigh, toLow;\n\t  if (limit == null) {\n\t    limit = false;\n\t  }\n\t  fromLow = rangeA[0], fromHigh = rangeA[1];\n\t  toLow = rangeB[0], toHigh = rangeB[1];\n\t  result = toLow + (((value - fromLow) / (fromHigh - fromLow)) * (toHigh - toLow));\n\t  if (limit === true) {\n\t    if (toLow < toHigh) {\n\t      if (result < toLow) {\n\t        return toLow;\n\t      }\n\t      if (result > toHigh) {\n\t        return toHigh;\n\t      }\n\t    } else {\n\t      if (result > toLow) {\n\t        return toLow;\n\t      }\n\t      if (result < toHigh) {\n\t        return toHigh;\n\t      }\n\t    }\n\t  }\n\t  return result;\n\t};\n\t\n\tUtils.parseFunction = function(str) {\n\t  var result;\n\t  result = {\n\t    name: \"\",\n\t    args: []\n\t  };\n\t  if (_.endsWith(str, \")\")) {\n\t    result.name = str.split(\"(\")[0];\n\t    result.args = str.split(\"(\")[1].split(\",\").map(function(a) {\n\t      return _.trim(_.trimRight(a, \")\"));\n\t    });\n\t  } else {\n\t    result.name = str;\n\t  }\n\t  return result;\n\t};\n\t\n\t__domComplete = [];\n\t\n\t__domReady = false;\n\t\n\tif (typeof document !== \"undefined\" && document !== null) {\n\t  document.onreadystatechange = (function(_this) {\n\t    return function(event) {\n\t      var f, results;\n\t      if (document.readyState === \"complete\") {\n\t        __domReady = true;\n\t        results = [];\n\t        while (__domComplete.length) {\n\t          results.push(f = __domComplete.shift()());\n\t        }\n\t        return results;\n\t      }\n\t    };\n\t  })(this);\n\t}\n\t\n\tUtils.domComplete = function(f) {\n\t  if (document.readyState === \"complete\") {\n\t    return f();\n\t  } else {\n\t    return __domComplete.push(f);\n\t  }\n\t};\n\t\n\tUtils.domCompleteCancel = function(f) {\n\t  return __domComplete = _.without(__domComplete, f);\n\t};\n\t\n\tUtils.domLoadScript = function(url, callback) {\n\t  var head, script;\n\t  script = document.createElement(\"script\");\n\t  script.type = \"text/javascript\";\n\t  script.src = url;\n\t  script.onload = callback;\n\t  head = document.getElementsByTagName(\"head\")[0];\n\t  head.appendChild(script);\n\t  return script;\n\t};\n\t\n\tUtils.domLoadData = function(path, callback) {\n\t  var request;\n\t  request = new XMLHttpRequest();\n\t  request.addEventListener(\"load\", function() {\n\t    return callback(null, request.responseText);\n\t  }, false);\n\t  request.addEventListener(\"error\", function() {\n\t    return callback(true, null);\n\t  }, false);\n\t  request.open(\"GET\", path, true);\n\t  return request.send(null);\n\t};\n\t\n\tUtils.domLoadJSON = function(path, callback) {\n\t  return Utils.domLoadData(path, function(err, data) {\n\t    return callback(err, JSON.parse(data));\n\t  });\n\t};\n\t\n\tUtils.domLoadDataSync = function(path) {\n\t  var data, e, request;\n\t  request = new XMLHttpRequest();\n\t  request.open(\"GET\", path, false);\n\t  try {\n\t    request.send(null);\n\t  } catch (_error) {\n\t    e = _error;\n\t    console.debug(\"XMLHttpRequest.error\", e);\n\t  }\n\t  data = request.responseText;\n\t  if (!data) {\n\t    throw Error(\"Utils.domLoadDataSync: no data was loaded (url not found?)\");\n\t  }\n\t  return request.responseText;\n\t};\n\t\n\tUtils.domLoadJSONSync = function(path) {\n\t  return JSON.parse(Utils.domLoadDataSync(path));\n\t};\n\t\n\tUtils.domLoadScriptSync = function(path) {\n\t  var scriptData;\n\t  scriptData = Utils.domLoadDataSync(path);\n\t  eval(scriptData);\n\t  return scriptData;\n\t};\n\t\n\tUtils.insertCSS = function(css) {\n\t  var styleElement;\n\t  styleElement = document.createElement(\"style\");\n\t  styleElement.type = \"text/css\";\n\t  styleElement.innerHTML = css;\n\t  return Utils.domComplete(function() {\n\t    return document.body.appendChild(styleElement);\n\t  });\n\t};\n\t\n\tUtils.loadImage = function(url, callback, context) {\n\t  var element;\n\t  element = new Image;\n\t  if (context == null) {\n\t    context = Framer.CurrentContext;\n\t  }\n\t  context.eventManager.wrap(element).addEventListener(\"load\", function(event) {\n\t    return callback();\n\t  });\n\t  context.eventManager.wrap(element).addEventListener(\"error\", function(event) {\n\t    return callback(true);\n\t  });\n\t  return element.src = url;\n\t};\n\t\n\tUtils.pointZero = function(args) {\n\t  if (args == null) {\n\t    args = {};\n\t  }\n\t  return _.defaults(args, {\n\t    x: 0,\n\t    y: 0\n\t  });\n\t};\n\t\n\tUtils.pointMin = function() {\n\t  var point, points;\n\t  points = Utils.arrayFromArguments(arguments);\n\t  return point = {\n\t    x: _.min(points.map(function(size) {\n\t      return size.x;\n\t    })),\n\t    y: _.min(points.map(function(size) {\n\t      return size.y;\n\t    }))\n\t  };\n\t};\n\t\n\tUtils.pointMax = function() {\n\t  var point, points;\n\t  points = Utils.arrayFromArguments(arguments);\n\t  return point = {\n\t    x: _.max(points.map(function(size) {\n\t      return size.x;\n\t    })),\n\t    y: _.max(points.map(function(size) {\n\t      return size.y;\n\t    }))\n\t  };\n\t};\n\t\n\tUtils.pointDistance = function(pointA, pointB) {\n\t  var distance;\n\t  return distance = {\n\t    x: Math.abs(pointB.x - pointA.x),\n\t    y: Math.abs(pointB.y - pointA.y)\n\t  };\n\t};\n\t\n\tUtils.pointInvert = function(point) {\n\t  return point = {\n\t    x: 0 - point.x,\n\t    y: 0 - point.y\n\t  };\n\t};\n\t\n\tUtils.pointTotal = function(point) {\n\t  return point.x + point.y;\n\t};\n\t\n\tUtils.pointAbs = function(point) {\n\t  return point = {\n\t    x: Math.abs(point.x),\n\t    y: Math.abs(point.y)\n\t  };\n\t};\n\t\n\tUtils.pointInFrame = function(point, frame) {\n\t  if (point.x < Utils.frameGetMinX(frame) || point.x > Utils.frameGetMaxX(frame)) {\n\t    return false;\n\t  }\n\t  if (point.y < Utils.frameGetMinY(frame) || point.y > Utils.frameGetMaxY(frame)) {\n\t    return false;\n\t  }\n\t  return true;\n\t};\n\t\n\tUtils.sizeZero = function(args) {\n\t  if (args == null) {\n\t    args = {};\n\t  }\n\t  return _.defaults(args, {\n\t    width: 0,\n\t    height: 0\n\t  });\n\t};\n\t\n\tUtils.sizeMin = function() {\n\t  var size, sizes;\n\t  sizes = Utils.arrayFromArguments(arguments);\n\t  return size = {\n\t    width: _.min(sizes.map(function(size) {\n\t      return size.width;\n\t    })),\n\t    height: _.min(sizes.map(function(size) {\n\t      return size.height;\n\t    }))\n\t  };\n\t};\n\t\n\tUtils.sizeMax = function() {\n\t  var size, sizes;\n\t  sizes = Utils.arrayFromArguments(arguments);\n\t  return size = {\n\t    width: _.max(sizes.map(function(size) {\n\t      return size.width;\n\t    })),\n\t    height: _.max(sizes.map(function(size) {\n\t      return size.height;\n\t    }))\n\t  };\n\t};\n\t\n\tUtils.rectZero = function(args) {\n\t  if (args == null) {\n\t    args = {};\n\t  }\n\t  return _.defaults(args, {\n\t    top: 0,\n\t    right: 0,\n\t    bottom: 0,\n\t    left: 0\n\t  });\n\t};\n\t\n\tUtils.parseRect = function(args) {\n\t  if (_.isArray(args) && _.isNumber(args[0])) {\n\t    if (args.length === 1) {\n\t      return Utils.parseRect({\n\t        top: args[0]\n\t      });\n\t    }\n\t    if (args.length === 2) {\n\t      return Utils.parseRect({\n\t        top: args[0],\n\t        right: args[1]\n\t      });\n\t    }\n\t    if (args.length === 3) {\n\t      return Utils.parseRect({\n\t        top: args[0],\n\t        right: args[1],\n\t        bottom: args[2]\n\t      });\n\t    }\n\t    if (args.length === 4) {\n\t      return Utils.parseRect({\n\t        top: args[0],\n\t        right: args[1],\n\t        bottom: args[2],\n\t        left: args[3]\n\t      });\n\t    }\n\t  }\n\t  if (_.isArray(args) && _.isObject(args[0])) {\n\t    return args[0];\n\t  }\n\t  if (_.isObject(args)) {\n\t    return args;\n\t  }\n\t  return {};\n\t};\n\t\n\tUtils.frameGetMinX = function(frame) {\n\t  return frame.x;\n\t};\n\t\n\tUtils.frameSetMinX = function(frame, value) {\n\t  return frame.x = value;\n\t};\n\t\n\tUtils.frameGetMidX = function(frame) {\n\t  if (frame.width === 0) {\n\t    return 0;\n\t  } else {\n\t    return frame.x + (frame.width / 2.0);\n\t  }\n\t};\n\t\n\tUtils.frameSetMidX = function(frame, value) {\n\t  return frame.x = frame.width === 0 ? 0 : value - (frame.width / 2.0);\n\t};\n\t\n\tUtils.frameGetMaxX = function(frame) {\n\t  if (frame.width === 0) {\n\t    return 0;\n\t  } else {\n\t    return frame.x + frame.width;\n\t  }\n\t};\n\t\n\tUtils.frameSetMaxX = function(frame, value) {\n\t  return frame.x = frame.width === 0 ? 0 : value - frame.width;\n\t};\n\t\n\tUtils.frameGetMinY = function(frame) {\n\t  return frame.y;\n\t};\n\t\n\tUtils.frameSetMinY = function(frame, value) {\n\t  return frame.y = value;\n\t};\n\t\n\tUtils.frameGetMidY = function(frame) {\n\t  if (frame.height === 0) {\n\t    return 0;\n\t  } else {\n\t    return frame.y + (frame.height / 2.0);\n\t  }\n\t};\n\t\n\tUtils.frameSetMidY = function(frame, value) {\n\t  return frame.y = frame.height === 0 ? 0 : value - (frame.height / 2.0);\n\t};\n\t\n\tUtils.frameGetMaxY = function(frame) {\n\t  if (frame.height === 0) {\n\t    return 0;\n\t  } else {\n\t    return frame.y + frame.height;\n\t  }\n\t};\n\t\n\tUtils.frameSetMaxY = function(frame, value) {\n\t  return frame.y = frame.height === 0 ? 0 : value - frame.height;\n\t};\n\t\n\tUtils.frameZero = function(args) {\n\t  if (args == null) {\n\t    args = {};\n\t  }\n\t  return _.defaults(args, {\n\t    top: 0,\n\t    right: 0,\n\t    bottom: 0,\n\t    left: 0\n\t  });\n\t};\n\t\n\tUtils.frameSize = function(frame) {\n\t  var size;\n\t  return size = {\n\t    width: frame.width,\n\t    height: frame.height\n\t  };\n\t};\n\t\n\tUtils.framePoint = function(frame) {\n\t  var point;\n\t  return point = {\n\t    x: frame.x,\n\t    y: frame.y\n\t  };\n\t};\n\t\n\tUtils.frameMerge = function() {\n\t  var frame, frames;\n\t  frames = Utils.arrayFromArguments(arguments);\n\t  frame = {\n\t    x: _.min(frames.map(Utils.frameGetMinX)),\n\t    y: _.min(frames.map(Utils.frameGetMinY))\n\t  };\n\t  frame.width = _.max(frames.map(Utils.frameGetMaxX)) - frame.x;\n\t  frame.height = _.max(frames.map(Utils.frameGetMaxY)) - frame.y;\n\t  return frame;\n\t};\n\t\n\tUtils.framePointForOrigin = function(frame, originX, originY) {\n\t  return frame = {\n\t    x: frame.x + (originX * frame.width),\n\t    y: frame.y + (originY * frame.height),\n\t    width: frame.width,\n\t    height: frame.height\n\t  };\n\t};\n\t\n\tUtils.frameInset = function(frame, inset) {\n\t  return frame = {\n\t    x: frame.x + inset.left,\n\t    y: frame.y + inset.top,\n\t    width: frame.width - inset.left - inset.right,\n\t    height: frame.height - inset.top - inset.bottom\n\t  };\n\t};\n\t\n\tUtils.frameSortByAbsoluteDistance = function(point, frames, originX, originY) {\n\t  var distance;\n\t  if (originX == null) {\n\t    originX = 0;\n\t  }\n\t  if (originY == null) {\n\t    originY = 0;\n\t  }\n\t  distance = function(frame) {\n\t    var result;\n\t    result = Utils.pointDistance(point, Utils.framePointForOrigin(frame, originX, originY));\n\t    result = Utils.pointAbs(result);\n\t    result = Utils.pointTotal(result);\n\t    return result;\n\t  };\n\t  return frames.sort(function(a, b) {\n\t    return distance(a) - distance(b);\n\t  });\n\t};\n\t\n\tUtils.pointInPolygon = function(point, vs) {\n\t  var i, inside, intersect, j, x, xi, xj, y, yi, yj;\n\t  x = point[0];\n\t  y = point[1];\n\t  inside = false;\n\t  i = 0;\n\t  j = vs.length - 1;\n\t  while (i < vs.length) {\n\t    xi = vs[i][0];\n\t    yi = vs[i][1];\n\t    xj = vs[j][0];\n\t    yj = vs[j][1];\n\t    intersect = ((yi > y && y !== yj) && yj > y) && x < (xj - xi) * (y - yi) / (yj - yi) + xi;\n\t    if (intersect) {\n\t      inside = !inside;\n\t    }\n\t    j = i++;\n\t  }\n\t  return inside;\n\t};\n\t\n\tUtils.pointAngle = function(p1, p2) {\n\t  return Math.atan2(p2.y - p1.y, p2.x - p1.x) * 180 / Math.PI;\n\t};\n\t\n\tUtils.convertPoint = function(input, layerA, layerB, context) {\n\t  var layer, len, len1, m, o, point, superLayersA, superLayersB;\n\t  if (context == null) {\n\t    context = false;\n\t  }\n\t  point = _.defaults(input, {\n\t    x: 0,\n\t    y: 0\n\t  });\n\t  superLayersA = (layerA != null ? layerA.superLayers(context) : void 0) || [];\n\t  superLayersB = (layerB != null ? layerB.superLayers(context) : void 0) || [];\n\t  if (layerB) {\n\t    superLayersB.push(layerB);\n\t  }\n\t  for (m = 0, len = superLayersA.length; m < len; m++) {\n\t    layer = superLayersA[m];\n\t    point.x += layer.x - layer.scrollFrame.x;\n\t    point.y += layer.y - layer.scrollFrame.y;\n\t  }\n\t  for (o = 0, len1 = superLayersB.length; o < len1; o++) {\n\t    layer = superLayersB[o];\n\t    point.x -= layer.x + layer.scrollFrame.x;\n\t    point.y -= layer.y + layer.scrollFrame.y;\n\t  }\n\t  return point;\n\t};\n\t\n\tUtils.globalLayers = function(importedLayers) {\n\t  var layer, layerName;\n\t  for (layerName in importedLayers) {\n\t    layer = importedLayers[layerName];\n\t    layerName = layerName.replace(/\\s/g, \"\");\n\t    if (window.hasOwnProperty(layerName) && !window.Framer._globalWarningGiven) {\n\t      print(\"Warning: Cannot make layer '\" + layerName + \"' a global, a variable with that name already exists\");\n\t    } else {\n\t      window[layerName] = layer;\n\t    }\n\t  }\n\t  return window.Framer._globalWarningGiven = true;\n\t};\n\t\n\t_textSizeNode = null;\n\t\n\tUtils.textSize = function(text, style, constraints) {\n\t  var frame, rect, shouldCreateNode;\n\t  if (style == null) {\n\t    style = {};\n\t  }\n\t  if (constraints == null) {\n\t    constraints = {};\n\t  }\n\t  shouldCreateNode = !_textSizeNode;\n\t  if (shouldCreateNode) {\n\t    _textSizeNode = document.createElement(\"div\");\n\t    _textSizeNode.id = \"_textSizeNode\";\n\t  }\n\t  _textSizeNode.innerHTML = text;\n\t  style = _.extend(style, {\n\t    position: \"fixed\",\n\t    display: \"inline\",\n\t    visibility: \"hidden\",\n\t    top: \"-10000px\",\n\t    left: \"-10000px\"\n\t  });\n\t  delete style.width;\n\t  delete style.height;\n\t  delete style.bottom;\n\t  delete style.right;\n\t  if (constraints.width) {\n\t    style.width = constraints.width + \"px\";\n\t  }\n\t  if (constraints.height) {\n\t    style.height = constraints.height + \"px\";\n\t  }\n\t  _.extend(_textSizeNode.style, style);\n\t  if (shouldCreateNode) {\n\t    if (!window.document.body) {\n\t      document.write(_textSizeNode.outerHTML);\n\t      _textSizeNode = document.getElementById(\"_textSizeNode\");\n\t    } else {\n\t      window.document.body.appendChild(_textSizeNode);\n\t    }\n\t  }\n\t  rect = _textSizeNode.getBoundingClientRect();\n\t  return frame = {\n\t    width: rect.right - rect.left,\n\t    height: rect.bottom - rect.top\n\t  };\n\t};\n\t\n\t_.extend(exports, Utils);\n\n\n/***/ },\n/* 3 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Animation, BaseClass, Config, Defaults, EventEmitter, LayerDraggable, LayerStates, LayerStyle, NoCacheDateKey, Utils, _, layerProperty, layerValueTypeError,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty,\n\t  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },\n\t  slice = [].slice;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tConfig = __webpack_require__(17).Config;\n\t\n\tDefaults = __webpack_require__(30).Defaults;\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\tEventEmitter = __webpack_require__(18).EventEmitter;\n\t\n\tAnimation = __webpack_require__(7).Animation;\n\t\n\tLayerStyle = __webpack_require__(20).LayerStyle;\n\t\n\tLayerStates = __webpack_require__(31).LayerStates;\n\t\n\tLayerDraggable = __webpack_require__(26).LayerDraggable;\n\t\n\tNoCacheDateKey = Date.now();\n\t\n\tlayerValueTypeError = function(name, value) {\n\t  throw new Error(\"Layer.\" + name + \": value '\" + value + \"' of type '\" + (typeof value) + \"'' is not valid\");\n\t};\n\t\n\tlayerProperty = function(obj, name, cssProperty, fallback, validator, options, set) {\n\t  var result;\n\t  if (options == null) {\n\t    options = {};\n\t  }\n\t  result = {\n\t    \"default\": fallback,\n\t    get: function() {\n\t      if (this._properties.hasOwnProperty(name)) {\n\t        return this._properties[name];\n\t      }\n\t      return fallback;\n\t    },\n\t    set: function(value) {\n\t      if (value && validator && !validator(value)) {\n\t        layerValueTypeError(name, value);\n\t      }\n\t      this._properties[name] = value;\n\t      this._element.style[cssProperty] = LayerStyle[cssProperty](this);\n\t      if (typeof set === \"function\") {\n\t        set(this, value);\n\t      }\n\t      this.emit(\"change:\" + name, value);\n\t      if (name === \"x\" || name === \"y\") {\n\t        this.emit(\"change:point\", value);\n\t      }\n\t      if (name === \"width\" || name === \"height\") {\n\t        this.emit(\"change:size\", value);\n\t      }\n\t      if (name === \"x\" || name === \"y\" || name === \"width\" || name === \"height\") {\n\t        this.emit(\"change:frame\", value);\n\t      }\n\t      if (name === \"rotationZ\") {\n\t        return this.emit(\"change:rotation\", value);\n\t      }\n\t    }\n\t  };\n\t  return result = _.extend(result, options);\n\t};\n\t\n\texports.Layer = (function(superClass) {\n\t  extend(Layer, superClass);\n\t\n\t  function Layer(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this.addListener = bind(this.addListener, this);\n\t    this._properties = {};\n\t    this._style = {};\n\t    this._prefer2d = false;\n\t    this._cacheImage = false;\n\t    this._createElement();\n\t    if (options.hasOwnProperty(\"frame\")) {\n\t      options = _.extend(options, options.frame);\n\t    }\n\t    options = Defaults.getDefaults(\"Layer\", options);\n\t    Layer.__super__.constructor.call(this, options);\n\t    this._context.addLayer(this);\n\t    this._id = this._context.nextLayerId();\n\t    if (!options.superLayer) {\n\t      if (!options.shadow) {\n\t        this._insertElement();\n\t      }\n\t    } else {\n\t      this.superLayer = options.superLayer;\n\t    }\n\t    if (options.hasOwnProperty(\"index\")) {\n\t      this.index = options.index;\n\t    }\n\t    this._subLayers = [];\n\t    this._context.emit(\"layer:create\", this);\n\t  }\n\t\n\t  Layer.define(\"width\", layerProperty(Layer, \"width\", \"width\", 100, _.isNumber));\n\t\n\t  Layer.define(\"height\", layerProperty(Layer, \"height\", \"height\", 100, _.isNumber));\n\t\n\t  Layer.define(\"visible\", layerProperty(Layer, \"visible\", \"display\", true, _.isBoolean));\n\t\n\t  Layer.define(\"opacity\", layerProperty(Layer, \"opacity\", \"opacity\", 1, _.isNumber));\n\t\n\t  Layer.define(\"index\", layerProperty(Layer, \"index\", \"zIndex\", 0, _.isNumber, {\n\t    importable: false,\n\t    exportable: false\n\t  }));\n\t\n\t  Layer.define(\"clip\", layerProperty(Layer, \"clip\", \"overflow\", true, _.isBoolean));\n\t\n\t  Layer.define(\"scrollHorizontal\", layerProperty(Layer, \"scrollHorizontal\", \"overflowX\", false, _.isBoolean, {}, function(layer, value) {\n\t    if (value === true) {\n\t      return layer.ignoreEvents = false;\n\t    }\n\t  }));\n\t\n\t  Layer.define(\"scrollVertical\", layerProperty(Layer, \"scrollVertical\", \"overflowY\", false, _.isBoolean, {}, function(layer, value) {\n\t    if (value === true) {\n\t      return layer.ignoreEvents = false;\n\t    }\n\t  }));\n\t\n\t  Layer.define(\"scroll\", {\n\t    get: function() {\n\t      return this.scrollHorizontal === true || this.scrollVertical === true;\n\t    },\n\t    set: function(value) {\n\t      return this.scrollHorizontal = this.scrollVertical = value;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"ignoreEvents\", layerProperty(Layer, \"ignoreEvents\", \"pointerEvents\", true, _.isBoolean));\n\t\n\t  Layer.define(\"x\", layerProperty(Layer, \"x\", \"webkitTransform\", 0, _.isNumber));\n\t\n\t  Layer.define(\"y\", layerProperty(Layer, \"y\", \"webkitTransform\", 0, _.isNumber));\n\t\n\t  Layer.define(\"z\", layerProperty(Layer, \"z\", \"webkitTransform\", 0, _.isNumber));\n\t\n\t  Layer.define(\"scaleX\", layerProperty(Layer, \"scaleX\", \"webkitTransform\", 1, _.isNumber));\n\t\n\t  Layer.define(\"scaleY\", layerProperty(Layer, \"scaleY\", \"webkitTransform\", 1, _.isNumber));\n\t\n\t  Layer.define(\"scaleZ\", layerProperty(Layer, \"scaleZ\", \"webkitTransform\", 1, _.isNumber));\n\t\n\t  Layer.define(\"scale\", layerProperty(Layer, \"scale\", \"webkitTransform\", 1, _.isNumber));\n\t\n\t  Layer.define(\"skewX\", layerProperty(Layer, \"skewX\", \"webkitTransform\", 0, _.isNumber));\n\t\n\t  Layer.define(\"skewY\", layerProperty(Layer, \"skewY\", \"webkitTransform\", 0, _.isNumber));\n\t\n\t  Layer.define(\"skew\", layerProperty(Layer, \"skew\", \"webkitTransform\", 0, _.isNumber));\n\t\n\t  Layer.define(\"originX\", layerProperty(Layer, \"originX\", \"webkitTransformOrigin\", 0.5, _.isNumber));\n\t\n\t  Layer.define(\"originY\", layerProperty(Layer, \"originY\", \"webkitTransformOrigin\", 0.5, _.isNumber));\n\t\n\t  Layer.define(\"perspective\", layerProperty(Layer, \"perspective\", \"webkitPerspective\", 0, _.isNumber));\n\t\n\t  Layer.define(\"rotationX\", layerProperty(Layer, \"rotationX\", \"webkitTransform\", 0, _.isNumber));\n\t\n\t  Layer.define(\"rotationY\", layerProperty(Layer, \"rotationY\", \"webkitTransform\", 0, _.isNumber));\n\t\n\t  Layer.define(\"rotationZ\", layerProperty(Layer, \"rotationZ\", \"webkitTransform\", 0, _.isNumber));\n\t\n\t  Layer.define(\"rotation\", {\n\t    get: function() {\n\t      return this.rotationZ;\n\t    },\n\t    set: function(value) {\n\t      return this.rotationZ = value;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"blur\", layerProperty(Layer, \"blur\", \"webkitFilter\", 0, _.isNumber));\n\t\n\t  Layer.define(\"brightness\", layerProperty(Layer, \"brightness\", \"webkitFilter\", 100, _.isNumber));\n\t\n\t  Layer.define(\"saturate\", layerProperty(Layer, \"saturate\", \"webkitFilter\", 100, _.isNumber));\n\t\n\t  Layer.define(\"hueRotate\", layerProperty(Layer, \"hueRotate\", \"webkitFilter\", 0, _.isNumber));\n\t\n\t  Layer.define(\"contrast\", layerProperty(Layer, \"contrast\", \"webkitFilter\", 100, _.isNumber));\n\t\n\t  Layer.define(\"invert\", layerProperty(Layer, \"invert\", \"webkitFilter\", 0, _.isNumber));\n\t\n\t  Layer.define(\"grayscale\", layerProperty(Layer, \"grayscale\", \"webkitFilter\", 0, _.isNumber));\n\t\n\t  Layer.define(\"sepia\", layerProperty(Layer, \"sepia\", \"webkitFilter\", 0, _.isNumber));\n\t\n\t  Layer.define(\"shadowX\", layerProperty(Layer, \"shadowX\", \"boxShadow\", 0, _.isNumber));\n\t\n\t  Layer.define(\"shadowY\", layerProperty(Layer, \"shadowY\", \"boxShadow\", 0, _.isNumber));\n\t\n\t  Layer.define(\"shadowBlur\", layerProperty(Layer, \"shadowBlur\", \"boxShadow\", 0, _.isNumber));\n\t\n\t  Layer.define(\"shadowSpread\", layerProperty(Layer, \"shadowSpread\", \"boxShadow\", 0, _.isNumber));\n\t\n\t  Layer.define(\"shadowColor\", layerProperty(Layer, \"shadowColor\", \"boxShadow\", \"\"));\n\t\n\t  Layer.define(\"backgroundColor\", layerProperty(Layer, \"backgroundColor\", \"backgroundColor\", null, _.isString));\n\t\n\t  Layer.define(\"color\", layerProperty(Layer, \"color\", \"color\", null, _.isString));\n\t\n\t  Layer.define(\"borderColor\", layerProperty(Layer, \"borderColor\", \"border\", null, _.isString));\n\t\n\t  Layer.define(\"borderWidth\", layerProperty(Layer, \"borderWidth\", \"border\", 0, _.isNumber));\n\t\n\t  Layer.define(\"force2d\", layerProperty(Layer, \"force2d\", \"webkitTransform\", false, _.isBoolean));\n\t\n\t  Layer.define(\"name\", {\n\t    \"default\": \"\",\n\t    get: function() {\n\t      return this._getPropertyValue(\"name\");\n\t    },\n\t    set: function(value) {\n\t      this._setPropertyValue(\"name\", value);\n\t      return this._element.setAttribute(\"name\", value);\n\t    }\n\t  });\n\t\n\t  Layer.define(\"borderRadius\", {\n\t    \"default\": 0,\n\t    get: function() {\n\t      return this._properties[\"borderRadius\"];\n\t    },\n\t    set: function(value) {\n\t      if (value && !_.isNumber(value)) {\n\t        console.warn(\"Layer.borderRadius should be a numeric property, not type \" + (typeof value));\n\t      }\n\t      this._properties[\"borderRadius\"] = value;\n\t      this._element.style[\"borderRadius\"] = LayerStyle[\"borderRadius\"](this);\n\t      return this.emit(\"change:borderRadius\", value);\n\t    }\n\t  });\n\t\n\t  Layer.define(\"cornerRadius\", {\n\t    importable: true,\n\t    get: function() {\n\t      return this.borderRadius;\n\t    },\n\t    set: function(value) {\n\t      return this.borderRadius = value;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"point\", {\n\t    get: function() {\n\t      return _.pick(this, [\"x\", \"y\"]);\n\t    },\n\t    set: function(point) {\n\t      var i, k, len, ref, results;\n\t      if (!point) {\n\t        return;\n\t      }\n\t      ref = [\"x\", \"y\"];\n\t      results = [];\n\t      for (i = 0, len = ref.length; i < len; i++) {\n\t        k = ref[i];\n\t        if (point.hasOwnProperty(k)) {\n\t          results.push(this[k] = point[k]);\n\t        } else {\n\t          results.push(void 0);\n\t        }\n\t      }\n\t      return results;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"size\", {\n\t    get: function() {\n\t      return _.pick(this, [\"width\", \"height\"]);\n\t    },\n\t    set: function(size) {\n\t      var i, k, len, ref, results;\n\t      if (!size) {\n\t        return;\n\t      }\n\t      ref = [\"width\", \"height\"];\n\t      results = [];\n\t      for (i = 0, len = ref.length; i < len; i++) {\n\t        k = ref[i];\n\t        if (size.hasOwnProperty(k)) {\n\t          results.push(this[k] = size[k]);\n\t        } else {\n\t          results.push(void 0);\n\t        }\n\t      }\n\t      return results;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"frame\", {\n\t    get: function() {\n\t      return _.pick(this, [\"x\", \"y\", \"width\", \"height\"]);\n\t    },\n\t    set: function(frame) {\n\t      var i, k, len, ref, results;\n\t      if (!frame) {\n\t        return;\n\t      }\n\t      ref = [\"x\", \"y\", \"width\", \"height\"];\n\t      results = [];\n\t      for (i = 0, len = ref.length; i < len; i++) {\n\t        k = ref[i];\n\t        if (frame.hasOwnProperty(k)) {\n\t          results.push(this[k] = frame[k]);\n\t        } else {\n\t          results.push(void 0);\n\t        }\n\t      }\n\t      return results;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"minX\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      return this.x;\n\t    },\n\t    set: function(value) {\n\t      return this.x = value;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"midX\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      return Utils.frameGetMidX(this);\n\t    },\n\t    set: function(value) {\n\t      return Utils.frameSetMidX(this, value);\n\t    }\n\t  });\n\t\n\t  Layer.define(\"maxX\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      return Utils.frameGetMaxX(this);\n\t    },\n\t    set: function(value) {\n\t      return Utils.frameSetMaxX(this, value);\n\t    }\n\t  });\n\t\n\t  Layer.define(\"minY\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      return this.y;\n\t    },\n\t    set: function(value) {\n\t      return this.y = value;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"midY\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      return Utils.frameGetMidY(this);\n\t    },\n\t    set: function(value) {\n\t      return Utils.frameSetMidY(this, value);\n\t    }\n\t  });\n\t\n\t  Layer.define(\"maxY\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      return Utils.frameGetMaxY(this);\n\t    },\n\t    set: function(value) {\n\t      return Utils.frameSetMaxY(this, value);\n\t    }\n\t  });\n\t\n\t  Layer.prototype.convertPoint = function(point) {\n\t    return Utils.convertPoint(point, null, this);\n\t  };\n\t\n\t  Layer.define(\"canvasFrame\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      var context;\n\t      return Utils.convertPoint(this.frame, this, null, context = true);\n\t    },\n\t    set: function(frame) {\n\t      var context;\n\t      if (!this.superLayer) {\n\t        return this.frame = frame;\n\t      } else {\n\t        return this.frame = Utils.convertPoint(frame, null, this.superLayer, context = true);\n\t      }\n\t    }\n\t  });\n\t\n\t  Layer.define(\"screenFrame\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      var context;\n\t      return Utils.convertPoint(this.frame, this, null, context = false);\n\t    },\n\t    set: function(frame) {\n\t      var context;\n\t      if (!this.superLayer) {\n\t        return this.frame = frame;\n\t      } else {\n\t        return this.frame = Utils.convertPoint(frame, null, this.superLayer, context = false);\n\t      }\n\t    }\n\t  });\n\t\n\t  Layer.prototype.contentFrame = function() {\n\t    if (!this.subLayers.length) {\n\t      return {\n\t        x: 0,\n\t        y: 0,\n\t        width: 0,\n\t        height: 0\n\t      };\n\t    }\n\t    return Utils.frameMerge(_.pluck(this.subLayers, \"frame\"));\n\t  };\n\t\n\t  Layer.prototype.centerFrame = function() {\n\t    var frame;\n\t    if (this.superLayer) {\n\t      frame = this.frame;\n\t      Utils.frameSetMidX(frame, parseInt(this.superLayer.width / 2.0));\n\t      Utils.frameSetMidY(frame, parseInt(this.superLayer.height / 2.0));\n\t      return frame;\n\t    } else {\n\t      frame = this.frame;\n\t      Utils.frameSetMidX(frame, parseInt(this._context.width / 2.0));\n\t      Utils.frameSetMidY(frame, parseInt(this._context.height / 2.0));\n\t      return frame;\n\t    }\n\t  };\n\t\n\t  Layer.prototype.center = function() {\n\t    this.frame = this.centerFrame();\n\t    return this;\n\t  };\n\t\n\t  Layer.prototype.centerX = function(offset) {\n\t    if (offset == null) {\n\t      offset = 0;\n\t    }\n\t    this.x = this.centerFrame().x + offset;\n\t    return this;\n\t  };\n\t\n\t  Layer.prototype.centerY = function(offset) {\n\t    if (offset == null) {\n\t      offset = 0;\n\t    }\n\t    this.y = this.centerFrame().y + offset;\n\t    return this;\n\t  };\n\t\n\t  Layer.prototype.pixelAlign = function() {\n\t    this.x = parseInt(this.x);\n\t    return this.y = parseInt(this.y);\n\t  };\n\t\n\t  Layer.prototype.canvasScaleX = function() {\n\t    var context, i, len, ref, scale, superLayer;\n\t    scale = this.scale * this.scaleX;\n\t    ref = this.superLayers(context = true);\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      superLayer = ref[i];\n\t      scale = scale * superLayer.scale * superLayer.scaleX;\n\t    }\n\t    return scale;\n\t  };\n\t\n\t  Layer.prototype.canvasScaleY = function() {\n\t    var context, i, len, ref, scale, superLayer;\n\t    scale = this.scale * this.scaleY;\n\t    ref = this.superLayers(context = true);\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      superLayer = ref[i];\n\t      scale = scale * superLayer.scale * superLayer.scaleY;\n\t    }\n\t    return scale;\n\t  };\n\t\n\t  Layer.prototype.screenScaleX = function() {\n\t    var context, i, len, ref, scale, superLayer;\n\t    scale = this.scale * this.scaleX;\n\t    ref = this.superLayers(context = false);\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      superLayer = ref[i];\n\t      scale = scale * superLayer.scale * superLayer.scaleX;\n\t    }\n\t    return scale;\n\t  };\n\t\n\t  Layer.prototype.screenScaleY = function() {\n\t    var context, i, len, ref, scale, superLayer;\n\t    scale = this.scale * this.scaleY;\n\t    ref = this.superLayers(context = false);\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      superLayer = ref[i];\n\t      scale = scale * superLayer.scale * superLayer.scaleY;\n\t    }\n\t    return scale;\n\t  };\n\t\n\t  Layer.prototype.screenScaledFrame = function() {\n\t    var context, factorX, factorY, frame, i, layerScaledFrame, layers, len, superLayer;\n\t    frame = {\n\t      x: 0,\n\t      y: 0,\n\t      width: this.width * this.screenScaleX(),\n\t      height: this.height * this.screenScaleY()\n\t    };\n\t    layers = this.superLayers(context = true);\n\t    layers.push(this);\n\t    layers.reverse();\n\t    for (i = 0, len = layers.length; i < len; i++) {\n\t      superLayer = layers[i];\n\t      factorX = superLayer._superOrParentLayer() ? superLayer._superOrParentLayer().screenScaleX() : 1;\n\t      factorY = superLayer._superOrParentLayer() ? superLayer._superOrParentLayer().screenScaleY() : 1;\n\t      layerScaledFrame = superLayer.scaledFrame();\n\t      frame.x += layerScaledFrame.x * factorX;\n\t      frame.y += layerScaledFrame.y * factorY;\n\t    }\n\t    return frame;\n\t  };\n\t\n\t  Layer.prototype.scaledFrame = function() {\n\t    var frame, scaleX, scaleY;\n\t    frame = this.frame;\n\t    scaleX = this.scale * this.scaleX;\n\t    scaleY = this.scale * this.scaleY;\n\t    frame.width *= scaleX;\n\t    frame.height *= scaleY;\n\t    frame.x += (1 - scaleX) * this.originX * this.width;\n\t    frame.y += (1 - scaleY) * this.originY * this.height;\n\t    return frame;\n\t  };\n\t\n\t  Layer.define(\"style\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      return this._element.style;\n\t    },\n\t    set: function(value) {\n\t      _.extend(this._element.style, value);\n\t      return this.emit(\"change:style\");\n\t    }\n\t  });\n\t\n\t  Layer.prototype.computedStyle = function() {\n\t    var getComputedStyle;\n\t    getComputedStyle = document.defaultView.getComputedStyle;\n\t    if (getComputedStyle == null) {\n\t      getComputedStyle = window.getComputedStyle;\n\t    }\n\t    return getComputedStyle(this._element);\n\t  };\n\t\n\t  Layer.define(\"classList\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      return this._element.classList;\n\t    }\n\t  });\n\t\n\t  Layer.prototype._createElement = function() {\n\t    if (this._element != null) {\n\t      return;\n\t    }\n\t    this._element = document.createElement(\"div\");\n\t    return this._element.classList.add(\"framerLayer\");\n\t  };\n\t\n\t  Layer.prototype._insertElement = function() {\n\t    this.bringToFront();\n\t    return this._context.getRootElement().appendChild(this._element);\n\t  };\n\t\n\t  Layer.define(\"html\", {\n\t    get: function() {\n\t      var ref;\n\t      return ((ref = this._elementHTML) != null ? ref.innerHTML : void 0) || \"\";\n\t    },\n\t    set: function(value) {\n\t      if (!this._elementHTML) {\n\t        this._elementHTML = document.createElement(\"div\");\n\t        this._element.appendChild(this._elementHTML);\n\t      }\n\t      this._elementHTML.innerHTML = value;\n\t      return this.emit(\"change:html\");\n\t    }\n\t  });\n\t\n\t  Layer.prototype.querySelector = function(query) {\n\t    return this._element.querySelector(query);\n\t  };\n\t\n\t  Layer.prototype.querySelectorAll = function(query) {\n\t    return this._element.querySelectorAll(query);\n\t  };\n\t\n\t  Layer.prototype.destroy = function() {\n\t    var ref;\n\t    if (this.superLayer) {\n\t      this.superLayer._subLayers = _.without(this.superLayer._subLayers, this);\n\t    }\n\t    if ((ref = this._element.parentNode) != null) {\n\t      ref.removeChild(this._element);\n\t    }\n\t    this.removeAllListeners();\n\t    this._context.removeLayer(this);\n\t    return this._context.emit(\"layer:destroy\", this);\n\t  };\n\t\n\t  Layer.prototype.copy = function() {\n\t    var copiedSublayer, i, layer, len, ref, subLayer;\n\t    layer = this.copySingle();\n\t    ref = this.subLayers;\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      subLayer = ref[i];\n\t      copiedSublayer = subLayer.copy();\n\t      copiedSublayer.superLayer = layer;\n\t    }\n\t    return layer;\n\t  };\n\t\n\t  Layer.prototype.copySingle = function() {\n\t    return new this.constructor(this.props);\n\t  };\n\t\n\t  Layer.define(\"image\", {\n\t    \"default\": \"\",\n\t    get: function() {\n\t      return this._getPropertyValue(\"image\");\n\t    },\n\t    set: function(value) {\n\t      var currentValue, imageUrl, loader, ref, ref1;\n\t      if (!(_.isString(value) || value === null)) {\n\t        layerValueTypeError(\"image\", value);\n\t      }\n\t      currentValue = this._getPropertyValue(\"image\");\n\t      if (currentValue === value) {\n\t        return this.emit(\"load\");\n\t      }\n\t      this.backgroundColor = null;\n\t      this._setPropertyValue(\"image\", value);\n\t      if (value === null || value === \"\") {\n\t        this.style[\"background-image\"] = null;\n\t        return;\n\t      }\n\t      imageUrl = value;\n\t      if (Utils.isLocal() && !imageUrl.match(/^https?:\\/\\//) && this._cacheImage === false) {\n\t        imageUrl += \"?nocache=\" + NoCacheDateKey;\n\t      }\n\t      if ((ref = this.events) != null ? ref.hasOwnProperty(\"load\" || ((ref1 = this.events) != null ? ref1.hasOwnProperty(\"error\") : void 0)) : void 0) {\n\t        loader = new Image();\n\t        loader.name = imageUrl;\n\t        loader.src = imageUrl;\n\t        loader.onload = (function(_this) {\n\t          return function() {\n\t            _this.style[\"background-image\"] = \"url('\" + imageUrl + \"')\";\n\t            return _this.emit(\"load\", loader);\n\t          };\n\t        })(this);\n\t        return loader.onerror = (function(_this) {\n\t          return function() {\n\t            return _this.emit(\"error\", loader);\n\t          };\n\t        })(this);\n\t      } else {\n\t        return this.style[\"background-image\"] = \"url('\" + imageUrl + \"')\";\n\t      }\n\t    }\n\t  });\n\t\n\t  Layer.define(\"superLayer\", {\n\t    enumerable: false,\n\t    exportable: false,\n\t    importable: true,\n\t    get: function() {\n\t      return this._superLayer || null;\n\t    },\n\t    set: function(layer) {\n\t      if (layer === this._superLayer) {\n\t        return;\n\t      }\n\t      if (!layer instanceof Layer) {\n\t        throw Error(\"Layer.superLayer needs to be a Layer object\");\n\t      }\n\t      Utils.domCompleteCancel(this.__insertElement);\n\t      if (this._superLayer) {\n\t        this._superLayer._subLayers = _.without(this._superLayer._subLayers, this);\n\t        this._superLayer._element.removeChild(this._element);\n\t        this._superLayer.emit(\"change:subLayers\", {\n\t          added: [],\n\t          removed: [this]\n\t        });\n\t      }\n\t      if (layer) {\n\t        layer._element.appendChild(this._element);\n\t        layer._subLayers.push(this);\n\t        layer.emit(\"change:subLayers\", {\n\t          added: [this],\n\t          removed: []\n\t        });\n\t      } else {\n\t        this._insertElement();\n\t      }\n\t      this._superLayer = layer;\n\t      this.bringToFront();\n\t      return this.emit(\"change:superLayer\");\n\t    }\n\t  });\n\t\n\t  Layer.define(\"subLayers\", {\n\t    enumerable: false,\n\t    exportable: false,\n\t    importable: false,\n\t    get: function() {\n\t      return _.clone(this._subLayers);\n\t    }\n\t  });\n\t\n\t  Layer.define(\"siblingLayers\", {\n\t    enumerable: false,\n\t    exportable: false,\n\t    importable: false,\n\t    get: function() {\n\t      if (this.superLayer === null) {\n\t        return _.filter(this._context.getLayers(), (function(_this) {\n\t          return function(layer) {\n\t            return layer !== _this && layer.superLayer === null;\n\t          };\n\t        })(this));\n\t      }\n\t      return _.without(this.superLayer.subLayers, this);\n\t    }\n\t  });\n\t\n\t  Layer.prototype.addSubLayer = function(layer) {\n\t    return layer.superLayer = this;\n\t  };\n\t\n\t  Layer.prototype.removeSubLayer = function(layer) {\n\t    if (indexOf.call(this.subLayers, layer) < 0) {\n\t      return;\n\t    }\n\t    return layer.superLayer = null;\n\t  };\n\t\n\t  Layer.prototype.subLayersByName = function(name) {\n\t    return _.filter(this.subLayers, function(layer) {\n\t      return layer.name === name;\n\t    });\n\t  };\n\t\n\t  Layer.prototype.superLayers = function(context) {\n\t    var currentLayer, superLayers;\n\t    if (context == null) {\n\t      context = false;\n\t    }\n\t    superLayers = [];\n\t    currentLayer = this;\n\t    if (context === false) {\n\t      while (currentLayer.superLayer) {\n\t        superLayers.push(currentLayer.superLayer);\n\t        currentLayer = currentLayer.superLayer;\n\t      }\n\t    } else {\n\t      while (currentLayer._superOrParentLayer()) {\n\t        superLayers.push(currentLayer._superOrParentLayer());\n\t        currentLayer = currentLayer._superOrParentLayer();\n\t      }\n\t    }\n\t    return superLayers;\n\t  };\n\t\n\t  Layer.prototype._superOrParentLayer = function() {\n\t    if (this.superLayer) {\n\t      return this.superLayer;\n\t    }\n\t    if (this._context._parentLayer) {\n\t      return this._context._parentLayer;\n\t    }\n\t  };\n\t\n\t  Layer.prototype.subLayersAbove = function(point, originX, originY) {\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    return _.filter(this.subLayers, function(layer) {\n\t      return Utils.framePointForOrigin(layer.frame, originX, originY).y < point.y;\n\t    });\n\t  };\n\t\n\t  Layer.prototype.subLayersBelow = function(point, originX, originY) {\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    return _.filter(this.subLayers, function(layer) {\n\t      return Utils.framePointForOrigin(layer.frame, originX, originY).y > point.y;\n\t    });\n\t  };\n\t\n\t  Layer.prototype.subLayersLeft = function(point, originX, originY) {\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    return _.filter(this.subLayers, function(layer) {\n\t      return Utils.framePointForOrigin(layer.frame, originX, originY).x < point.x;\n\t    });\n\t  };\n\t\n\t  Layer.prototype.subLayersRight = function(point, originX, originY) {\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    return _.filter(this.subLayers, function(layer) {\n\t      return Utils.framePointForOrigin(layer.frame, originX, originY).x > point.x;\n\t    });\n\t  };\n\t\n\t  Layer.prototype.animate = function(options) {\n\t    var animation, start;\n\t    start = options.start;\n\t    if (start == null) {\n\t      start = true;\n\t    }\n\t    delete options.start;\n\t    options.layer = this;\n\t    animation = new Animation(options);\n\t    if (start) {\n\t      animation.start();\n\t    }\n\t    return animation;\n\t  };\n\t\n\t  Layer.prototype.animations = function() {\n\t    return _.filter(this._context._animationList, (function(_this) {\n\t      return function(animation) {\n\t        return animation.options.layer === _this;\n\t      };\n\t    })(this));\n\t  };\n\t\n\t  Layer.prototype.animatingProperties = function() {\n\t    var animation, i, j, len, len1, properties, propertyName, ref, ref1;\n\t    properties = {};\n\t    ref = this.animations();\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      animation = ref[i];\n\t      ref1 = animation.animatingProperties();\n\t      for (j = 0, len1 = ref1.length; j < len1; j++) {\n\t        propertyName = ref1[j];\n\t        properties[propertyName] = animation;\n\t      }\n\t    }\n\t    return properties;\n\t  };\n\t\n\t  Layer.define(\"isAnimating\", {\n\t    enumerable: false,\n\t    exportable: false,\n\t    get: function() {\n\t      return this.animations().length !== 0;\n\t    }\n\t  });\n\t\n\t  Layer.prototype.animateStop = function() {\n\t    var ref;\n\t    _.invoke(this.animations(), \"stop\");\n\t    return (ref = this._draggable) != null ? ref.animateStop() : void 0;\n\t  };\n\t\n\t  Layer.prototype.bringToFront = function() {\n\t    return this.index = _.max(_.union([0], this.siblingLayers.map(function(layer) {\n\t      return layer.index;\n\t    }))) + 1;\n\t  };\n\t\n\t  Layer.prototype.sendToBack = function() {\n\t    return this.index = _.min(_.union([0], this.siblingLayers.map(function(layer) {\n\t      return layer.index;\n\t    }))) - 1;\n\t  };\n\t\n\t  Layer.prototype.placeBefore = function(layer) {\n\t    var i, l, len, ref;\n\t    if (indexOf.call(this.siblingLayers, layer) < 0) {\n\t      return;\n\t    }\n\t    ref = this.siblingLayers;\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      l = ref[i];\n\t      if (l.index <= layer.index) {\n\t        l.index -= 1;\n\t      }\n\t    }\n\t    return this.index = layer.index + 1;\n\t  };\n\t\n\t  Layer.prototype.placeBehind = function(layer) {\n\t    var i, l, len, ref;\n\t    if (indexOf.call(this.siblingLayers, layer) < 0) {\n\t      return;\n\t    }\n\t    ref = this.siblingLayers;\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      l = ref[i];\n\t      if (l.index >= layer.index) {\n\t        l.index += 1;\n\t      }\n\t    }\n\t    return this.index = layer.index - 1;\n\t  };\n\t\n\t  Layer.define(\"states\", {\n\t    enumerable: false,\n\t    exportable: false,\n\t    importable: false,\n\t    get: function() {\n\t      return this._states != null ? this._states : this._states = new LayerStates(this);\n\t    }\n\t  });\n\t\n\t  Layer.define(\"draggable\", {\n\t    importable: false,\n\t    exportable: false,\n\t    get: function() {\n\t      return this._draggable != null ? this._draggable : this._draggable = new LayerDraggable(this);\n\t    }\n\t  });\n\t\n\t  Layer.define(\"scrollFrame\", {\n\t    importable: false,\n\t    get: function() {\n\t      var frame;\n\t      return frame = {\n\t        x: this.scrollX,\n\t        y: this.scrollY,\n\t        width: this.width,\n\t        height: this.height\n\t      };\n\t    },\n\t    set: function(frame) {\n\t      this.scrollX = frame.x;\n\t      return this.scrollY = frame.y;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"scrollX\", {\n\t    get: function() {\n\t      return this._element.scrollLeft;\n\t    },\n\t    set: function(value) {\n\t      if (!_.isNumber(value)) {\n\t        layerValueTypeError(\"scrollX\", value);\n\t      }\n\t      return this._element.scrollLeft = value;\n\t    }\n\t  });\n\t\n\t  Layer.define(\"scrollY\", {\n\t    get: function() {\n\t      return this._element.scrollTop;\n\t    },\n\t    set: function(value) {\n\t      if (!_.isNumber(value)) {\n\t        layerValueTypeError(\"scrollY\", value);\n\t      }\n\t      return this._element.scrollTop = value;\n\t    }\n\t  });\n\t\n\t  Layer.prototype.addListener = function() {\n\t    var eventName, eventNames, i, j, len, listener, originalListener, results;\n\t    eventNames = 2 <= arguments.length ? slice.call(arguments, 0, i = arguments.length - 1) : (i = 0, []), originalListener = arguments[i++];\n\t    if (!originalListener) {\n\t      return;\n\t    }\n\t    listener = (function(_this) {\n\t      return function() {\n\t        var args;\n\t        args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n\t        return originalListener.call.apply(originalListener, [_this].concat(slice.call(args), [_this]));\n\t      };\n\t    })(this);\n\t    originalListener.modifiedListener = listener;\n\t    if (typeof eventNames === 'string') {\n\t      eventNames = [eventNames];\n\t    }\n\t    results = [];\n\t    for (j = 0, len = eventNames.length; j < len; j++) {\n\t      eventName = eventNames[j];\n\t      results.push((function(_this) {\n\t        return function(eventName) {\n\t          var base;\n\t          Layer.__super__.addListener.call(_this, eventName, listener);\n\t          _this._context.eventManager.wrap(_this._element).addEventListener(eventName, listener);\n\t          if (_this._eventListeners == null) {\n\t            _this._eventListeners = {};\n\t          }\n\t          if ((base = _this._eventListeners)[eventName] == null) {\n\t            base[eventName] = [];\n\t          }\n\t          _this._eventListeners[eventName].push(listener);\n\t          if (!_.startsWith(eventName, \"change:\")) {\n\t            return _this.ignoreEvents = false;\n\t          }\n\t        };\n\t      })(this)(eventName));\n\t    }\n\t    return results;\n\t  };\n\t\n\t  Layer.prototype.removeListener = function() {\n\t    var eventName, eventNames, i, j, len, listener, results;\n\t    eventNames = 2 <= arguments.length ? slice.call(arguments, 0, i = arguments.length - 1) : (i = 0, []), listener = arguments[i++];\n\t    if (listener.modifiedListener) {\n\t      listener = listener.modifiedListener;\n\t    }\n\t    if (typeof eventNames === 'string') {\n\t      eventNames = [eventNames];\n\t    }\n\t    results = [];\n\t    for (j = 0, len = eventNames.length; j < len; j++) {\n\t      eventName = eventNames[j];\n\t      results.push((function(_this) {\n\t        return function(eventName) {\n\t          Layer.__super__.removeListener.call(_this, eventName, listener);\n\t          _this._context.eventManager.wrap(_this._element).removeEventListener(eventName, listener);\n\t          if (_this._eventListeners) {\n\t            return _this._eventListeners[eventName] = _.without(_this._eventListeners[eventName], listener);\n\t          }\n\t        };\n\t      })(this)(eventName));\n\t    }\n\t    return results;\n\t  };\n\t\n\t  Layer.prototype.once = function(eventName, listener) {\n\t    var originalListener;\n\t    originalListener = listener;\n\t    listener = (function(_this) {\n\t      return function() {\n\t        var args;\n\t        args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n\t        originalListener.call.apply(originalListener, [_this].concat(slice.call(args), [_this]));\n\t        return _this.removeListener(eventName, listener);\n\t      };\n\t    })(this);\n\t    return this.addListener(eventName, listener);\n\t  };\n\t\n\t  Layer.prototype.removeAllListeners = function() {\n\t    var eventName, listener, listeners, ref, results;\n\t    if (!this._eventListeners) {\n\t      return;\n\t    }\n\t    ref = this._eventListeners;\n\t    results = [];\n\t    for (eventName in ref) {\n\t      listeners = ref[eventName];\n\t      results.push((function() {\n\t        var i, len, results1;\n\t        results1 = [];\n\t        for (i = 0, len = listeners.length; i < len; i++) {\n\t          listener = listeners[i];\n\t          results1.push(this.removeListener(eventName, listener));\n\t        }\n\t        return results1;\n\t      }).call(this));\n\t    }\n\t    return results;\n\t  };\n\t\n\t  Layer.prototype.on = Layer.prototype.addListener;\n\t\n\t  Layer.prototype.off = Layer.prototype.removeListener;\n\t\n\t  Layer.prototype.toInspect = function() {\n\t    var round;\n\t    round = function(value) {\n\t      if (parseInt(value) === value) {\n\t        return parseInt(value);\n\t      }\n\t      return Utils.round(value, 1);\n\t    };\n\t    if (this.name) {\n\t      return \"<\" + this.constructor.name + \" id:\" + this.id + \" name:\" + this.name + \" (\" + (round(this.x)) + \",\" + (round(this.y)) + \") \" + (round(this.width)) + \"x\" + (round(this.height)) + \">\";\n\t    }\n\t    return \"<\" + this.constructor.name + \" id:\" + this.id + \" (\" + (round(this.x)) + \",\" + (round(this.y)) + \") \" + (round(this.width)) + \"x\" + (round(this.height)) + \">\";\n\t  };\n\t\n\t  return Layer;\n\t\n\t})(BaseClass);\n\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Layer,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tLayer = __webpack_require__(3).Layer;\n\t\n\t\"Todo: make it work in a parent layer\";\n\t\n\texports.BackgroundLayer = (function(superClass) {\n\t  extend(BackgroundLayer, superClass);\n\t\n\t  function BackgroundLayer(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this.layout = bind(this.layout, this);\n\t    if (options.backgroundColor == null) {\n\t      options.backgroundColor = \"#fff\";\n\t    }\n\t    BackgroundLayer.__super__.constructor.call(this, options);\n\t    this.sendToBack();\n\t    this.layout();\n\t    this._context.eventManager.wrap(window).addEventListener(\"resize\", this.layout);\n\t  }\n\t\n\t  BackgroundLayer.prototype.layout = function() {\n\t    if (this.superLayer) {\n\t      return this.frame = {\n\t        x: 0,\n\t        y: 0,\n\t        width: this.superLayer.width,\n\t        height: this.superLayer.height\n\t      };\n\t    } else if (this._context._parentLayer) {\n\t      return this.frame = {\n\t        x: 0,\n\t        y: 0,\n\t        width: this._context._parentLayer.width,\n\t        height: this._context._parentLayer.height\n\t      };\n\t    } else {\n\t      return this.frame = {\n\t        x: 0,\n\t        y: 0,\n\t        width: window.innerWidth,\n\t        height: window.innerHeight\n\t      };\n\t    }\n\t  };\n\t\n\t  return BackgroundLayer;\n\t\n\t})(Layer);\n\n\n/***/ },\n/* 5 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Layer,\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tLayer = __webpack_require__(3).Layer;\n\t\n\texports.VideoLayer = (function(superClass) {\n\t  extend(VideoLayer, superClass);\n\t\n\t  function VideoLayer(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this.player = document.createElement(\"video\");\n\t    this.player.setAttribute(\"webkit-playsinline\", \"true\");\n\t    this.player.style.width = \"100%\";\n\t    this.player.style.height = \"100%\";\n\t    VideoLayer.__super__.constructor.call(this, options);\n\t    this.player.on = this.player.addEventListener;\n\t    this.player.off = this.player.removeEventListener;\n\t    this.video = options.video;\n\t    this._element.appendChild(this.player);\n\t  }\n\t\n\t  VideoLayer.define(\"video\", {\n\t    get: function() {\n\t      return this.player.src;\n\t    },\n\t    set: function(video) {\n\t      return this.player.src = video;\n\t    }\n\t  });\n\t\n\t  return VideoLayer;\n\t\n\t})(Layer);\n\n\n/***/ },\n/* 6 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Events, Utils, _;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tEvents = {};\n\t\n\tif (Utils.isTouch()) {\n\t  Events.TouchStart = \"touchstart\";\n\t  Events.TouchEnd = \"touchend\";\n\t  Events.TouchMove = \"touchmove\";\n\t} else {\n\t  Events.TouchStart = \"mousedown\";\n\t  Events.TouchEnd = \"mouseup\";\n\t  Events.TouchMove = \"mousemove\";\n\t}\n\t\n\tEvents.Click = Events.TouchEnd;\n\t\n\tEvents.MouseOver = \"mouseover\";\n\t\n\tEvents.MouseOut = \"mouseout\";\n\t\n\tEvents.MouseMove = \"mousemove\";\n\t\n\tEvents.MouseWheel = \"mousewheel\";\n\t\n\tEvents.AnimationStart = \"start\";\n\t\n\tEvents.AnimationStop = \"stop\";\n\t\n\tEvents.AnimationEnd = \"end\";\n\t\n\tEvents.AnimationDidStart = \"start\";\n\t\n\tEvents.AnimationDidStop = \"stop\";\n\t\n\tEvents.AnimationDidEnd = \"end\";\n\t\n\tEvents.Scroll = \"scroll\";\n\t\n\tEvents.ImageLoaded = \"load\";\n\t\n\tEvents.ImageLoadError = \"error\";\n\t\n\tEvents.touchEvent = function(event) {\n\t  var ref, ref1, touchEvent;\n\t  touchEvent = (ref = event.touches) != null ? ref[0] : void 0;\n\t  if (touchEvent == null) {\n\t    touchEvent = (ref1 = event.changedTouches) != null ? ref1[0] : void 0;\n\t  }\n\t  if (touchEvent == null) {\n\t    touchEvent = event;\n\t  }\n\t  return touchEvent;\n\t};\n\t\n\tEvents.wrap = function(element) {\n\t  return Framer.CurrentContext.eventManager.wrap(element);\n\t};\n\t\n\texports.Events = Events;\n\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar AnimatorClassBezierPresets, AnimatorClasses, BezierCurveAnimator, Config, Defaults, EventEmitter, LinearAnimator, SpringDHOAnimator, SpringRK4Animator, Utils, _, evaluateRelativeProperty, isRelativeProperty, numberRE, relativePropertyRE,\n\t  slice = [].slice,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty,\n\t  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tConfig = __webpack_require__(17).Config;\n\t\n\tDefaults = __webpack_require__(30).Defaults;\n\t\n\tEventEmitter = __webpack_require__(18).EventEmitter;\n\t\n\tLinearAnimator = __webpack_require__(22).LinearAnimator;\n\t\n\tBezierCurveAnimator = __webpack_require__(23).BezierCurveAnimator;\n\t\n\tSpringRK4Animator = __webpack_require__(25).SpringRK4Animator;\n\t\n\tSpringDHOAnimator = __webpack_require__(24).SpringDHOAnimator;\n\t\n\tAnimatorClasses = {\n\t  \"linear\": LinearAnimator,\n\t  \"bezier-curve\": BezierCurveAnimator,\n\t  \"spring-rk4\": SpringRK4Animator,\n\t  \"spring-dho\": SpringDHOAnimator\n\t};\n\t\n\tAnimatorClasses[\"spring\"] = AnimatorClasses[\"spring-rk4\"];\n\t\n\tAnimatorClasses[\"cubic-bezier\"] = AnimatorClasses[\"bezier-curve\"];\n\t\n\tAnimatorClassBezierPresets = [\"ease\", \"ease-in\", \"ease-out\", \"ease-in-out\"];\n\t\n\tnumberRE = /[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/;\n\t\n\trelativePropertyRE = new RegExp('^(?:([+-])=|)(' + numberRE.source + ')([a-z%]*)$', 'i');\n\t\n\tisRelativeProperty = function(v) {\n\t  return _.isString(v) && relativePropertyRE.test(v);\n\t};\n\t\n\tevaluateRelativeProperty = function(target, k, v) {\n\t  var match, number, ref, rest, sign, unit;\n\t  ref = relativePropertyRE.exec(v), match = ref[0], sign = ref[1], number = ref[2], unit = ref[3], rest = 5 <= ref.length ? slice.call(ref, 4) : [];\n\t  if (sign) {\n\t    return target[k] + (sign + 1) * number;\n\t  }\n\t  return +number;\n\t};\n\t\n\texports.Animation = (function(superClass) {\n\t  extend(Animation, superClass);\n\t\n\t  function Animation(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this._updateValue = bind(this._updateValue, this);\n\t    this._update = bind(this._update, this);\n\t    this._start = bind(this._start, this);\n\t    this.start = bind(this.start, this);\n\t    options = Defaults.getDefaults(\"Animation\", options);\n\t    Animation.__super__.constructor.call(this, options);\n\t    this.options = _.clone(_.defaults(options, {\n\t      layer: null,\n\t      properties: {},\n\t      curve: \"linear\",\n\t      curveOptions: {},\n\t      time: 1,\n\t      repeat: 0,\n\t      delay: 0,\n\t      debug: false\n\t    }));\n\t    if (options.origin) {\n\t      console.warn(\"Animation.origin: please use layer.originX and layer.originY\");\n\t    }\n\t    this.options.properties = Animation.filterAnimatableProperties(this.options.properties);\n\t    this._parseAnimatorOptions();\n\t    this._originalState = this._currentState();\n\t    this._repeatCounter = this.options.repeat;\n\t  }\n\t\n\t  Animation.prototype.start = function() {\n\t    var AnimatorClass, animation, k, property, ref, ref1, ref2, v;\n\t    if (this.options.layer === null) {\n\t      console.error(\"Animation: missing layer\");\n\t    }\n\t    AnimatorClass = this._animatorClass();\n\t    if (this.options.debug) {\n\t      console.log(\"Animation.start \" + AnimatorClass.name, this.options.curveOptions);\n\t    }\n\t    this._animator = new AnimatorClass(this.options.curveOptions);\n\t    this._target = this.options.layer;\n\t    this._stateA = this._currentState();\n\t    this._stateB = {};\n\t    ref = this.options.properties;\n\t    for (k in ref) {\n\t      v = ref[k];\n\t      if (_.isFunction(v)) {\n\t        v = v();\n\t      } else if (isRelativeProperty(v)) {\n\t        v = evaluateRelativeProperty(this._target, k, v);\n\t      }\n\t      if (this._stateA[k] !== v) {\n\t        this._stateB[k] = v;\n\t      }\n\t    }\n\t    if (_.keys(this._stateA).length === 0) {\n\t      console.warn(\"Animation: nothing to animate, no animatable properties\");\n\t      return false;\n\t    }\n\t    if (_.isEqual(this._stateA, this._stateB)) {\n\t      console.warn(\"Animation: nothing to animate, all properties are equal to what it is now\");\n\t      return false;\n\t    }\n\t    ref1 = this._target.animatingProperties();\n\t    for (property in ref1) {\n\t      animation = ref1[property];\n\t      if (this._stateA.hasOwnProperty(property)) {\n\t        animation.stop();\n\t      }\n\t    }\n\t    if (this.options.debug) {\n\t      console.log(\"Animation.start\");\n\t      ref2 = this._stateB;\n\t      for (k in ref2) {\n\t        v = ref2[k];\n\t        console.log(\"\\t\" + k + \": \" + this._stateA[k] + \" -> \" + this._stateB[k]);\n\t      }\n\t    }\n\t    if (this._repeatCounter > 0) {\n\t      this.once(\"end\", (function(_this) {\n\t        return function() {\n\t          var ref3;\n\t          ref3 = _this._stateA;\n\t          for (k in ref3) {\n\t            v = ref3[k];\n\t            _this._target[k] = v;\n\t          }\n\t          _this._repeatCounter--;\n\t          return _this.start();\n\t        };\n\t      })(this));\n\t    }\n\t    if (this.options.delay) {\n\t      Utils.delay(this.options.delay, this._start);\n\t    } else {\n\t      this._start();\n\t    }\n\t    return true;\n\t  };\n\t\n\t  Animation.prototype.stop = function(emit) {\n\t    if (emit == null) {\n\t      emit = true;\n\t    }\n\t    this.options.layer._context._animationList = _.without(this.options.layer._context._animationList, this);\n\t    if (emit) {\n\t      this.emit(\"stop\");\n\t    }\n\t    return Framer.Loop.off(\"update\", this._update);\n\t  };\n\t\n\t  Animation.prototype.reverse = function() {\n\t    var animation, options;\n\t    options = _.clone(this.options);\n\t    options.properties = this._originalState;\n\t    animation = new Animation(options);\n\t    return animation;\n\t  };\n\t\n\t  Animation.prototype.copy = function() {\n\t    return new Animation(_.clone(this.options));\n\t  };\n\t\n\t  Animation.prototype.revert = function() {\n\t    return this.reverse();\n\t  };\n\t\n\t  Animation.prototype.inverse = function() {\n\t    return this.reverse();\n\t  };\n\t\n\t  Animation.prototype.invert = function() {\n\t    return this.reverse();\n\t  };\n\t\n\t  Animation.prototype.emit = function(event) {\n\t    Animation.__super__.emit.apply(this, arguments);\n\t    return this.options.layer.emit(event, this);\n\t  };\n\t\n\t  Animation.prototype.animatingProperties = function() {\n\t    return _.keys(this._stateA);\n\t  };\n\t\n\t  Animation.prototype._start = function() {\n\t    this.options.layer._context._animationList.push(this);\n\t    this.emit(\"start\");\n\t    return Framer.Loop.on(\"update\", this._update);\n\t  };\n\t\n\t  Animation.prototype._update = function(delta) {\n\t    var emit;\n\t    if (this._animator.finished()) {\n\t      this._updateValue(1);\n\t      this.stop(emit = false);\n\t      this.emit(\"end\");\n\t      return this.emit(\"stop\");\n\t    } else {\n\t      return this._updateValue(this._animator.next(delta));\n\t    }\n\t  };\n\t\n\t  Animation.prototype._updateValue = function(value) {\n\t    var k, ref, v;\n\t    ref = this._stateB;\n\t    for (k in ref) {\n\t      v = ref[k];\n\t      this._target[k] = Utils.mapRange(value, 0, 1, this._stateA[k], this._stateB[k]);\n\t    }\n\t  };\n\t\n\t  Animation.prototype._currentState = function() {\n\t    return _.pick(this.options.layer, _.keys(this.options.properties));\n\t  };\n\t\n\t  Animation.prototype._animatorClass = function() {\n\t    var animatorClassName, parsedCurve;\n\t    parsedCurve = Utils.parseFunction(this.options.curve);\n\t    animatorClassName = parsedCurve.name.toLowerCase();\n\t    if (AnimatorClasses.hasOwnProperty(animatorClassName)) {\n\t      return AnimatorClasses[animatorClassName];\n\t    }\n\t    if (indexOf.call(AnimatorClassBezierPresets, animatorClassName) >= 0) {\n\t      return BezierCurveAnimator;\n\t    }\n\t    return LinearAnimator;\n\t  };\n\t\n\t  Animation.prototype._parseAnimatorOptions = function() {\n\t    var animatorClass, animatorClassName, base, base1, i, j, k, l, len, len1, parsedCurve, ref, ref1, results, value;\n\t    animatorClass = this._animatorClass();\n\t    parsedCurve = Utils.parseFunction(this.options.curve);\n\t    animatorClassName = parsedCurve.name.toLowerCase();\n\t    if (animatorClass === LinearAnimator || animatorClass === BezierCurveAnimator) {\n\t      if (_.isString(this.options.curveOptions) || _.isArray(this.options.curveOptions)) {\n\t        this.options.curveOptions = {\n\t          values: this.options.curveOptions\n\t        };\n\t      }\n\t      if ((base = this.options.curveOptions).time == null) {\n\t        base.time = this.options.time;\n\t      }\n\t    }\n\t    if ((animatorClass === BezierCurveAnimator) && indexOf.call(AnimatorClassBezierPresets, animatorClassName) >= 0) {\n\t      this.options.curveOptions.values = animatorClassName;\n\t      if ((base1 = this.options.curveOptions).time == null) {\n\t        base1.time = this.options.time;\n\t      }\n\t    }\n\t    if (parsedCurve.args.length) {\n\t      if (animatorClass === BezierCurveAnimator) {\n\t        this.options.curveOptions.values = parsedCurve.args.map(function(v) {\n\t          return parseFloat(v) || 0;\n\t        });\n\t      }\n\t      if (animatorClass === SpringRK4Animator) {\n\t        ref = [\"tension\", \"friction\", \"velocity\", \"tolerance\"];\n\t        for (i = j = 0, len = ref.length; j < len; i = ++j) {\n\t          k = ref[i];\n\t          value = parseFloat(parsedCurve.args[i]);\n\t          if (value) {\n\t            this.options.curveOptions[k] = value;\n\t          }\n\t        }\n\t      }\n\t      if (animatorClass === SpringDHOAnimator) {\n\t        ref1 = [\"stiffness\", \"damping\", \"mass\", \"tolerance\"];\n\t        results = [];\n\t        for (i = l = 0, len1 = ref1.length; l < len1; i = ++l) {\n\t          k = ref1[i];\n\t          value = parseFloat(parsedCurve.args[i]);\n\t          if (value) {\n\t            results.push(this.options.curveOptions[k] = value);\n\t          } else {\n\t            results.push(void 0);\n\t          }\n\t        }\n\t        return results;\n\t      }\n\t    }\n\t  };\n\t\n\t  Animation.filterAnimatableProperties = function(properties) {\n\t    var animatableProperties, k, v;\n\t    animatableProperties = {};\n\t    for (k in properties) {\n\t      v = properties[k];\n\t      if (_.isNumber(v) || _.isFunction(v) || isRelativeProperty(v)) {\n\t        animatableProperties[k] = v;\n\t      }\n\t    }\n\t    return animatableProperties;\n\t  };\n\t\n\t  return Animation;\n\t\n\t})(EventEmitter);\n\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar AnimationGroup, EventEmitter, _,\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tEventEmitter = __webpack_require__(18).EventEmitter;\n\t\n\tAnimationGroup = (function(superClass) {\n\t  extend(AnimationGroup, superClass);\n\t\n\t  function AnimationGroup(animations) {\n\t    if (animations == null) {\n\t      animations = [];\n\t    }\n\t    this.setAnimations(animations);\n\t    this._currentAnimation = null;\n\t  }\n\t\n\t  AnimationGroup.prototype.setAnimations = function(animations) {\n\t    return this._animations = _.map(animations, function(animation) {\n\t      return animation.copy();\n\t    });\n\t  };\n\t\n\t  AnimationGroup.prototype.start = function() {\n\t    this.emit(\"start\");\n\t    _.map(this._animations, (function(_this) {\n\t      return function(animation, index) {\n\t        var nextAnimation;\n\t        nextAnimation = _this._animations[index + 1];\n\t        if (nextAnimation) {\n\t          return animation.on(Events.AnimationEnd, function() {\n\t            nextAnimation.start();\n\t            return _this._currentAnimation = animation;\n\t          });\n\t        } else {\n\t          return animation.on(Events.AnimationEnd, function() {\n\t            _this.emit(\"end\");\n\t            return _this._currentAnimation = null;\n\t          });\n\t        }\n\t      };\n\t    })(this));\n\t    return this._animations[0].start();\n\t  };\n\t\n\t  AnimationGroup.prototype.stop = function() {\n\t    var ref;\n\t    return (ref = this._currentAnimation) != null ? ref.stop() : void 0;\n\t  };\n\t\n\t  return AnimationGroup;\n\t\n\t})(EventEmitter);\n\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar BaseClass, ScreenClass,\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\tScreenClass = (function(superClass) {\n\t  extend(ScreenClass, superClass);\n\t\n\t  function ScreenClass() {\n\t    return ScreenClass.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  ScreenClass.define(\"width\", {\n\t    get: function() {\n\t      return Framer.CurrentContext.width;\n\t    }\n\t  });\n\t\n\t  ScreenClass.define(\"height\", {\n\t    get: function() {\n\t      return Framer.CurrentContext.height;\n\t    }\n\t  });\n\t\n\t  ScreenClass.define(\"size\", {\n\t    get: function() {\n\t      return {\n\t        width: this.width,\n\t        height: this.height\n\t      };\n\t    }\n\t  });\n\t\n\t  ScreenClass.define(\"frame\", {\n\t    get: function() {\n\t      return {\n\t        x: 0,\n\t        y: 0,\n\t        width: this.width,\n\t        height: this.height\n\t      };\n\t    }\n\t  });\n\t\n\t  return ScreenClass;\n\t\n\t})(BaseClass);\n\t\n\texports.Screen = new ScreenClass;\n\n\n/***/ },\n/* 10 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar BaseClass, CanvasClass, Events,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\tEvents = __webpack_require__(6).Events;\n\t\n\tCanvasClass = (function(superClass) {\n\t  extend(CanvasClass, superClass);\n\t\n\t  function CanvasClass() {\n\t    this.addListener = bind(this.addListener, this);\n\t    return CanvasClass.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  CanvasClass.define(\"width\", {\n\t    get: function() {\n\t      return window.innerWidth;\n\t    }\n\t  });\n\t\n\t  CanvasClass.define(\"height\", {\n\t    get: function() {\n\t      return window.innerHeight;\n\t    }\n\t  });\n\t\n\t  CanvasClass.define(\"size\", {\n\t    get: function() {\n\t      return {\n\t        width: this.width,\n\t        height: this.height\n\t      };\n\t    }\n\t  });\n\t\n\t  CanvasClass.define(\"frame\", {\n\t    get: function() {\n\t      return {\n\t        x: 0,\n\t        y: 0,\n\t        width: this.width,\n\t        height: this.height\n\t      };\n\t    }\n\t  });\n\t\n\t  CanvasClass.prototype.addListener = function(eventName, listener) {\n\t    if (eventName === \"resize\") {\n\t      Events.wrap(window).addEventListener(\"resize\", (function(_this) {\n\t        return function() {\n\t          return _this.emit(\"resize\");\n\t        };\n\t      })(this));\n\t    }\n\t    return CanvasClass.__super__.addListener.call(this, eventName, listener);\n\t  };\n\t\n\t  CanvasClass.prototype.on = CanvasClass.prototype.addListener;\n\t\n\t  return CanvasClass;\n\t\n\t})(BaseClass);\n\t\n\texports.Canvas = new CanvasClass;\n\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Context, Utils, printContext, printLayer,\n\t  slice = [].slice;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tContext = __webpack_require__(16).Context;\n\t\n\t\"\\nTodo:\\n- Better looks\\n- Resizable\\n- Live in own space on top of all Framer stuff\\n\";\n\t\n\tprintContext = null;\n\t\n\tprintLayer = null;\n\t\n\texports.print = function() {\n\t  var args;\n\t  args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n\t  if (!printContext) {\n\t    printContext = new Context({\n\t      name: \"Print\"\n\t    });\n\t  }\n\t  printContext.run(function() {\n\t    var printNode, printPrefix, update;\n\t    if (!printLayer) {\n\t      printLayer = new Layer;\n\t      printLayer.scrollVertical = true;\n\t      printLayer.ignoreEvents = false;\n\t      printLayer.html = \"\";\n\t      printLayer.style = {\n\t        \"font\": \"12px/1.35em Menlo\",\n\t        \"color\": \"rgba(0,0,0,.7)\",\n\t        \"padding\": \"8px\",\n\t        \"padding-bottom\": \"30px\",\n\t        \"border-top\": \"1px solid #d9d9d9\"\n\t      };\n\t      printLayer.opacity = 0.9;\n\t      printLayer.style.zIndex = 999;\n\t      printLayer.visible = true;\n\t      printLayer.backgroundColor = \"white\";\n\t      update = function() {\n\t        printLayer.width = window.innerWidth;\n\t        printLayer.height = 160;\n\t        return printLayer.maxY = window.innerHeight;\n\t      };\n\t      update();\n\t      printContext.eventManager.wrap(window).addEventListener(\"resize\", update);\n\t    }\n\t    printPrefix = \"» \";\n\t    printNode = document.createElement(\"div\");\n\t    printNode.innerHTML = _.escape(printPrefix + args.map(Utils.inspect).join(\", \")) + \"<br>\";\n\t    printNode.style[\"-webkit-user-select\"] = \"text\";\n\t    printNode.style[\"cursor\"] = \"auto\";\n\t    return printLayer._element.appendChild(printNode);\n\t  });\n\t  return Utils.delay(0, function() {\n\t    return printLayer._element.scrollTop = printLayer._element.scrollHeight;\n\t  });\n\t};\n\n\n/***/ },\n/* 12 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar EventMappers, Events, Layer, Utils, _,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty,\n\t  slice = [].slice,\n\t  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tLayer = __webpack_require__(3).Layer;\n\t\n\tEvents = __webpack_require__(6).Events;\n\t\n\t\"ScrollComponent\\n\\ncontent <Layer>\\ncontentSize <{width:n, height:n}>\\ncontentInset <{top:n, right:n, bottom:n, left:n}> TODO\\ncontentOffset <{x:n, y:n}> TODO\\nscrollFrame <{x:n, y:n, width:n, height:n}>\\nscrollPoint <{x:n, y:n}>\\nscrollHorizontal <bool>\\nscrollVertical <bool>\\nspeedX <number>\\nspeedY <number>\\ndelaysContentTouches <bool> TODO\\nloadPreset(<\\\"ios\\\"|\\\"android\\\">) TODO\\nscrollToPoint(<{x:n, y:n}>, animate=true, animationOptions={})\\nscrollToLayer(contentLayer, originX=0, originY=0)\\nscrollFrameForContentLayer(<x:n, y:n>) <{x:n, y:n, width:n, height:n}> TODO\\nclosestContentLayer(<x:n, y:n>) <Layer> TODO\\n\\nScrollComponent Events\\n\\n(all of the draggable events)\\nScrollStart -> DragStart\\nScrollWillMove -> DragWillMove\\nScrollDidMove -> DragDidMove\\nscroll -> DragMove (html compat)\\nScrollEnd -> DragEnd\";\n\t\n\tEvents.ScrollStart = \"scrollstart\";\n\t\n\tEvents.Scroll = \"scroll\";\n\t\n\tEvents.ScrollMove = Events.Scroll;\n\t\n\tEvents.ScrollEnd = \"scrollend\";\n\t\n\tEvents.ScrollAnimationDidStart = \"scrollanimationdidstart\";\n\t\n\tEvents.ScrollAnimationDidEnd = \"scrollanimationdidend\";\n\t\n\tEventMappers = {};\n\t\n\tEventMappers[Events.Move] = Events.Move;\n\t\n\tEventMappers[Events.ScrollStart] = Events.DragStart;\n\t\n\tEventMappers[Events.ScrollMove] = Events.DragMove;\n\t\n\tEventMappers[Events.ScrollEnd] = Events.DragEnd;\n\t\n\tEventMappers[Events.ScrollAnimationDidStart] = Events.DragAnimationDidStart;\n\t\n\tEventMappers[Events.ScrollAnimationDidEnd] = Events.DragAnimationDidEnd;\n\t\n\tEventMappers[Events.DirectionLockDidStart] = Events.DirectionLockDidStart;\n\t\n\texports.ScrollComponent = (function(superClass) {\n\t  extend(ScrollComponent, superClass);\n\t\n\t  ScrollComponent.define(\"velocity\", ScrollComponent.proxyProperty(\"content.draggable.velocity\", {\n\t    importable: false\n\t  }));\n\t\n\t  ScrollComponent.define(\"scrollHorizontal\", ScrollComponent.proxyProperty(\"content.draggable.horizontal\"));\n\t\n\t  ScrollComponent.define(\"scrollVertical\", ScrollComponent.proxyProperty(\"content.draggable.vertical\"));\n\t\n\t  ScrollComponent.define(\"speedX\", ScrollComponent.proxyProperty(\"content.draggable.speedX\"));\n\t\n\t  ScrollComponent.define(\"speedY\", ScrollComponent.proxyProperty(\"content.draggable.speedY\"));\n\t\n\t  ScrollComponent.define(\"isDragging\", ScrollComponent.proxyProperty(\"content.draggable.isDragging\", {\n\t    importable: false\n\t  }));\n\t\n\t  ScrollComponent.define(\"isMoving\", ScrollComponent.proxyProperty(\"content.draggable.isMoving\", {\n\t    importable: false\n\t  }));\n\t\n\t  ScrollComponent.define(\"propagateEvents\", ScrollComponent.proxyProperty(\"content.draggable.propagateEvents\"));\n\t\n\t  ScrollComponent.define(\"directionLock\", ScrollComponent.proxyProperty(\"content.draggable.directionLock\"));\n\t\n\t  ScrollComponent.define(\"directionLockThreshold\", ScrollComponent.proxyProperty(\"content.draggable.directionLockThreshold\"));\n\t\n\t  ScrollComponent.define(\"content\", {\n\t    importable: false,\n\t    exportable: false,\n\t    get: function() {\n\t      return this._content;\n\t    }\n\t  });\n\t\n\t  ScrollComponent.define(\"mouseWheelSpeedMultiplier\", ScrollComponent.simpleProperty(\"mouseWheelSpeedMultiplier\", 1));\n\t\n\t  function ScrollComponent(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this._onMouseWheel = bind(this._onMouseWheel, this);\n\t    this.updateContent = bind(this.updateContent, this);\n\t    if (options.clip == null) {\n\t      options.clip = true;\n\t    }\n\t    if (options.name == null) {\n\t      options.name = this.constructor.name;\n\t    }\n\t    if (options.mouseWheelEnabled == null) {\n\t      options.mouseWheelEnabled = false;\n\t    }\n\t    if (options.backgroundColor == null) {\n\t      options.backgroundColor = null;\n\t    }\n\t    ScrollComponent.__super__.constructor.call(this, options);\n\t    this._contentInset = options.contentInset || Utils.rectZero();\n\t    this.setContentLayer(new Layer);\n\t    this._applyOptionsAndDefaults(options);\n\t    this._enableMouseWheelHandling();\n\t  }\n\t\n\t  ScrollComponent.prototype.calculateContentFrame = function() {\n\t    var contentFrame, size;\n\t    contentFrame = this.content.contentFrame();\n\t    return size = {\n\t      x: 0,\n\t      y: 0,\n\t      width: Math.max(this.width, contentFrame.x + contentFrame.width),\n\t      height: Math.max(this.height, contentFrame.y + contentFrame.height)\n\t    };\n\t  };\n\t\n\t  ScrollComponent.prototype.setContentLayer = function(layer) {\n\t    if (this.content) {\n\t      this._content.destroy();\n\t    }\n\t    this._content = layer;\n\t    this._content.superLayer = this;\n\t    this._content.name = (this.constructor.name.replace(\"Component\", \"\")) + \"Content\";\n\t    this._content.clip = false;\n\t    this._content.draggable.enabled = true;\n\t    this._content.draggable.momentum = true;\n\t    this._content.on(\"change:subLayers\", this.updateContent);\n\t    this.on(\"change:width\", this.updateContent);\n\t    this.on(\"change:height\", this.updateContent);\n\t    this.updateContent();\n\t    this.scrollPoint = {\n\t      x: 0,\n\t      y: 0\n\t    };\n\t    return this._content;\n\t  };\n\t\n\t  ScrollComponent.prototype.updateContent = function() {\n\t    var constraintsFrame, contentFrame;\n\t    if (!this.content) {\n\t      return;\n\t    }\n\t    contentFrame = this.calculateContentFrame();\n\t    contentFrame.x = contentFrame.x + this._contentInset.left;\n\t    contentFrame.y = contentFrame.y + this._contentInset.top;\n\t    this.content.frame = contentFrame;\n\t    constraintsFrame = this.calculateContentFrame();\n\t    constraintsFrame = {\n\t      x: -constraintsFrame.width + this.width - this._contentInset.right,\n\t      y: -constraintsFrame.height + this.height - this._contentInset.bottom,\n\t      width: constraintsFrame.width + constraintsFrame.width - this.width + this._contentInset.left + this._contentInset.right,\n\t      height: constraintsFrame.height + constraintsFrame.height - this.height + this._contentInset.top + this._contentInset.bottom\n\t    };\n\t    this.content.draggable.constraints = constraintsFrame;\n\t    if (this.content.subLayers.length) {\n\t      if (this.content.backgroundColor === Framer.Defaults.Layer.backgroundColor) {\n\t        return this.content.backgroundColor = null;\n\t      }\n\t    }\n\t  };\n\t\n\t  ScrollComponent.define(\"scroll\", {\n\t    exportable: false,\n\t    get: function() {\n\t      return this.scrollHorizontal === true || this.scrollVertical === true;\n\t    },\n\t    set: function(value) {\n\t      if (!this.content) {\n\t        return;\n\t      }\n\t      if (value === false) {\n\t        this.content.animateStop();\n\t      }\n\t      return this.scrollHorizontal = this.scrollVertical = value;\n\t    }\n\t  });\n\t\n\t  ScrollComponent.prototype._calculateContentPoint = function(scrollPoint) {\n\t    var point;\n\t    scrollPoint.x -= this.contentInset.left;\n\t    scrollPoint.y -= this.contentInset.top;\n\t    point = this._pointInConstraints(scrollPoint);\n\t    return Utils.pointInvert(point);\n\t  };\n\t\n\t  ScrollComponent.define(\"scrollX\", {\n\t    get: function() {\n\t      if (!this.content) {\n\t        return 0;\n\t      }\n\t      return 0 - this.content.x + this.contentInset.left;\n\t    },\n\t    set: function(value) {\n\t      if (!this.content) {\n\t        return;\n\t      }\n\t      this.content.draggable.animateStop();\n\t      return this.content.x = this._calculateContentPoint({\n\t        x: value,\n\t        y: 0\n\t      }).x;\n\t    }\n\t  });\n\t\n\t  ScrollComponent.define(\"scrollY\", {\n\t    get: function() {\n\t      if (!this.content) {\n\t        return 0;\n\t      }\n\t      return 0 - this.content.y + this.contentInset.top;\n\t    },\n\t    set: function(value) {\n\t      if (!this.content) {\n\t        return;\n\t      }\n\t      this.content.draggable.animateStop();\n\t      return this.content.y = this._calculateContentPoint({\n\t        x: 0,\n\t        y: value\n\t      }).y;\n\t    }\n\t  });\n\t\n\t  ScrollComponent.define(\"scrollPoint\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      var point;\n\t      return point = {\n\t        x: this.scrollX,\n\t        y: this.scrollY\n\t      };\n\t    },\n\t    set: function(point) {\n\t      if (!this.content) {\n\t        return;\n\t      }\n\t      this.scrollX = point.x;\n\t      return this.scrollY = point.y;\n\t    }\n\t  });\n\t\n\t  ScrollComponent.define(\"scrollFrame\", {\n\t    importable: true,\n\t    exportable: false,\n\t    get: function() {\n\t      var rect;\n\t      rect = this.scrollPoint;\n\t      rect.width = this.width;\n\t      rect.height = this.height;\n\t      return rect;\n\t    },\n\t    set: function(value) {\n\t      return this.scrollPoint = value;\n\t    }\n\t  });\n\t\n\t  ScrollComponent.define(\"contentInset\", {\n\t    get: function() {\n\t      return _.clone(this._contentInset);\n\t    },\n\t    set: function(contentInset) {\n\t      this._contentInset = Utils.rectZero(Utils.parseRect(contentInset));\n\t      return this.updateContent();\n\t    }\n\t  });\n\t\n\t  ScrollComponent.define(\"direction\", {\n\t    importable: false,\n\t    exportable: false,\n\t    get: function() {\n\t      var direction;\n\t      direction = this.content.draggable.direction;\n\t      if (direction === \"down\") {\n\t        return \"up\";\n\t      }\n\t      if (direction === \"up\") {\n\t        return \"down\";\n\t      }\n\t      if (direction === \"right\") {\n\t        return \"left\";\n\t      }\n\t      if (direction === \"left\") {\n\t        return \"right\";\n\t      }\n\t      return direction;\n\t    }\n\t  });\n\t\n\t  ScrollComponent.define(\"angle\", {\n\t    importable: false,\n\t    exportable: false,\n\t    get: function() {\n\t      if (!this.content) {\n\t        return 0;\n\t      }\n\t      return -this.content.draggable.angle;\n\t    }\n\t  });\n\t\n\t  ScrollComponent.prototype.scrollToPoint = function(point, animate, animationOptions) {\n\t    var contentPoint;\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    if (animationOptions == null) {\n\t      animationOptions = {\n\t        curve: \"spring(500,50,0)\"\n\t      };\n\t    }\n\t    contentPoint = this._calculateContentPoint(point);\n\t    this.content.draggable.animateStop();\n\t    if (animate) {\n\t      point = {};\n\t      if (contentPoint.hasOwnProperty(\"x\")) {\n\t        point.x = contentPoint.x;\n\t      }\n\t      if (contentPoint.hasOwnProperty(\"y\")) {\n\t        point.y = contentPoint.y;\n\t      }\n\t      animationOptions.properties = point;\n\t      this.content.animateStop();\n\t      return this.content.animate(animationOptions);\n\t    } else {\n\t      return this.content.point = contentPoint;\n\t    }\n\t  };\n\t\n\t  ScrollComponent.prototype.scrollToTop = function(animate, animationOptions) {\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    if (animationOptions == null) {\n\t      animationOptions = {\n\t        curve: \"spring(500,50,0)\"\n\t      };\n\t    }\n\t    return this.scrollToPoint({\n\t      x: 0,\n\t      y: 0\n\t    }, animate, animationOptions);\n\t  };\n\t\n\t  ScrollComponent.prototype.scrollToLayer = function(contentLayer, originX, originY, animate, animationOptions) {\n\t    var scrollPoint;\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    if (animationOptions == null) {\n\t      animationOptions = {\n\t        curve: \"spring(500,50,0)\"\n\t      };\n\t    }\n\t    if (contentLayer && contentLayer.superLayer !== this.content) {\n\t      throw Error(\"This layer is not in the scroll component content\");\n\t    }\n\t    if (!contentLayer || this.content.subLayers.length === 0) {\n\t      scrollPoint = {\n\t        x: 0,\n\t        y: 0\n\t      };\n\t    } else {\n\t      scrollPoint = this._scrollPointForLayer(contentLayer, originX, originY);\n\t      scrollPoint.x -= this.width * originX;\n\t      scrollPoint.y -= this.height * originY;\n\t    }\n\t    this.scrollToPoint(scrollPoint, animate, animationOptions);\n\t    return contentLayer;\n\t  };\n\t\n\t  ScrollComponent.prototype.scrollToClosestLayer = function(originX, originY, animate, animationOptions) {\n\t    var closestLayer;\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    if (animationOptions == null) {\n\t      animationOptions = {\n\t        curve: \"spring(500,50,0)\"\n\t      };\n\t    }\n\t    closestLayer = this.closestContentLayer(originX, originY, animate, animationOptions);\n\t    if (closestLayer) {\n\t      this.scrollToLayer(closestLayer, originX, originY);\n\t      return closestLayer;\n\t    } else {\n\t      if (!closestLayer) {\n\t        this.scrollToPoint({\n\t          x: 0,\n\t          y: 0\n\t        });\n\t      }\n\t      return null;\n\t    }\n\t  };\n\t\n\t  ScrollComponent.prototype.closestContentLayer = function(originX, originY) {\n\t    var scrollPoint;\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    scrollPoint = Utils.framePointForOrigin(this.scrollFrame, originX, originY);\n\t    return this.closestContentLayerForScrollPoint(scrollPoint, originX, originY);\n\t  };\n\t\n\t  ScrollComponent.prototype.closestContentLayerForScrollPoint = function(scrollPoint, originX, originY) {\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    return _.first(this._contentLayersSortedByDistanceForScrollPoint(scrollPoint, originX, originY));\n\t  };\n\t\n\t  ScrollComponent.prototype._scrollPointForLayer = function(layer, originX, originY, clamp) {\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    if (clamp == null) {\n\t      clamp = true;\n\t    }\n\t    return Utils.framePointForOrigin(layer, originX, originY);\n\t  };\n\t\n\t  ScrollComponent.prototype._contentLayersSortedByDistanceForScrollPoint = function(scrollPoint, originX, originY) {\n\t    if (originX == null) {\n\t      originX = 0;\n\t    }\n\t    if (originY == null) {\n\t      originY = 0;\n\t    }\n\t    return Utils.frameSortByAbsoluteDistance(scrollPoint, this.content.subLayers, originX, originY);\n\t  };\n\t\n\t  ScrollComponent.prototype._pointInConstraints = function(point) {\n\t    var maxX, maxY, minX, minY, ref;\n\t    ref = this.content.draggable._calculateConstraints(this.content.draggable.constraints), minX = ref.minX, maxX = ref.maxX, minY = ref.minY, maxY = ref.maxY;\n\t    point = {\n\t      x: -Utils.clamp(-point.x, minX, maxX),\n\t      y: -Utils.clamp(-point.y, minY, maxY)\n\t    };\n\t    return point;\n\t  };\n\t\n\t  ScrollComponent.prototype.addListener = function() {\n\t    var eventName, eventNames, i, j, len, listener, results;\n\t    eventNames = 2 <= arguments.length ? slice.call(arguments, 0, i = arguments.length - 1) : (i = 0, []), listener = arguments[i++];\n\t    ScrollComponent.__super__.addListener.apply(this, arguments);\n\t    results = [];\n\t    for (j = 0, len = eventNames.length; j < len; j++) {\n\t      eventName = eventNames[j];\n\t      if (indexOf.call(_.keys(EventMappers), eventName) >= 0) {\n\t        results.push(this.content.on(EventMappers[eventName], listener));\n\t      } else {\n\t        results.push(void 0);\n\t      }\n\t    }\n\t    return results;\n\t  };\n\t\n\t  ScrollComponent.prototype.removeListener = function() {\n\t    var eventName, eventNames, i, j, len, listener, results;\n\t    eventNames = 2 <= arguments.length ? slice.call(arguments, 0, i = arguments.length - 1) : (i = 0, []), listener = arguments[i++];\n\t    ScrollComponent.__super__.removeListener.apply(this, arguments);\n\t    results = [];\n\t    for (j = 0, len = eventNames.length; j < len; j++) {\n\t      eventName = eventNames[j];\n\t      if (indexOf.call(_.keys(EventMappers), eventName) >= 0) {\n\t        results.push(this.content.off(EventMappers[eventName], listener));\n\t      } else {\n\t        results.push(void 0);\n\t      }\n\t    }\n\t    return results;\n\t  };\n\t\n\t  ScrollComponent.prototype.on = ScrollComponent.prototype.addListener;\n\t\n\t  ScrollComponent.prototype.off = ScrollComponent.prototype.removeListener;\n\t\n\t  ScrollComponent.define(\"mouseWheelEnabled\", {\n\t    get: function() {\n\t      return this._mouseWheelEnabled;\n\t    },\n\t    set: function(value) {\n\t      this._mouseWheelEnabled = value;\n\t      return this._enableMouseWheelHandling(value);\n\t    }\n\t  });\n\t\n\t  ScrollComponent.prototype._enableMouseWheelHandling = function(enable) {\n\t    if (enable) {\n\t      return this.on(Events.MouseWheel, this._onMouseWheel);\n\t    } else {\n\t      return this.off(Events.MouseWheel, this._onMouseWheel);\n\t    }\n\t  };\n\t\n\t  ScrollComponent.prototype._onMouseWheel = function(event) {\n\t    var maxX, maxY, minX, minY, point, ref;\n\t    if (!this._mouseWheelScrolling) {\n\t      this._mouseWheelScrolling = true;\n\t      this.emit(Events.ScrollStart, event);\n\t    }\n\t    this.content.animateStop();\n\t    ref = this.content.draggable._calculateConstraints(this.content.draggable.constraints), minX = ref.minX, maxX = ref.maxX, minY = ref.minY, maxY = ref.maxY;\n\t    point = {\n\t      x: Utils.clamp(this.content.x + (event.wheelDeltaX * this.mouseWheelSpeedMultiplier), minX, maxX),\n\t      y: Utils.clamp(this.content.y + (event.wheelDeltaY * this.mouseWheelSpeedMultiplier), minY, maxY)\n\t    };\n\t    this.content.point = point;\n\t    this.emit(Events.Scroll, event);\n\t    return this._onMouseWheelEnd(event);\n\t  };\n\t\n\t  ScrollComponent.prototype._onMouseWheelEnd = Utils.debounce(0.3, function(event) {\n\t    this.emit(Events.ScrollEnd, event);\n\t    return this._mouseWheelScrolling = false;\n\t  });\n\t\n\t  ScrollComponent.prototype.copy = function() {\n\t    var contentLayer, copy;\n\t    copy = ScrollComponent.__super__.copy.apply(this, arguments);\n\t    contentLayer = _.first(_.without(copy.subLayers, copy.content));\n\t    copy.setContentLayer(contentLayer);\n\t    copy.props = this.props;\n\t    return copy;\n\t  };\n\t\n\t  ScrollComponent.wrap = function(layer, options) {\n\t    var i, j, len, len1, propKey, ref, ref1, scroll, subLayer, subLayerIndex;\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    scroll = new this(options);\n\t    ref = [\"frame\", \"image\", \"name\"];\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      propKey = ref[i];\n\t      scroll[propKey] = layer[propKey];\n\t    }\n\t    ref1 = layer.subLayers;\n\t    for (j = 0, len1 = ref1.length; j < len1; j++) {\n\t      subLayer = ref1[j];\n\t      subLayerIndex = subLayer.index;\n\t      subLayer.superLayer = scroll.content;\n\t      subLayer.index = subLayerIndex;\n\t    }\n\t    scroll.superLayer = layer.superLayer;\n\t    scroll.index = layer.index;\n\t    layer.destroy();\n\t    return scroll;\n\t  };\n\t\n\t  return ScrollComponent;\n\t\n\t})(Layer);\n\n\n/***/ },\n/* 13 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Events, ScrollComponent,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty,\n\t  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };\n\t\n\tEvents = __webpack_require__(6).Events;\n\t\n\tScrollComponent = __webpack_require__(12).ScrollComponent;\n\t\n\t\"PageComponent\\n\\noriginX <number>\\noriginY <number>\\n\\nvelocityThreshold <number>\\nanimationOptions <animationOptions={}>\\ncurrentPage <Layer>\\nclosestPage(<originX:n, originY:n>) <Layer>\\n\\nnextPage(direction=\\\"\\\", currentPage)\\nsnapToNextPage(direction=\\\"\\\", animate, animationOptions={})\\n\";\n\t\n\texports.PageComponent = (function(superClass) {\n\t  extend(PageComponent, superClass);\n\t\n\t  PageComponent.define(\"originX\", PageComponent.simpleProperty(\"originX\", .5));\n\t\n\t  PageComponent.define(\"originY\", PageComponent.simpleProperty(\"originY\", .5));\n\t\n\t  PageComponent.define(\"velocityThreshold\", PageComponent.simpleProperty(\"velocityThreshold\", 0.1));\n\t\n\t  PageComponent.define(\"animationOptions\", PageComponent.simpleProperty(\"animationOptions\", {\n\t    curve: \"spring(500,50,0)\"\n\t  }));\n\t\n\t  function PageComponent() {\n\t    this._resetHistory = bind(this._resetHistory, this);\n\t    this._scrollEnd = bind(this._scrollEnd, this);\n\t    this._onAminationEnd = bind(this._onAminationEnd, this);\n\t    this._onAminationStep = bind(this._onAminationStep, this);\n\t    this._onAminationStart = bind(this._onAminationStart, this);\n\t    this._scrollMove = bind(this._scrollMove, this);\n\t    this._scrollStart = bind(this._scrollStart, this);\n\t    PageComponent.__super__.constructor.apply(this, arguments);\n\t    this.content.draggable.momentum = false;\n\t    this.content.draggable.bounce = false;\n\t    this.on(Events.ScrollStart, this._scrollStart);\n\t    this.on(Events.ScrollEnd, this._scrollEnd);\n\t    this.content.on(\"change:frame\", _.debounce(this._scrollMove, 16));\n\t    this.content.on(\"change:subLayers\", this._resetHistory);\n\t    this._resetHistory();\n\t  }\n\t\n\t  PageComponent.define(\"closestPage\", {\n\t    get: function() {\n\t      return this.closestContentLayerForScrollPoint(this._originScrollPoint(), this.originX, this.originY);\n\t    }\n\t  });\n\t\n\t  PageComponent.define(\"currentPage\", {\n\t    get: function() {\n\t      return _.last(this._previousPages);\n\t    }\n\t  });\n\t\n\t  PageComponent.define(\"previousPage\", {\n\t    get: function() {\n\t      return this._previousPages[this._previousPages.length - 2];\n\t    }\n\t  });\n\t\n\t  PageComponent.prototype.nextPage = function(direction, currentPage) {\n\t    var layers, point;\n\t    if (direction == null) {\n\t      direction = \"right\";\n\t    }\n\t    if (currentPage == null) {\n\t      currentPage = null;\n\t    }\n\t    if (currentPage == null) {\n\t      currentPage = this.currentPage;\n\t    }\n\t    point = {\n\t      x: 0,\n\t      y: 0\n\t    };\n\t    if (currentPage) {\n\t      point = Utils.framePointForOrigin(currentPage, this.originX, this.originY);\n\t    }\n\t    if (direction === \"up\" || direction === \"top\" || direction === \"north\") {\n\t      layers = this.content.subLayersAbove(point, this.originX, this.originY);\n\t    }\n\t    if (direction === \"down\" || direction === \"bottom\" || direction === \"south\") {\n\t      layers = this.content.subLayersBelow(point, this.originX, this.originY);\n\t    }\n\t    if (direction === \"left\" || direction === \"west\") {\n\t      layers = this.content.subLayersLeft(point, this.originX, this.originY);\n\t    }\n\t    if (direction === \"right\" || direction === \"east\") {\n\t      layers = this.content.subLayersRight(point, this.originX, this.originY);\n\t    }\n\t    layers = _.without(layers, currentPage);\n\t    layers = Utils.frameSortByAbsoluteDistance(point, layers, this.originX, this.originY);\n\t    return _.first(layers);\n\t  };\n\t\n\t  PageComponent.prototype.snapToPage = function(page, animate, animationOptions) {\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    if (animationOptions == null) {\n\t      animationOptions = null;\n\t    }\n\t    this.scrollToLayer(page, this.originX, this.originY, animate, animationOptions);\n\t    if (this.currentPage !== page) {\n\t      this._previousPages.push(page);\n\t      this.emit(\"change:previousPage\", this.previousPage);\n\t      return this.emit(\"change:currentPage\", this.currentPage);\n\t    }\n\t  };\n\t\n\t  PageComponent.prototype.snapToNextPage = function(direction, animate, animationOptions) {\n\t    var nextPage;\n\t    if (direction == null) {\n\t      direction = \"right\";\n\t    }\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    if (animationOptions == null) {\n\t      animationOptions = null;\n\t    }\n\t    if (animationOptions == null) {\n\t      animationOptions = this.animationOptions;\n\t    }\n\t    nextPage = this.nextPage(direction);\n\t    if (nextPage == null) {\n\t      nextPage = this.closestPage;\n\t    }\n\t    return this.snapToPage(nextPage, animate, animationOptions);\n\t  };\n\t\n\t  PageComponent.prototype.snapToPreviousPage = function() {\n\t    if (!this.previousPage) {\n\t      return;\n\t    }\n\t    this.snapToPage(this.previousPage);\n\t    return this._previousPages = this._previousPages.slice(0, +(this._previousPages.length - 3) + 1 || 9e9);\n\t  };\n\t\n\t  PageComponent.prototype.addPage = function(page, direction) {\n\t    var directions, point, ref;\n\t    if (direction == null) {\n\t      direction = \"right\";\n\t    }\n\t    directions = [\"down\", \"bottom\", \"south\"] + [\"right\", \"east\"];\n\t    if (ref = !direction, indexOf.call(directions, ref) >= 0) {\n\t      direction = \"right\";\n\t      throw new Error(direction + \" should be in \" + directions);\n\t    }\n\t    point = {\n\t      x: 0,\n\t      y: 0\n\t    };\n\t    if (this.content.subLayers.length) {\n\t      if (direction === \"right\" || direction === \"east\") {\n\t        point.x = Utils.frameGetMaxX(this.content.contentFrame());\n\t      }\n\t      if (direction === \"down\" || direction === \"bottom\" || direction === \"south\") {\n\t        point.y = Utils.frameGetMaxY(this.content.contentFrame());\n\t      }\n\t    }\n\t    page.point = point;\n\t    if (page.superLayer !== this.content) {\n\t      return page.superLayer = this.content;\n\t    } else {\n\t      return this.updateContent();\n\t    }\n\t  };\n\t\n\t  PageComponent.prototype.setContentLayer = function(contentLayer) {\n\t    if (this.content) {\n\t      this._onAminateStop();\n\t      this.content.off(Events.AnimationStart, this._onAminationStart);\n\t      this.content.off(Events.AnimationStop, this._onAminationEnd);\n\t    }\n\t    PageComponent.__super__.setContentLayer.call(this, contentLayer);\n\t    this.content.on(Events.AnimationStart, this._onAminationStart);\n\t    return this.content.on(Events.AnimationStop, this._onAminationEnd);\n\t  };\n\t\n\t  PageComponent.prototype.horizontalPageIndex = function(page) {\n\t    return (_.sortBy(this.content.subLayers, function(l) {\n\t      return l.x;\n\t    })).indexOf(page);\n\t  };\n\t\n\t  PageComponent.prototype.verticalPageIndex = function(page) {\n\t    return (_.sortBy(this.content.subLayers, function(l) {\n\t      return l.y;\n\t    })).indexOf(page);\n\t  };\n\t\n\t  PageComponent.prototype._scrollStart = function() {\n\t    return this._currentPage = this.currentPage;\n\t  };\n\t\n\t  PageComponent.prototype._scrollMove = function() {\n\t    var currentPage;\n\t    currentPage = this.currentPage;\n\t    if (currentPage !== _.last(this._previousPages) && currentPage !== (void 0)) {\n\t      this._previousPages.push(currentPage);\n\t      return this.emit(\"change:currentPage\", {\n\t        old: this.previousPage,\n\t        \"new\": currentPage\n\t      });\n\t    }\n\t  };\n\t\n\t  PageComponent.prototype._onAminationStart = function() {\n\t    this._isMoving = true;\n\t    this._isAnimating = true;\n\t    return this.content.on(\"change:frame\", this._onAminationStep);\n\t  };\n\t\n\t  PageComponent.prototype._onAminationStep = function() {\n\t    return this.emit(Events.Move, this.content.point);\n\t  };\n\t\n\t  PageComponent.prototype._onAminationEnd = function() {\n\t    this._isMoving = false;\n\t    this._isAnimating = false;\n\t    return this.content.off(\"change:frame\", this._onAminationStep);\n\t  };\n\t\n\t  PageComponent.prototype._scrollEnd = function() {\n\t    var nextPage, velocity;\n\t    velocity = this.content.draggable.velocity;\n\t    if (Math.max(Math.abs(velocity.x), Math.abs(velocity.y)) < this.velocityThreshold) {\n\t      this.snapToPage(this.closestPage, true, this.animationOptions);\n\t      return;\n\t    }\n\t    nextPage = this.nextPage(this.direction, this._currentPage);\n\t    if (nextPage == null) {\n\t      nextPage = this.closestPage;\n\t    }\n\t    return this.snapToPage(nextPage, true, this.animationOptions);\n\t  };\n\t\n\t  PageComponent.prototype._originScrollPoint = function() {\n\t    var scrollPoint;\n\t    scrollPoint = this.scrollPoint;\n\t    scrollPoint.x += this.width * this.originX;\n\t    scrollPoint.y += this.height * this.originY;\n\t    return scrollPoint;\n\t  };\n\t\n\t  PageComponent.prototype._resetHistory = function() {\n\t    this._currentPage = this.closestPage;\n\t    return this._previousPages = [this._currentPage];\n\t  };\n\t\n\t  return PageComponent;\n\t\n\t})(ScrollComponent);\n\n\n/***/ },\n/* 14 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Events, Layer, Utils,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tLayer = __webpack_require__(3).Layer;\n\t\n\tEvents = __webpack_require__(6).Events;\n\t\n\t\"SliderComponent\\n\\nknob <layer>\\nknobSize <width, height>\\nfill <layer>\\nmin <number>\\nmax <number>\\n\\npointForValue(<n>)\\nvalueForPoint(<n>)\\n\\nanimateToValue(value, animationOptions={})\";\n\t\n\texports.SliderComponent = (function(superClass) {\n\t  extend(SliderComponent, superClass);\n\t\n\t  function SliderComponent(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this._updateValue = bind(this._updateValue, this);\n\t    this._setRadius = bind(this._setRadius, this);\n\t    this._updateFrame = bind(this._updateFrame, this);\n\t    this._updateKnob = bind(this._updateKnob, this);\n\t    this._updateFill = bind(this._updateFill, this);\n\t    this._touchDown = bind(this._touchDown, this);\n\t    if (options.backgroundColor == null) {\n\t      options.backgroundColor = \"#ccc\";\n\t    }\n\t    if (options.borderRadius == null) {\n\t      options.borderRadius = 50;\n\t    }\n\t    if (options.clip == null) {\n\t      options.clip = false;\n\t    }\n\t    if (options.width == null) {\n\t      options.width = 300;\n\t    }\n\t    if (options.height == null) {\n\t      options.height = 10;\n\t    }\n\t    this.knob = new Layer({\n\t      backgroundColor: \"#fff\",\n\t      shadowY: 1,\n\t      shadowBlur: 3,\n\t      shadowColor: \"rgba(0,0,0,0.35)\"\n\t    });\n\t    this.fill = new Layer({\n\t      backgroundColor: \"#333\",\n\t      width: 0,\n\t      borderRadius: 50,\n\t      force2d: true\n\t    });\n\t    SliderComponent.__super__.constructor.call(this, options);\n\t    this.knobSize = options.knobSize || 30;\n\t    this.knob.superLayer = this.fill.superLayer = this;\n\t    this.fill.height = this.height;\n\t    this.knob.draggable.enabled = true;\n\t    this.knob.draggable.speedY = 0;\n\t    this.knob.draggable.overdrag = false;\n\t    this.knob.draggable.momentum = true;\n\t    this.knob.draggable.momentumOptions = {\n\t      friction: 5,\n\t      tolerance: 0.25\n\t    };\n\t    this.knob.draggable.bounce = false;\n\t    this.knob.draggable.propagateEvents = false;\n\t    this.knob.borderRadius = \"50%\";\n\t    this._updateFrame();\n\t    this.on(\"change:frame\", this._updateFrame);\n\t    this.on(\"change:borderRadius\", this._setRadius);\n\t    this.knob.on(\"change:x\", this._updateFill);\n\t    this.knob.on(\"change:x\", this._updateValue);\n\t    this.knob.on(\"change:size\", this._updateKnob);\n\t    this.knob.on(Events.DragMove, this._updateFrame);\n\t    this.on(Events.TouchStart, this._touchDown);\n\t  }\n\t\n\t  SliderComponent.prototype._touchDown = function(event) {\n\t    var offsetX;\n\t    event.preventDefault();\n\t    event.stopPropagation();\n\t    offsetX = (this.min / this.canvasScaleX()) - this.min;\n\t    this.value = this.valueForPoint(event.x - this.screenScaledFrame().x) / this.canvasScaleX() - offsetX;\n\t    return this.knob.draggable._touchStart(event);\n\t  };\n\t\n\t  SliderComponent.prototype._updateFill = function() {\n\t    return this.fill.width = this.knob.midX;\n\t  };\n\t\n\t  SliderComponent.prototype._updateKnob = function() {\n\t    this.knob.midX = this.fill.width;\n\t    return this.knob.centerY();\n\t  };\n\t\n\t  SliderComponent.prototype._updateFrame = function() {\n\t    this.knob.draggable.constraints = {\n\t      x: -this.knob.width / 2,\n\t      width: this.width + this.knob.width\n\t    };\n\t    return this.knob.centerY();\n\t  };\n\t\n\t  SliderComponent.prototype._setRadius = function() {\n\t    var radius;\n\t    radius = this.borderRadius;\n\t    return this.fill.style.borderRadius = radius + \"px 0 0 \" + radius + \"px\";\n\t  };\n\t\n\t  SliderComponent.define(\"knobSize\", {\n\t    get: function() {\n\t      return this._knobSize;\n\t    },\n\t    set: function(value) {\n\t      this._knobSize = value;\n\t      this.knob.width = this._knobSize;\n\t      this.knob.height = this._knobSize;\n\t      this.knob.centerY();\n\t      return this._updateFrame();\n\t    }\n\t  });\n\t\n\t  SliderComponent.define(\"min\", {\n\t    get: function() {\n\t      return this._min || 0;\n\t    },\n\t    set: function(value) {\n\t      return this._min = value;\n\t    }\n\t  });\n\t\n\t  SliderComponent.define(\"max\", {\n\t    get: function() {\n\t      return this._max || 1;\n\t    },\n\t    set: function(value) {\n\t      return this._max = value;\n\t    }\n\t  });\n\t\n\t  SliderComponent.define(\"value\", {\n\t    get: function() {\n\t      return this.valueForPoint(this.knob.midX);\n\t    },\n\t    set: function(value) {\n\t      this.knob.midX = this.pointForValue(value);\n\t      return this._updateFill();\n\t    }\n\t  });\n\t\n\t  SliderComponent.prototype._updateValue = function() {\n\t    return this.emit(\"change:value\", this.value);\n\t  };\n\t\n\t  SliderComponent.prototype.pointForValue = function(value) {\n\t    return Utils.modulate(value, [this.min, this.max], [0, this.width], true);\n\t  };\n\t\n\t  SliderComponent.prototype.valueForPoint = function(value) {\n\t    return Utils.modulate(value, [0, this.width], [this.min, this.max], true);\n\t  };\n\t\n\t  SliderComponent.prototype.animateToValue = function(value, animationOptions) {\n\t    if (animationOptions == null) {\n\t      animationOptions = {\n\t        curve: \"spring(300,25,0)\"\n\t      };\n\t    }\n\t    animationOptions.properties = {\n\t      x: this.pointForValue(value)\n\t    };\n\t    return this.knob.animate(animationOptions);\n\t  };\n\t\n\t  return SliderComponent;\n\t\n\t})(Layer);\n\n\n/***/ },\n/* 15 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar AppleWatch38Device, AppleWatch42Device, BaseClass, Defaults, DeviceComponentDefaultDevice, Devices, Events, Layer, Nexus5BaseDevice, Nexus5BaseDeviceHand, Nexus9BaseDevice, Utils, _, iPadAirBaseDevice, iPadAirBaseDeviceHand, iPadMiniBaseDevice, iPadMiniBaseDeviceHand, iPhone5BaseDevice, iPhone5BaseDeviceHand, iPhone5CBaseDevice, iPhone5CBaseDeviceHand, iPhone6BaseDevice, iPhone6BaseDeviceHand, iPhone6PlusBaseDevice, iPhone6PlusBaseDeviceHand,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tDeviceComponentDefaultDevice = \"iphone-6-silver\";\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\tLayer = __webpack_require__(3).Layer;\n\t\n\tDefaults = __webpack_require__(30).Defaults;\n\t\n\tEvents = __webpack_require__(6).Events;\n\t\n\t\n\t/*\n\t\n\tDevice._setup()\n\tDevice._update()\n\tDevice._setupContext()\n\t\n\tDevice.fullScreen bool\n\tDevice.deviceType str\n\tDevice.padding int\n\t\n\tDevice.orientation(orientation:float)\n\tDevice.orientationName landscape|portrait|unknown\n\tDevice.rotateLeft()\n\tDevice.rotateRight()\n\t\n\tDevice.setDeviceScale(zoom:float, animate:bool)\n\tDevice.setContentScale(zoom:float, animate:bool)\n\t\n\tDevice.keyboard bool\n\tDevice.setKeyboard(visible:bool, animate:bool)\n\tDevice.showKeyboard(animate:bool)\n\tDevice.hideKeyboard(animate:bool)\n\tDevice.toggleKeyboard(animate:bool)\n\t\n\t\n\t * Events\n\tEvents.DeviceTypeDidChange\n\tEvents.DeviceFullScreenDidChange\n\tEvents.DeviceKeyboardWillShow\n\tEvents.DeviceKeyboardDidShow\n\t */\n\t\n\texports.DeviceComponent = (function(superClass) {\n\t  extend(DeviceComponent, superClass);\n\t\n\t  DeviceComponent.define(\"context\", {\n\t    get: function() {\n\t      return this._context;\n\t    }\n\t  });\n\t\n\t  function DeviceComponent(options) {\n\t    var defaults;\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this._animateKeyboard = bind(this._animateKeyboard, this);\n\t    this._updateDeviceImage = bind(this._updateDeviceImage, this);\n\t    this._update = bind(this._update, this);\n\t    defaults = Defaults.getDefaults(\"DeviceComponent\", options);\n\t    if (Framer.Defaults.hasOwnProperty(\"DeviceView\")) {\n\t      defaults = _.extend(defaults, Framer.Defaults.DeviceView);\n\t    }\n\t    this._setup();\n\t    this.animationOptions = defaults.animationOptions;\n\t    this.deviceType = defaults.deviceType;\n\t    _.extend(this, _.defaults(options, defaults));\n\t  }\n\t\n\t  DeviceComponent.prototype._setup = function() {\n\t    var i, layer, len, ref;\n\t    if (this._setupDone) {\n\t      return;\n\t    }\n\t    this._setupDone = true;\n\t    this.background = new Layer;\n\t    this.background.clip = true;\n\t    this.background.backgroundColor = \"transparent\";\n\t    this.background.classList.add(\"DeviceBackground\");\n\t    this.phone = new Layer;\n\t    this.screen = new Layer({\n\t      superLayer: this.phone\n\t    });\n\t    this.viewport = new Layer({\n\t      superLayer: this.screen\n\t    });\n\t    this.content = new Layer({\n\t      superLayer: this.viewport\n\t    });\n\t    this.phone.backgroundColor = \"transparent\";\n\t    this.phone.classList.add(\"DevicePhone\");\n\t    this.screen.backgroundColor = \"transparent\";\n\t    this.screen.classList.add(\"DeviceScreen\");\n\t    this.viewport.backgroundColor = \"transparent\";\n\t    this.viewport.classList.add(\"DeviceComponentPort\");\n\t    this.content.backgroundColor = \"transparent\";\n\t    this.content.classList.add(\"DeviceContent\");\n\t    this.content.originX = 0;\n\t    this.content.originY = 0;\n\t    this.keyboardLayer = new Layer({\n\t      superLayer: this.viewport\n\t    });\n\t    this.keyboardLayer.on(\"click\", (function(_this) {\n\t      return function() {\n\t        return _this.toggleKeyboard();\n\t      };\n\t    })(this));\n\t    this.keyboardLayer.classList.add(\"DeviceKeyboard\");\n\t    this.keyboardLayer.backgroundColor = \"transparent\";\n\t    Framer.CurrentContext.eventManager.wrap(window).addEventListener(\"resize\", this._update);\n\t    ref = [this.background, this.phone, this.viewport, this.content, this.screen];\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      layer = ref[i];\n\t      layer.on(\"touchmove\", function(event) {\n\t        return event.preventDefault();\n\t      });\n\t    }\n\t    return this._context = new Framer.Context({\n\t      parentLayer: this.content,\n\t      name: \"Device\"\n\t    });\n\t  };\n\t\n\t  DeviceComponent.prototype._update = function() {\n\t    var backgroundOverlap, contentScaleFactor, height, i, layer, len, ref, ref1, width;\n\t    contentScaleFactor = this.contentScale;\n\t    if (contentScaleFactor > 1) {\n\t      contentScaleFactor = 1;\n\t    }\n\t    if (this._shouldRenderFullScreen()) {\n\t      ref = [this.background, this.phone, this.viewport, this.content, this.screen];\n\t      for (i = 0, len = ref.length; i < len; i++) {\n\t        layer = ref[i];\n\t        layer.x = layer.y = 0;\n\t        layer.width = window.innerWidth / contentScaleFactor;\n\t        layer.height = window.innerHeight / contentScaleFactor;\n\t        layer.scale = 1;\n\t      }\n\t      this.content.scale = contentScaleFactor;\n\t      return this._positionKeyboard();\n\t    } else {\n\t      backgroundOverlap = 100;\n\t      this.background.x = 0 - backgroundOverlap;\n\t      this.background.y = 0 - backgroundOverlap;\n\t      this.background.width = window.innerWidth + (2 * backgroundOverlap);\n\t      this.background.height = window.innerHeight + (2 * backgroundOverlap);\n\t      this.phone.scale = this._calculatePhoneScale();\n\t      this.phone.center();\n\t      ref1 = this._getOrientationDimensions(this._device.screenWidth / contentScaleFactor, this._device.screenHeight / contentScaleFactor), width = ref1[0], height = ref1[1];\n\t      this.screen.width = this._device.screenWidth;\n\t      this.screen.height = this._device.screenHeight;\n\t      this.viewport.width = this.content.width = width;\n\t      this.viewport.height = this.content.height = height;\n\t      return this.screen.center();\n\t    }\n\t  };\n\t\n\t  DeviceComponent.prototype._shouldRenderFullScreen = function() {\n\t    if (!this._device) {\n\t      return true;\n\t    }\n\t    if (this.fullScreen === true) {\n\t      return true;\n\t    }\n\t    if (this.deviceType === \"fullscreen\") {\n\t      return true;\n\t    }\n\t    if (Utils.deviceType() === \"phone\" && Utils.deviceType() === this._device.deviceType) {\n\t      return true;\n\t    }\n\t    if (Utils.deviceType() === \"tablet\" && Utils.deviceType() === this._device.deviceType) {\n\t      return true;\n\t    }\n\t    if (Utils.deviceType() === \"phone\" && this._device.deviceType === \"tablet\") {\n\t      return true;\n\t    }\n\t    return false;\n\t  };\n\t\n\t  DeviceComponent.prototype.setupContext = function() {\n\t    return Framer.CurrentContext = this._context;\n\t  };\n\t\n\t  DeviceComponent.define(\"fullScreen\", {\n\t    get: function() {\n\t      return this._fullScreen;\n\t    },\n\t    set: function(fullScreen) {\n\t      return this._setFullScreen(fullScreen);\n\t    }\n\t  });\n\t\n\t  DeviceComponent.prototype._setFullScreen = function(fullScreen) {\n\t    if (this._deviceType === \"fullscreen\") {\n\t      return;\n\t    }\n\t    if (!_.isBoolean(fullScreen)) {\n\t      return;\n\t    }\n\t    if (fullScreen === this._fullScreen) {\n\t      return;\n\t    }\n\t    this._fullScreen = fullScreen;\n\t    if (fullScreen === true) {\n\t      this.phone.image = \"\";\n\t    } else {\n\t      this._updateDeviceImage();\n\t    }\n\t    this._update();\n\t    this.keyboard = false;\n\t    this._positionKeyboard();\n\t    return this.emit(\"change:fullScreen\");\n\t  };\n\t\n\t  DeviceComponent.define(\"deviceType\", {\n\t    get: function() {\n\t      return this._deviceType;\n\t    },\n\t    set: function(deviceType) {\n\t      var device, shouldZoomToFit;\n\t      if (deviceType === this._deviceType) {\n\t        return;\n\t      }\n\t      device = null;\n\t      if (_.isString(deviceType)) {\n\t        device = Devices[deviceType.toLowerCase()];\n\t      }\n\t      if (!device) {\n\t        throw Error(\"No device named \" + deviceType + \". Options are: \" + (_.keys(Devices)));\n\t      }\n\t      if (this._device === device) {\n\t        return;\n\t      }\n\t      shouldZoomToFit = this._deviceType === \"fullscreen\";\n\t      this._device = _.clone(device);\n\t      this._deviceType = deviceType;\n\t      this.fullscreen = false;\n\t      this._updateDeviceImage();\n\t      this._update();\n\t      this.keyboard = false;\n\t      this._positionKeyboard();\n\t      this.emit(\"change:deviceType\");\n\t      if (shouldZoomToFit) {\n\t        return this.deviceScale = \"fit\";\n\t      }\n\t    }\n\t  });\n\t\n\t  DeviceComponent.prototype._updateDeviceImage = function() {\n\t    if (/PhantomJS/.test(navigator.userAgent)) {\n\t      return;\n\t    }\n\t    if (this._shouldRenderFullScreen()) {\n\t      return this.phone.image = \"\";\n\t    } else if (!this._deviceImageUrl(this._deviceImageName())) {\n\t      return this.phone.image = \"\";\n\t    } else {\n\t      this.phone._cacheImage = true;\n\t      this.phone.image = this._deviceImageUrl(this._deviceImageName());\n\t      this.phone.width = this._device.deviceImageWidth;\n\t      return this.phone.height = this._device.deviceImageHeight;\n\t    }\n\t  };\n\t\n\t  DeviceComponent.prototype._deviceImageName = function() {\n\t    if (this._device.hasOwnProperty(\"deviceImage\")) {\n\t      return this._device.deviceImage;\n\t    }\n\t    return this._deviceType + \".png\";\n\t  };\n\t\n\t  DeviceComponent.prototype._deviceImageUrl = function(name) {\n\t    var resourceUrl;\n\t    if (!name) {\n\t      return null;\n\t    }\n\t    if (_.startsWith(name, \"http://\") || _.startsWith(name, \"https://\")) {\n\t      return name;\n\t    }\n\t    if (Utils.isFramerStudio() && window.FramerStudioInfo) {\n\t      resourceUrl = window.FramerStudioInfo.deviceImagesUrl;\n\t    } else {\n\t      resourceUrl = \"//resources.framerjs.com/static/DeviceResources\";\n\t    }\n\t    if (Utils.isJP2Supported() && (this._device.deviceImageJP2 != null) === true) {\n\t      return resourceUrl + \"/\" + (name.replace(\".png\", \".jp2\"));\n\t    } else {\n\t      return resourceUrl + \"/\" + name;\n\t    }\n\t  };\n\t\n\t  DeviceComponent.define(\"deviceScale\", {\n\t    get: function() {\n\t      if (this._shouldRenderFullScreen()) {\n\t        return 1;\n\t      }\n\t      return this._deviceScale || 1;\n\t    },\n\t    set: function(deviceScale) {\n\t      return this.setDeviceScale(deviceScale, false);\n\t    }\n\t  });\n\t\n\t  DeviceComponent.prototype.setDeviceScale = function(deviceScale, animate) {\n\t    var phoneScale;\n\t    if (animate == null) {\n\t      animate = false;\n\t    }\n\t    if (deviceScale === \"fit\" || deviceScale < 0) {\n\t      deviceScale = \"fit\";\n\t    } else {\n\t      deviceScale = parseFloat(deviceScale);\n\t    }\n\t    if (deviceScale === this._deviceScale) {\n\t      return;\n\t    }\n\t    this._deviceScale = deviceScale;\n\t    if (this._shouldRenderFullScreen()) {\n\t      return;\n\t    }\n\t    if (deviceScale === \"fit\") {\n\t      phoneScale = this._calculatePhoneScale();\n\t    } else {\n\t      phoneScale = deviceScale;\n\t    }\n\t    this.phone.animateStop();\n\t    if (animate) {\n\t      this.phone.animate(_.extend(this.animationOptions, {\n\t        properties: {\n\t          scale: phoneScale\n\t        }\n\t      }));\n\t    } else {\n\t      this.phone.scale = phoneScale;\n\t      this.phone.center();\n\t    }\n\t    return this.emit(\"change:deviceScale\");\n\t  };\n\t\n\t  DeviceComponent.prototype._calculatePhoneScale = function() {\n\t    var height, paddingOffset, phoneScale, ref, ref1, width;\n\t    if (this._deviceScale && this._deviceScale !== \"fit\") {\n\t      return this._deviceScale;\n\t    }\n\t    ref = this._getOrientationDimensions(this.phone.width, this.phone.height), width = ref[0], height = ref[1];\n\t    paddingOffset = ((ref1 = this._device) != null ? ref1.paddingOffset : void 0) || 0;\n\t    phoneScale = _.min([(window.innerWidth - ((this.padding + paddingOffset) * 2)) / width, (window.innerHeight - ((this.padding + paddingOffset) * 2)) / height]);\n\t    return phoneScale;\n\t  };\n\t\n\t  DeviceComponent.define(\"contentScale\", {\n\t    get: function() {\n\t      return this._contentScale || 1;\n\t    },\n\t    set: function(contentScale) {\n\t      return this.setContentScale(contentScale, false);\n\t    }\n\t  });\n\t\n\t  DeviceComponent.prototype.setContentScale = function(contentScale, animate) {\n\t    if (animate == null) {\n\t      animate = false;\n\t    }\n\t    contentScale = parseFloat(contentScale);\n\t    if (contentScale <= 0) {\n\t      return;\n\t    }\n\t    if (contentScale === this._contentScale) {\n\t      return;\n\t    }\n\t    this._contentScale = contentScale;\n\t    if (animate) {\n\t      this.content.animate(_.extend(this.animationOptions, {\n\t        properties: {\n\t          scale: this._contentScale\n\t        }\n\t      }));\n\t    } else {\n\t      this.content.scale = this._contentScale;\n\t    }\n\t    this._update();\n\t    return this.emit(\"change:contentScale\");\n\t  };\n\t\n\t  DeviceComponent.define(\"orientation\", {\n\t    get: function() {\n\t      return this._orientation || 0;\n\t    },\n\t    set: function(orientation) {\n\t      return this.setOrientation(orientation, false);\n\t    }\n\t  });\n\t\n\t  DeviceComponent.prototype.setOrientation = function(orientation, animate) {\n\t    var _hadKeyboard, animation, contentProperties, height, phoneProperties, ref, ref1, width, x, y;\n\t    if (animate == null) {\n\t      animate = false;\n\t    }\n\t    if (orientation === \"portrait\") {\n\t      orientation = 0;\n\t    }\n\t    if (orientation === \"landscape\") {\n\t      orientation = 90;\n\t    }\n\t    if (this._shouldRenderFullScreen()) {\n\t      return;\n\t    }\n\t    orientation = parseInt(orientation);\n\t    if (orientation !== 0 && orientation !== 90 && orientation !== (-90)) {\n\t      return;\n\t    }\n\t    if (orientation === this._orientation) {\n\t      return;\n\t    }\n\t    this._orientation = orientation;\n\t    phoneProperties = {\n\t      rotationZ: this._orientation,\n\t      scale: this._calculatePhoneScale()\n\t    };\n\t    ref = this._getOrientationDimensions(this._device.screenWidth, this._device.screenHeight), width = ref[0], height = ref[1];\n\t    ref1 = [(this.screen.width - width) / 2, (this.screen.height - height) / 2], x = ref1[0], y = ref1[1];\n\t    contentProperties = {\n\t      rotationZ: -this._orientation,\n\t      width: width,\n\t      height: height,\n\t      x: x,\n\t      y: y\n\t    };\n\t    _hadKeyboard = this.keyboard;\n\t    if (_hadKeyboard) {\n\t      this.hideKeyboard(false);\n\t    }\n\t    this.phone.animateStop();\n\t    this.viewport.animateStop();\n\t    if (animate) {\n\t      animation = this.phone.animate(_.extend(this.animationOptions, {\n\t        properties: phoneProperties\n\t      }));\n\t      this.viewport.animate(_.extend(this.animationOptions, {\n\t        properties: contentProperties\n\t      }));\n\t      animation.on(Events.AnimationEnd, (function(_this) {\n\t        return function() {\n\t          return _this._update();\n\t        };\n\t      })(this));\n\t      if (_hadKeyboard) {\n\t        animation.on(Events.AnimationEnd, (function(_this) {\n\t          return function() {\n\t            return _this.showKeyboard(true);\n\t          };\n\t        })(this));\n\t      }\n\t    } else {\n\t      this.phone.props = phoneProperties;\n\t      this.viewport.props = contentProperties;\n\t      this._update();\n\t      if (_hadKeyboard) {\n\t        this.showKeyboard(true);\n\t      }\n\t    }\n\t    this._renderKeyboard();\n\t    return this.emit(\"change:orientation\");\n\t  };\n\t\n\t  DeviceComponent.prototype.isPortrait = function() {\n\t    return Math.abs(this._orientation) !== 90;\n\t  };\n\t\n\t  DeviceComponent.prototype.isLandscape = function() {\n\t    return !this.isPortrait();\n\t  };\n\t\n\t  DeviceComponent.define(\"orientationName\", {\n\t    get: function() {\n\t      if (this.isPortrait()) {\n\t        return \"portrait\";\n\t      }\n\t      if (this.isLandscape()) {\n\t        return \"landscape\";\n\t      }\n\t    },\n\t    set: function(orientationName) {\n\t      return this.setOrientation(orientationName, false);\n\t    }\n\t  });\n\t\n\t  DeviceComponent.prototype.rotateLeft = function(animate) {\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    if (this.orientation === 90) {\n\t      return;\n\t    }\n\t    return this.setOrientation(this.orientation + 90, animate);\n\t  };\n\t\n\t  DeviceComponent.prototype.rotateRight = function(animate) {\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    if (this.orientation === -90) {\n\t      return;\n\t    }\n\t    return this.setOrientation(this.orientation - 90, animate);\n\t  };\n\t\n\t  DeviceComponent.prototype._getOrientationDimensions = function(width, height) {\n\t    if (this.isLandscape()) {\n\t      return [height, width];\n\t    } else {\n\t      return [width, height];\n\t    }\n\t  };\n\t\n\t  DeviceComponent.define(\"keyboard\", {\n\t    get: function() {\n\t      return this._keyboard;\n\t    },\n\t    set: function(keyboard) {\n\t      return this.setKeyboard(keyboard, false);\n\t    }\n\t  });\n\t\n\t  DeviceComponent.prototype.setKeyboard = function(keyboard, animate) {\n\t    var ref, ref1;\n\t    if (animate == null) {\n\t      animate = false;\n\t    }\n\t    if (!this._device.hasOwnProperty(\"keyboards\")) {\n\t      return;\n\t    }\n\t    if (_.isString(keyboard)) {\n\t      if ((ref = keyboard.toLowerCase()) === \"1\" || ref === \"true\") {\n\t        keyboard = true;\n\t      } else if ((ref1 = keyboard.toLowerCase()) === \"0\" || ref1 === \"false\") {\n\t        keyboard = false;\n\t      } else {\n\t        return;\n\t      }\n\t    }\n\t    if (!_.isBoolean(keyboard)) {\n\t      return;\n\t    }\n\t    if (keyboard === this._keyboard) {\n\t      return;\n\t    }\n\t    this._keyboard = keyboard;\n\t    this.emit(\"change:keyboard\");\n\t    if (keyboard === true) {\n\t      this.emit(\"keyboard:show:start\");\n\t      return this._animateKeyboard(this._keyboardShowY(), animate, (function(_this) {\n\t        return function() {\n\t          return _this.emit(\"keyboard:show:end\");\n\t        };\n\t      })(this));\n\t    } else {\n\t      this.emit(\"keyboard:hide:start\");\n\t      return this._animateKeyboard(this._keyboardHideY(), animate, (function(_this) {\n\t        return function() {\n\t          return _this.emit(\"keyboard:hide:end\");\n\t        };\n\t      })(this));\n\t    }\n\t  };\n\t\n\t  DeviceComponent.prototype.showKeyboard = function(animate) {\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    return this.setKeyboard(true, animate);\n\t  };\n\t\n\t  DeviceComponent.prototype.hideKeyboard = function(animate) {\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    return this.setKeyboard(false, animate);\n\t  };\n\t\n\t  DeviceComponent.prototype.toggleKeyboard = function(animate) {\n\t    if (animate == null) {\n\t      animate = true;\n\t    }\n\t    return this.setKeyboard(!this.keyboard, animate);\n\t  };\n\t\n\t  DeviceComponent.prototype._renderKeyboard = function() {\n\t    if (!this._device.keyboards) {\n\t      return;\n\t    }\n\t    this.keyboardLayer.image = this._deviceImageUrl(this._device.keyboards[this.orientationName].image);\n\t    this.keyboardLayer.width = this._device.keyboards[this.orientationName].width;\n\t    return this.keyboardLayer.height = this._device.keyboards[this.orientationName].height;\n\t  };\n\t\n\t  DeviceComponent.prototype._positionKeyboard = function() {\n\t    this.keyboardLayer.centerX();\n\t    if (this.keyboard) {\n\t      return this._animateKeyboard(this._keyboardShowY(), false);\n\t    } else {\n\t      return this._animateKeyboard(this._keyboardHideY(), false);\n\t    }\n\t  };\n\t\n\t  DeviceComponent.prototype._animateKeyboard = function(y, animate, callback) {\n\t    var animation;\n\t    this.keyboardLayer.bringToFront();\n\t    this.keyboardLayer.animateStop();\n\t    if (animate === false) {\n\t      this.keyboardLayer.y = y;\n\t      return typeof callback === \"function\" ? callback() : void 0;\n\t    } else {\n\t      animation = this.keyboardLayer.animate(_.extend(this.animationOptions, {\n\t        properties: {\n\t          y: y\n\t        }\n\t      }));\n\t      return animation.on(Events.AnimationEnd, callback);\n\t    }\n\t  };\n\t\n\t  DeviceComponent.prototype._keyboardShowY = function() {\n\t    return this.viewport.height - this.keyboardLayer.height;\n\t  };\n\t\n\t  DeviceComponent.prototype._keyboardHideY = function() {\n\t    return this.viewport.height;\n\t  };\n\t\n\t  return DeviceComponent;\n\t\n\t})(BaseClass);\n\t\n\tiPhone6BaseDevice = {\n\t  deviceImageWidth: 870,\n\t  deviceImageHeight: 1738,\n\t  deviceImageJP2: true,\n\t  screenWidth: 750,\n\t  screenHeight: 1334,\n\t  deviceType: \"phone\"\n\t};\n\t\n\tiPhone6BaseDeviceHand = _.extend({}, iPhone6BaseDevice, {\n\t  deviceImageWidth: 1988,\n\t  deviceImageHeight: 2368,\n\t  deviceImageJP2: true,\n\t  paddingOffset: -150\n\t});\n\t\n\tiPhone6PlusBaseDevice = {\n\t  deviceImageWidth: 1460,\n\t  deviceImageHeight: 2900,\n\t  deviceImageJP2: true,\n\t  screenWidth: 1242,\n\t  screenHeight: 2208,\n\t  deviceType: \"phone\"\n\t};\n\t\n\tiPhone6PlusBaseDeviceHand = _.extend({}, iPhone6PlusBaseDevice, {\n\t  deviceImageWidth: 3128,\n\t  deviceImageHeight: 3487,\n\t  deviceImageJP2: true,\n\t  paddingOffset: -150\n\t});\n\t\n\tiPhone5BaseDevice = {\n\t  deviceImageWidth: 780,\n\t  deviceImageHeight: 1608,\n\t  deviceImageJP2: true,\n\t  screenWidth: 640,\n\t  screenHeight: 1136,\n\t  deviceType: \"phone\"\n\t};\n\t\n\tiPhone5BaseDeviceHand = _.extend({}, iPhone5BaseDevice, {\n\t  deviceImageWidth: 1884,\n\t  deviceImageHeight: 2234,\n\t  deviceImageJP2: true,\n\t  paddingOffset: -200\n\t});\n\t\n\tiPhone5CBaseDevice = {\n\t  deviceImageWidth: 776,\n\t  deviceImageHeight: 1612,\n\t  deviceImageJP2: true,\n\t  screenWidth: 640,\n\t  screenHeight: 1136,\n\t  deviceType: \"phone\"\n\t};\n\t\n\tiPhone5CBaseDeviceHand = _.extend({}, iPhone5CBaseDevice, {\n\t  deviceImageWidth: 1894,\n\t  deviceImageHeight: 2244,\n\t  deviceImageJP2: true,\n\t  paddingOffset: -200\n\t});\n\t\n\tiPadMiniBaseDevice = {\n\t  deviceImageWidth: 872,\n\t  deviceImageHeight: 1292,\n\t  deviceImageJP2: true,\n\t  screenWidth: 768,\n\t  screenHeight: 1024,\n\t  deviceType: \"tablet\"\n\t};\n\t\n\tiPadMiniBaseDeviceHand = _.extend({}, iPadMiniBaseDevice, {\n\t  deviceImageWidth: 1380,\n\t  deviceImageHeight: 2072,\n\t  deviceImageJP2: true,\n\t  paddingOffset: -120\n\t});\n\t\n\tiPadAirBaseDevice = {\n\t  deviceImageWidth: 1769,\n\t  deviceImageHeight: 2509,\n\t  deviceImageJP2: true,\n\t  screenWidth: 1536,\n\t  screenHeight: 2048,\n\t  deviceType: \"tablet\"\n\t};\n\t\n\tiPadAirBaseDeviceHand = _.extend({}, iPadAirBaseDevice, {\n\t  deviceImageWidth: 4744,\n\t  deviceImageHeight: 4101,\n\t  deviceImageJP2: true,\n\t  paddingOffset: -120\n\t});\n\t\n\tNexus5BaseDevice = {\n\t  deviceImageWidth: 1208,\n\t  deviceImageHeight: 2440,\n\t  deviceImageJP2: true,\n\t  screenWidth: 1080,\n\t  screenHeight: 1920,\n\t  deviceType: \"phone\"\n\t};\n\t\n\tNexus5BaseDeviceHand = _.extend({}, Nexus5BaseDevice, {\n\t  deviceImageWidth: 2692,\n\t  deviceImageHeight: 2996,\n\t  deviceImageJP2: true,\n\t  paddingOffset: -120\n\t});\n\t\n\tNexus9BaseDevice = {\n\t  deviceImageWidth: 1733,\n\t  deviceImageHeight: 2575,\n\t  deviceImageJP2: true,\n\t  screenWidth: 1536,\n\t  screenHeight: 2048,\n\t  deviceType: \"tablet\"\n\t};\n\t\n\tAppleWatch42Device = {\n\t  deviceImageWidth: 552,\n\t  deviceImageHeight: 938,\n\t  deviceImageJP2: true,\n\t  screenWidth: 312,\n\t  screenHeight: 390\n\t};\n\t\n\tAppleWatch38Device = {\n\t  deviceImageWidth: 508,\n\t  deviceImageHeight: 900,\n\t  deviceImageJP2: true,\n\t  screenWidth: 272,\n\t  screenHeight: 340\n\t};\n\t\n\tDevices = {\n\t  \"fullscreen\": {\n\t    name: \"Fullscreen\",\n\t    deviceType: \"desktop\"\n\t  },\n\t  \"desktop-safari-1024-600\": {\n\t    deviceType: \"browser\",\n\t    name: \"Desktop Safari 1024 x 600\",\n\t    screenWidth: 1024,\n\t    screenHeight: 600,\n\t    deviceImageWidth: 1136,\n\t    deviceImageHeight: 760,\n\t    deviceImageJP2: true\n\t  },\n\t  \"desktop-safari-1280-800\": {\n\t    deviceType: \"browser\",\n\t    name: \"Desktop Safari 1280 x 800\",\n\t    screenWidth: 1280,\n\t    screenHeight: 800,\n\t    deviceImageWidth: 1392,\n\t    deviceImageHeight: 960,\n\t    deviceImageJP2: true\n\t  },\n\t  \"desktop-safari-1440-900\": {\n\t    deviceType: \"browser\",\n\t    name: \"Desktop Safari 1440 x 900\",\n\t    screenWidth: 1440,\n\t    screenHeight: 900,\n\t    deviceImageWidth: 1552,\n\t    deviceImageHeight: 1060,\n\t    deviceImageJP2: true\n\t  },\n\t  \"iphone-6-spacegray\": iPhone6BaseDevice,\n\t  \"iphone-6-spacegray-hand\": iPhone6BaseDeviceHand,\n\t  \"iphone-6-silver\": iPhone6BaseDevice,\n\t  \"iphone-6-silver-hand\": iPhone6BaseDeviceHand,\n\t  \"iphone-6-gold\": iPhone6BaseDevice,\n\t  \"iphone-6-gold-hand\": iPhone6BaseDeviceHand,\n\t  \"iphone-6plus-spacegray\": iPhone6PlusBaseDevice,\n\t  \"iphone-6plus-spacegray-hand\": iPhone6PlusBaseDeviceHand,\n\t  \"iphone-6plus-silver\": iPhone6PlusBaseDevice,\n\t  \"iphone-6plus-silver-hand\": iPhone6PlusBaseDeviceHand,\n\t  \"iphone-6plus-gold\": iPhone6PlusBaseDevice,\n\t  \"iphone-6plus-gold-hand\": iPhone6PlusBaseDeviceHand,\n\t  \"iphone-5s-spacegray\": iPhone5BaseDevice,\n\t  \"iphone-5s-spacegray-hand\": iPhone5BaseDeviceHand,\n\t  \"iphone-5s-silver\": iPhone5BaseDevice,\n\t  \"iphone-5s-silver-hand\": iPhone5BaseDeviceHand,\n\t  \"iphone-5s-gold\": iPhone5BaseDevice,\n\t  \"iphone-5s-gold-hand\": iPhone5BaseDeviceHand,\n\t  \"iphone-5c-green\": iPhone5CBaseDevice,\n\t  \"iphone-5c-green-hand\": iPhone5CBaseDeviceHand,\n\t  \"iphone-5c-blue\": iPhone5CBaseDevice,\n\t  \"iphone-5c-blue-hand\": iPhone5CBaseDeviceHand,\n\t  \"iphone-5c-pink\": iPhone5CBaseDevice,\n\t  \"iphone-5c-pink-hand\": iPhone5CBaseDeviceHand,\n\t  \"iphone-5c-white\": iPhone5CBaseDevice,\n\t  \"iphone-5c-white-hand\": iPhone5CBaseDeviceHand,\n\t  \"iphone-5c-yellow\": iPhone5CBaseDevice,\n\t  \"iphone-5c-yellow-hand\": iPhone5CBaseDeviceHand,\n\t  \"ipad-mini-spacegray\": iPadMiniBaseDevice,\n\t  \"ipad-mini-spacegray-hand\": iPadMiniBaseDeviceHand,\n\t  \"ipad-mini-silver\": iPadMiniBaseDevice,\n\t  \"ipad-mini-silver-hand\": iPadMiniBaseDeviceHand,\n\t  \"ipad-air-spacegray\": iPadAirBaseDevice,\n\t  \"ipad-air-spacegray-hand\": iPadAirBaseDeviceHand,\n\t  \"ipad-air-silver\": iPadAirBaseDevice,\n\t  \"ipad-air-silver-hand\": iPadAirBaseDeviceHand,\n\t  \"nexus-5-black\": Nexus5BaseDevice,\n\t  \"nexus-5-black-hand\": Nexus5BaseDeviceHand,\n\t  \"nexus-9\": Nexus9BaseDevice,\n\t  \"applewatchsport-38-aluminum-sportband-black\": AppleWatch38Device,\n\t  \"applewatchsport-38-aluminum-sportband-blue\": AppleWatch38Device,\n\t  \"applewatchsport-38-aluminum-sportband-green\": AppleWatch38Device,\n\t  \"applewatchsport-38-aluminum-sportband-pink\": AppleWatch38Device,\n\t  \"applewatchsport-38-aluminum-sportband-white\": AppleWatch38Device,\n\t  \"applewatch-38-black-bracelet\": AppleWatch38Device,\n\t  \"applewatch-38-steel-bracelet\": AppleWatch38Device,\n\t  \"applewatchedition-38-gold-buckle-blue\": AppleWatch38Device,\n\t  \"applewatchedition-38-gold-buckle-gray\": AppleWatch38Device,\n\t  \"applewatchedition-38-gold-buckle-red\": AppleWatch38Device,\n\t  \"applewatchedition-38-gold-sportband-black\": AppleWatch38Device,\n\t  \"applewatchedition-38-gold-sportband-white\": AppleWatch38Device,\n\t  \"applewatchsport-42-aluminum-sportband-black\": AppleWatch42Device,\n\t  \"applewatchsport-42-aluminum-sportband-blue\": AppleWatch42Device,\n\t  \"applewatchsport-42-aluminum-sportband-green\": AppleWatch42Device,\n\t  \"applewatchsport-42-aluminum-sportband-pink\": AppleWatch42Device,\n\t  \"applewatchsport-42-aluminum-sportband-white\": AppleWatch42Device,\n\t  \"applewatch-42-black-bracelet\": AppleWatch42Device,\n\t  \"applewatch-42-steel-bracelet\": AppleWatch42Device,\n\t  \"applewatchedition-42-gold-buckle-blue\": AppleWatch42Device,\n\t  \"applewatchedition-42-gold-buckle-gray\": AppleWatch42Device,\n\t  \"applewatchedition-42-gold-buckle-red\": AppleWatch42Device,\n\t  \"applewatchedition-42-gold-sportband-black\": AppleWatch42Device,\n\t  \"applewatchedition-42-gold-sportband-white\": AppleWatch42Device\n\t};\n\t\n\texports.DeviceComponent.Devices = Devices;\n\n\n/***/ },\n/* 16 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar BaseClass, Config, Counter, EventManager, Utils, _,\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty,\n\t  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };\n\t\n\tUtils = __webpack_require__(2);\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\tConfig = __webpack_require__(17).Config;\n\t\n\tEventManager = __webpack_require__(32).EventManager;\n\t\n\tCounter = 1;\n\t\n\texports.Context = (function(superClass) {\n\t  extend(Context, superClass);\n\t\n\t  function Context(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    Context.__super__.constructor.apply(this, arguments);\n\t    Counter++;\n\t    options = _.defaults(options, {\n\t      contextName: null,\n\t      parentLayer: null,\n\t      name: null\n\t    });\n\t    if (!options.name) {\n\t      throw Error(\"Contexts need a name\");\n\t    }\n\t    this._parentLayer = options.parentLayer;\n\t    this._name = options.name;\n\t    this.reset();\n\t  }\n\t\n\t  Context.prototype.reset = function() {\n\t    var animation, i, len, ref, ref1, ref2, ref3;\n\t    if ((ref = this.eventManager) != null) {\n\t      ref.reset();\n\t    }\n\t    this.eventManager = new EventManager;\n\t    if (this._rootElement) {\n\t      if (this._rootElement.parentNode) {\n\t        this._rootElement.parentNode.removeChild(this._rootElement);\n\t      } else {\n\t        this._rootElement.__cancelAppendChild = true;\n\t      }\n\t    }\n\t    this._rootElement = this._createRootElement();\n\t    if ((ref1 = this._delayTimers) != null) {\n\t      ref1.map(function(timer) {\n\t        return window.clearTimeout(timer);\n\t      });\n\t    }\n\t    if ((ref2 = this._delayIntervals) != null) {\n\t      ref2.map(function(timer) {\n\t        return window.clearInterval(timer);\n\t      });\n\t    }\n\t    if (this._animationList) {\n\t      ref3 = this._animationList;\n\t      for (i = 0, len = ref3.length; i < len; i++) {\n\t        animation = ref3[i];\n\t        animation.stop(false);\n\t      }\n\t    }\n\t    this._layerList = [];\n\t    this._animationList = [];\n\t    this._delayTimers = [];\n\t    this._delayIntervals = [];\n\t    this._layerIdCounter = 1;\n\t    return this.emit(\"reset\", this);\n\t  };\n\t\n\t  Context.prototype.destroy = function() {\n\t    this.reset();\n\t    if (this._rootElement.parentNode) {\n\t      this._rootElement.parentNode.removeChild(this._rootElement);\n\t    }\n\t    return this._rootElement.__cancelAppendChild = true;\n\t  };\n\t\n\t  Context.prototype.getRootElement = function() {\n\t    return this._rootElement;\n\t  };\n\t\n\t  Context.prototype.getLayers = function() {\n\t    return _.clone(this._layerList);\n\t  };\n\t\n\t  Context.prototype.addLayer = function(layer) {\n\t    if (indexOf.call(this._layerList, layer) >= 0) {\n\t      return;\n\t    }\n\t    this._layerList.push(layer);\n\t    return null;\n\t  };\n\t\n\t  Context.prototype.removeLayer = function(layer) {\n\t    this._layerList = _.without(this._layerList, layer);\n\t    return null;\n\t  };\n\t\n\t  Context.prototype.layerCount = function() {\n\t    return this._layerList.length;\n\t  };\n\t\n\t  Context.prototype.nextLayerId = function() {\n\t    return this._layerIdCounter++;\n\t  };\n\t\n\t  Context.prototype._createRootElement = function() {\n\t    var element, parentElement, ref;\n\t    element = document.createElement(\"div\");\n\t    element.id = \"FramerContextRoot-\" + this._name;\n\t    element.classList.add(\"framerContext\");\n\t    parentElement = (ref = this._parentLayer) != null ? ref._element : void 0;\n\t    Framer.Loop.once(\"render\", function() {\n\t      if (parentElement == null) {\n\t        parentElement = document.body;\n\t      }\n\t      if (!element.__cancelAppendChild) {\n\t        return parentElement.appendChild(element);\n\t      }\n\t    });\n\t    return element;\n\t  };\n\t\n\t  Context.prototype.run = function(f) {\n\t    var previousContext;\n\t    previousContext = Framer.CurrentContext;\n\t    Framer.CurrentContext = this;\n\t    f();\n\t    return Framer.CurrentContext = previousContext;\n\t  };\n\t\n\t  Context.define(\"width\", {\n\t    get: function() {\n\t      if (this._parentLayer) {\n\t        return this._parentLayer.width;\n\t      }\n\t      return window.innerWidth;\n\t    }\n\t  });\n\t\n\t  Context.define(\"height\", {\n\t    get: function() {\n\t      if (this._parentLayer) {\n\t        return this._parentLayer.height;\n\t      }\n\t      return window.innerHeight;\n\t    }\n\t  });\n\t\n\t  return Context;\n\t\n\t})(BaseClass);\n\n\n/***/ },\n/* 17 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar FramerCSS, Utils;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tFramerCSS = \"body {\\n\tmargin: 0;\\n}\\n\\n.framerContext {\t\\n\tposition: absolute;\\n\tleft: 0;\\n\ttop: 0;\\n\tright: 0;\\n\tbottom: 0;\\n\tpointer-events: none;\\n\toverflow: hidden;\\n}\\n\\n.framerLayer {\\n\tdisplay: block;\\n\tposition: absolute;\\n\tbackground-repeat: no-repeat;\\n\tbackground-size: cover;\\n\t-webkit-overflow-scrolling: touch;\\n\t-webkit-box-sizing: border-box;\\n\t-webkit-user-select: none;\\n}\\n\\n.framerLayer input,\\n.framerLayer textarea,\\n.framerLayer select,\\n.framerLayer option,\\n.framerLayer div[contenteditable=true]\\n{\\n\tpointer-events: auto;\\n\t-webkit-user-select: auto;\\n}\\n\\n.framerDebug {\\n\tpadding: 6px;\\n\tcolor: #fff;\\n\tfont: 10px/1em Monaco;\\n}\\n\";\n\t\n\tUtils.domComplete(function() {\n\t  return Utils.insertCSS(FramerCSS);\n\t});\n\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar EventEmitter;\n\t\n\tEventEmitter = __webpack_require__(40).EventEmitter;\n\t\n\texports.EventEmitter = EventEmitter;\n\n\n/***/ },\n/* 19 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar CounterKey, DefinedPropertiesKey, DefinedPropertiesValuesKey, EventEmitter, Utils, _, capitalizeFirstLetter,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tEventEmitter = __webpack_require__(18).EventEmitter;\n\t\n\tCounterKey = \"_ObjectCounter\";\n\t\n\tDefinedPropertiesKey = \"_DefinedPropertiesKey\";\n\t\n\tDefinedPropertiesValuesKey = \"_DefinedPropertiesValuesKey\";\n\t\n\tcapitalizeFirstLetter = function(string) {\n\t  return string.charAt(0).toUpperCase() + string.slice(1);\n\t};\n\t\n\texports.BaseClass = (function(superClass) {\n\t  extend(BaseClass, superClass);\n\t\n\t  BaseClass.define = function(propertyName, descriptor) {\n\t    var getName, i, j, len, ref, setName;\n\t    ref = [\"enumerable\", \"exportable\", \"importable\"];\n\t    for (j = 0, len = ref.length; j < len; j++) {\n\t      i = ref[j];\n\t      if (descriptor.hasOwnProperty(i)) {\n\t        if (!_.isBoolean(descriptor[i])) {\n\t          throw Error(\"woops \" + propertyName + \" \" + descriptor[i]);\n\t        }\n\t      }\n\t    }\n\t    if (this !== BaseClass) {\n\t      descriptor.propertyName = propertyName;\n\t      if (descriptor.enumerable == null) {\n\t        descriptor.enumerable = true;\n\t      }\n\t      if (descriptor.exportable == null) {\n\t        descriptor.exportable = true;\n\t      }\n\t      if (descriptor.importable == null) {\n\t        descriptor.importable = true;\n\t      }\n\t      descriptor.importable = descriptor.importable && descriptor.set;\n\t      if (descriptor.exportable || descriptor.importable) {\n\t        if (this[DefinedPropertiesKey] == null) {\n\t          this[DefinedPropertiesKey] = {};\n\t        }\n\t        this[DefinedPropertiesKey][propertyName] = descriptor;\n\t      }\n\t    }\n\t    getName = \"get\" + (capitalizeFirstLetter(propertyName));\n\t    this.prototype[getName] = descriptor.get;\n\t    descriptor.get = this.prototype[getName];\n\t    if (descriptor.set) {\n\t      setName = \"set\" + (capitalizeFirstLetter(propertyName));\n\t      this.prototype[setName] = descriptor.set;\n\t      descriptor.set = this.prototype[setName];\n\t    }\n\t    return Object.defineProperty(this.prototype, propertyName, descriptor);\n\t  };\n\t\n\t  BaseClass.simpleProperty = function(name, fallback, options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    return _.extend(options, {\n\t      \"default\": fallback,\n\t      get: function() {\n\t        return this._getPropertyValue(name);\n\t      },\n\t      set: function(value) {\n\t        return this._setPropertyValue(name, value);\n\t      }\n\t    });\n\t  };\n\t\n\t  BaseClass.proxyProperty = function(keyPath, options) {\n\t    var objectKey;\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    objectKey = keyPath.split(\".\")[0];\n\t    return _.extend(options, {\n\t      get: function() {\n\t        if (!_.isObject(this[objectKey])) {\n\t          return;\n\t        }\n\t        return Utils.getValueForKeyPath(this, keyPath);\n\t      },\n\t      set: function(value) {\n\t        if (!_.isObject(this[objectKey])) {\n\t          return;\n\t        }\n\t        return Utils.setValueForKeyPath(this, keyPath, value);\n\t      }\n\t    });\n\t  };\n\t\n\t  BaseClass.prototype._setPropertyValue = function(k, v) {\n\t    return this[DefinedPropertiesValuesKey][k] = v;\n\t  };\n\t\n\t  BaseClass.prototype._getPropertyValue = function(k) {\n\t    return Utils.valueOrDefault(this[DefinedPropertiesValuesKey][k], this._getPropertyDefaultValue(k));\n\t  };\n\t\n\t  BaseClass.prototype._getPropertyDefaultValue = function(k) {\n\t    return this._propertyList()[k][\"default\"];\n\t  };\n\t\n\t  BaseClass.prototype._propertyList = function() {\n\t    return this.constructor[DefinedPropertiesKey];\n\t  };\n\t\n\t  BaseClass.prototype.keys = function() {\n\t    return _.keys(this.props);\n\t  };\n\t\n\t  BaseClass.define(\"props\", {\n\t    importable: false,\n\t    exportable: false,\n\t    get: function() {\n\t      var descriptor, key, keys, propertyList;\n\t      keys = [];\n\t      propertyList = this._propertyList();\n\t      for (key in propertyList) {\n\t        descriptor = propertyList[key];\n\t        if (descriptor.exportable) {\n\t          keys.push(key);\n\t        }\n\t      }\n\t      return _.pick(this, keys);\n\t    },\n\t    set: function(value) {\n\t      var k, propertyList, ref, results, v;\n\t      propertyList = this._propertyList();\n\t      results = [];\n\t      for (k in value) {\n\t        v = value[k];\n\t        if ((ref = propertyList[k]) != null ? ref.importable : void 0) {\n\t          results.push(this[k] = v);\n\t        } else {\n\t          results.push(void 0);\n\t        }\n\t      }\n\t      return results;\n\t    }\n\t  });\n\t\n\t  BaseClass.define(\"id\", {\n\t    get: function() {\n\t      return this._id;\n\t    }\n\t  });\n\t\n\t  BaseClass.prototype.toInspect = function() {\n\t    return \"<\" + this.constructor.name + \" id:\" + (this.id || null) + \">\";\n\t  };\n\t\n\t  function BaseClass(options) {\n\t    this.toInspect = bind(this.toInspect, this);\n\t    this._getPropertyValue = bind(this._getPropertyValue, this);\n\t    this._setPropertyValue = bind(this._setPropertyValue, this);\n\t    var base;\n\t    BaseClass.__super__.constructor.apply(this, arguments);\n\t    this._context = typeof Framer !== \"undefined\" && Framer !== null ? Framer.CurrentContext : void 0;\n\t    this[DefinedPropertiesValuesKey] = {};\n\t    if ((base = this.constructor)[CounterKey] == null) {\n\t      base[CounterKey] = 0;\n\t    }\n\t    this.constructor[CounterKey] += 1;\n\t    this._id = this.constructor[CounterKey];\n\t    this._applyOptionsAndDefaults(options);\n\t  }\n\t\n\t  BaseClass.prototype._applyOptionsAndDefaults = function(options) {\n\t    var descriptor, key, ref, results, value;\n\t    ref = this._propertyList();\n\t    results = [];\n\t    for (key in ref) {\n\t      descriptor = ref[key];\n\t      if (descriptor.set) {\n\t        value = Utils.valueOrDefault((descriptor.importable ? options != null ? options[key] : void 0 : void 0), this._getPropertyDefaultValue(key));\n\t        if (!(value === null || value === (void 0))) {\n\t          results.push(this[key] = value);\n\t        } else {\n\t          results.push(void 0);\n\t        }\n\t      } else {\n\t        results.push(void 0);\n\t      }\n\t    }\n\t    return results;\n\t  };\n\t\n\t  return BaseClass;\n\t\n\t})(EventEmitter);\n\n\n/***/ },\n/* 20 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar _Force2DProperties, _WebkitProperties, filterFormat;\n\t\n\tfilterFormat = function(value, unit) {\n\t  return \"\" + (Utils.round(value, 2)) + unit;\n\t};\n\t\n\t_WebkitProperties = [[\"blur\", \"blur\", 0, \"px\"], [\"brightness\", \"brightness\", 100, \"%\"], [\"saturate\", \"saturate\", 100, \"%\"], [\"hue-rotate\", \"hueRotate\", 0, \"deg\"], [\"contrast\", \"contrast\", 100, \"%\"], [\"invert\", \"invert\", 0, \"%\"], [\"grayscale\", \"grayscale\", 0, \"%\"], [\"sepia\", \"sepia\", 0, \"%\"]];\n\t\n\t_Force2DProperties = {\n\t  \"z\": 0,\n\t  \"scaleX\": 1,\n\t  \"scaleY\": 1,\n\t  \"scaleZ\": 1,\n\t  \"skewX\": 0,\n\t  \"skewY\": 0,\n\t  \"rotationX\": 0,\n\t  \"rotationY\": 0\n\t};\n\t\n\texports.LayerStyle = {\n\t  width: function(layer) {\n\t    return layer._properties.width + \"px\";\n\t  },\n\t  height: function(layer) {\n\t    return layer._properties.height + \"px\";\n\t  },\n\t  display: function(layer) {\n\t    if (layer._properties.visible === true) {\n\t      return \"block\";\n\t    }\n\t    return \"none\";\n\t  },\n\t  opacity: function(layer) {\n\t    return layer._properties.opacity;\n\t  },\n\t  overflow: function(layer) {\n\t    if (layer._properties.scrollHorizontal === true || layer._properties.scrollVertical === true) {\n\t      return \"auto\";\n\t    }\n\t    if (layer._properties.clip === true) {\n\t      return \"hidden\";\n\t    }\n\t    return \"visible\";\n\t  },\n\t  overflowX: function(layer) {\n\t    if (layer._properties.scrollHorizontal === true) {\n\t      return \"scroll\";\n\t    }\n\t    if (layer._properties.clip === true) {\n\t      return \"hidden\";\n\t    }\n\t    return \"visible\";\n\t  },\n\t  overflowY: function(layer) {\n\t    if (layer._properties.scrollVertical === true) {\n\t      return \"scroll\";\n\t    }\n\t    if (layer._properties.clip === true) {\n\t      return \"hidden\";\n\t    }\n\t    return \"visible\";\n\t  },\n\t  zIndex: function(layer) {\n\t    return layer._properties.index;\n\t  },\n\t  webkitFilter: function(layer) {\n\t    var css, cssName, fallback, i, layerName, len, ref, unit;\n\t    css = [];\n\t    for (i = 0, len = _WebkitProperties.length; i < len; i++) {\n\t      ref = _WebkitProperties[i], cssName = ref[0], layerName = ref[1], fallback = ref[2], unit = ref[3];\n\t      if (layer._properties.hasOwnProperty(layerName) && layer[layerName] !== fallback) {\n\t        css.push(cssName + \"(\" + (filterFormat(layer[layerName], unit)) + \")\");\n\t      }\n\t    }\n\t    return css.join(\" \");\n\t  },\n\t  webkitTransform: function(layer) {\n\t    if (layer._prefer2d || layer._properties.force2d) {\n\t      return exports.LayerStyle.webkitTransformForce2d(layer);\n\t    }\n\t    return \"translate3d(\" + layer._properties.x + \"px,\" + layer._properties.y + \"px,\" + layer._properties.z + \"px) scale(\" + layer._properties.scale + \") scale3d(\" + layer._properties.scaleX + \",\" + layer._properties.scaleY + \",\" + layer._properties.scaleZ + \") skew(\" + layer._properties.skew + \"deg,\" + layer._properties.skew + \"deg) skewX(\" + layer._properties.skewX + \"deg) skewY(\" + layer._properties.skewY + \"deg) rotateX(\" + layer._properties.rotationX + \"deg) rotateY(\" + layer._properties.rotationY + \"deg) rotateZ(\" + layer._properties.rotationZ + \"deg)\";\n\t  },\n\t  webkitTransformForce2d: function(layer) {\n\t    var css, p, v;\n\t    css = [];\n\t    for (p in _Force2DProperties) {\n\t      v = _Force2DProperties[p];\n\t      if (layer._properties[p] !== v) {\n\t        console.warn(\"Layer property '\" + p + \"'' will be ignored with force2d enabled\");\n\t      }\n\t    }\n\t    css.push(\"translate(\" + layer._properties.x + \"px,\" + layer._properties.y + \"px)\");\n\t    css.push(\"scale(\" + layer._properties.scale + \")\");\n\t    css.push(\"skew(\" + layer._properties.skew + \"deg,\" + layer._properties.skew + \"deg)\");\n\t    css.push(\"rotate(\" + layer._properties.rotationZ + \"deg)\");\n\t    return css.join(\" \");\n\t  },\n\t  webkitTransformOrigin: function(layer) {\n\t    return (layer._properties.originX * 100) + \"% \" + (layer._properties.originY * 100) + \"%\";\n\t  },\n\t  webkitPerspective: function(layer) {\n\t    return \"\" + layer._properties.perspective;\n\t  },\n\t  pointerEvents: function(layer) {\n\t    if (layer._properties.ignoreEvents) {\n\t      return \"none\";\n\t    } else {\n\t      return \"auto\";\n\t    }\n\t  },\n\t  boxShadow: function(layer) {\n\t    if (!layer._properties.shadowColor) {\n\t      return \"\";\n\t    }\n\t    return layer._properties.shadowX + \"px \" + layer._properties.shadowY + \"px \" + layer._properties.shadowBlur + \"px \" + layer._properties.shadowSpread + \"px \" + layer._properties.shadowColor;\n\t  },\n\t  backgroundColor: function(layer) {\n\t    return layer._properties.backgroundColor;\n\t  },\n\t  color: function(layer) {\n\t    return layer._properties.color;\n\t  },\n\t  borderRadius: function(layer) {\n\t    if (!_.isNumber(layer._properties.borderRadius)) {\n\t      return layer._properties.borderRadius;\n\t    }\n\t    return layer._properties.borderRadius + \"px\";\n\t  },\n\t  border: function(layer) {\n\t    return layer._properties.borderWidth + \"px solid \" + layer._properties.borderColor;\n\t  }\n\t};\n\n\n/***/ },\n/* 21 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Config, EventEmitter, Utils, _, getTime,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tConfig = __webpack_require__(17).Config;\n\t\n\tEventEmitter = __webpack_require__(18).EventEmitter;\n\t\n\tgetTime = function() {\n\t  return Utils.getTime() * 1000;\n\t};\n\t\n\texports.AnimationLoop = (function(superClass) {\n\t  extend(AnimationLoop, superClass);\n\t\n\t  function AnimationLoop() {\n\t    this.start = bind(this.start, this);\n\t    this.delta = 1 / 60;\n\t    this.raf = true;\n\t    if (Utils.webkitVersion() > 600 && Utils.isDesktop()) {\n\t      this.raf = false;\n\t    }\n\t    if (Utils.webkitVersion() > 600 && Utils.isFramerStudio()) {\n\t      this.raf = false;\n\t    }\n\t  }\n\t\n\t  AnimationLoop.prototype.start = function() {\n\t    var _timestamp, animationLoop, tick, update;\n\t    animationLoop = this;\n\t    _timestamp = getTime();\n\t    update = function() {\n\t      var delta, timestamp;\n\t      if (animationLoop.delta) {\n\t        delta = animationLoop.delta;\n\t      } else {\n\t        timestamp = getTime();\n\t        delta = (timestamp - _timestamp) / 1000;\n\t        _timestamp = timestamp;\n\t      }\n\t      animationLoop.emit(\"update\", delta);\n\t      return animationLoop.emit(\"render\", delta);\n\t    };\n\t    tick = function(timestamp) {\n\t      if (animationLoop.raf) {\n\t        update();\n\t        return window.requestAnimationFrame(tick);\n\t      } else {\n\t        return window.setTimeout(function() {\n\t          update();\n\t          return window.requestAnimationFrame(tick);\n\t        }, 0);\n\t      }\n\t    };\n\t    return tick();\n\t  };\n\t\n\t  return AnimationLoop;\n\t\n\t})(EventEmitter);\n\n\n/***/ },\n/* 22 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Animator, Utils,\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tAnimator = __webpack_require__(33).Animator;\n\t\n\texports.LinearAnimator = (function(superClass) {\n\t  extend(LinearAnimator, superClass);\n\t\n\t  function LinearAnimator() {\n\t    return LinearAnimator.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  LinearAnimator.prototype.setup = function(options) {\n\t    this.options = _.defaults(options, {\n\t      time: 1,\n\t      precision: 1 / 1000\n\t    });\n\t    return this._time = 0;\n\t  };\n\t\n\t  LinearAnimator.prototype.next = function(delta) {\n\t    this._time += delta;\n\t    if (this.finished()) {\n\t      return 1;\n\t    }\n\t    return this._time / this.options.time;\n\t  };\n\t\n\t  LinearAnimator.prototype.finished = function() {\n\t    return this._time >= this.options.time - this.options.precision;\n\t  };\n\t\n\t  return LinearAnimator;\n\t\n\t})(Animator);\n\n\n/***/ },\n/* 23 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Animator, BezierCurveDefaults, UnitBezier, Utils, _,\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tAnimator = __webpack_require__(33).Animator;\n\t\n\tBezierCurveDefaults = {\n\t  \"linear\": [0, 0, 1, 1],\n\t  \"ease\": [.25, .1, .25, 1],\n\t  \"ease-in\": [.42, 0, 1, 1],\n\t  \"ease-out\": [0, 0, .58, 1],\n\t  \"ease-in-out\": [.42, 0, .58, 1]\n\t};\n\t\n\texports.BezierCurveAnimator = (function(superClass) {\n\t  extend(BezierCurveAnimator, superClass);\n\t\n\t  function BezierCurveAnimator() {\n\t    return BezierCurveAnimator.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  BezierCurveAnimator.prototype.setup = function(options) {\n\t    if (_.isString(options) && BezierCurveDefaults.hasOwnProperty(options.toLowerCase())) {\n\t      options = {\n\t        values: BezierCurveDefaults[options.toLowerCase()]\n\t      };\n\t    }\n\t    if (options.values && _.isString(options.values) && BezierCurveDefaults.hasOwnProperty(options.values.toLowerCase())) {\n\t      options = {\n\t        values: BezierCurveDefaults[options.values.toLowerCase()],\n\t        time: options.time\n\t      };\n\t    }\n\t    if (_.isArray(options) && options.length === 4) {\n\t      options = {\n\t        values: options\n\t      };\n\t    }\n\t    this.options = _.defaults(options, {\n\t      values: BezierCurveDefaults[\"ease-in-out\"],\n\t      time: 1,\n\t      precision: 1 / 1000\n\t    });\n\t    return this._unitBezier = new UnitBezier(this.options.values[0], this.options.values[1], this.options.values[2], this.options.values[3], this._time = 0);\n\t  };\n\t\n\t  BezierCurveAnimator.prototype.next = function(delta) {\n\t    this._time += delta;\n\t    if (this.finished()) {\n\t      return 1;\n\t    }\n\t    return this._unitBezier.solve(this._time / this.options.time);\n\t  };\n\t\n\t  BezierCurveAnimator.prototype.finished = function() {\n\t    return this._time >= this.options.time - this.options.precision;\n\t  };\n\t\n\t  return BezierCurveAnimator;\n\t\n\t})(Animator);\n\t\n\tUnitBezier = (function() {\n\t  UnitBezier.prototype.epsilon = 1e-6;\n\t\n\t  function UnitBezier(p1x, p1y, p2x, p2y) {\n\t    this.cx = 3.0 * p1x;\n\t    this.bx = 3.0 * (p2x - p1x) - this.cx;\n\t    this.ax = 1.0 - this.cx - this.bx;\n\t    this.cy = 3.0 * p1y;\n\t    this.by = 3.0 * (p2y - p1y) - this.cy;\n\t    this.ay = 1.0 - this.cy - this.by;\n\t  }\n\t\n\t  UnitBezier.prototype.sampleCurveX = function(t) {\n\t    return ((this.ax * t + this.bx) * t + this.cx) * t;\n\t  };\n\t\n\t  UnitBezier.prototype.sampleCurveY = function(t) {\n\t    return ((this.ay * t + this.by) * t + this.cy) * t;\n\t  };\n\t\n\t  UnitBezier.prototype.sampleCurveDerivativeX = function(t) {\n\t    return (3.0 * this.ax * t + 2.0 * this.bx) * t + this.cx;\n\t  };\n\t\n\t  UnitBezier.prototype.solveCurveX = function(x) {\n\t    var d2, i, t0, t1, t2, x2;\n\t    t2 = x;\n\t    i = 0;\n\t    while (i < 8) {\n\t      x2 = this.sampleCurveX(t2) - x;\n\t      if (Math.abs(x2) < this.epsilon) {\n\t        return t2;\n\t      }\n\t      d2 = this.sampleCurveDerivativeX(t2);\n\t      if (Math.abs(d2) < this.epsilon) {\n\t        break;\n\t      }\n\t      t2 = t2 - x2 / d2;\n\t      i++;\n\t    }\n\t    t0 = 0.0;\n\t    t1 = 1.0;\n\t    t2 = x;\n\t    if (t2 < t0) {\n\t      return t0;\n\t    }\n\t    if (t2 > t1) {\n\t      return t1;\n\t    }\n\t    while (t0 < t1) {\n\t      x2 = this.sampleCurveX(t2);\n\t      if (Math.abs(x2 - x) < this.epsilon) {\n\t        return t2;\n\t      }\n\t      if (x > x2) {\n\t        t0 = t2;\n\t      } else {\n\t        t1 = t2;\n\t      }\n\t      t2 = (t1 - t0) * .5 + t0;\n\t    }\n\t    return t2;\n\t  };\n\t\n\t  UnitBezier.prototype.solve = function(x) {\n\t    return this.sampleCurveY(this.solveCurveX(x));\n\t  };\n\t\n\t  return UnitBezier;\n\t\n\t})();\n\n\n/***/ },\n/* 24 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Animator, Utils,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tAnimator = __webpack_require__(33).Animator;\n\t\n\texports.SpringDHOAnimator = (function(superClass) {\n\t  extend(SpringDHOAnimator, superClass);\n\t\n\t  function SpringDHOAnimator() {\n\t    this.finished = bind(this.finished, this);\n\t    return SpringDHOAnimator.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  SpringDHOAnimator.prototype.setup = function(options) {\n\t    this.options = _.defaults(options, {\n\t      velocity: 0,\n\t      tolerance: 1 / 10000,\n\t      stiffness: 50,\n\t      damping: 2,\n\t      mass: 0.2,\n\t      time: null\n\t    });\n\t    console.log(\"SpringDHOAnimator.options\", this.options, options);\n\t    this._time = 0;\n\t    this._value = 0;\n\t    return this._velocity = this.options.velocity;\n\t  };\n\t\n\t  SpringDHOAnimator.prototype.next = function(delta) {\n\t    var F_damper, F_spring, b, k;\n\t    if (this.finished()) {\n\t      return 1;\n\t    }\n\t    this._time += delta;\n\t    k = 0 - this.options.stiffness;\n\t    b = 0 - this.options.damping;\n\t    F_spring = k * (this._value - 1);\n\t    F_damper = b * this._velocity;\n\t    this._velocity += ((F_spring + F_damper) / this.options.mass) * delta;\n\t    this._value += this._velocity * delta;\n\t    return this._value;\n\t  };\n\t\n\t  SpringDHOAnimator.prototype.finished = function() {\n\t    return this._time > 0 && Math.abs(this._velocity) < this.options.tolerance;\n\t  };\n\t\n\t  return SpringDHOAnimator;\n\t\n\t})(Animator);\n\n\n/***/ },\n/* 25 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Animator, Integrator, Utils,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tAnimator = __webpack_require__(33).Animator;\n\t\n\tIntegrator = __webpack_require__(34).Integrator;\n\t\n\texports.SpringRK4Animator = (function(superClass) {\n\t  extend(SpringRK4Animator, superClass);\n\t\n\t  function SpringRK4Animator() {\n\t    this.finished = bind(this.finished, this);\n\t    return SpringRK4Animator.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  SpringRK4Animator.prototype.setup = function(options) {\n\t    this.options = _.defaults(options, {\n\t      tension: 500,\n\t      friction: 10,\n\t      velocity: 0,\n\t      tolerance: 1 / 10000,\n\t      time: null\n\t    });\n\t    this._time = 0;\n\t    this._value = 0;\n\t    this._velocity = this.options.velocity;\n\t    this._stopSpring = false;\n\t    return this._integrator = new Integrator((function(_this) {\n\t      return function(state) {\n\t        return -_this.options.tension * state.x - _this.options.friction * state.v;\n\t      };\n\t    })(this));\n\t  };\n\t\n\t  SpringRK4Animator.prototype.next = function(delta) {\n\t    var finalVelocity, net1DVelocity, netFloat, netValueIsLow, netVelocityIsLow, stateAfter, stateBefore;\n\t    if (this.finished()) {\n\t      return 1;\n\t    }\n\t    this._time += delta;\n\t    stateBefore = {};\n\t    stateAfter = {};\n\t    stateBefore.x = this._value - 1;\n\t    stateBefore.v = this._velocity;\n\t    stateAfter = this._integrator.integrateState(stateBefore, delta);\n\t    this._value = 1 + stateAfter.x;\n\t    finalVelocity = stateAfter.v;\n\t    netFloat = stateAfter.x;\n\t    net1DVelocity = stateAfter.v;\n\t    netValueIsLow = Math.abs(netFloat) < this.options.tolerance;\n\t    netVelocityIsLow = Math.abs(net1DVelocity) < this.options.tolerance;\n\t    this._stopSpring = netValueIsLow && netVelocityIsLow;\n\t    this._velocity = finalVelocity;\n\t    return this._value;\n\t  };\n\t\n\t  SpringRK4Animator.prototype.finished = function() {\n\t    return this._stopSpring;\n\t  };\n\t\n\t  return SpringRK4Animator;\n\t\n\t})(Animator);\n\n\n/***/ },\n/* 26 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar BaseClass, Defaults, EventBuffer, Events, Simulation, Utils, _,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\tEvents = __webpack_require__(6).Events;\n\t\n\tSimulation = __webpack_require__(35).Simulation;\n\t\n\tDefaults = __webpack_require__(30).Defaults;\n\t\n\tEventBuffer = __webpack_require__(36).EventBuffer;\n\t\n\tEvents.Move = \"move\";\n\t\n\tEvents.DragStart = \"dragstart\";\n\t\n\tEvents.DragWillMove = \"dragwillmove\";\n\t\n\tEvents.DragMove = \"dragmove\";\n\t\n\tEvents.DragDidMove = \"dragmove\";\n\t\n\tEvents.Drag = \"dragmove\";\n\t\n\tEvents.DragEnd = \"dragend\";\n\t\n\tEvents.DragAnimationDidStart = \"draganimationdidstart\";\n\t\n\tEvents.DragAnimationDidEnd = \"draganimationdidend\";\n\t\n\tEvents.DirectionLockDidStart = \"directionlockdidstart\";\n\t\n\t\"         \\n┌──────┐                   │         \\n│      │                             \\n│      │  ───────────────▶ │ ◀────▶  \\n│      │                             \\n└──────┘                   │         \\n                                     \\n════════  ═════════════════ ═══════  \\n                                     \\n  Drag         Momentum      Bounce  \\n                                         \";\n\t\n\texports.LayerDraggable = (function(superClass) {\n\t  extend(LayerDraggable, superClass);\n\t\n\t  LayerDraggable.define(\"speedX\", LayerDraggable.simpleProperty(\"speedX\", 1));\n\t\n\t  LayerDraggable.define(\"speedY\", LayerDraggable.simpleProperty(\"speedY\", 1));\n\t\n\t  LayerDraggable.define(\"horizontal\", LayerDraggable.simpleProperty(\"horizontal\", true));\n\t\n\t  LayerDraggable.define(\"vertical\", LayerDraggable.simpleProperty(\"vertical\", true));\n\t\n\t  LayerDraggable.define(\"momentumVelocityMultiplier\", LayerDraggable.simpleProperty(\"momentumVelocityMultiplier\", 800));\n\t\n\t  LayerDraggable.define(\"directionLock\", LayerDraggable.simpleProperty(\"directionLock\", true));\n\t\n\t  LayerDraggable.define(\"directionLockThreshold\", LayerDraggable.simpleProperty(\"directionLockThreshold\", {\n\t    x: 10,\n\t    y: 10\n\t  }));\n\t\n\t  LayerDraggable.define(\"propagateEvents\", LayerDraggable.simpleProperty(\"propagateEvents\", true));\n\t\n\t  LayerDraggable.define(\"constraints\", {\n\t    get: function() {\n\t      return this._constraints;\n\t    },\n\t    set: function(value) {\n\t      if (value && _.isObject(value)) {\n\t        this._constraints = _.defaults(value, {\n\t          x: 0,\n\t          y: 0,\n\t          width: 0,\n\t          height: 0\n\t        });\n\t      } else {\n\t        this._constraints = {\n\t          x: 0,\n\t          y: 0,\n\t          width: 0,\n\t          height: 0\n\t        };\n\t      }\n\t      if (this._constraints) {\n\t        return this._updateSimulationConstraints(this._constraints);\n\t      }\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"isDragging\", {\n\t    get: function() {\n\t      return this._isDragging || false;\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"isAnimating\", {\n\t    get: function() {\n\t      return this._isAnimating || false;\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"isMoving\", {\n\t    get: function() {\n\t      return this._isMoving || false;\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"layerStartPoint\", {\n\t    get: function() {\n\t      return this._layerStartPoint || this.layer.point;\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"cursorStartPoint\", {\n\t    get: function() {\n\t      return this._cursorStartPoint || {\n\t        x: 0,\n\t        y: 0\n\t      };\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"layerCursorOffset\", {\n\t    get: function() {\n\t      return this._layerCursorOffset || {\n\t        x: 0,\n\t        y: 0\n\t      };\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"offset\", {\n\t    get: function() {\n\t      var offset;\n\t      if (!this._correctedLayerStartPoint) {\n\t        return {\n\t          x: 0,\n\t          y: 0\n\t        };\n\t      }\n\t      return offset = {\n\t        x: this.layer.x - this._correctedLayerStartPoint.x,\n\t        y: this.layer.y - this._correctedLayerStartPoint.y\n\t      };\n\t    }\n\t  });\n\t\n\t  function LayerDraggable(layer) {\n\t    var options;\n\t    this.layer = layer;\n\t    this._stopSimulation = bind(this._stopSimulation, this);\n\t    this._onSimulationStop = bind(this._onSimulationStop, this);\n\t    this._onSimulationStep = bind(this._onSimulationStep, this);\n\t    this._touchEnd = bind(this._touchEnd, this);\n\t    this._touchMove = bind(this._touchMove, this);\n\t    this._touchStart = bind(this._touchStart, this);\n\t    this.touchStart = bind(this.touchStart, this);\n\t    options = Defaults.getDefaults(\"LayerDraggable\", {});\n\t    LayerDraggable.__super__.constructor.call(this, options);\n\t    _.extend(this, options);\n\t    this.enabled = true;\n\t    this._eventBuffer = new EventBuffer;\n\t    this._constraints = null;\n\t    this.attach();\n\t  }\n\t\n\t  LayerDraggable.prototype.attach = function() {\n\t    return this.layer.on(Events.TouchStart, this._touchStart);\n\t  };\n\t\n\t  LayerDraggable.prototype.remove = function() {\n\t    return this.layer.off(Events.TouchStart, this._touchStart);\n\t  };\n\t\n\t  LayerDraggable.prototype.updatePosition = function(point) {\n\t    return point;\n\t  };\n\t\n\t  LayerDraggable.prototype.touchStart = function(event) {\n\t    return this._touchStart(event);\n\t  };\n\t\n\t  LayerDraggable.prototype._touchStart = function(event) {\n\t    var touchEvent;\n\t    this._isMoving = this.isAnimating;\n\t    this.layer.animateStop();\n\t    this._stopSimulation();\n\t    this._resetdirectionLock();\n\t    event.preventDefault();\n\t    if (!this.propagateEvents) {\n\t      event.stopPropagation();\n\t    }\n\t    touchEvent = Events.touchEvent(event);\n\t    this._eventBuffer.push({\n\t      x: touchEvent.clientX,\n\t      y: touchEvent.clientY,\n\t      t: Date.now()\n\t    });\n\t    this._layerStartPoint = this.layer.point;\n\t    this._correctedLayerStartPoint = this.layer.point;\n\t    if (this.constraints && this.bounce) {\n\t      this._correctedLayerStartPoint = this._constrainPosition(this._correctedLayerStartPoint, this.constraints, 1 / this.overdragScale);\n\t    }\n\t    this._cursorStartPoint = {\n\t      x: touchEvent.clientX,\n\t      y: touchEvent.clientY\n\t    };\n\t    this._layerCursorOffset = {\n\t      x: touchEvent.clientX - this._correctedLayerStartPoint.x,\n\t      y: touchEvent.clientY - this._correctedLayerStartPoint.y\n\t    };\n\t    document.addEventListener(Events.TouchMove, this._touchMove);\n\t    document.addEventListener(Events.TouchEnd, this._touchEnd);\n\t    return this.emit(Events.DragStart, event);\n\t  };\n\t\n\t  LayerDraggable.prototype._touchMove = function(event) {\n\t    var offset, point, touchEvent;\n\t    if (!this.enabled) {\n\t      return;\n\t    }\n\t    event.preventDefault();\n\t    if (!this.propagateEvents) {\n\t      event.stopPropagation();\n\t    }\n\t    touchEvent = Events.touchEvent(event);\n\t    this._eventBuffer.push({\n\t      x: touchEvent.clientX,\n\t      y: touchEvent.clientY,\n\t      t: Date.now()\n\t    });\n\t    offset = {\n\t      x: touchEvent.clientX - this._correctedLayerStartPoint.x - this._layerCursorOffset.x,\n\t      y: touchEvent.clientY - this._correctedLayerStartPoint.y - this._layerCursorOffset.y\n\t    };\n\t    offset.x = offset.x * this.speedX * (1 / this.layer.canvasScaleX()) * this.layer.scaleX * this.layer.scale;\n\t    offset.y = offset.y * this.speedY * (1 / this.layer.canvasScaleY()) * this.layer.scaleY * this.layer.scale;\n\t    point = this.layer.point;\n\t    if (this.horizontal) {\n\t      point.x = this._correctedLayerStartPoint.x + offset.x;\n\t    }\n\t    if (this.vertical) {\n\t      point.y = this._correctedLayerStartPoint.y + offset.y;\n\t    }\n\t    if (this._constraints) {\n\t      point = this._constrainPosition(point, this._constraints, this.overdragScale);\n\t    }\n\t    if (this.directionLock) {\n\t      if (!this._directionLockEnabledX && !this._directionLockEnabledY) {\n\t        this._updatedirectionLock(offset);\n\t        return;\n\t      } else {\n\t        if (this._directionLockEnabledX) {\n\t          point.x = this._layerStartPoint.x;\n\t        }\n\t        if (this._directionLockEnabledY) {\n\t          point.y = this._layerStartPoint.y;\n\t        }\n\t      }\n\t    }\n\t    if (this.pixelAlign) {\n\t      point.x = parseInt(point.x);\n\t      point.y = parseInt(point.y);\n\t    }\n\t    if (point.x !== this._layerStartPoint.x || point.y !== this._layerStartPoint.y) {\n\t      this._isDragging = true;\n\t      this._isMoving = true;\n\t    }\n\t    if (this.isDragging) {\n\t      this.emit(Events.DragWillMove, event);\n\t    }\n\t    this.layer.point = this.updatePosition(point);\n\t    if (this.isDragging) {\n\t      this.emit(Events.Move, this.layer.point);\n\t      return this.emit(Events.DragDidMove, event);\n\t    }\n\t  };\n\t\n\t  LayerDraggable.prototype._touchEnd = function(event) {\n\t    if (!this.propagateEvents) {\n\t      event.stopPropagation();\n\t    }\n\t    document.removeEventListener(Events.TouchMove, this._touchMove);\n\t    document.removeEventListener(Events.TouchEnd, this._touchEnd);\n\t    this._startSimulation();\n\t    this.emit(Events.DragEnd, event);\n\t    return this._isDragging = false;\n\t  };\n\t\n\t  LayerDraggable.define(\"constraintsOffset\", {\n\t    get: function() {\n\t      var constrainedPoint, maxX, maxY, minX, minY, offset, point, ref;\n\t      if (!this.constraints) {\n\t        return {\n\t          x: 0,\n\t          y: 0\n\t        };\n\t      }\n\t      ref = this._calculateConstraints(this.constraints), minX = ref.minX, maxX = ref.maxX, minY = ref.minY, maxY = ref.maxY;\n\t      point = this.layer.point;\n\t      constrainedPoint = {\n\t        x: Utils.clamp(point.x, minX, maxX),\n\t        y: Utils.clamp(point.y, minY, maxY)\n\t      };\n\t      offset = {\n\t        x: point.x - constrainedPoint.x,\n\t        y: point.y - constrainedPoint.y\n\t      };\n\t      return offset;\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"isBeyondConstraints\", {\n\t    get: function() {\n\t      var constraintsOffset;\n\t      constraintsOffset = this.constraintsOffset;\n\t      if (constraintsOffset.x !== 0) {\n\t        return true;\n\t      }\n\t      if (constraintsOffset.y !== 0) {\n\t        return true;\n\t      }\n\t      return false;\n\t    }\n\t  });\n\t\n\t  LayerDraggable.prototype._clampAndScale = function(value, min, max, scale) {\n\t    if (value < min) {\n\t      value = min + (value - min) * scale;\n\t    }\n\t    if (value > max) {\n\t      value = max + (value - max) * scale;\n\t    }\n\t    return value;\n\t  };\n\t\n\t  LayerDraggable.prototype._calculateConstraints = function(bounds) {\n\t    var constraints;\n\t    if (!bounds) {\n\t      return constraints = {\n\t        minX: Infinity,\n\t        maxX: Infinity,\n\t        minY: Infinity,\n\t        maxY: Infinity\n\t      };\n\t    }\n\t    constraints = {\n\t      minX: Utils.frameGetMinX(bounds),\n\t      maxX: Utils.frameGetMaxX(bounds),\n\t      minY: Utils.frameGetMinY(bounds),\n\t      maxY: Utils.frameGetMaxY(bounds)\n\t    };\n\t    constraints.maxX -= this.layer.width;\n\t    constraints.maxY -= this.layer.height;\n\t    return constraints;\n\t  };\n\t\n\t  LayerDraggable.prototype._constrainPosition = function(proposedPoint, bounds, scale) {\n\t    var maxX, maxY, minX, minY, point, ref;\n\t    ref = this._calculateConstraints(this._constraints), minX = ref.minX, maxX = ref.maxX, minY = ref.minY, maxY = ref.maxY;\n\t    if (this.overdrag) {\n\t      point = {\n\t        x: this._clampAndScale(proposedPoint.x, minX, maxX, scale),\n\t        y: this._clampAndScale(proposedPoint.y, minY, maxY, scale)\n\t      };\n\t    } else {\n\t      point = {\n\t        x: Utils.clamp(proposedPoint.x, minX, maxX),\n\t        y: Utils.clamp(proposedPoint.y, minY, maxY)\n\t      };\n\t    }\n\t    if (this.speedX === 0 || this.horizontal === false) {\n\t      point.x = proposedPoint.x;\n\t    }\n\t    if (this.speedY === 0 || this.vertical === false) {\n\t      point.y = proposedPoint.y;\n\t    }\n\t    return point;\n\t  };\n\t\n\t  LayerDraggable.define(\"velocity\", {\n\t    get: function() {\n\t      if (this.isAnimating) {\n\t        return this._calculateSimulationVelocity();\n\t      }\n\t      return this._eventBuffer.velocity;\n\t      return {\n\t        x: 0,\n\t        y: 0\n\t      };\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"angle\", {\n\t    get: function() {\n\t      return this._eventBuffer.angle;\n\t    }\n\t  });\n\t\n\t  LayerDraggable.define(\"direction\", {\n\t    get: function() {\n\t      var velocity;\n\t      velocity = this.velocity;\n\t      if (Math.abs(velocity.x) > Math.abs(velocity.y)) {\n\t        if (velocity.x > 0) {\n\t          return \"right\";\n\t        }\n\t        return \"left\";\n\t      } else {\n\t        if (velocity.y > 0) {\n\t          return \"down\";\n\t        }\n\t        return \"up\";\n\t      }\n\t    }\n\t  });\n\t\n\t  LayerDraggable.prototype.calculateVelocity = function() {\n\t    return this.velocity;\n\t  };\n\t\n\t  LayerDraggable.prototype._calculateSimulationVelocity = function() {\n\t    var velocity, xFinished, yFinished;\n\t    xFinished = this._simulation.x.finished();\n\t    yFinished = this._simulation.y.finished();\n\t    velocity = {\n\t      x: 0,\n\t      y: 0\n\t    };\n\t    if (!xFinished) {\n\t      velocity.x = this._simulation.x.simulator.state.v / this.momentumVelocityMultiplier;\n\t    }\n\t    if (!yFinished) {\n\t      velocity.y = this._simulation.y.simulator.state.v / this.momentumVelocityMultiplier;\n\t    }\n\t    return velocity;\n\t  };\n\t\n\t  LayerDraggable.prototype.emit = function(eventName, event) {\n\t    this.layer.emit(eventName, event, this);\n\t    return LayerDraggable.__super__.emit.call(this, eventName, event, this);\n\t  };\n\t\n\t  LayerDraggable.prototype._updatedirectionLock = function(correctedDelta) {\n\t    this._directionLockEnabledX = Math.abs(correctedDelta.y) > this.directionLockThreshold.y;\n\t    this._directionLockEnabledY = Math.abs(correctedDelta.x) > this.directionLockThreshold.x;\n\t    if (this._directionLockEnabledX || this._directionLockEnabledY) {\n\t      return this.emit(Events.DirectionLockDidStart, {\n\t        x: this._directionLockEnabledX,\n\t        y: this._directionLockEnabledY\n\t      });\n\t    }\n\t  };\n\t\n\t  LayerDraggable.prototype._resetdirectionLock = function() {\n\t    this._directionLockEnabledX = false;\n\t    return this._directionLockEnabledY = false;\n\t  };\n\t\n\t  LayerDraggable.prototype._setupSimulation = function() {\n\t    if (this._simulation) {\n\t      return;\n\t    }\n\t    this._simulation = {\n\t      x: this._setupSimulationForAxis(\"x\"),\n\t      y: this._setupSimulationForAxis(\"y\")\n\t    };\n\t    return this._updateSimulationConstraints(this.constraints);\n\t  };\n\t\n\t  LayerDraggable.prototype._setupSimulationForAxis = function(axis) {\n\t    var properties, simulation;\n\t    properties = {};\n\t    properties[axis] = true;\n\t    simulation = new Simulation({\n\t      layer: this.layer,\n\t      properties: properties,\n\t      model: \"inertial-scroll\",\n\t      modelOptions: {\n\t        momentum: this.momentumOptions,\n\t        bounce: this.bounceOptions\n\t      }\n\t    });\n\t    simulation.on(Events.SimulationStep, (function(_this) {\n\t      return function(state) {\n\t        return _this._onSimulationStep(axis, state);\n\t      };\n\t    })(this));\n\t    simulation.on(Events.SimulationStop, (function(_this) {\n\t      return function(state) {\n\t        return _this._onSimulationStop(axis, state);\n\t      };\n\t    })(this));\n\t    return simulation;\n\t  };\n\t\n\t  LayerDraggable.prototype._updateSimulationConstraints = function(constraints) {\n\t    var maxX, maxY, minX, minY, ref;\n\t    if (!this._simulation) {\n\t      return;\n\t    }\n\t    if (constraints) {\n\t      ref = this._calculateConstraints(this._constraints), minX = ref.minX, maxX = ref.maxX, minY = ref.minY, maxY = ref.maxY;\n\t      this._simulation.x.simulator.options = {\n\t        min: minX,\n\t        max: maxX\n\t      };\n\t      return this._simulation.y.simulator.options = {\n\t        min: minY,\n\t        max: maxY\n\t      };\n\t    } else {\n\t      this._simulation.x.simulator.options = {\n\t        min: -Infinity,\n\t        max: +Infinity\n\t      };\n\t      return this._simulation.y.simulator.options = {\n\t        min: -Infinity,\n\t        max: +Infinity\n\t      };\n\t    }\n\t  };\n\t\n\t  LayerDraggable.prototype._onSimulationStep = function(axis, state) {\n\t    var delta, maxX, maxY, minX, minY, ref, updatePoint;\n\t    if (axis === \"x\" && this.horizontal === false) {\n\t      return;\n\t    }\n\t    if (axis === \"y\" && this.vertical === false) {\n\t      return;\n\t    }\n\t    if (this.constraints) {\n\t      if (this.bounce) {\n\t        delta = state.x - this.layer[axis];\n\t      } else {\n\t        ref = this._calculateConstraints(this._constraints), minX = ref.minX, maxX = ref.maxX, minY = ref.minY, maxY = ref.maxY;\n\t        if (axis === \"x\") {\n\t          delta = Utils.clamp(state.x, minX, maxX) - this.layer[axis];\n\t        }\n\t        if (axis === \"y\") {\n\t          delta = Utils.clamp(state.x, minY, maxY) - this.layer[axis];\n\t        }\n\t      }\n\t    } else {\n\t      delta = state.x - this.layer[axis];\n\t    }\n\t    updatePoint = this.layer.point;\n\t    if (axis === \"x\") {\n\t      updatePoint[axis] = updatePoint[axis] + (delta * this.speedX);\n\t    }\n\t    if (axis === \"y\") {\n\t      updatePoint[axis] = updatePoint[axis] + (delta * this.speedY);\n\t    }\n\t    this.updatePosition(updatePoint);\n\t    this.layer[axis] = this.updatePosition(updatePoint)[axis];\n\t    return this.emit(Events.Move, this.layer.point);\n\t  };\n\t\n\t  LayerDraggable.prototype._onSimulationStop = function(axis, state) {\n\t    if (!this._simulation) {\n\t      return;\n\t    }\n\t    if (this.pixelAlign) {\n\t      this.layer[axis] = parseInt(this.layer[axis]);\n\t    }\n\t    if (this._simulation.x.finished() && this._simulation.y.finished()) {\n\t      return this._stopSimulation();\n\t    }\n\t  };\n\t\n\t  LayerDraggable.prototype._startSimulation = function() {\n\t    var maxX, maxY, minX, minY, ref, startSimulationX, startSimulationY, velocity, velocityX, velocityY;\n\t    if (!(this.momentum || this.bounce)) {\n\t      return;\n\t    }\n\t    if (this.isBeyondConstraints === false && this.momentum === false) {\n\t      return;\n\t    }\n\t    if (this.isBeyondConstraints === false && this.isDragging === false) {\n\t      return;\n\t    }\n\t    ref = this._calculateConstraints(this._constraints), minX = ref.minX, maxX = ref.maxX, minY = ref.minY, maxY = ref.maxY;\n\t    startSimulationX = this.overdrag === true || (this.layer.x > minX && this.layer.x < maxX);\n\t    startSimulationY = this.overdrag === true || (this.layer.y > minY && this.layer.y < maxY);\n\t    if ((startSimulationX === startSimulationY && startSimulationY === false)) {\n\t      return;\n\t    }\n\t    velocity = this.velocity;\n\t    velocityX = velocity.x * this.momentumVelocityMultiplier * this.speedX * (1 / this.layer.canvasScaleX()) * this.layer.scaleX * this.layer.scale;\n\t    velocityY = velocity.y * this.momentumVelocityMultiplier * this.speedY * (1 / this.layer.canvasScaleY()) * this.layer.scaleY * this.layer.scale;\n\t    this._setupSimulation();\n\t    this._isAnimating = true;\n\t    this._isMoving = true;\n\t    this._simulation.x.simulator.setState({\n\t      x: this.layer.x,\n\t      v: velocityX\n\t    });\n\t    if (startSimulationX) {\n\t      this._simulation.x.start();\n\t    }\n\t    this._simulation.y.simulator.setState({\n\t      x: this.layer.y,\n\t      v: velocityY\n\t    });\n\t    if (startSimulationY) {\n\t      this._simulation.y.start();\n\t    }\n\t    return this.emit(Events.DragAnimationDidStart);\n\t  };\n\t\n\t  LayerDraggable.prototype._stopSimulation = function() {\n\t    var base, base1;\n\t    this._isAnimating = false;\n\t    if (!this._simulation) {\n\t      return;\n\t    }\n\t    if (this._simulation.x) {\n\t      if (typeof (base = this._simulation.x).stop === \"function\") {\n\t        base.stop();\n\t      }\n\t    }\n\t    if (this._simulation.y) {\n\t      if (typeof (base1 = this._simulation.y).stop === \"function\") {\n\t        base1.stop();\n\t      }\n\t    }\n\t    this.emit(Events.Move, this.layer.point);\n\t    this.emit(Events.DragAnimationDidEnd);\n\t    return this._simulation = null;\n\t  };\n\t\n\t  LayerDraggable.prototype.animateStop = function() {\n\t    return this._stopSimulation();\n\t  };\n\t\n\t  return LayerDraggable;\n\t\n\t})(BaseClass);\n\n\n/***/ },\n/* 27 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar ChromeAlert, Utils, _,\n\t  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tChromeAlert = \"Importing layers is currently only supported on Safari. If you really want it to work with Chrome quit it, open a terminal and run:\\nopen -a Google\\ Chrome -–allow-file-access-from-files\";\n\t\n\texports.Importer = (function() {\n\t  function Importer(path1, extraLayerProperties) {\n\t    this.path = path1;\n\t    this.extraLayerProperties = extraLayerProperties != null ? extraLayerProperties : {};\n\t    this.paths = {\n\t      layerInfo: Utils.pathJoin(this.path, \"layers.json\"),\n\t      images: Utils.pathJoin(this.path, \"images\"),\n\t      documentName: this.path.split(\"/\").pop()\n\t    };\n\t    this._createdLayers = [];\n\t    this._createdLayersByName = {};\n\t  }\n\t\n\t  Importer.prototype.load = function() {\n\t    var i, j, layer, layerInfo, layersByName, len, len1, ref, ref1;\n\t    layersByName = {};\n\t    layerInfo = this._loadlayerInfo();\n\t    layerInfo.map((function(_this) {\n\t      return function(layerItemInfo) {\n\t        return _this._createLayer(layerItemInfo);\n\t      };\n\t    })(this));\n\t    ref = this._createdLayers;\n\t    for (i = 0, len = ref.length; i < len; i++) {\n\t      layer = ref[i];\n\t      this._correctLayer(layer);\n\t    }\n\t    ref1 = this._createdLayers;\n\t    for (j = 0, len1 = ref1.length; j < len1; j++) {\n\t      layer = ref1[j];\n\t      if (!layer.superLayer) {\n\t        layer.superLayer = null;\n\t      }\n\t    }\n\t    return this._createdLayersByName;\n\t  };\n\t\n\t  Importer.prototype._loadlayerInfo = function() {\n\t    var importedKey, ref;\n\t    importedKey = this.paths.documentName + \"/layers.json.js\";\n\t    if ((ref = window.__imported__) != null ? ref.hasOwnProperty(importedKey) : void 0) {\n\t      return window.__imported__[importedKey];\n\t    }\n\t    return Framer.Utils.domLoadJSONSync(this.paths.layerInfo);\n\t  };\n\t\n\t  Importer.prototype._createLayer = function(info, superLayer) {\n\t    var LayerClass, layer, layerInfo, ref;\n\t    LayerClass = Layer;\n\t    layerInfo = {\n\t      shadow: true,\n\t      name: info.name,\n\t      frame: info.layerFrame,\n\t      clip: false,\n\t      backgroundColor: null,\n\t      visible: (ref = info.visible) != null ? ref : true\n\t    };\n\t    _.extend(layerInfo, this.extraLayerProperties);\n\t    if (info.image) {\n\t      layerInfo.frame = info.image.frame;\n\t      layerInfo.image = Utils.pathJoin(this.path, info.image.path);\n\t    }\n\t    if (info.maskFrame) {\n\t      layerInfo.frame = info.maskFrame;\n\t      layerInfo.clip = true;\n\t    }\n\t    if (info.children.length === 0 && indexOf.call(_.pluck(superLayer != null ? superLayer.superLayers() : void 0, \"clip\"), true) >= 0) {\n\t      layerInfo.frame = info.image.frame;\n\t      layerInfo.clip = false;\n\t    }\n\t    if (superLayer != null ? superLayer.contentLayer : void 0) {\n\t      layerInfo.superLayer = superLayer.contentLayer;\n\t    } else if (superLayer) {\n\t      layerInfo.superLayer = superLayer;\n\t    }\n\t    layer = new LayerClass(layerInfo);\n\t    layer.name = layerInfo.name;\n\t    if (layerInfo.name.toLowerCase().indexOf(\"scroll\") !== -1) {\n\t      layer.scroll = true;\n\t    }\n\t    if (layerInfo.name.toLowerCase().indexOf(\"draggable\") !== -1) {\n\t      layer.draggable.enabled = true;\n\t    }\n\t    if (!layer.image && !info.children.length && !info.maskFrame) {\n\t      layer.frame = Utils.frameZero();\n\t    }\n\t    _.clone(info.children).reverse().map((function(_this) {\n\t      return function(info) {\n\t        return _this._createLayer(info, layer);\n\t      };\n\t    })(this));\n\t    if (!layer.image && !info.maskFrame) {\n\t      layer.frame = layer.contentFrame();\n\t    }\n\t    layer._info = info;\n\t    this._createdLayers.push(layer);\n\t    return this._createdLayersByName[layer.name] = layer;\n\t  };\n\t\n\t  Importer.prototype._correctLayer = function(layer) {\n\t    var traverse;\n\t    traverse = function(layer) {\n\t      var i, len, ref, results, subLayer;\n\t      if (layer.superLayer) {\n\t        layer.frame = Utils.convertPoint(layer.frame, null, layer.superLayer);\n\t      }\n\t      ref = layer.subLayers;\n\t      results = [];\n\t      for (i = 0, len = ref.length; i < len; i++) {\n\t        subLayer = ref[i];\n\t        results.push(traverse(subLayer));\n\t      }\n\t      return results;\n\t    };\n\t    if (!layer.superLayer) {\n\t      return traverse(layer);\n\t    }\n\t  };\n\t\n\t  return Importer;\n\t\n\t})();\n\t\n\texports.Importer.load = function(path) {\n\t  var importer;\n\t  importer = new exports.Importer(path);\n\t  return importer.load();\n\t};\n\n\n/***/ },\n/* 28 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Context, EventKeys, Utils, _debugStyle, _errorContext, _errorShown, errorWarning, hideDebug, showDebug, toggleDebug;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tContext = __webpack_require__(16).Context;\n\t\n\t_debugStyle = {\n\t  border: \"1px solid rgba(50,150,200,.35)\",\n\t  backgroundColor: \"rgba(50,150,200,.35)\"\n\t};\n\t\n\tshowDebug = function() {\n\t  var i, layer, len, ref, results;\n\t  ref = Framer.CurrentContext.getLayers();\n\t  results = [];\n\t  for (i = 0, len = ref.length; i < len; i++) {\n\t    layer = ref[i];\n\t    layer._debugStyle = _.pick(layer.style, _.keys(_debugStyle));\n\t    layer.style = _debugStyle;\n\t    layer._debugElement = document.createElement(\"div\");\n\t    layer._debugElement.innerHTML = layer.name || layer.id;\n\t    layer._debugElement.classList.add(\"framerDebug\");\n\t    results.push(layer._element.appendChild(layer._debugElement));\n\t  }\n\t  return results;\n\t};\n\t\n\thideDebug = function() {\n\t  var i, layer, len, ref, results;\n\t  ref = Framer.CurrentContext.getLayers();\n\t  results = [];\n\t  for (i = 0, len = ref.length; i < len; i++) {\n\t    layer = ref[i];\n\t    layer.style = layer._debugStyle;\n\t    layer._debugElement.parentElement.removeChild(layer._debugElement);\n\t    results.push(layer._debugElement = null);\n\t  }\n\t  return results;\n\t};\n\t\n\ttoggleDebug = Utils.toggle(showDebug, hideDebug);\n\t\n\tEventKeys = {\n\t  Shift: 16,\n\t  Escape: 27\n\t};\n\t\n\t_errorContext = null;\n\t\n\t_errorShown = false;\n\t\n\terrorWarning = function(event) {\n\t  var _errorWarningLayer, layer;\n\t  if (!_errorContext) {\n\t    _errorContext = new Context({\n\t      name: \"Error\"\n\t    });\n\t  }\n\t  if (_errorShown) {\n\t    return;\n\t  }\n\t  _errorShown = true;\n\t  layer = new Layer({\n\t    x: 20,\n\t    y: -50,\n\t    width: 300,\n\t    height: 40\n\t  });\n\t  layer.states.add({\n\t    visible: {\n\t      x: 20,\n\t      y: 20,\n\t      width: 300,\n\t      height: 40\n\t    }\n\t  });\n\t  layer.html = \"Javascript Error, see the console\";\n\t  layer.style = {\n\t    font: \"12px/1.35em Menlo\",\n\t    color: \"white\",\n\t    textAlign: \"center\",\n\t    lineHeight: layer.height + \"px\",\n\t    borderRadius: \"5px\",\n\t    backgroundColor: \"rgba(255,0,0,.8)\"\n\t  };\n\t  layer.states.animationOptions = {\n\t    curve: \"spring\",\n\t    curveOptions: {\n\t      tension: 1000,\n\t      friction: 30\n\t    }\n\t  };\n\t  layer.states[\"switch\"](\"visible\");\n\t  layer.on(Events.Click, function() {\n\t    return this.states[\"switch\"](\"default\");\n\t  });\n\t  return _errorWarningLayer = layer;\n\t};\n\t\n\twindow.error = errorWarning;\n\n\n/***/ },\n/* 29 */\n/***/ function(module, exports, __webpack_require__) {\n\n\texports.MobileScrollFix = __webpack_require__(37);\n\t\n\texports.OmitNew = __webpack_require__(38);\n\n\n/***/ },\n/* 30 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Originals, Utils, _;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tOriginals = {\n\t  Layer: {\n\t    backgroundColor: \"rgba(0,124,255,.5)\",\n\t    width: 100,\n\t    height: 100\n\t  },\n\t  Animation: {\n\t    curve: \"ease\",\n\t    time: 1\n\t  },\n\t  DeviceComponent: {\n\t    fullScreen: false,\n\t    padding: 50,\n\t    deviceType: \"iphone-5s-spacegray\",\n\t    deviceZoom: \"fit\",\n\t    contentZoom: 1,\n\t    orientation: \"portrait\",\n\t    keyboard: false,\n\t    animationOptions: {\n\t      curve: \"spring(400,40,0)\"\n\t    }\n\t  },\n\t  LayerDraggable: {\n\t    momentum: true,\n\t    momentumOptions: {\n\t      friction: 2.1,\n\t      tolerance: 1\n\t    },\n\t    bounce: true,\n\t    bounceOptions: {\n\t      friction: 40,\n\t      tension: 200,\n\t      tolerance: 1\n\t    },\n\t    directionLock: false,\n\t    directionLockThreshold: {\n\t      x: 10,\n\t      y: 10\n\t    },\n\t    overdrag: true,\n\t    overdragScale: 0.5,\n\t    pixelAlign: true,\n\t    velocityTimeout: 100,\n\t    velocityScale: 890\n\t  },\n\t  FrictionSimulator: {\n\t    friction: 2,\n\t    tolerance: 1 / 10\n\t  },\n\t  SpringSimulator: {\n\t    tension: 500,\n\t    friction: 10,\n\t    tolerance: 1 / 10000\n\t  },\n\t  MomentumBounceSimulator: {\n\t    momentum: {\n\t      friction: 2,\n\t      tolerance: 10\n\t    },\n\t    bounce: {\n\t      tension: 500,\n\t      friction: 10,\n\t      tolerance: 1\n\t    }\n\t  }\n\t};\n\t\n\texports.Defaults = {\n\t  getDefaults: function(className, options) {\n\t    var defaults, k, ref, v;\n\t    if (!Originals.hasOwnProperty(className)) {\n\t      return {};\n\t    }\n\t    if (!Framer.Defaults.hasOwnProperty(className)) {\n\t      return {};\n\t    }\n\t    defaults = _.clone(Originals[className]);\n\t    ref = Framer.Defaults[className];\n\t    for (k in ref) {\n\t      v = ref[k];\n\t      defaults[k] = _.isFunction(v) ? v() : v;\n\t    }\n\t    for (k in defaults) {\n\t      v = defaults[k];\n\t      if (!options.hasOwnProperty(k)) {\n\t        options[k] = v;\n\t      }\n\t    }\n\t    return options;\n\t  },\n\t  setup: function() {\n\t    var className, classValues, k, ref, v;\n\t    if (window.FramerDefaults) {\n\t      ref = window.FramerDefaults;\n\t      for (className in ref) {\n\t        classValues = ref[className];\n\t        for (k in classValues) {\n\t          v = classValues[k];\n\t          Originals[className][k] = v;\n\t        }\n\t      }\n\t    }\n\t    return exports.Defaults.reset();\n\t  },\n\t  reset: function() {\n\t    return window.Framer.Defaults = _.clone(Originals);\n\t  }\n\t};\n\n\n/***/ },\n/* 31 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar BaseClass, Defaults, Events, LayerStatesIgnoredKeys, _,\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty,\n\t  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },\n\t  slice = [].slice;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tEvents = __webpack_require__(6).Events;\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\tDefaults = __webpack_require__(30).Defaults;\n\t\n\tLayerStatesIgnoredKeys = [\"ignoreEvents\"];\n\t\n\tEvents.StateWillSwitch = \"willSwitch\";\n\t\n\tEvents.StateDidSwitch = \"didSwitch\";\n\t\n\texports.LayerStates = (function(superClass) {\n\t  extend(LayerStates, superClass);\n\t\n\t  function LayerStates(layer) {\n\t    this.layer = layer;\n\t    this._states = {};\n\t    this._orderedStates = [];\n\t    this.animationOptions = {};\n\t    this.add(\"default\", this.layer.props);\n\t    this._currentState = \"default\";\n\t    this._previousStates = [];\n\t    LayerStates.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  LayerStates.prototype.add = function(stateName, properties) {\n\t    var error, k, v;\n\t    if (_.isObject(stateName)) {\n\t      for (k in stateName) {\n\t        v = stateName[k];\n\t        this.add(k, v);\n\t      }\n\t      return;\n\t    }\n\t    error = function() {\n\t      throw Error(\"Usage example: layer.states.add(\\\"someName\\\", {x:500})\");\n\t    };\n\t    if (!_.isString(stateName)) {\n\t      error();\n\t    }\n\t    if (!_.isObject(properties)) {\n\t      error();\n\t    }\n\t    this._orderedStates.push(stateName);\n\t    return this._states[stateName] = LayerStates.filterStateProperties(properties);\n\t  };\n\t\n\t  LayerStates.prototype.remove = function(stateName) {\n\t    if (!this._states.hasOwnProperty(stateName)) {\n\t      return;\n\t    }\n\t    delete this._states[stateName];\n\t    return this._orderedStates = _.without(this._orderedStates, stateName);\n\t  };\n\t\n\t  LayerStates.prototype[\"switch\"] = function(stateName, animationOptions, instant) {\n\t    var animatablePropertyKeys, animatingKeys, k, properties, propertyName, ref, ref1, v, value;\n\t    if (instant == null) {\n\t      instant = false;\n\t    }\n\t    if (!this._states.hasOwnProperty(stateName)) {\n\t      throw Error(\"No such state: '\" + stateName + \"'\");\n\t    }\n\t    this.emit(Events.StateWillSwitch, this._currentState, stateName, this);\n\t    this._previousStates.push(this._currentState);\n\t    this._currentState = stateName;\n\t    properties = {};\n\t    animatingKeys = this.animatingKeys();\n\t    ref = this._states[stateName];\n\t    for (propertyName in ref) {\n\t      value = ref[propertyName];\n\t      if (indexOf.call(LayerStatesIgnoredKeys, propertyName) >= 0) {\n\t        continue;\n\t      }\n\t      if (indexOf.call(animatingKeys, propertyName) < 0) {\n\t        continue;\n\t      }\n\t      if (_.isFunction(value)) {\n\t        value = value.call(this.layer, this.layer, stateName);\n\t      }\n\t      properties[propertyName] = value;\n\t    }\n\t    animatablePropertyKeys = [];\n\t    for (k in properties) {\n\t      v = properties[k];\n\t      if (_.isNumber(v)) {\n\t        animatablePropertyKeys.push(k);\n\t      }\n\t    }\n\t    if (animatablePropertyKeys.length === 0) {\n\t      instant = true;\n\t    }\n\t    if (instant === true) {\n\t      this.layer.props = properties;\n\t      return this.emit(Events.StateDidSwitch, _.last(this._previousStates), stateName, this);\n\t    } else {\n\t      if (animationOptions == null) {\n\t        animationOptions = this.animationOptions;\n\t      }\n\t      animationOptions.properties = properties;\n\t      if ((ref1 = this._animation) != null) {\n\t        ref1.stop();\n\t      }\n\t      this._animation = this.layer.animate(animationOptions);\n\t      return this._animation.on(\"stop\", (function(_this) {\n\t        return function() {\n\t          for (k in properties) {\n\t            v = properties[k];\n\t            if (!_.isNumber(v)) {\n\t              _this.layer[k] = v;\n\t            }\n\t          }\n\t          return _this.emit(Events.StateDidSwitch, _.last(_this._previousStates), stateName, _this);\n\t        };\n\t      })(this));\n\t    }\n\t  };\n\t\n\t  LayerStates.prototype.switchInstant = function(stateName) {\n\t    return this[\"switch\"](stateName, null, true);\n\t  };\n\t\n\t  LayerStates.define(\"state\", {\n\t    get: function() {\n\t      return this._currentState;\n\t    }\n\t  });\n\t\n\t  LayerStates.define(\"current\", {\n\t    get: function() {\n\t      return this._currentState;\n\t    }\n\t  });\n\t\n\t  LayerStates.prototype.states = function() {\n\t    return _.clone(this._orderedStates);\n\t  };\n\t\n\t  LayerStates.prototype.animatingKeys = function() {\n\t    var keys, ref, state, stateName;\n\t    keys = [];\n\t    ref = this._states;\n\t    for (stateName in ref) {\n\t      state = ref[stateName];\n\t      if (stateName === \"default\") {\n\t        continue;\n\t      }\n\t      keys = _.union(keys, _.keys(state));\n\t    }\n\t    return keys;\n\t  };\n\t\n\t  LayerStates.prototype.previous = function(states, animationOptions) {\n\t    if (states == null) {\n\t      states = this.states();\n\t    }\n\t    return this[\"switch\"](Utils.arrayPrev(states, this._currentState), animationOptions);\n\t  };\n\t\n\t  LayerStates.prototype.next = function() {\n\t    var states;\n\t    states = Utils.arrayFromArguments(arguments);\n\t    if (!states.length) {\n\t      states = this.states();\n\t    }\n\t    return this[\"switch\"](Utils.arrayNext(states, this._currentState));\n\t  };\n\t\n\t  LayerStates.prototype.last = function(animationOptions) {\n\t    return this[\"switch\"](_.last(this._previousStates), animationOptions);\n\t  };\n\t\n\t  LayerStates.prototype.emit = function() {\n\t    var args, ref;\n\t    args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n\t    LayerStates.__super__.emit.apply(this, arguments);\n\t    return (ref = this.layer).emit.apply(ref, args);\n\t  };\n\t\n\t  LayerStates.filterStateProperties = function(properties) {\n\t    var k, stateProperties, v;\n\t    stateProperties = {};\n\t    for (k in properties) {\n\t      v = properties[k];\n\t      if (_.isNumber(v) || _.isFunction(v) || _.isBoolean(v) || _.isString(v)) {\n\t        stateProperties[k] = v;\n\t      }\n\t    }\n\t    return stateProperties;\n\t  };\n\t\n\t  return LayerStates;\n\t\n\t})(BaseClass);\n\n\n/***/ },\n/* 32 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar EventManagerElement, EventManagerIdCounter,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };\n\t\n\tEventManagerIdCounter = 0;\n\t\n\tEventManagerElement = (function() {\n\t  function EventManagerElement(element1) {\n\t    this.element = element1;\n\t    this._events = {};\n\t  }\n\t\n\t  EventManagerElement.prototype.addEventListener = function(eventName, listener) {\n\t    var base;\n\t    if ((base = this._events)[eventName] == null) {\n\t      base[eventName] = [];\n\t    }\n\t    this._events[eventName].push(listener);\n\t    return this.element.addEventListener(eventName, listener);\n\t  };\n\t\n\t  EventManagerElement.prototype.removeEventListener = function(event, listener) {\n\t    if (!this._events) {\n\t      return;\n\t    }\n\t    if (!this._events[event]) {\n\t      return;\n\t    }\n\t    this._events[event] = _.without(this._events[event], listener);\n\t    this.element.removeEventListener(event, listener);\n\t  };\n\t\n\t  EventManagerElement.prototype.removeAllEventListeners = function(eventName) {\n\t    var eventListener, events, i, j, len, len1, ref;\n\t    events = eventName ? [eventName] : _.keys(this._events);\n\t    for (i = 0, len = events.length; i < len; i++) {\n\t      eventName = events[i];\n\t      ref = this._events[eventName];\n\t      for (j = 0, len1 = ref.length; j < len1; j++) {\n\t        eventListener = ref[j];\n\t        this.removeEventListener(eventName, eventListener);\n\t      }\n\t    }\n\t  };\n\t\n\t  EventManagerElement.prototype.once = function(event, listener) {\n\t    var fn;\n\t    fn = (function(_this) {\n\t      return function() {\n\t        _this.removeListener(event, fn);\n\t        return listener.apply(null, arguments);\n\t      };\n\t    })(this);\n\t    return this.on(event, fn);\n\t  };\n\t\n\t  EventManagerElement.prototype.on = EventManagerElement.prototype.addEventListener;\n\t\n\t  EventManagerElement.prototype.off = EventManagerElement.prototype.removeEventListener;\n\t\n\t  return EventManagerElement;\n\t\n\t})();\n\t\n\texports.EventManager = (function() {\n\t  function EventManager(element) {\n\t    this.wrap = bind(this.wrap, this);\n\t    this._elements = {};\n\t  }\n\t\n\t  EventManager.prototype.wrap = function(element) {\n\t    if (!element._eventManagerId) {\n\t      element._eventManagerId = EventManagerIdCounter++;\n\t    }\n\t    if (!this._elements[element._eventManagerId]) {\n\t      this._elements[element._eventManagerId] = new EventManagerElement(element);\n\t    }\n\t    return this._elements[element._eventManagerId];\n\t  };\n\t\n\t  EventManager.prototype.reset = function() {\n\t    var element, elementEventManager, ref, results;\n\t    ref = this._elements;\n\t    results = [];\n\t    for (element in ref) {\n\t      elementEventManager = ref[element];\n\t      results.push(elementEventManager.removeAllEventListeners());\n\t    }\n\t    return results;\n\t  };\n\t\n\t  return EventManager;\n\t\n\t})();\n\n\n/***/ },\n/* 33 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Config, Utils;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tConfig = __webpack_require__(17).Config;\n\t\n\texports.Animator = (function() {\n\t  \"The animator class is a very simple class that\\n\t- Takes a set of input values at setup({input values})\\n\t- Emits an output value for progress (0 -> 1) in value(progress)\";\n\t  function Animator(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this.setup(options);\n\t  }\n\t\n\t  Animator.prototype.setup = function(options) {\n\t    throw Error(\"Not implemented\");\n\t  };\n\t\n\t  Animator.prototype.next = function(delta) {\n\t    throw Error(\"Not implemented\");\n\t  };\n\t\n\t  Animator.prototype.finished = function() {\n\t    throw Error(\"Not implemented\");\n\t  };\n\t\n\t  return Animator;\n\t\n\t})();\n\n\n/***/ },\n/* 34 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Config, Utils;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tConfig = __webpack_require__(17).Config;\n\t\n\texports.Integrator = (function() {\n\t  \"Usage:\\n\t- Instantiate with a function that takes (state) -> acceleration\\n\t- Call integrateState with state={x, v} and delta\";\n\t  function Integrator(_accelerationForState) {\n\t    this._accelerationForState = _accelerationForState;\n\t    if (!_.isFunction(this._accelerationForState)) {\n\t      console.warn(\"Integrator: an integrator must be constructed with an acceleration function\");\n\t      this._accelerationForState = function() {\n\t        return 0;\n\t      };\n\t    }\n\t  }\n\t\n\t  Integrator.prototype.integrateState = function(state, dt) {\n\t    var a, b, c, d, dvdt, dxdt;\n\t    a = this._evaluateState(state);\n\t    b = this._evaluateStateWithDerivative(state, dt * 0.5, a);\n\t    c = this._evaluateStateWithDerivative(state, dt * 0.5, b);\n\t    d = this._evaluateStateWithDerivative(state, dt, c);\n\t    dxdt = 1.0 / 6.0 * (a.dx + 2.0 * (b.dx + c.dx) + d.dx);\n\t    dvdt = 1.0 / 6.0 * (a.dv + 2.0 * (b.dv + c.dv) + d.dv);\n\t    state.x = state.x + dxdt * dt;\n\t    state.v = state.v + dvdt * dt;\n\t    return state;\n\t  };\n\t\n\t  Integrator.prototype._evaluateState = function(initialState) {\n\t    var output;\n\t    output = {};\n\t    output.dx = initialState.v;\n\t    output.dv = this._accelerationForState(initialState);\n\t    return output;\n\t  };\n\t\n\t  Integrator.prototype._evaluateStateWithDerivative = function(initialState, dt, derivative) {\n\t    var output, state;\n\t    state = {};\n\t    state.x = initialState.x + derivative.dx * dt;\n\t    state.v = initialState.v + derivative.dv * dt;\n\t    output = {};\n\t    output.dx = state.v;\n\t    output.dv = this._accelerationForState(state);\n\t    return output;\n\t  };\n\t\n\t  return Integrator;\n\t\n\t})();\n\n\n/***/ },\n/* 35 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar BaseClass, Config, Defaults, Events, FrictionSimulator, MomentumBounceSimulator, SimulatorClasses, SpringSimulator, Utils, _,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty,\n\t  indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tConfig = __webpack_require__(17).Config;\n\t\n\tDefaults = __webpack_require__(30).Defaults;\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\tEvents = __webpack_require__(6).Events;\n\t\n\tSpringSimulator = __webpack_require__(41).SpringSimulator;\n\t\n\tFrictionSimulator = __webpack_require__(42).FrictionSimulator;\n\t\n\tMomentumBounceSimulator = __webpack_require__(43).MomentumBounceSimulator;\n\t\n\tEvents.SimulationStart = 'simulationStart';\n\t\n\tEvents.SimulationStep = 'simulationStep';\n\t\n\tEvents.SimulationStop = 'simulationStop';\n\t\n\tSimulatorClasses = {\n\t  \"spring\": SpringSimulator,\n\t  \"friction\": FrictionSimulator,\n\t  \"inertial-scroll\": MomentumBounceSimulator\n\t};\n\t\n\texports.Simulation = (function(superClass) {\n\t  extend(Simulation, superClass);\n\t\n\t  function Simulation(options) {\n\t    var SimulatorClass;\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this._update = bind(this._update, this);\n\t    this._start = bind(this._start, this);\n\t    this.start = bind(this.start, this);\n\t    Simulation.__super__.constructor.call(this, options);\n\t    this.options = _.defaults(options, {\n\t      layer: null,\n\t      properties: {},\n\t      model: \"spring\",\n\t      modelOptions: {},\n\t      delay: 0,\n\t      debug: false\n\t    });\n\t    this._running = false;\n\t    SimulatorClass = SimulatorClasses[this.options.model] || SpringSimulator;\n\t    this._simulator = new SimulatorClass(this.options.modelOptions);\n\t  }\n\t\n\t  Simulation.prototype.animatingProperties = function() {\n\t    return _.keys(this.options.properties);\n\t  };\n\t\n\t  Simulation.prototype.start = function() {\n\t    var animatingProperties, animation, property, ref;\n\t    if (this.options.layer === null) {\n\t      console.error(\"Simulation: missing layer\");\n\t    }\n\t    if (this.options.debug) {\n\t      console.log(\"Simulation.start \" + this._simulator.constructor.name, this.options.modelOptions);\n\t    }\n\t    animatingProperties = this.animatingProperties();\n\t    ref = this.options.layer.animatingProperties();\n\t    for (property in ref) {\n\t      animation = ref[property];\n\t      if (indexOf.call(animatingProperties, property) >= 0) {\n\t        animation.stop();\n\t      }\n\t    }\n\t    if (this.options.delay) {\n\t      Utils.delay(this.options.delay, this._start);\n\t    } else {\n\t      this._start();\n\t    }\n\t    return true;\n\t  };\n\t\n\t  Simulation.prototype.stop = function(emit) {\n\t    if (emit == null) {\n\t      emit = true;\n\t    }\n\t    if (!this._running) {\n\t      return;\n\t    }\n\t    this._running = false;\n\t    this.options.layer._context._animationList = _.without(this.options.layer._context._animationList, this);\n\t    if (emit) {\n\t      this.emit(Events.SimulationStop);\n\t    }\n\t    return Framer.Loop.off(\"update\", this._update);\n\t  };\n\t\n\t  Simulation.prototype.emit = function(event) {\n\t    Simulation.__super__.emit.apply(this, arguments);\n\t    return this.options.layer.emit(event, this);\n\t  };\n\t\n\t  Simulation.prototype._start = function() {\n\t    if (this._running) {\n\t      return;\n\t    }\n\t    this._running = true;\n\t    this.options.layer._context._animationList.push(this);\n\t    this.emit(Events.SimulationStart);\n\t    return Framer.Loop.on(\"update\", this._update);\n\t  };\n\t\n\t  Simulation.prototype._update = function(delta) {\n\t    var emit, result;\n\t    if (this._simulator.finished()) {\n\t      this.stop(emit = false);\n\t      this.emit(\"end\");\n\t      return this.emit(Events.SimulationStop);\n\t    } else {\n\t      result = this._simulator.next(delta);\n\t      return this.emit(Events.SimulationStep, result, delta);\n\t    }\n\t  };\n\t\n\t  Simulation.define(\"simulator\", {\n\t    get: function() {\n\t      return this._simulator;\n\t    }\n\t  });\n\t\n\t  Simulation.prototype.finished = function() {\n\t    return this._simulator.finished();\n\t  };\n\t\n\t  return Simulation;\n\t\n\t})(BaseClass);\n\n\n/***/ },\n/* 36 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar BaseClass, Events, Utils, _,\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\tEvents = __webpack_require__(6).Events;\n\t\n\tEvents.EventBufferReset = \"eventbufferreset\";\n\t\n\tEvents.EventBufferUpdated = \"eventbufferupdated\";\n\t\n\texports.EventBuffer = (function(superClass) {\n\t  extend(EventBuffer, superClass);\n\t\n\t  function EventBuffer(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this.options = _.defaults(options, {\n\t      velocityTimeout: 100\n\t    });\n\t    this._events = [];\n\t  }\n\t\n\t  EventBuffer.prototype.push = function(event) {\n\t    this._events.push(event);\n\t    return this.emit(Events.EventBufferUpdated, event);\n\t  };\n\t\n\t  EventBuffer.prototype.reset = function() {\n\t    this._events.length = 0;\n\t    return this.emit(Events.EventBufferReset);\n\t  };\n\t\n\t  EventBuffer.define(\"length\", {\n\t    get: function() {\n\t      return this._events.length;\n\t    }\n\t  });\n\t\n\t  EventBuffer.define(\"first\", {\n\t    get: function() {\n\t      return this._events[0];\n\t    }\n\t  });\n\t\n\t  EventBuffer.define(\"offset\", {\n\t    get: function() {\n\t      var current, first, offset;\n\t      if (events.length < 2) {\n\t        return {\n\t          x: 0,\n\t          y: 0\n\t        };\n\t      }\n\t      current = events[events.length - 1];\n\t      first = events[0];\n\t      return offset = {\n\t        x: current.x - first.x,\n\t        y: current.y - first.y\n\t      };\n\t    }\n\t  });\n\t\n\t  EventBuffer.define(\"events\", {\n\t    get: function() {\n\t      var timeout;\n\t      timeout = Date.now() - this.options.velocityTimeout;\n\t      return _.filter(this._events, (function(_this) {\n\t        return function(event) {\n\t          return event.t > timeout;\n\t        };\n\t      })(this));\n\t    }\n\t  });\n\t\n\t  EventBuffer.define(\"angle\", {\n\t    get: function() {\n\t      var events, p1, p2;\n\t      events = this.events;\n\t      if (events.length < 2) {\n\t        return 0;\n\t      }\n\t      p1 = events[0];\n\t      p2 = events[1];\n\t      return Math.atan2(p2.y - p1.y, p2.x - p1.x) * 180 / Math.PI;\n\t    }\n\t  });\n\t\n\t  EventBuffer.define(\"velocity\", {\n\t    get: function() {\n\t      var current, events, first, time, velocity;\n\t      events = this.events;\n\t      if (events.length < 2) {\n\t        return {\n\t          x: 0,\n\t          y: 0\n\t        };\n\t      }\n\t      current = events[events.length - 1];\n\t      first = events[0];\n\t      time = current.t - first.t;\n\t      velocity = {\n\t        x: (current.x - first.x) / time,\n\t        y: (current.y - first.y) / time\n\t      };\n\t      if (velocity.x === Infinity) {\n\t        velocity.x = 0;\n\t      }\n\t      if (velocity.y === Infinity) {\n\t        velocity.y = 0;\n\t      }\n\t      return velocity;\n\t    }\n\t  });\n\t\n\t  return EventBuffer;\n\t\n\t})(BaseClass);\n\n\n/***/ },\n/* 37 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Utils,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\texports.enable = function() {\n\t  var MobileScrollFixLayer, handleScrollingLayerTouchMove, handleScrollingLayerTouchStart;\n\t  document.ontouchmove = function(event) {\n\t    if (event.target === document.body) {\n\t      return event.preventDefault();\n\t    }\n\t  };\n\t  handleScrollingLayerTouchMove = function(event) {\n\t    return event.stopPropagation();\n\t  };\n\t  handleScrollingLayerTouchStart = function(event) {\n\t    var element, startTopScroll;\n\t    element = this._element;\n\t    startTopScroll = element.scrollTop;\n\t    if (startTopScroll <= 0) {\n\t      element.scrollTop = 1;\n\t    }\n\t    if (startTopScroll + element.offsetHeight >= element.scrollHeight) {\n\t      return element.scrollTop = element.scrollHeight - element.offsetHeight - 1;\n\t    }\n\t  };\n\t  MobileScrollFixLayer = (function(superClass) {\n\t    extend(MobileScrollFixLayer, superClass);\n\t\n\t    function MobileScrollFixLayer(options) {\n\t      this._updateScrollListeners = bind(this._updateScrollListeners, this);\n\t      MobileScrollFixLayer.__super__.constructor.call(this, options);\n\t      if (this.constructor.name === \"Layer\") {\n\t        this.on(\"change:scrollVertical\", this._updateScrollListeners);\n\t        this._updateScrollListeners();\n\t      }\n\t    }\n\t\n\t    MobileScrollFixLayer.prototype._updateScrollListeners = function() {\n\t      if (this.scrollVertical === true) {\n\t        this.on(\"touchmove\", handleScrollingLayerTouchMove);\n\t        return this.on(\"touchstart\", handleScrollingLayerTouchStart);\n\t      } else {\n\t        this.off(\"touchmove\", handleScrollingLayerTouchMove);\n\t        return this.off(\"touchstart\", handleScrollingLayerTouchStart);\n\t      }\n\t    };\n\t\n\t    return MobileScrollFixLayer;\n\t\n\t  })(Framer.Layer);\n\t  return window.Layer = window.Framer.Layer = MobileScrollFixLayer;\n\t};\n\n\n/***/ },\n/* 38 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar slice = [].slice;\n\t\n\texports.enable = function(module) {\n\t  var ClassWrapper;\n\t  if (module == null) {\n\t    module = window;\n\t  }\n\t  ClassWrapper = function(Klass) {\n\t    return function() {\n\t      var args;\n\t      args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n\t      return this.prototype = (function(func, args, ctor) {\n\t        ctor.prototype = func.prototype;\n\t        var child = new ctor, result = func.apply(child, args);\n\t        return Object(result) === result ? result : child;\n\t      })(Klass, args, function(){});\n\t    };\n\t  };\n\t  module.Frame = ClassWrapper(Framer.Frame);\n\t  module.Layer = ClassWrapper(Framer.Layer);\n\t  module.BackgroundLayer = ClassWrapper(Framer.BackgroundLayer);\n\t  module.VideoLayer = ClassWrapper(Framer.VideoLayer);\n\t  return module.Animation = ClassWrapper(Framer.Animation);\n\t};\n\n\n/***/ },\n/* 39 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(module, global) {/**\n\t * @license\n\t * lodash 3.8.0 (Custom Build) <https://lodash.com/>\n\t * Build: `lodash modern -d -o ./index.js`\n\t * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>\n\t * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n\t * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t * Available under MIT license <https://lodash.com/license>\n\t */\n\t;(function() {\n\t\n\t  /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n\t  var undefined;\n\t\n\t  /** Used as the semantic version number. */\n\t  var VERSION = '3.8.0';\n\t\n\t  /** Used to compose bitmasks for wrapper metadata. */\n\t  var BIND_FLAG = 1,\n\t      BIND_KEY_FLAG = 2,\n\t      CURRY_BOUND_FLAG = 4,\n\t      CURRY_FLAG = 8,\n\t      CURRY_RIGHT_FLAG = 16,\n\t      PARTIAL_FLAG = 32,\n\t      PARTIAL_RIGHT_FLAG = 64,\n\t      ARY_FLAG = 128,\n\t      REARG_FLAG = 256;\n\t\n\t  /** Used as default options for `_.trunc`. */\n\t  var DEFAULT_TRUNC_LENGTH = 30,\n\t      DEFAULT_TRUNC_OMISSION = '...';\n\t\n\t  /** Used to detect when a function becomes hot. */\n\t  var HOT_COUNT = 150,\n\t      HOT_SPAN = 16;\n\t\n\t  /** Used to indicate the type of lazy iteratees. */\n\t  var LAZY_DROP_WHILE_FLAG = 0,\n\t      LAZY_FILTER_FLAG = 1,\n\t      LAZY_MAP_FLAG = 2;\n\t\n\t  /** Used as the `TypeError` message for \"Functions\" methods. */\n\t  var FUNC_ERROR_TEXT = 'Expected a function';\n\t\n\t  /** Used as the internal argument placeholder. */\n\t  var PLACEHOLDER = '__lodash_placeholder__';\n\t\n\t  /** `Object#toString` result references. */\n\t  var argsTag = '[object Arguments]',\n\t      arrayTag = '[object Array]',\n\t      boolTag = '[object Boolean]',\n\t      dateTag = '[object Date]',\n\t      errorTag = '[object Error]',\n\t      funcTag = '[object Function]',\n\t      mapTag = '[object Map]',\n\t      numberTag = '[object Number]',\n\t      objectTag = '[object Object]',\n\t      regexpTag = '[object RegExp]',\n\t      setTag = '[object Set]',\n\t      stringTag = '[object String]',\n\t      weakMapTag = '[object WeakMap]';\n\t\n\t  var arrayBufferTag = '[object ArrayBuffer]',\n\t      float32Tag = '[object Float32Array]',\n\t      float64Tag = '[object Float64Array]',\n\t      int8Tag = '[object Int8Array]',\n\t      int16Tag = '[object Int16Array]',\n\t      int32Tag = '[object Int32Array]',\n\t      uint8Tag = '[object Uint8Array]',\n\t      uint8ClampedTag = '[object Uint8ClampedArray]',\n\t      uint16Tag = '[object Uint16Array]',\n\t      uint32Tag = '[object Uint32Array]';\n\t\n\t  /** Used to match empty string literals in compiled template source. */\n\t  var reEmptyStringLeading = /\\b__p \\+= '';/g,\n\t      reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n\t      reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\t\n\t  /** Used to match HTML entities and HTML characters. */\n\t  var reEscapedHtml = /&(?:amp|lt|gt|quot|#39|#96);/g,\n\t      reUnescapedHtml = /[&<>\"'`]/g,\n\t      reHasEscapedHtml = RegExp(reEscapedHtml.source),\n\t      reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\t\n\t  /** Used to match template delimiters. */\n\t  var reEscape = /<%-([\\s\\S]+?)%>/g,\n\t      reEvaluate = /<%([\\s\\S]+?)%>/g,\n\t      reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\t\n\t  /** Used to match property names within property paths. */\n\t  var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\n\\\\]|\\\\.)*?\\1)\\]/,\n\t      reIsPlainProp = /^\\w*$/,\n\t      rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\n\\\\]|\\\\.)*?)\\2)\\]/g;\n\t\n\t  /**\n\t   * Used to match `RegExp` [special characters](http://www.regular-expressions.info/characters.html#special).\n\t   * In addition to special characters the forward slash is escaped to allow for\n\t   * easier `eval` use and `Function` compilation.\n\t   */\n\t  var reRegExpChars = /[.*+?^${}()|[\\]\\/\\\\]/g,\n\t      reHasRegExpChars = RegExp(reRegExpChars.source);\n\t\n\t  /** Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks). */\n\t  var reComboMark = /[\\u0300-\\u036f\\ufe20-\\ufe23]/g;\n\t\n\t  /** Used to match backslashes in property paths. */\n\t  var reEscapeChar = /\\\\(\\\\)?/g;\n\t\n\t  /** Used to match [ES template delimiters](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-template-literal-lexical-components). */\n\t  var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\t\n\t  /** Used to match `RegExp` flags from their coerced string values. */\n\t  var reFlags = /\\w*$/;\n\t\n\t  /** Used to detect hexadecimal string values. */\n\t  var reHasHexPrefix = /^0[xX]/;\n\t\n\t  /** Used to detect host constructors (Safari > 5). */\n\t  var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\t\n\t  /** Used to match latin-1 supplementary letters (excluding mathematical operators). */\n\t  var reLatin1 = /[\\xc0-\\xd6\\xd8-\\xde\\xdf-\\xf6\\xf8-\\xff]/g;\n\t\n\t  /** Used to ensure capturing order of template delimiters. */\n\t  var reNoMatch = /($^)/;\n\t\n\t  /** Used to match unescaped characters in compiled string literals. */\n\t  var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\t\n\t  /** Used to match words to create compound words. */\n\t  var reWords = (function() {\n\t    var upper = '[A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde]',\n\t        lower = '[a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff]+';\n\t\n\t    return RegExp(upper + '+(?=' + upper + lower + ')|' + upper + '?' + lower + '|' + upper + '+|[0-9]+', 'g');\n\t  }());\n\t\n\t  /** Used to detect and test for whitespace. */\n\t  var whitespace = (\n\t    // Basic whitespace characters.\n\t    ' \\t\\x0b\\f\\xa0\\ufeff' +\n\t\n\t    // Line terminators.\n\t    '\\n\\r\\u2028\\u2029' +\n\t\n\t    // Unicode category \"Zs\" space separators.\n\t    '\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000'\n\t  );\n\t\n\t  /** Used to assign default `context` object properties. */\n\t  var contextProps = [\n\t    'Array', 'ArrayBuffer', 'Date', 'Error', 'Float32Array', 'Float64Array',\n\t    'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Math', 'Number',\n\t    'Object', 'RegExp', 'Set', 'String', '_', 'clearTimeout', 'document',\n\t    'isFinite', 'parseInt', 'setTimeout', 'TypeError', 'Uint8Array',\n\t    'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',\n\t    'window'\n\t  ];\n\t\n\t  /** Used to make template sourceURLs easier to identify. */\n\t  var templateCounter = -1;\n\t\n\t  /** Used to identify `toStringTag` values of typed arrays. */\n\t  var typedArrayTags = {};\n\t  typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\n\t  typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\n\t  typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\n\t  typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\n\t  typedArrayTags[uint32Tag] = true;\n\t  typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\n\t  typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\n\t  typedArrayTags[dateTag] = typedArrayTags[errorTag] =\n\t  typedArrayTags[funcTag] = typedArrayTags[mapTag] =\n\t  typedArrayTags[numberTag] = typedArrayTags[objectTag] =\n\t  typedArrayTags[regexpTag] = typedArrayTags[setTag] =\n\t  typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;\n\t\n\t  /** Used to identify `toStringTag` values supported by `_.clone`. */\n\t  var cloneableTags = {};\n\t  cloneableTags[argsTag] = cloneableTags[arrayTag] =\n\t  cloneableTags[arrayBufferTag] = cloneableTags[boolTag] =\n\t  cloneableTags[dateTag] = cloneableTags[float32Tag] =\n\t  cloneableTags[float64Tag] = cloneableTags[int8Tag] =\n\t  cloneableTags[int16Tag] = cloneableTags[int32Tag] =\n\t  cloneableTags[numberTag] = cloneableTags[objectTag] =\n\t  cloneableTags[regexpTag] = cloneableTags[stringTag] =\n\t  cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\n\t  cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n\t  cloneableTags[errorTag] = cloneableTags[funcTag] =\n\t  cloneableTags[mapTag] = cloneableTags[setTag] =\n\t  cloneableTags[weakMapTag] = false;\n\t\n\t  /** Used as an internal `_.debounce` options object by `_.throttle`. */\n\t  var debounceOptions = {\n\t    'leading': false,\n\t    'maxWait': 0,\n\t    'trailing': false\n\t  };\n\t\n\t  /** Used to map latin-1 supplementary letters to basic latin letters. */\n\t  var deburredLetters = {\n\t    '\\xc0': 'A',  '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n\t    '\\xe0': 'a',  '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n\t    '\\xc7': 'C',  '\\xe7': 'c',\n\t    '\\xd0': 'D',  '\\xf0': 'd',\n\t    '\\xc8': 'E',  '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n\t    '\\xe8': 'e',  '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n\t    '\\xcC': 'I',  '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n\t    '\\xeC': 'i',  '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n\t    '\\xd1': 'N',  '\\xf1': 'n',\n\t    '\\xd2': 'O',  '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n\t    '\\xf2': 'o',  '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n\t    '\\xd9': 'U',  '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n\t    '\\xf9': 'u',  '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n\t    '\\xdd': 'Y',  '\\xfd': 'y', '\\xff': 'y',\n\t    '\\xc6': 'Ae', '\\xe6': 'ae',\n\t    '\\xde': 'Th', '\\xfe': 'th',\n\t    '\\xdf': 'ss'\n\t  };\n\t\n\t  /** Used to map characters to HTML entities. */\n\t  var htmlEscapes = {\n\t    '&': '&amp;',\n\t    '<': '&lt;',\n\t    '>': '&gt;',\n\t    '\"': '&quot;',\n\t    \"'\": '&#39;',\n\t    '`': '&#96;'\n\t  };\n\t\n\t  /** Used to map HTML entities to characters. */\n\t  var htmlUnescapes = {\n\t    '&amp;': '&',\n\t    '&lt;': '<',\n\t    '&gt;': '>',\n\t    '&quot;': '\"',\n\t    '&#39;': \"'\",\n\t    '&#96;': '`'\n\t  };\n\t\n\t  /** Used to determine if values are of the language type `Object`. */\n\t  var objectTypes = {\n\t    'function': true,\n\t    'object': true\n\t  };\n\t\n\t  /** Used to escape characters for inclusion in compiled string literals. */\n\t  var stringEscapes = {\n\t    '\\\\': '\\\\',\n\t    \"'\": \"'\",\n\t    '\\n': 'n',\n\t    '\\r': 'r',\n\t    '\\u2028': 'u2028',\n\t    '\\u2029': 'u2029'\n\t  };\n\t\n\t  /** Detect free variable `exports`. */\n\t  var freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && exports;\n\t\n\t  /** Detect free variable `module`. */\n\t  var freeModule = objectTypes[typeof module] && module && !module.nodeType && module;\n\t\n\t  /** Detect free variable `global` from Node.js. */\n\t  var freeGlobal = freeExports && freeModule && typeof global == 'object' && global && global.Object && global;\n\t\n\t  /** Detect free variable `self`. */\n\t  var freeSelf = objectTypes[typeof self] && self && self.Object && self;\n\t\n\t  /** Detect free variable `window`. */\n\t  var freeWindow = objectTypes[typeof window] && window && window.Object && window;\n\t\n\t  /** Detect the popular CommonJS extension `module.exports`. */\n\t  var moduleExports = freeModule && freeModule.exports === freeExports && freeExports;\n\t\n\t  /**\n\t   * Used as a reference to the global object.\n\t   *\n\t   * The `this` value is used if it is the global object to avoid Greasemonkey's\n\t   * restricted `window` object, otherwise the `window` object is used.\n\t   */\n\t  var root = freeGlobal || ((freeWindow !== (this && this.window)) && freeWindow) || freeSelf || this;\n\t\n\t  /**\n\t   * The base implementation of `compareAscending` which compares values and\n\t   * sorts them in ascending order without guaranteeing a stable sort.\n\t   *\n\t   * @private\n\t   * @param {*} value The value to compare to `other`.\n\t   * @param {*} other The value to compare to `value`.\n\t   * @returns {number} Returns the sort order indicator for `value`.\n\t   */\n\t  function baseCompareAscending(value, other) {\n\t    if (value !== other) {\n\t      var valIsReflexive = value === value,\n\t          othIsReflexive = other === other;\n\t\n\t      if (value > other || !valIsReflexive || (value === undefined && othIsReflexive)) {\n\t        return 1;\n\t      }\n\t      if (value < other || !othIsReflexive || (other === undefined && valIsReflexive)) {\n\t        return -1;\n\t      }\n\t    }\n\t    return 0;\n\t  }\n\t\n\t  /**\n\t   * The base implementation of `_.findIndex` and `_.findLastIndex` without\n\t   * support for callback shorthands and `this` binding.\n\t   *\n\t   * @private\n\t   * @param {Array} array The array to search.\n\t   * @param {Function} predicate The function invoked per iteration.\n\t   * @param {boolean} [fromRight] Specify iterating from right to left.\n\t   * @returns {number} Returns the index of the matched value, else `-1`.\n\t   */\n\t  function baseFindIndex(array, predicate, fromRight) {\n\t    var length = array.length,\n\t        index = fromRight ? length : -1;\n\t\n\t    while ((fromRight ? index-- : ++index < length)) {\n\t      if (predicate(array[index], index, array)) {\n\t        return index;\n\t      }\n\t    }\n\t    return -1;\n\t  }\n\t\n\t  /**\n\t   * The base implementation of `_.indexOf` without support for binary searches.\n\t   *\n\t   * @private\n\t   * @param {Array} array The array to search.\n\t   * @param {*} value The value to search for.\n\t   * @param {number} fromIndex The index to search from.\n\t   * @returns {number} Returns the index of the matched value, else `-1`.\n\t   */\n\t  function baseIndexOf(array, value, fromIndex) {\n\t    if (value !== value) {\n\t      return indexOfNaN(array, fromIndex);\n\t    }\n\t    var index = fromIndex - 1,\n\t        length = array.length;\n\t\n\t    while (++index < length) {\n\t      if (array[index] === value) {\n\t        return index;\n\t      }\n\t    }\n\t    return -1;\n\t  }\n\t\n\t  /**\n\t   * The base implementation of `_.isFunction` without support for environments\n\t   * with incorrect `typeof` results.\n\t   *\n\t   * @private\n\t   * @param {*} value The value to check.\n\t   * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t   */\n\t  function baseIsFunction(value) {\n\t    // Avoid a Chakra JIT bug in compatibility modes of IE 11.\n\t    // See https://github.com/jashkenas/underscore/issues/1621 for more details.\n\t    return typeof value == 'function' || false;\n\t  }\n\t\n\t  /**\n\t   * Converts `value` to a string if it is not one. An empty string is returned\n\t   * for `null` or `undefined` values.\n\t   *\n\t   * @private\n\t   * @param {*} value The value to process.\n\t   * @returns {string} Returns the string.\n\t   */\n\t  function baseToString(value) {\n\t    if (typeof value == 'string') {\n\t      return value;\n\t    }\n\t    return value == null ? '' : (value + '');\n\t  }\n\t\n\t  /**\n\t   * Used by `_.max` and `_.min` as the default callback for string values.\n\t   *\n\t   * @private\n\t   * @param {string} string The string to inspect.\n\t   * @returns {number} Returns the code unit of the first character of the string.\n\t   */\n\t  function charAtCallback(string) {\n\t    return string.charCodeAt(0);\n\t  }\n\t\n\t  /**\n\t   * Used by `_.trim` and `_.trimLeft` to get the index of the first character\n\t   * of `string` that is not found in `chars`.\n\t   *\n\t   * @private\n\t   * @param {string} string The string to inspect.\n\t   * @param {string} chars The characters to find.\n\t   * @returns {number} Returns the index of the first character not found in `chars`.\n\t   */\n\t  function charsLeftIndex(string, chars) {\n\t    var index = -1,\n\t        length = string.length;\n\t\n\t    while (++index < length && chars.indexOf(string.charAt(index)) > -1) {}\n\t    return index;\n\t  }\n\t\n\t  /**\n\t   * Used by `_.trim` and `_.trimRight` to get the index of the last character\n\t   * of `string` that is not found in `chars`.\n\t   *\n\t   * @private\n\t   * @param {string} string The string to inspect.\n\t   * @param {string} chars The characters to find.\n\t   * @returns {number} Returns the index of the last character not found in `chars`.\n\t   */\n\t  function charsRightIndex(string, chars) {\n\t    var index = string.length;\n\t\n\t    while (index-- && chars.indexOf(string.charAt(index)) > -1) {}\n\t    return index;\n\t  }\n\t\n\t  /**\n\t   * Used by `_.sortBy` to compare transformed elements of a collection and stable\n\t   * sort them in ascending order.\n\t   *\n\t   * @private\n\t   * @param {Object} object The object to compare to `other`.\n\t   * @param {Object} other The object to compare to `object`.\n\t   * @returns {number} Returns the sort order indicator for `object`.\n\t   */\n\t  function compareAscending(object, other) {\n\t    return baseCompareAscending(object.criteria, other.criteria) || (object.index - other.index);\n\t  }\n\t\n\t  /**\n\t   * Used by `_.sortByOrder` to compare multiple properties of each element\n\t   * in a collection and stable sort them in the following order:\n\t   *\n\t   * If `orders` is unspecified, sort in ascending order for all properties.\n\t   * Otherwise, for each property, sort in ascending order if its corresponding value in\n\t   * orders is true, and descending order if false.\n\t   *\n\t   * @private\n\t   * @param {Object} object The object to compare to `other`.\n\t   * @param {Object} other The object to compare to `object`.\n\t   * @param {boolean[]} orders The order to sort by for each property.\n\t   * @returns {number} Returns the sort order indicator for `object`.\n\t   */\n\t  function compareMultiple(object, other, orders) {\n\t    var index = -1,\n\t        objCriteria = object.criteria,\n\t        othCriteria = other.criteria,\n\t        length = objCriteria.length,\n\t        ordersLength = orders.length;\n\t\n\t    while (++index < length) {\n\t      var result = baseCompareAscending(objCriteria[index], othCriteria[index]);\n\t      if (result) {\n\t        if (index >= ordersLength) {\n\t          return result;\n\t        }\n\t        return result * (orders[index] ? 1 : -1);\n\t      }\n\t    }\n\t    // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n\t    // that causes it, under certain circumstances, to provide the same value for\n\t    // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n\t    // for more details.\n\t    //\n\t    // This also ensures a stable sort in V8 and other engines.\n\t    // See https://code.google.com/p/v8/issues/detail?id=90 for more details.\n\t    return object.index - other.index;\n\t  }\n\t\n\t  /**\n\t   * Used by `_.deburr` to convert latin-1 supplementary letters to basic latin letters.\n\t   *\n\t   * @private\n\t   * @param {string} letter The matched letter to deburr.\n\t   * @returns {string} Returns the deburred letter.\n\t   */\n\t  function deburrLetter(letter) {\n\t    return deburredLetters[letter];\n\t  }\n\t\n\t  /**\n\t   * Used by `_.escape` to convert characters to HTML entities.\n\t   *\n\t   * @private\n\t   * @param {string} chr The matched character to escape.\n\t   * @returns {string} Returns the escaped character.\n\t   */\n\t  function escapeHtmlChar(chr) {\n\t    return htmlEscapes[chr];\n\t  }\n\t\n\t  /**\n\t   * Used by `_.template` to escape characters for inclusion in compiled\n\t   * string literals.\n\t   *\n\t   * @private\n\t   * @param {string} chr The matched character to escape.\n\t   * @returns {string} Returns the escaped character.\n\t   */\n\t  function escapeStringChar(chr) {\n\t    return '\\\\' + stringEscapes[chr];\n\t  }\n\t\n\t  /**\n\t   * Gets the index at which the first occurrence of `NaN` is found in `array`.\n\t   *\n\t   * @private\n\t   * @param {Array} array The array to search.\n\t   * @param {number} fromIndex The index to search from.\n\t   * @param {boolean} [fromRight] Specify iterating from right to left.\n\t   * @returns {number} Returns the index of the matched `NaN`, else `-1`.\n\t   */\n\t  function indexOfNaN(array, fromIndex, fromRight) {\n\t    var length = array.length,\n\t        index = fromIndex + (fromRight ? 0 : -1);\n\t\n\t    while ((fromRight ? index-- : ++index < length)) {\n\t      var other = array[index];\n\t      if (other !== other) {\n\t        return index;\n\t      }\n\t    }\n\t    return -1;\n\t  }\n\t\n\t  /**\n\t   * Checks if `value` is object-like.\n\t   *\n\t   * @private\n\t   * @param {*} value The value to check.\n\t   * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n\t   */\n\t  function isObjectLike(value) {\n\t    return !!value && typeof value == 'object';\n\t  }\n\t\n\t  /**\n\t   * Used by `trimmedLeftIndex` and `trimmedRightIndex` to determine if a\n\t   * character code is whitespace.\n\t   *\n\t   * @private\n\t   * @param {number} charCode The character code to inspect.\n\t   * @returns {boolean} Returns `true` if `charCode` is whitespace, else `false`.\n\t   */\n\t  function isSpace(charCode) {\n\t    return ((charCode <= 160 && (charCode >= 9 && charCode <= 13) || charCode == 32 || charCode == 160) || charCode == 5760 || charCode == 6158 ||\n\t      (charCode >= 8192 && (charCode <= 8202 || charCode == 8232 || charCode == 8233 || charCode == 8239 || charCode == 8287 || charCode == 12288 || charCode == 65279)));\n\t  }\n\t\n\t  /**\n\t   * Replaces all `placeholder` elements in `array` with an internal placeholder\n\t   * and returns an array of their indexes.\n\t   *\n\t   * @private\n\t   * @param {Array} array The array to modify.\n\t   * @param {*} placeholder The placeholder to replace.\n\t   * @returns {Array} Returns the new array of placeholder indexes.\n\t   */\n\t  function replaceHolders(array, placeholder) {\n\t    var index = -1,\n\t        length = array.length,\n\t        resIndex = -1,\n\t        result = [];\n\t\n\t    while (++index < length) {\n\t      if (array[index] === placeholder) {\n\t        array[index] = PLACEHOLDER;\n\t        result[++resIndex] = index;\n\t      }\n\t    }\n\t    return result;\n\t  }\n\t\n\t  /**\n\t   * An implementation of `_.uniq` optimized for sorted arrays without support\n\t   * for callback shorthands and `this` binding.\n\t   *\n\t   * @private\n\t   * @param {Array} array The array to inspect.\n\t   * @param {Function} [iteratee] The function invoked per iteration.\n\t   * @returns {Array} Returns the new duplicate-value-free array.\n\t   */\n\t  function sortedUniq(array, iteratee) {\n\t    var seen,\n\t        index = -1,\n\t        length = array.length,\n\t        resIndex = -1,\n\t        result = [];\n\t\n\t    while (++index < length) {\n\t      var value = array[index],\n\t          computed = iteratee ? iteratee(value, index, array) : value;\n\t\n\t      if (!index || seen !== computed) {\n\t        seen = computed;\n\t        result[++resIndex] = value;\n\t      }\n\t    }\n\t    return result;\n\t  }\n\t\n\t  /**\n\t   * Used by `_.trim` and `_.trimLeft` to get the index of the first non-whitespace\n\t   * character of `string`.\n\t   *\n\t   * @private\n\t   * @param {string} string The string to inspect.\n\t   * @returns {number} Returns the index of the first non-whitespace character.\n\t   */\n\t  function trimmedLeftIndex(string) {\n\t    var index = -1,\n\t        length = string.length;\n\t\n\t    while (++index < length && isSpace(string.charCodeAt(index))) {}\n\t    return index;\n\t  }\n\t\n\t  /**\n\t   * Used by `_.trim` and `_.trimRight` to get the index of the last non-whitespace\n\t   * character of `string`.\n\t   *\n\t   * @private\n\t   * @param {string} string The string to inspect.\n\t   * @returns {number} Returns the index of the last non-whitespace character.\n\t   */\n\t  function trimmedRightIndex(string) {\n\t    var index = string.length;\n\t\n\t    while (index-- && isSpace(string.charCodeAt(index))) {}\n\t    return index;\n\t  }\n\t\n\t  /**\n\t   * Used by `_.unescape` to convert HTML entities to characters.\n\t   *\n\t   * @private\n\t   * @param {string} chr The matched character to unescape.\n\t   * @returns {string} Returns the unescaped character.\n\t   */\n\t  function unescapeHtmlChar(chr) {\n\t    return htmlUnescapes[chr];\n\t  }\n\t\n\t  /**\n\t   * Create a new pristine `lodash` function using the given `context` object.\n\t   *\n\t   * @static\n\t   * @memberOf _\n\t   * @category Utility\n\t   * @param {Object} [context=root] The context object.\n\t   * @returns {Function} Returns a new `lodash` function.\n\t   * @example\n\t   *\n\t   * _.mixin({ 'foo': _.constant('foo') });\n\t   *\n\t   * var lodash = _.runInContext();\n\t   * lodash.mixin({ 'bar': lodash.constant('bar') });\n\t   *\n\t   * _.isFunction(_.foo);\n\t   * // => true\n\t   * _.isFunction(_.bar);\n\t   * // => false\n\t   *\n\t   * lodash.isFunction(lodash.foo);\n\t   * // => false\n\t   * lodash.isFunction(lodash.bar);\n\t   * // => true\n\t   *\n\t   * // using `context` to mock `Date#getTime` use in `_.now`\n\t   * var mock = _.runInContext({\n\t   *   'Date': function() {\n\t   *     return { 'getTime': getTimeMock };\n\t   *   }\n\t   * });\n\t   *\n\t   * // or creating a suped-up `defer` in Node.js\n\t   * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n\t   */\n\t  function runInContext(context) {\n\t    // Avoid issues with some ES3 environments that attempt to use values, named\n\t    // after built-in constructors like `Object`, for the creation of literals.\n\t    // ES5 clears this up by stating that literals must use built-in constructors.\n\t    // See https://es5.github.io/#x11.1.5 for more details.\n\t    context = context ? _.defaults(root.Object(), context, _.pick(root, contextProps)) : root;\n\t\n\t    /** Native constructor references. */\n\t    var Array = context.Array,\n\t        Date = context.Date,\n\t        Error = context.Error,\n\t        Function = context.Function,\n\t        Math = context.Math,\n\t        Number = context.Number,\n\t        Object = context.Object,\n\t        RegExp = context.RegExp,\n\t        String = context.String,\n\t        TypeError = context.TypeError;\n\t\n\t    /** Used for native method references. */\n\t    var arrayProto = Array.prototype,\n\t        objectProto = Object.prototype,\n\t        stringProto = String.prototype;\n\t\n\t    /** Used to detect DOM support. */\n\t    var document = (document = context.window) && document.document;\n\t\n\t    /** Used to resolve the decompiled source of functions. */\n\t    var fnToString = Function.prototype.toString;\n\t\n\t    /** Used to check objects for own properties. */\n\t    var hasOwnProperty = objectProto.hasOwnProperty;\n\t\n\t    /** Used to generate unique IDs. */\n\t    var idCounter = 0;\n\t\n\t    /**\n\t     * Used to resolve the [`toStringTag`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring)\n\t     * of values.\n\t     */\n\t    var objToString = objectProto.toString;\n\t\n\t    /** Used to restore the original `_` reference in `_.noConflict`. */\n\t    var oldDash = context._;\n\t\n\t    /** Used to detect if a method is native. */\n\t    var reIsNative = RegExp('^' +\n\t      escapeRegExp(objToString)\n\t      .replace(/toString|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n\t    );\n\t\n\t    /** Native method references. */\n\t    var ArrayBuffer = isNative(ArrayBuffer = context.ArrayBuffer) && ArrayBuffer,\n\t        bufferSlice = isNative(bufferSlice = ArrayBuffer && new ArrayBuffer(0).slice) && bufferSlice,\n\t        ceil = Math.ceil,\n\t        clearTimeout = context.clearTimeout,\n\t        floor = Math.floor,\n\t        getOwnPropertySymbols = isNative(getOwnPropertySymbols = Object.getOwnPropertySymbols) && getOwnPropertySymbols,\n\t        getPrototypeOf = isNative(getPrototypeOf = Object.getPrototypeOf) && getPrototypeOf,\n\t        push = arrayProto.push,\n\t        preventExtensions = isNative(preventExtensions = Object.preventExtensions) && preventExtensions,\n\t        propertyIsEnumerable = objectProto.propertyIsEnumerable,\n\t        Set = isNative(Set = context.Set) && Set,\n\t        setTimeout = context.setTimeout,\n\t        splice = arrayProto.splice,\n\t        Uint8Array = isNative(Uint8Array = context.Uint8Array) && Uint8Array,\n\t        WeakMap = isNative(WeakMap = context.WeakMap) && WeakMap;\n\t\n\t    /** Used to clone array buffers. */\n\t    var Float64Array = (function() {\n\t      // Safari 5 errors when using an array buffer to initialize a typed array\n\t      // where the array buffer's `byteLength` is not a multiple of the typed\n\t      // array's `BYTES_PER_ELEMENT`.\n\t      try {\n\t        var func = isNative(func = context.Float64Array) && func,\n\t            result = new func(new ArrayBuffer(10), 0, 1) && func;\n\t      } catch(e) {}\n\t      return result;\n\t    }());\n\t\n\t    /** Used as `baseAssign`. */\n\t    var nativeAssign = (function() {\n\t      // Avoid `Object.assign` in Firefox 34-37 which have an early implementation\n\t      // with a now defunct try/catch behavior. See https://bugzilla.mozilla.org/show_bug.cgi?id=1103344\n\t      // for more details.\n\t      //\n\t      // Use `Object.preventExtensions` on a plain object instead of simply using\n\t      // `Object('x')` because Chrome and IE fail to throw an error when attempting\n\t      // to assign values to readonly indexes of strings.\n\t      var func = preventExtensions && isNative(func = Object.assign) && func;\n\t      try {\n\t        if (func) {\n\t          var object = preventExtensions({ '1': 0 });\n\t          object[0] = 1;\n\t        }\n\t      } catch(e) {\n\t        // Only attempt in strict mode.\n\t        try { func(object, 'xo'); } catch(e) {}\n\t        return !object[1] && func;\n\t      }\n\t      return false;\n\t    }());\n\t\n\t    /* Native method references for those with the same name as other `lodash` methods. */\n\t    var nativeIsArray = isNative(nativeIsArray = Array.isArray) && nativeIsArray,\n\t        nativeCreate = isNative(nativeCreate = Object.create) && nativeCreate,\n\t        nativeIsFinite = context.isFinite,\n\t        nativeKeys = isNative(nativeKeys = Object.keys) && nativeKeys,\n\t        nativeMax = Math.max,\n\t        nativeMin = Math.min,\n\t        nativeNow = isNative(nativeNow = Date.now) && nativeNow,\n\t        nativeNumIsFinite = isNative(nativeNumIsFinite = Number.isFinite) && nativeNumIsFinite,\n\t        nativeParseInt = context.parseInt,\n\t        nativeRandom = Math.random;\n\t\n\t    /** Used as references for `-Infinity` and `Infinity`. */\n\t    var NEGATIVE_INFINITY = Number.NEGATIVE_INFINITY,\n\t        POSITIVE_INFINITY = Number.POSITIVE_INFINITY;\n\t\n\t    /** Used as references for the maximum length and index of an array. */\n\t    var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1,\n\t        MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n\t        HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n\t\n\t    /** Used as the size, in bytes, of each `Float64Array` element. */\n\t    var FLOAT64_BYTES_PER_ELEMENT = Float64Array ? Float64Array.BYTES_PER_ELEMENT : 0;\n\t\n\t    /**\n\t     * Used as the [maximum length](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)\n\t     * of an array-like value.\n\t     */\n\t    var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;\n\t\n\t    /** Used to store function metadata. */\n\t    var metaMap = WeakMap && new WeakMap;\n\t\n\t    /** Used to lookup unminified function names. */\n\t    var realNames = {};\n\t\n\t    /**\n\t     * Creates a `lodash` object which wraps `value` to enable implicit chaining.\n\t     * Methods that operate on and return arrays, collections, and functions can\n\t     * be chained together. Methods that return a boolean or single value will\n\t     * automatically end the chain returning the unwrapped value. Explicit chaining\n\t     * may be enabled using `_.chain`. The execution of chained methods is lazy,\n\t     * that is, execution is deferred until `_#value` is implicitly or explicitly\n\t     * called.\n\t     *\n\t     * Lazy evaluation allows several methods to support shortcut fusion. Shortcut\n\t     * fusion is an optimization that merges iteratees to avoid creating intermediate\n\t     * arrays and reduce the number of iteratee executions.\n\t     *\n\t     * Chaining is supported in custom builds as long as the `_#value` method is\n\t     * directly or indirectly included in the build.\n\t     *\n\t     * In addition to lodash methods, wrappers have `Array` and `String` methods.\n\t     *\n\t     * The wrapper `Array` methods are:\n\t     * `concat`, `join`, `pop`, `push`, `reverse`, `shift`, `slice`, `sort`,\n\t     * `splice`, and `unshift`\n\t     *\n\t     * The wrapper `String` methods are:\n\t     * `replace` and `split`\n\t     *\n\t     * The wrapper methods that support shortcut fusion are:\n\t     * `compact`, `drop`, `dropRight`, `dropRightWhile`, `dropWhile`, `filter`,\n\t     * `first`, `initial`, `last`, `map`, `pluck`, `reject`, `rest`, `reverse`,\n\t     * `slice`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, `toArray`,\n\t     * and `where`\n\t     *\n\t     * The chainable wrapper methods are:\n\t     * `after`, `ary`, `assign`, `at`, `before`, `bind`, `bindAll`, `bindKey`,\n\t     * `callback`, `chain`, `chunk`, `commit`, `compact`, `concat`, `constant`,\n\t     * `countBy`, `create`, `curry`, `debounce`, `defaults`, `defer`, `delay`,\n\t     * `difference`, `drop`, `dropRight`, `dropRightWhile`, `dropWhile`, `fill`,\n\t     * `filter`, `flatten`, `flattenDeep`, `flow`, `flowRight`, `forEach`,\n\t     * `forEachRight`, `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `functions`,\n\t     * `groupBy`, `indexBy`, `initial`, `intersection`, `invert`, `invoke`, `keys`,\n\t     * `keysIn`, `map`, `mapValues`, `matches`, `matchesProperty`, `memoize`,\n\t     * `merge`, `mixin`, `negate`, `omit`, `once`, `pairs`, `partial`, `partialRight`,\n\t     * `partition`, `pick`, `plant`, `pluck`, `property`, `propertyOf`, `pull`,\n\t     * `pullAt`, `push`, `range`, `rearg`, `reject`, `remove`, `rest`, `reverse`,\n\t     * `shuffle`, `slice`, `sort`, `sortBy`, `sortByAll`, `sortByOrder`, `splice`,\n\t     * `spread`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, `tap`,\n\t     * `throttle`, `thru`, `times`, `toArray`, `toPlainObject`, `transform`,\n\t     * `union`, `uniq`, `unshift`, `unzip`, `values`, `valuesIn`, `where`,\n\t     * `without`, `wrap`, `xor`, `zip`, and `zipObject`\n\t     *\n\t     * The wrapper methods that are **not** chainable by default are:\n\t     * `add`, `attempt`, `camelCase`, `capitalize`, `clone`, `cloneDeep`, `deburr`,\n\t     * `endsWith`, `escape`, `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`,\n\t     * `findLast`, `findLastIndex`, `findLastKey`, `findWhere`, `first`, `has`,\n\t     * `identity`, `includes`, `indexOf`, `inRange`, `isArguments`, `isArray`,\n\t     * `isBoolean`, `isDate`, `isElement`, `isEmpty`, `isEqual`, `isError`, `isFinite`\n\t     * `isFunction`, `isMatch`, `isNative`, `isNaN`, `isNull`, `isNumber`, `isObject`,\n\t     * `isPlainObject`, `isRegExp`, `isString`, `isUndefined`, `isTypedArray`,\n\t     * `join`, `kebabCase`, `last`, `lastIndexOf`, `max`, `min`, `noConflict`,\n\t     * `noop`, `now`, `pad`, `padLeft`, `padRight`, `parseInt`, `pop`, `random`,\n\t     * `reduce`, `reduceRight`, `repeat`, `result`, `runInContext`, `shift`, `size`,\n\t     * `snakeCase`, `some`, `sortedIndex`, `sortedLastIndex`, `startCase`, `startsWith`,\n\t     * `sum`, `template`, `trim`, `trimLeft`, `trimRight`, `trunc`, `unescape`,\n\t     * `uniqueId`, `value`, and `words`\n\t     *\n\t     * The wrapper method `sample` will return a wrapped value when `n` is provided,\n\t     * otherwise an unwrapped value is returned.\n\t     *\n\t     * @name _\n\t     * @constructor\n\t     * @category Chain\n\t     * @param {*} value The value to wrap in a `lodash` instance.\n\t     * @returns {Object} Returns the new `lodash` wrapper instance.\n\t     * @example\n\t     *\n\t     * var wrapped = _([1, 2, 3]);\n\t     *\n\t     * // returns an unwrapped value\n\t     * wrapped.reduce(function(total, n) {\n\t     *   return total + n;\n\t     * });\n\t     * // => 6\n\t     *\n\t     * // returns a wrapped value\n\t     * var squares = wrapped.map(function(n) {\n\t     *   return n * n;\n\t     * });\n\t     *\n\t     * _.isArray(squares);\n\t     * // => false\n\t     *\n\t     * _.isArray(squares.value());\n\t     * // => true\n\t     */\n\t    function lodash(value) {\n\t      if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n\t        if (value instanceof LodashWrapper) {\n\t          return value;\n\t        }\n\t        if (hasOwnProperty.call(value, '__chain__') && hasOwnProperty.call(value, '__wrapped__')) {\n\t          return wrapperClone(value);\n\t        }\n\t      }\n\t      return new LodashWrapper(value);\n\t    }\n\t\n\t    /**\n\t     * The function whose prototype all chaining wrappers inherit from.\n\t     *\n\t     * @private\n\t     */\n\t    function baseLodash() {\n\t      // No operation performed.\n\t    }\n\t\n\t    /**\n\t     * The base constructor for creating `lodash` wrapper objects.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to wrap.\n\t     * @param {boolean} [chainAll] Enable chaining for all wrapper methods.\n\t     * @param {Array} [actions=[]] Actions to peform to resolve the unwrapped value.\n\t     */\n\t    function LodashWrapper(value, chainAll, actions) {\n\t      this.__wrapped__ = value;\n\t      this.__actions__ = actions || [];\n\t      this.__chain__ = !!chainAll;\n\t    }\n\t\n\t    /**\n\t     * An object environment feature flags.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @type Object\n\t     */\n\t    var support = lodash.support = {};\n\t\n\t    (function(x) {\n\t      var Ctor = function() { this.x = x; },\n\t          args = arguments,\n\t          object = { '0': x, 'length': x },\n\t          props = [];\n\t\n\t      Ctor.prototype = { 'valueOf': x, 'y': x };\n\t      for (var key in new Ctor) { props.push(key); }\n\t\n\t      /**\n\t       * Detect if functions can be decompiled by `Function#toString`\n\t       * (all but Firefox OS certified apps, older Opera mobile browsers, and\n\t       * the PlayStation 3; forced `false` for Windows 8 apps).\n\t       *\n\t       * @memberOf _.support\n\t       * @type boolean\n\t       */\n\t      support.funcDecomp = /\\bthis\\b/.test(function() { return this; });\n\t\n\t      /**\n\t       * Detect if `Function#name` is supported (all but IE).\n\t       *\n\t       * @memberOf _.support\n\t       * @type boolean\n\t       */\n\t      support.funcNames = typeof Function.name == 'string';\n\t\n\t      /**\n\t       * Detect if the DOM is supported.\n\t       *\n\t       * @memberOf _.support\n\t       * @type boolean\n\t       */\n\t      try {\n\t        support.dom = document.createDocumentFragment().nodeType === 11;\n\t      } catch(e) {\n\t        support.dom = false;\n\t      }\n\t\n\t      /**\n\t       * Detect if `arguments` object indexes are non-enumerable.\n\t       *\n\t       * In Firefox < 4, IE < 9, PhantomJS, and Safari < 5.1 `arguments` object\n\t       * indexes are non-enumerable. Chrome < 25 and Node.js < 0.11.0 treat\n\t       * `arguments` object indexes as non-enumerable and fail `hasOwnProperty`\n\t       * checks for indexes that exceed the number of function parameters and\n\t       * whose associated argument values are `0`.\n\t       *\n\t       * @memberOf _.support\n\t       * @type boolean\n\t       */\n\t      try {\n\t        support.nonEnumArgs = !propertyIsEnumerable.call(args, 1);\n\t      } catch(e) {\n\t        support.nonEnumArgs = true;\n\t      }\n\t    }(1, 0));\n\t\n\t    /**\n\t     * By default, the template delimiters used by lodash are like those in\n\t     * embedded Ruby (ERB). Change the following template settings to use\n\t     * alternative delimiters.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @type Object\n\t     */\n\t    lodash.templateSettings = {\n\t\n\t      /**\n\t       * Used to detect `data` property values to be HTML-escaped.\n\t       *\n\t       * @memberOf _.templateSettings\n\t       * @type RegExp\n\t       */\n\t      'escape': reEscape,\n\t\n\t      /**\n\t       * Used to detect code to be evaluated.\n\t       *\n\t       * @memberOf _.templateSettings\n\t       * @type RegExp\n\t       */\n\t      'evaluate': reEvaluate,\n\t\n\t      /**\n\t       * Used to detect `data` property values to inject.\n\t       *\n\t       * @memberOf _.templateSettings\n\t       * @type RegExp\n\t       */\n\t      'interpolate': reInterpolate,\n\t\n\t      /**\n\t       * Used to reference the data object in the template text.\n\t       *\n\t       * @memberOf _.templateSettings\n\t       * @type string\n\t       */\n\t      'variable': '',\n\t\n\t      /**\n\t       * Used to import variables into the compiled template.\n\t       *\n\t       * @memberOf _.templateSettings\n\t       * @type Object\n\t       */\n\t      'imports': {\n\t\n\t        /**\n\t         * A reference to the `lodash` function.\n\t         *\n\t         * @memberOf _.templateSettings.imports\n\t         * @type Function\n\t         */\n\t        '_': lodash\n\t      }\n\t    };\n\t\n\t    /**\n\t     * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to wrap.\n\t     */\n\t    function LazyWrapper(value) {\n\t      this.__wrapped__ = value;\n\t      this.__actions__ = null;\n\t      this.__dir__ = 1;\n\t      this.__dropCount__ = 0;\n\t      this.__filtered__ = false;\n\t      this.__iteratees__ = null;\n\t      this.__takeCount__ = POSITIVE_INFINITY;\n\t      this.__views__ = null;\n\t    }\n\t\n\t    /**\n\t     * Creates a clone of the lazy wrapper object.\n\t     *\n\t     * @private\n\t     * @name clone\n\t     * @memberOf LazyWrapper\n\t     * @returns {Object} Returns the cloned `LazyWrapper` object.\n\t     */\n\t    function lazyClone() {\n\t      var actions = this.__actions__,\n\t          iteratees = this.__iteratees__,\n\t          views = this.__views__,\n\t          result = new LazyWrapper(this.__wrapped__);\n\t\n\t      result.__actions__ = actions ? arrayCopy(actions) : null;\n\t      result.__dir__ = this.__dir__;\n\t      result.__filtered__ = this.__filtered__;\n\t      result.__iteratees__ = iteratees ? arrayCopy(iteratees) : null;\n\t      result.__takeCount__ = this.__takeCount__;\n\t      result.__views__ = views ? arrayCopy(views) : null;\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Reverses the direction of lazy iteration.\n\t     *\n\t     * @private\n\t     * @name reverse\n\t     * @memberOf LazyWrapper\n\t     * @returns {Object} Returns the new reversed `LazyWrapper` object.\n\t     */\n\t    function lazyReverse() {\n\t      if (this.__filtered__) {\n\t        var result = new LazyWrapper(this);\n\t        result.__dir__ = -1;\n\t        result.__filtered__ = true;\n\t      } else {\n\t        result = this.clone();\n\t        result.__dir__ *= -1;\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Extracts the unwrapped value from its lazy wrapper.\n\t     *\n\t     * @private\n\t     * @name value\n\t     * @memberOf LazyWrapper\n\t     * @returns {*} Returns the unwrapped value.\n\t     */\n\t    function lazyValue() {\n\t      var array = this.__wrapped__.value();\n\t      if (!isArray(array)) {\n\t        return baseWrapperValue(array, this.__actions__);\n\t      }\n\t      var dir = this.__dir__,\n\t          isRight = dir < 0,\n\t          view = getView(0, array.length, this.__views__),\n\t          start = view.start,\n\t          end = view.end,\n\t          length = end - start,\n\t          index = isRight ? end : (start - 1),\n\t          takeCount = nativeMin(length, this.__takeCount__),\n\t          iteratees = this.__iteratees__,\n\t          iterLength = iteratees ? iteratees.length : 0,\n\t          resIndex = 0,\n\t          result = [];\n\t\n\t      outer:\n\t      while (length-- && resIndex < takeCount) {\n\t        index += dir;\n\t\n\t        var iterIndex = -1,\n\t            value = array[index];\n\t\n\t        while (++iterIndex < iterLength) {\n\t          var data = iteratees[iterIndex],\n\t              iteratee = data.iteratee,\n\t              type = data.type;\n\t\n\t          if (type == LAZY_DROP_WHILE_FLAG) {\n\t            if (data.done && (isRight ? (index > data.index) : (index < data.index))) {\n\t              data.count = 0;\n\t              data.done = false;\n\t            }\n\t            data.index = index;\n\t            if (!data.done) {\n\t              var limit = data.limit;\n\t              if (!(data.done = limit > -1 ? (data.count++ >= limit) : !iteratee(value))) {\n\t                continue outer;\n\t              }\n\t            }\n\t          } else {\n\t            var computed = iteratee(value);\n\t            if (type == LAZY_MAP_FLAG) {\n\t              value = computed;\n\t            } else if (!computed) {\n\t              if (type == LAZY_FILTER_FLAG) {\n\t                continue outer;\n\t              } else {\n\t                break outer;\n\t              }\n\t            }\n\t          }\n\t        }\n\t        result[resIndex++] = value;\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Creates a cache object to store key/value pairs.\n\t     *\n\t     * @private\n\t     * @static\n\t     * @name Cache\n\t     * @memberOf _.memoize\n\t     */\n\t    function MapCache() {\n\t      this.__data__ = {};\n\t    }\n\t\n\t    /**\n\t     * Removes `key` and its value from the cache.\n\t     *\n\t     * @private\n\t     * @name delete\n\t     * @memberOf _.memoize.Cache\n\t     * @param {string} key The key of the value to remove.\n\t     * @returns {boolean} Returns `true` if the entry was removed successfully, else `false`.\n\t     */\n\t    function mapDelete(key) {\n\t      return this.has(key) && delete this.__data__[key];\n\t    }\n\t\n\t    /**\n\t     * Gets the cached value for `key`.\n\t     *\n\t     * @private\n\t     * @name get\n\t     * @memberOf _.memoize.Cache\n\t     * @param {string} key The key of the value to get.\n\t     * @returns {*} Returns the cached value.\n\t     */\n\t    function mapGet(key) {\n\t      return key == '__proto__' ? undefined : this.__data__[key];\n\t    }\n\t\n\t    /**\n\t     * Checks if a cached value for `key` exists.\n\t     *\n\t     * @private\n\t     * @name has\n\t     * @memberOf _.memoize.Cache\n\t     * @param {string} key The key of the entry to check.\n\t     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n\t     */\n\t    function mapHas(key) {\n\t      return key != '__proto__' && hasOwnProperty.call(this.__data__, key);\n\t    }\n\t\n\t    /**\n\t     * Sets `value` to `key` of the cache.\n\t     *\n\t     * @private\n\t     * @name set\n\t     * @memberOf _.memoize.Cache\n\t     * @param {string} key The key of the value to cache.\n\t     * @param {*} value The value to cache.\n\t     * @returns {Object} Returns the cache object.\n\t     */\n\t    function mapSet(key, value) {\n\t      if (key != '__proto__') {\n\t        this.__data__[key] = value;\n\t      }\n\t      return this;\n\t    }\n\t\n\t    /**\n\t     *\n\t     * Creates a cache object to store unique values.\n\t     *\n\t     * @private\n\t     * @param {Array} [values] The values to cache.\n\t     */\n\t    function SetCache(values) {\n\t      var length = values ? values.length : 0;\n\t\n\t      this.data = { 'hash': nativeCreate(null), 'set': new Set };\n\t      while (length--) {\n\t        this.push(values[length]);\n\t      }\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is in `cache` mimicking the return signature of\n\t     * `_.indexOf` by returning `0` if the value is found, else `-1`.\n\t     *\n\t     * @private\n\t     * @param {Object} cache The cache to search.\n\t     * @param {*} value The value to search for.\n\t     * @returns {number} Returns `0` if `value` is found, else `-1`.\n\t     */\n\t    function cacheIndexOf(cache, value) {\n\t      var data = cache.data,\n\t          result = (typeof value == 'string' || isObject(value)) ? data.set.has(value) : data.hash[value];\n\t\n\t      return result ? 0 : -1;\n\t    }\n\t\n\t    /**\n\t     * Adds `value` to the cache.\n\t     *\n\t     * @private\n\t     * @name push\n\t     * @memberOf SetCache\n\t     * @param {*} value The value to cache.\n\t     */\n\t    function cachePush(value) {\n\t      var data = this.data;\n\t      if (typeof value == 'string' || isObject(value)) {\n\t        data.set.add(value);\n\t      } else {\n\t        data.hash[value] = true;\n\t      }\n\t    }\n\t\n\t    /**\n\t     * Copies the values of `source` to `array`.\n\t     *\n\t     * @private\n\t     * @param {Array} source The array to copy values from.\n\t     * @param {Array} [array=[]] The array to copy values to.\n\t     * @returns {Array} Returns `array`.\n\t     */\n\t    function arrayCopy(source, array) {\n\t      var index = -1,\n\t          length = source.length;\n\t\n\t      array || (array = Array(length));\n\t      while (++index < length) {\n\t        array[index] = source[index];\n\t      }\n\t      return array;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.forEach` for arrays without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {Array} Returns `array`.\n\t     */\n\t    function arrayEach(array, iteratee) {\n\t      var index = -1,\n\t          length = array.length;\n\t\n\t      while (++index < length) {\n\t        if (iteratee(array[index], index, array) === false) {\n\t          break;\n\t        }\n\t      }\n\t      return array;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.forEachRight` for arrays without support for\n\t     * callback shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {Array} Returns `array`.\n\t     */\n\t    function arrayEachRight(array, iteratee) {\n\t      var length = array.length;\n\t\n\t      while (length--) {\n\t        if (iteratee(array[length], length, array) === false) {\n\t          break;\n\t        }\n\t      }\n\t      return array;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.every` for arrays without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @param {Function} predicate The function invoked per iteration.\n\t     * @returns {boolean} Returns `true` if all elements pass the predicate check,\n\t     *  else `false`.\n\t     */\n\t    function arrayEvery(array, predicate) {\n\t      var index = -1,\n\t          length = array.length;\n\t\n\t      while (++index < length) {\n\t        if (!predicate(array[index], index, array)) {\n\t          return false;\n\t        }\n\t      }\n\t      return true;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.filter` for arrays without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @param {Function} predicate The function invoked per iteration.\n\t     * @returns {Array} Returns the new filtered array.\n\t     */\n\t    function arrayFilter(array, predicate) {\n\t      var index = -1,\n\t          length = array.length,\n\t          resIndex = -1,\n\t          result = [];\n\t\n\t      while (++index < length) {\n\t        var value = array[index];\n\t        if (predicate(value, index, array)) {\n\t          result[++resIndex] = value;\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.map` for arrays without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {Array} Returns the new mapped array.\n\t     */\n\t    function arrayMap(array, iteratee) {\n\t      var index = -1,\n\t          length = array.length,\n\t          result = Array(length);\n\t\n\t      while (++index < length) {\n\t        result[index] = iteratee(array[index], index, array);\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.max` for arrays without support for iteratees.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @returns {*} Returns the maximum value.\n\t     */\n\t    function arrayMax(array) {\n\t      var index = -1,\n\t          length = array.length,\n\t          result = NEGATIVE_INFINITY;\n\t\n\t      while (++index < length) {\n\t        var value = array[index];\n\t        if (value > result) {\n\t          result = value;\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.min` for arrays without support for iteratees.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @returns {*} Returns the minimum value.\n\t     */\n\t    function arrayMin(array) {\n\t      var index = -1,\n\t          length = array.length,\n\t          result = POSITIVE_INFINITY;\n\t\n\t      while (++index < length) {\n\t        var value = array[index];\n\t        if (value < result) {\n\t          result = value;\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.reduce` for arrays without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @param {*} [accumulator] The initial value.\n\t     * @param {boolean} [initFromArray] Specify using the first element of `array`\n\t     *  as the initial value.\n\t     * @returns {*} Returns the accumulated value.\n\t     */\n\t    function arrayReduce(array, iteratee, accumulator, initFromArray) {\n\t      var index = -1,\n\t          length = array.length;\n\t\n\t      if (initFromArray && length) {\n\t        accumulator = array[++index];\n\t      }\n\t      while (++index < length) {\n\t        accumulator = iteratee(accumulator, array[index], index, array);\n\t      }\n\t      return accumulator;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.reduceRight` for arrays without support for\n\t     * callback shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @param {*} [accumulator] The initial value.\n\t     * @param {boolean} [initFromArray] Specify using the last element of `array`\n\t     *  as the initial value.\n\t     * @returns {*} Returns the accumulated value.\n\t     */\n\t    function arrayReduceRight(array, iteratee, accumulator, initFromArray) {\n\t      var length = array.length;\n\t      if (initFromArray && length) {\n\t        accumulator = array[--length];\n\t      }\n\t      while (length--) {\n\t        accumulator = iteratee(accumulator, array[length], length, array);\n\t      }\n\t      return accumulator;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.some` for arrays without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @param {Function} predicate The function invoked per iteration.\n\t     * @returns {boolean} Returns `true` if any element passes the predicate check,\n\t     *  else `false`.\n\t     */\n\t    function arraySome(array, predicate) {\n\t      var index = -1,\n\t          length = array.length;\n\t\n\t      while (++index < length) {\n\t        if (predicate(array[index], index, array)) {\n\t          return true;\n\t        }\n\t      }\n\t      return false;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.sum` for arrays without support for iteratees.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to iterate over.\n\t     * @returns {number} Returns the sum.\n\t     */\n\t    function arraySum(array) {\n\t      var length = array.length,\n\t          result = 0;\n\t\n\t      while (length--) {\n\t        result += +array[length] || 0;\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Used by `_.defaults` to customize its `_.assign` use.\n\t     *\n\t     * @private\n\t     * @param {*} objectValue The destination object property value.\n\t     * @param {*} sourceValue The source object property value.\n\t     * @returns {*} Returns the value to assign to the destination object.\n\t     */\n\t    function assignDefaults(objectValue, sourceValue) {\n\t      return objectValue === undefined ? sourceValue : objectValue;\n\t    }\n\t\n\t    /**\n\t     * Used by `_.template` to customize its `_.assign` use.\n\t     *\n\t     * **Note:** This function is like `assignDefaults` except that it ignores\n\t     * inherited property values when checking if a property is `undefined`.\n\t     *\n\t     * @private\n\t     * @param {*} objectValue The destination object property value.\n\t     * @param {*} sourceValue The source object property value.\n\t     * @param {string} key The key associated with the object and source values.\n\t     * @param {Object} object The destination object.\n\t     * @returns {*} Returns the value to assign to the destination object.\n\t     */\n\t    function assignOwnDefaults(objectValue, sourceValue, key, object) {\n\t      return (objectValue === undefined || !hasOwnProperty.call(object, key))\n\t        ? sourceValue\n\t        : objectValue;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.assign` for customizing assigned values without\n\t     * support for argument juggling, multiple sources, and `this` binding `customizer`\n\t     * functions.\n\t     *\n\t     * @private\n\t     * @param {Object} object The destination object.\n\t     * @param {Object} source The source object.\n\t     * @param {Function} customizer The function to customize assigned values.\n\t     * @returns {Object} Returns `object`.\n\t     */\n\t    function assignWith(object, source, customizer) {\n\t      var props = keys(source);\n\t      push.apply(props, getSymbols(source));\n\t\n\t      var index = -1,\n\t          length = props.length;\n\t\n\t      while (++index < length) {\n\t        var key = props[index],\n\t            value = object[key],\n\t            result = customizer(value, source[key], key, object, source);\n\t\n\t        if ((result === result ? (result !== value) : (value === value)) ||\n\t            (value === undefined && !(key in object))) {\n\t          object[key] = result;\n\t        }\n\t      }\n\t      return object;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.assign` without support for argument juggling,\n\t     * multiple sources, and `customizer` functions.\n\t     *\n\t     * @private\n\t     * @param {Object} object The destination object.\n\t     * @param {Object} source The source object.\n\t     * @returns {Object} Returns `object`.\n\t     */\n\t    var baseAssign = nativeAssign || function(object, source) {\n\t      return source == null\n\t        ? object\n\t        : baseCopy(source, getSymbols(source), baseCopy(source, keys(source), object));\n\t    };\n\t\n\t    /**\n\t     * The base implementation of `_.at` without support for string collections\n\t     * and individual key arguments.\n\t     *\n\t     * @private\n\t     * @param {Array|Object} collection The collection to iterate over.\n\t     * @param {number[]|string[]} props The property names or indexes of elements to pick.\n\t     * @returns {Array} Returns the new array of picked elements.\n\t     */\n\t    function baseAt(collection, props) {\n\t      var index = -1,\n\t          isNil = collection == null,\n\t          isArr = !isNil && isArrayLike(collection),\n\t          length = isArr && collection.length,\n\t          propsLength = props.length,\n\t          result = Array(propsLength);\n\t\n\t      while(++index < propsLength) {\n\t        var key = props[index];\n\t        if (isArr) {\n\t          result[index] = isIndex(key, length) ? collection[key] : undefined;\n\t        } else {\n\t          result[index] = isNil ? undefined : collection[key];\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Copies properties of `source` to `object`.\n\t     *\n\t     * @private\n\t     * @param {Object} source The object to copy properties from.\n\t     * @param {Array} props The property names to copy.\n\t     * @param {Object} [object={}] The object to copy properties to.\n\t     * @returns {Object} Returns `object`.\n\t     */\n\t    function baseCopy(source, props, object) {\n\t      object || (object = {});\n\t\n\t      var index = -1,\n\t          length = props.length;\n\t\n\t      while (++index < length) {\n\t        var key = props[index];\n\t        object[key] = source[key];\n\t      }\n\t      return object;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.callback` which supports specifying the\n\t     * number of arguments to provide to `func`.\n\t     *\n\t     * @private\n\t     * @param {*} [func=_.identity] The value to convert to a callback.\n\t     * @param {*} [thisArg] The `this` binding of `func`.\n\t     * @param {number} [argCount] The number of arguments to provide to `func`.\n\t     * @returns {Function} Returns the callback.\n\t     */\n\t    function baseCallback(func, thisArg, argCount) {\n\t      var type = typeof func;\n\t      if (type == 'function') {\n\t        return thisArg === undefined\n\t          ? func\n\t          : bindCallback(func, thisArg, argCount);\n\t      }\n\t      if (func == null) {\n\t        return identity;\n\t      }\n\t      if (type == 'object') {\n\t        return baseMatches(func);\n\t      }\n\t      return thisArg === undefined\n\t        ? property(func)\n\t        : baseMatchesProperty(func, thisArg);\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.clone` without support for argument juggling\n\t     * and `this` binding `customizer` functions.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to clone.\n\t     * @param {boolean} [isDeep] Specify a deep clone.\n\t     * @param {Function} [customizer] The function to customize cloning values.\n\t     * @param {string} [key] The key of `value`.\n\t     * @param {Object} [object] The object `value` belongs to.\n\t     * @param {Array} [stackA=[]] Tracks traversed source objects.\n\t     * @param {Array} [stackB=[]] Associates clones with source counterparts.\n\t     * @returns {*} Returns the cloned value.\n\t     */\n\t    function baseClone(value, isDeep, customizer, key, object, stackA, stackB) {\n\t      var result;\n\t      if (customizer) {\n\t        result = object ? customizer(value, key, object) : customizer(value);\n\t      }\n\t      if (result !== undefined) {\n\t        return result;\n\t      }\n\t      if (!isObject(value)) {\n\t        return value;\n\t      }\n\t      var isArr = isArray(value);\n\t      if (isArr) {\n\t        result = initCloneArray(value);\n\t        if (!isDeep) {\n\t          return arrayCopy(value, result);\n\t        }\n\t      } else {\n\t        var tag = objToString.call(value),\n\t            isFunc = tag == funcTag;\n\t\n\t        if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n\t          result = initCloneObject(isFunc ? {} : value);\n\t          if (!isDeep) {\n\t            return baseAssign(result, value);\n\t          }\n\t        } else {\n\t          return cloneableTags[tag]\n\t            ? initCloneByTag(value, tag, isDeep)\n\t            : (object ? value : {});\n\t        }\n\t      }\n\t      // Check for circular references and return corresponding clone.\n\t      stackA || (stackA = []);\n\t      stackB || (stackB = []);\n\t\n\t      var length = stackA.length;\n\t      while (length--) {\n\t        if (stackA[length] == value) {\n\t          return stackB[length];\n\t        }\n\t      }\n\t      // Add the source value to the stack of traversed objects and associate it with its clone.\n\t      stackA.push(value);\n\t      stackB.push(result);\n\t\n\t      // Recursively populate clone (susceptible to call stack limits).\n\t      (isArr ? arrayEach : baseForOwn)(value, function(subValue, key) {\n\t        result[key] = baseClone(subValue, isDeep, customizer, key, value, stackA, stackB);\n\t      });\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.create` without support for assigning\n\t     * properties to the created object.\n\t     *\n\t     * @private\n\t     * @param {Object} prototype The object to inherit from.\n\t     * @returns {Object} Returns the new object.\n\t     */\n\t    var baseCreate = (function() {\n\t      function Object() {}\n\t      return function(prototype) {\n\t        if (isObject(prototype)) {\n\t          Object.prototype = prototype;\n\t          var result = new Object;\n\t          Object.prototype = null;\n\t        }\n\t        return result || context.Object();\n\t      };\n\t    }());\n\t\n\t    /**\n\t     * The base implementation of `_.delay` and `_.defer` which accepts an index\n\t     * of where to slice the arguments to provide to `func`.\n\t     *\n\t     * @private\n\t     * @param {Function} func The function to delay.\n\t     * @param {number} wait The number of milliseconds to delay invocation.\n\t     * @param {Object} args The arguments provide to `func`.\n\t     * @returns {number} Returns the timer id.\n\t     */\n\t    function baseDelay(func, wait, args) {\n\t      if (typeof func != 'function') {\n\t        throw new TypeError(FUNC_ERROR_TEXT);\n\t      }\n\t      return setTimeout(function() { func.apply(undefined, args); }, wait);\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.difference` which accepts a single array\n\t     * of values to exclude.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to inspect.\n\t     * @param {Array} values The values to exclude.\n\t     * @returns {Array} Returns the new array of filtered values.\n\t     */\n\t    function baseDifference(array, values) {\n\t      var length = array ? array.length : 0,\n\t          result = [];\n\t\n\t      if (!length) {\n\t        return result;\n\t      }\n\t      var index = -1,\n\t          indexOf = getIndexOf(),\n\t          isCommon = indexOf == baseIndexOf,\n\t          cache = (isCommon && values.length >= 200) ? createCache(values) : null,\n\t          valuesLength = values.length;\n\t\n\t      if (cache) {\n\t        indexOf = cacheIndexOf;\n\t        isCommon = false;\n\t        values = cache;\n\t      }\n\t      outer:\n\t      while (++index < length) {\n\t        var value = array[index];\n\t\n\t        if (isCommon && value === value) {\n\t          var valuesIndex = valuesLength;\n\t          while (valuesIndex--) {\n\t            if (values[valuesIndex] === value) {\n\t              continue outer;\n\t            }\n\t          }\n\t          result.push(value);\n\t        }\n\t        else if (indexOf(values, value, 0) < 0) {\n\t          result.push(value);\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.forEach` without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {Array|Object|string} Returns `collection`.\n\t     */\n\t    var baseEach = createBaseEach(baseForOwn);\n\t\n\t    /**\n\t     * The base implementation of `_.forEachRight` without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {Array|Object|string} Returns `collection`.\n\t     */\n\t    var baseEachRight = createBaseEach(baseForOwnRight, true);\n\t\n\t    /**\n\t     * The base implementation of `_.every` without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} predicate The function invoked per iteration.\n\t     * @returns {boolean} Returns `true` if all elements pass the predicate check,\n\t     *  else `false`\n\t     */\n\t    function baseEvery(collection, predicate) {\n\t      var result = true;\n\t      baseEach(collection, function(value, index, collection) {\n\t        result = !!predicate(value, index, collection);\n\t        return result;\n\t      });\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.fill` without an iteratee call guard.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to fill.\n\t     * @param {*} value The value to fill `array` with.\n\t     * @param {number} [start=0] The start position.\n\t     * @param {number} [end=array.length] The end position.\n\t     * @returns {Array} Returns `array`.\n\t     */\n\t    function baseFill(array, value, start, end) {\n\t      var length = array.length;\n\t\n\t      start = start == null ? 0 : (+start || 0);\n\t      if (start < 0) {\n\t        start = -start > length ? 0 : (length + start);\n\t      }\n\t      end = (end === undefined || end > length) ? length : (+end || 0);\n\t      if (end < 0) {\n\t        end += length;\n\t      }\n\t      length = start > end ? 0 : (end >>> 0);\n\t      start >>>= 0;\n\t\n\t      while (start < length) {\n\t        array[start++] = value;\n\t      }\n\t      return array;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.filter` without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} predicate The function invoked per iteration.\n\t     * @returns {Array} Returns the new filtered array.\n\t     */\n\t    function baseFilter(collection, predicate) {\n\t      var result = [];\n\t      baseEach(collection, function(value, index, collection) {\n\t        if (predicate(value, index, collection)) {\n\t          result.push(value);\n\t        }\n\t      });\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.find`, `_.findLast`, `_.findKey`, and `_.findLastKey`,\n\t     * without support for callback shorthands and `this` binding, which iterates\n\t     * over `collection` using the provided `eachFunc`.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to search.\n\t     * @param {Function} predicate The function invoked per iteration.\n\t     * @param {Function} eachFunc The function to iterate over `collection`.\n\t     * @param {boolean} [retKey] Specify returning the key of the found element\n\t     *  instead of the element itself.\n\t     * @returns {*} Returns the found element or its key, else `undefined`.\n\t     */\n\t    function baseFind(collection, predicate, eachFunc, retKey) {\n\t      var result;\n\t      eachFunc(collection, function(value, key, collection) {\n\t        if (predicate(value, key, collection)) {\n\t          result = retKey ? key : value;\n\t          return false;\n\t        }\n\t      });\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.flatten` with added support for restricting\n\t     * flattening and specifying the start index.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to flatten.\n\t     * @param {boolean} [isDeep] Specify a deep flatten.\n\t     * @param {boolean} [isStrict] Restrict flattening to arrays-like objects.\n\t     * @returns {Array} Returns the new flattened array.\n\t     */\n\t    function baseFlatten(array, isDeep, isStrict) {\n\t      var index = -1,\n\t          length = array.length,\n\t          resIndex = -1,\n\t          result = [];\n\t\n\t      while (++index < length) {\n\t        var value = array[index];\n\t        if (isObjectLike(value) && isArrayLike(value) &&\n\t            (isStrict || isArray(value) || isArguments(value))) {\n\t          if (isDeep) {\n\t            // Recursively flatten arrays (susceptible to call stack limits).\n\t            value = baseFlatten(value, isDeep, isStrict);\n\t          }\n\t          var valIndex = -1,\n\t              valLength = value.length;\n\t\n\t          while (++valIndex < valLength) {\n\t            result[++resIndex] = value[valIndex];\n\t          }\n\t        } else if (!isStrict) {\n\t          result[++resIndex] = value;\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `baseForIn` and `baseForOwn` which iterates\n\t     * over `object` properties returned by `keysFunc` invoking `iteratee` for\n\t     * each property. Iteratee functions may exit iteration early by explicitly\n\t     * returning `false`.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @param {Function} keysFunc The function to get the keys of `object`.\n\t     * @returns {Object} Returns `object`.\n\t     */\n\t    var baseFor = createBaseFor();\n\t\n\t    /**\n\t     * This function is like `baseFor` except that it iterates over properties\n\t     * in the opposite order.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @param {Function} keysFunc The function to get the keys of `object`.\n\t     * @returns {Object} Returns `object`.\n\t     */\n\t    var baseForRight = createBaseFor(true);\n\t\n\t    /**\n\t     * The base implementation of `_.forIn` without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {Object} Returns `object`.\n\t     */\n\t    function baseForIn(object, iteratee) {\n\t      return baseFor(object, iteratee, keysIn);\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.forOwn` without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {Object} Returns `object`.\n\t     */\n\t    function baseForOwn(object, iteratee) {\n\t      return baseFor(object, iteratee, keys);\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.forOwnRight` without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {Object} Returns `object`.\n\t     */\n\t    function baseForOwnRight(object, iteratee) {\n\t      return baseForRight(object, iteratee, keys);\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.functions` which creates an array of\n\t     * `object` function property names filtered from those provided.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to inspect.\n\t     * @param {Array} props The property names to filter.\n\t     * @returns {Array} Returns the new array of filtered property names.\n\t     */\n\t    function baseFunctions(object, props) {\n\t      var index = -1,\n\t          length = props.length,\n\t          resIndex = -1,\n\t          result = [];\n\t\n\t      while (++index < length) {\n\t        var key = props[index];\n\t        if (isFunction(object[key])) {\n\t          result[++resIndex] = key;\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `get` without support for string paths\n\t     * and default values.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to query.\n\t     * @param {Array} path The path of the property to get.\n\t     * @param {string} [pathKey] The key representation of path.\n\t     * @returns {*} Returns the resolved value.\n\t     */\n\t    function baseGet(object, path, pathKey) {\n\t      if (object == null) {\n\t        return;\n\t      }\n\t      if (pathKey !== undefined && pathKey in toObject(object)) {\n\t        path = [pathKey];\n\t      }\n\t      var index = -1,\n\t          length = path.length;\n\t\n\t      while (object != null && ++index < length) {\n\t        object = object[path[index]];\n\t      }\n\t      return (index && index == length) ? object : undefined;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.isEqual` without support for `this` binding\n\t     * `customizer` functions.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to compare.\n\t     * @param {*} other The other value to compare.\n\t     * @param {Function} [customizer] The function to customize comparing values.\n\t     * @param {boolean} [isLoose] Specify performing partial comparisons.\n\t     * @param {Array} [stackA] Tracks traversed `value` objects.\n\t     * @param {Array} [stackB] Tracks traversed `other` objects.\n\t     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n\t     */\n\t    function baseIsEqual(value, other, customizer, isLoose, stackA, stackB) {\n\t      // Exit early for identical values.\n\t      if (value === other) {\n\t        return true;\n\t      }\n\t      var valType = typeof value,\n\t          othType = typeof other;\n\t\n\t      // Exit early for unlike primitive values.\n\t      if ((valType != 'function' && valType != 'object' && othType != 'function' && othType != 'object') ||\n\t          value == null || other == null) {\n\t        // Return `false` unless both values are `NaN`.\n\t        return value !== value && other !== other;\n\t      }\n\t      return baseIsEqualDeep(value, other, baseIsEqual, customizer, isLoose, stackA, stackB);\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `baseIsEqual` for arrays and objects which performs\n\t     * deep comparisons and tracks traversed objects enabling objects with circular\n\t     * references to be compared.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to compare.\n\t     * @param {Object} other The other object to compare.\n\t     * @param {Function} equalFunc The function to determine equivalents of values.\n\t     * @param {Function} [customizer] The function to customize comparing objects.\n\t     * @param {boolean} [isLoose] Specify performing partial comparisons.\n\t     * @param {Array} [stackA=[]] Tracks traversed `value` objects.\n\t     * @param {Array} [stackB=[]] Tracks traversed `other` objects.\n\t     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n\t     */\n\t    function baseIsEqualDeep(object, other, equalFunc, customizer, isLoose, stackA, stackB) {\n\t      var objIsArr = isArray(object),\n\t          othIsArr = isArray(other),\n\t          objTag = arrayTag,\n\t          othTag = arrayTag;\n\t\n\t      if (!objIsArr) {\n\t        objTag = objToString.call(object);\n\t        if (objTag == argsTag) {\n\t          objTag = objectTag;\n\t        } else if (objTag != objectTag) {\n\t          objIsArr = isTypedArray(object);\n\t        }\n\t      }\n\t      if (!othIsArr) {\n\t        othTag = objToString.call(other);\n\t        if (othTag == argsTag) {\n\t          othTag = objectTag;\n\t        } else if (othTag != objectTag) {\n\t          othIsArr = isTypedArray(other);\n\t        }\n\t      }\n\t      var objIsObj = objTag == objectTag,\n\t          othIsObj = othTag == objectTag,\n\t          isSameTag = objTag == othTag;\n\t\n\t      if (isSameTag && !(objIsArr || objIsObj)) {\n\t        return equalByTag(object, other, objTag);\n\t      }\n\t      if (!isLoose) {\n\t        var valWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n\t            othWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\t\n\t        if (valWrapped || othWrapped) {\n\t          return equalFunc(valWrapped ? object.value() : object, othWrapped ? other.value() : other, customizer, isLoose, stackA, stackB);\n\t        }\n\t      }\n\t      if (!isSameTag) {\n\t        return false;\n\t      }\n\t      // Assume cyclic values are equal.\n\t      // For more information on detecting circular references see https://es5.github.io/#JO.\n\t      stackA || (stackA = []);\n\t      stackB || (stackB = []);\n\t\n\t      var length = stackA.length;\n\t      while (length--) {\n\t        if (stackA[length] == object) {\n\t          return stackB[length] == other;\n\t        }\n\t      }\n\t      // Add `object` and `other` to the stack of traversed objects.\n\t      stackA.push(object);\n\t      stackB.push(other);\n\t\n\t      var result = (objIsArr ? equalArrays : equalObjects)(object, other, equalFunc, customizer, isLoose, stackA, stackB);\n\t\n\t      stackA.pop();\n\t      stackB.pop();\n\t\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.isMatch` without support for callback\n\t     * shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to inspect.\n\t     * @param {Array} props The source property names to match.\n\t     * @param {Array} values The source values to match.\n\t     * @param {Array} strictCompareFlags Strict comparison flags for source values.\n\t     * @param {Function} [customizer] The function to customize comparing objects.\n\t     * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n\t     */\n\t    function baseIsMatch(object, props, values, strictCompareFlags, customizer) {\n\t      var index = -1,\n\t          length = props.length,\n\t          noCustomizer = !customizer;\n\t\n\t      while (++index < length) {\n\t        if ((noCustomizer && strictCompareFlags[index])\n\t              ? values[index] !== object[props[index]]\n\t              : !(props[index] in object)\n\t            ) {\n\t          return false;\n\t        }\n\t      }\n\t      index = -1;\n\t      while (++index < length) {\n\t        var key = props[index],\n\t            objValue = object[key],\n\t            srcValue = values[index];\n\t\n\t        if (noCustomizer && strictCompareFlags[index]) {\n\t          var result = objValue !== undefined || (key in object);\n\t        } else {\n\t          result = customizer ? customizer(objValue, srcValue, key) : undefined;\n\t          if (result === undefined) {\n\t            result = baseIsEqual(srcValue, objValue, customizer, true);\n\t          }\n\t        }\n\t        if (!result) {\n\t          return false;\n\t        }\n\t      }\n\t      return true;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.map` without support for callback shorthands\n\t     * and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {Array} Returns the new mapped array.\n\t     */\n\t    function baseMap(collection, iteratee) {\n\t      var index = -1,\n\t          result = isArrayLike(collection) ? Array(collection.length) : [];\n\t\n\t      baseEach(collection, function(value, key, collection) {\n\t        result[++index] = iteratee(value, key, collection);\n\t      });\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.matches` which does not clone `source`.\n\t     *\n\t     * @private\n\t     * @param {Object} source The object of property values to match.\n\t     * @returns {Function} Returns the new function.\n\t     */\n\t    function baseMatches(source) {\n\t      var props = keys(source),\n\t          length = props.length;\n\t\n\t      if (!length) {\n\t        return constant(true);\n\t      }\n\t      if (length == 1) {\n\t        var key = props[0],\n\t            value = source[key];\n\t\n\t        if (isStrictComparable(value)) {\n\t          return function(object) {\n\t            if (object == null) {\n\t              return false;\n\t            }\n\t            return object[key] === value && (value !== undefined || (key in toObject(object)));\n\t          };\n\t        }\n\t      }\n\t      var values = Array(length),\n\t          strictCompareFlags = Array(length);\n\t\n\t      while (length--) {\n\t        value = source[props[length]];\n\t        values[length] = value;\n\t        strictCompareFlags[length] = isStrictComparable(value);\n\t      }\n\t      return function(object) {\n\t        return object != null && baseIsMatch(toObject(object), props, values, strictCompareFlags);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.matchesProperty` which does not which does\n\t     * not clone `value`.\n\t     *\n\t     * @private\n\t     * @param {string} path The path of the property to get.\n\t     * @param {*} value The value to compare.\n\t     * @returns {Function} Returns the new function.\n\t     */\n\t    function baseMatchesProperty(path, value) {\n\t      var isArr = isArray(path),\n\t          isCommon = isKey(path) && isStrictComparable(value),\n\t          pathKey = (path + '');\n\t\n\t      path = toPath(path);\n\t      return function(object) {\n\t        if (object == null) {\n\t          return false;\n\t        }\n\t        var key = pathKey;\n\t        object = toObject(object);\n\t        if ((isArr || !isCommon) && !(key in object)) {\n\t          object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\n\t          if (object == null) {\n\t            return false;\n\t          }\n\t          key = last(path);\n\t          object = toObject(object);\n\t        }\n\t        return object[key] === value\n\t          ? (value !== undefined || (key in object))\n\t          : baseIsEqual(value, object[key], null, true);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.merge` without support for argument juggling,\n\t     * multiple sources, and `this` binding `customizer` functions.\n\t     *\n\t     * @private\n\t     * @param {Object} object The destination object.\n\t     * @param {Object} source The source object.\n\t     * @param {Function} [customizer] The function to customize merging properties.\n\t     * @param {Array} [stackA=[]] Tracks traversed source objects.\n\t     * @param {Array} [stackB=[]] Associates values with source counterparts.\n\t     * @returns {Object} Returns `object`.\n\t     */\n\t    function baseMerge(object, source, customizer, stackA, stackB) {\n\t      if (!isObject(object)) {\n\t        return object;\n\t      }\n\t      var isSrcArr = isArrayLike(source) && (isArray(source) || isTypedArray(source));\n\t      if (!isSrcArr) {\n\t        var props = keys(source);\n\t        push.apply(props, getSymbols(source));\n\t      }\n\t      arrayEach(props || source, function(srcValue, key) {\n\t        if (props) {\n\t          key = srcValue;\n\t          srcValue = source[key];\n\t        }\n\t        if (isObjectLike(srcValue)) {\n\t          stackA || (stackA = []);\n\t          stackB || (stackB = []);\n\t          baseMergeDeep(object, source, key, baseMerge, customizer, stackA, stackB);\n\t        }\n\t        else {\n\t          var value = object[key],\n\t              result = customizer ? customizer(value, srcValue, key, object, source) : undefined,\n\t              isCommon = result === undefined;\n\t\n\t          if (isCommon) {\n\t            result = srcValue;\n\t          }\n\t          if ((isSrcArr || result !== undefined) &&\n\t              (isCommon || (result === result ? (result !== value) : (value === value)))) {\n\t            object[key] = result;\n\t          }\n\t        }\n\t      });\n\t      return object;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `baseMerge` for arrays and objects which performs\n\t     * deep merges and tracks traversed objects enabling objects with circular\n\t     * references to be merged.\n\t     *\n\t     * @private\n\t     * @param {Object} object The destination object.\n\t     * @param {Object} source The source object.\n\t     * @param {string} key The key of the value to merge.\n\t     * @param {Function} mergeFunc The function to merge values.\n\t     * @param {Function} [customizer] The function to customize merging properties.\n\t     * @param {Array} [stackA=[]] Tracks traversed source objects.\n\t     * @param {Array} [stackB=[]] Associates values with source counterparts.\n\t     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n\t     */\n\t    function baseMergeDeep(object, source, key, mergeFunc, customizer, stackA, stackB) {\n\t      var length = stackA.length,\n\t          srcValue = source[key];\n\t\n\t      while (length--) {\n\t        if (stackA[length] == srcValue) {\n\t          object[key] = stackB[length];\n\t          return;\n\t        }\n\t      }\n\t      var value = object[key],\n\t          result = customizer ? customizer(value, srcValue, key, object, source) : undefined,\n\t          isCommon = result === undefined;\n\t\n\t      if (isCommon) {\n\t        result = srcValue;\n\t        if (isArrayLike(srcValue) && (isArray(srcValue) || isTypedArray(srcValue))) {\n\t          result = isArray(value)\n\t            ? value\n\t            : (isArrayLike(value) ? arrayCopy(value) : []);\n\t        }\n\t        else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n\t          result = isArguments(value)\n\t            ? toPlainObject(value)\n\t            : (isPlainObject(value) ? value : {});\n\t        }\n\t        else {\n\t          isCommon = false;\n\t        }\n\t      }\n\t      // Add the source value to the stack of traversed objects and associate\n\t      // it with its merged value.\n\t      stackA.push(srcValue);\n\t      stackB.push(result);\n\t\n\t      if (isCommon) {\n\t        // Recursively merge objects and arrays (susceptible to call stack limits).\n\t        object[key] = mergeFunc(result, srcValue, customizer, stackA, stackB);\n\t      } else if (result === result ? (result !== value) : (value === value)) {\n\t        object[key] = result;\n\t      }\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.property` without support for deep paths.\n\t     *\n\t     * @private\n\t     * @param {string} key The key of the property to get.\n\t     * @returns {Function} Returns the new function.\n\t     */\n\t    function baseProperty(key) {\n\t      return function(object) {\n\t        return object == null ? undefined : object[key];\n\t      };\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `baseProperty` which supports deep paths.\n\t     *\n\t     * @private\n\t     * @param {Array|string} path The path of the property to get.\n\t     * @returns {Function} Returns the new function.\n\t     */\n\t    function basePropertyDeep(path) {\n\t      var pathKey = (path + '');\n\t      path = toPath(path);\n\t      return function(object) {\n\t        return baseGet(object, path, pathKey);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.pullAt` without support for individual\n\t     * index arguments and capturing the removed elements.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to modify.\n\t     * @param {number[]} indexes The indexes of elements to remove.\n\t     * @returns {Array} Returns `array`.\n\t     */\n\t    function basePullAt(array, indexes) {\n\t      var length = array ? indexes.length : 0;\n\t      while (length--) {\n\t        var index = parseFloat(indexes[length]);\n\t        if (index != previous && isIndex(index)) {\n\t          var previous = index;\n\t          splice.call(array, index, 1);\n\t        }\n\t      }\n\t      return array;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.random` without support for argument juggling\n\t     * and returning floating-point numbers.\n\t     *\n\t     * @private\n\t     * @param {number} min The minimum possible value.\n\t     * @param {number} max The maximum possible value.\n\t     * @returns {number} Returns the random number.\n\t     */\n\t    function baseRandom(min, max) {\n\t      return min + floor(nativeRandom() * (max - min + 1));\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.reduce` and `_.reduceRight` without support\n\t     * for callback shorthands and `this` binding, which iterates over `collection`\n\t     * using the provided `eachFunc`.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @param {*} accumulator The initial value.\n\t     * @param {boolean} initFromCollection Specify using the first or last element\n\t     *  of `collection` as the initial value.\n\t     * @param {Function} eachFunc The function to iterate over `collection`.\n\t     * @returns {*} Returns the accumulated value.\n\t     */\n\t    function baseReduce(collection, iteratee, accumulator, initFromCollection, eachFunc) {\n\t      eachFunc(collection, function(value, index, collection) {\n\t        accumulator = initFromCollection\n\t          ? (initFromCollection = false, value)\n\t          : iteratee(accumulator, value, index, collection);\n\t      });\n\t      return accumulator;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `setData` without support for hot loop detection.\n\t     *\n\t     * @private\n\t     * @param {Function} func The function to associate metadata with.\n\t     * @param {*} data The metadata.\n\t     * @returns {Function} Returns `func`.\n\t     */\n\t    var baseSetData = !metaMap ? identity : function(func, data) {\n\t      metaMap.set(func, data);\n\t      return func;\n\t    };\n\t\n\t    /**\n\t     * The base implementation of `_.slice` without an iteratee call guard.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to slice.\n\t     * @param {number} [start=0] The start position.\n\t     * @param {number} [end=array.length] The end position.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     */\n\t    function baseSlice(array, start, end) {\n\t      var index = -1,\n\t          length = array.length;\n\t\n\t      start = start == null ? 0 : (+start || 0);\n\t      if (start < 0) {\n\t        start = -start > length ? 0 : (length + start);\n\t      }\n\t      end = (end === undefined || end > length) ? length : (+end || 0);\n\t      if (end < 0) {\n\t        end += length;\n\t      }\n\t      length = start > end ? 0 : ((end - start) >>> 0);\n\t      start >>>= 0;\n\t\n\t      var result = Array(length);\n\t      while (++index < length) {\n\t        result[index] = array[index + start];\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.some` without support for callback shorthands\n\t     * and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} predicate The function invoked per iteration.\n\t     * @returns {boolean} Returns `true` if any element passes the predicate check,\n\t     *  else `false`.\n\t     */\n\t    function baseSome(collection, predicate) {\n\t      var result;\n\t\n\t      baseEach(collection, function(value, index, collection) {\n\t        result = predicate(value, index, collection);\n\t        return !result;\n\t      });\n\t      return !!result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.sortBy` which uses `comparer` to define\n\t     * the sort order of `array` and replaces criteria objects with their\n\t     * corresponding values.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to sort.\n\t     * @param {Function} comparer The function to define sort order.\n\t     * @returns {Array} Returns `array`.\n\t     */\n\t    function baseSortBy(array, comparer) {\n\t      var length = array.length;\n\t\n\t      array.sort(comparer);\n\t      while (length--) {\n\t        array[length] = array[length].value;\n\t      }\n\t      return array;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.sortByOrder` without param guards.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n\t     * @param {boolean[]} orders The sort orders of `iteratees`.\n\t     * @returns {Array} Returns the new sorted array.\n\t     */\n\t    function baseSortByOrder(collection, iteratees, orders) {\n\t      var callback = getCallback(),\n\t          index = -1;\n\t\n\t      iteratees = arrayMap(iteratees, function(iteratee) { return callback(iteratee); });\n\t\n\t      var result = baseMap(collection, function(value) {\n\t        var criteria = arrayMap(iteratees, function(iteratee) { return iteratee(value); });\n\t        return { 'criteria': criteria, 'index': ++index, 'value': value };\n\t      });\n\t\n\t      return baseSortBy(result, function(object, other) {\n\t        return compareMultiple(object, other, orders);\n\t      });\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.sum` without support for callback shorthands\n\t     * and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @returns {number} Returns the sum.\n\t     */\n\t    function baseSum(collection, iteratee) {\n\t      var result = 0;\n\t      baseEach(collection, function(value, index, collection) {\n\t        result += +iteratee(value, index, collection) || 0;\n\t      });\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.uniq` without support for callback shorthands\n\t     * and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to inspect.\n\t     * @param {Function} [iteratee] The function invoked per iteration.\n\t     * @returns {Array} Returns the new duplicate-value-free array.\n\t     */\n\t    function baseUniq(array, iteratee) {\n\t      var index = -1,\n\t          indexOf = getIndexOf(),\n\t          length = array.length,\n\t          isCommon = indexOf == baseIndexOf,\n\t          isLarge = isCommon && length >= 200,\n\t          seen = isLarge ? createCache() : null,\n\t          result = [];\n\t\n\t      if (seen) {\n\t        indexOf = cacheIndexOf;\n\t        isCommon = false;\n\t      } else {\n\t        isLarge = false;\n\t        seen = iteratee ? [] : result;\n\t      }\n\t      outer:\n\t      while (++index < length) {\n\t        var value = array[index],\n\t            computed = iteratee ? iteratee(value, index, array) : value;\n\t\n\t        if (isCommon && value === value) {\n\t          var seenIndex = seen.length;\n\t          while (seenIndex--) {\n\t            if (seen[seenIndex] === computed) {\n\t              continue outer;\n\t            }\n\t          }\n\t          if (iteratee) {\n\t            seen.push(computed);\n\t          }\n\t          result.push(value);\n\t        }\n\t        else if (indexOf(seen, computed, 0) < 0) {\n\t          if (iteratee || isLarge) {\n\t            seen.push(computed);\n\t          }\n\t          result.push(value);\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.values` and `_.valuesIn` which creates an\n\t     * array of `object` property values corresponding to the property names\n\t     * of `props`.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to query.\n\t     * @param {Array} props The property names to get values for.\n\t     * @returns {Object} Returns the array of property values.\n\t     */\n\t    function baseValues(object, props) {\n\t      var index = -1,\n\t          length = props.length,\n\t          result = Array(length);\n\t\n\t      while (++index < length) {\n\t        result[index] = object[props[index]];\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `_.dropRightWhile`, `_.dropWhile`, `_.takeRightWhile`,\n\t     * and `_.takeWhile` without support for callback shorthands and `this` binding.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to query.\n\t     * @param {Function} predicate The function invoked per iteration.\n\t     * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n\t     * @param {boolean} [fromRight] Specify iterating from right to left.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     */\n\t    function baseWhile(array, predicate, isDrop, fromRight) {\n\t      var length = array.length,\n\t          index = fromRight ? length : -1;\n\t\n\t      while ((fromRight ? index-- : ++index < length) && predicate(array[index], index, array)) {}\n\t      return isDrop\n\t        ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\n\t        : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\n\t    }\n\t\n\t    /**\n\t     * The base implementation of `wrapperValue` which returns the result of\n\t     * performing a sequence of actions on the unwrapped `value`, where each\n\t     * successive action is supplied the return value of the previous.\n\t     *\n\t     * @private\n\t     * @param {*} value The unwrapped value.\n\t     * @param {Array} actions Actions to peform to resolve the unwrapped value.\n\t     * @returns {*} Returns the resolved value.\n\t     */\n\t    function baseWrapperValue(value, actions) {\n\t      var result = value;\n\t      if (result instanceof LazyWrapper) {\n\t        result = result.value();\n\t      }\n\t      var index = -1,\n\t          length = actions.length;\n\t\n\t      while (++index < length) {\n\t        var args = [result],\n\t            action = actions[index];\n\t\n\t        push.apply(args, action.args);\n\t        result = action.func.apply(action.thisArg, args);\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Performs a binary search of `array` to determine the index at which `value`\n\t     * should be inserted into `array` in order to maintain its sort order.\n\t     *\n\t     * @private\n\t     * @param {Array} array The sorted array to inspect.\n\t     * @param {*} value The value to evaluate.\n\t     * @param {boolean} [retHighest] Specify returning the highest qualified index.\n\t     * @returns {number} Returns the index at which `value` should be inserted\n\t     *  into `array`.\n\t     */\n\t    function binaryIndex(array, value, retHighest) {\n\t      var low = 0,\n\t          high = array ? array.length : low;\n\t\n\t      if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n\t        while (low < high) {\n\t          var mid = (low + high) >>> 1,\n\t              computed = array[mid];\n\t\n\t          if (retHighest ? (computed <= value) : (computed < value)) {\n\t            low = mid + 1;\n\t          } else {\n\t            high = mid;\n\t          }\n\t        }\n\t        return high;\n\t      }\n\t      return binaryIndexBy(array, value, identity, retHighest);\n\t    }\n\t\n\t    /**\n\t     * This function is like `binaryIndex` except that it invokes `iteratee` for\n\t     * `value` and each element of `array` to compute their sort ranking. The\n\t     * iteratee is invoked with one argument; (value).\n\t     *\n\t     * @private\n\t     * @param {Array} array The sorted array to inspect.\n\t     * @param {*} value The value to evaluate.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @param {boolean} [retHighest] Specify returning the highest qualified index.\n\t     * @returns {number} Returns the index at which `value` should be inserted\n\t     *  into `array`.\n\t     */\n\t    function binaryIndexBy(array, value, iteratee, retHighest) {\n\t      value = iteratee(value);\n\t\n\t      var low = 0,\n\t          high = array ? array.length : 0,\n\t          valIsNaN = value !== value,\n\t          valIsUndef = value === undefined;\n\t\n\t      while (low < high) {\n\t        var mid = floor((low + high) / 2),\n\t            computed = iteratee(array[mid]),\n\t            isReflexive = computed === computed;\n\t\n\t        if (valIsNaN) {\n\t          var setLow = isReflexive || retHighest;\n\t        } else if (valIsUndef) {\n\t          setLow = isReflexive && (retHighest || computed !== undefined);\n\t        } else {\n\t          setLow = retHighest ? (computed <= value) : (computed < value);\n\t        }\n\t        if (setLow) {\n\t          low = mid + 1;\n\t        } else {\n\t          high = mid;\n\t        }\n\t      }\n\t      return nativeMin(high, MAX_ARRAY_INDEX);\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `baseCallback` which only supports `this` binding\n\t     * and specifying the number of arguments to provide to `func`.\n\t     *\n\t     * @private\n\t     * @param {Function} func The function to bind.\n\t     * @param {*} thisArg The `this` binding of `func`.\n\t     * @param {number} [argCount] The number of arguments to provide to `func`.\n\t     * @returns {Function} Returns the callback.\n\t     */\n\t    function bindCallback(func, thisArg, argCount) {\n\t      if (typeof func != 'function') {\n\t        return identity;\n\t      }\n\t      if (thisArg === undefined) {\n\t        return func;\n\t      }\n\t      switch (argCount) {\n\t        case 1: return function(value) {\n\t          return func.call(thisArg, value);\n\t        };\n\t        case 3: return function(value, index, collection) {\n\t          return func.call(thisArg, value, index, collection);\n\t        };\n\t        case 4: return function(accumulator, value, index, collection) {\n\t          return func.call(thisArg, accumulator, value, index, collection);\n\t        };\n\t        case 5: return function(value, other, key, object, source) {\n\t          return func.call(thisArg, value, other, key, object, source);\n\t        };\n\t      }\n\t      return function() {\n\t        return func.apply(thisArg, arguments);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a clone of the given array buffer.\n\t     *\n\t     * @private\n\t     * @param {ArrayBuffer} buffer The array buffer to clone.\n\t     * @returns {ArrayBuffer} Returns the cloned array buffer.\n\t     */\n\t    function bufferClone(buffer) {\n\t      return bufferSlice.call(buffer, 0);\n\t    }\n\t    if (!bufferSlice) {\n\t      // PhantomJS has `ArrayBuffer` and `Uint8Array` but not `Float64Array`.\n\t      bufferClone = !(ArrayBuffer && Uint8Array) ? constant(null) : function(buffer) {\n\t        var byteLength = buffer.byteLength,\n\t            floatLength = Float64Array ? floor(byteLength / FLOAT64_BYTES_PER_ELEMENT) : 0,\n\t            offset = floatLength * FLOAT64_BYTES_PER_ELEMENT,\n\t            result = new ArrayBuffer(byteLength);\n\t\n\t        if (floatLength) {\n\t          var view = new Float64Array(result, 0, floatLength);\n\t          view.set(new Float64Array(buffer, 0, floatLength));\n\t        }\n\t        if (byteLength != offset) {\n\t          view = new Uint8Array(result, offset);\n\t          view.set(new Uint8Array(buffer, offset));\n\t        }\n\t        return result;\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates an array that is the composition of partially applied arguments,\n\t     * placeholders, and provided arguments into a single array of arguments.\n\t     *\n\t     * @private\n\t     * @param {Array|Object} args The provided arguments.\n\t     * @param {Array} partials The arguments to prepend to those provided.\n\t     * @param {Array} holders The `partials` placeholder indexes.\n\t     * @returns {Array} Returns the new array of composed arguments.\n\t     */\n\t    function composeArgs(args, partials, holders) {\n\t      var holdersLength = holders.length,\n\t          argsIndex = -1,\n\t          argsLength = nativeMax(args.length - holdersLength, 0),\n\t          leftIndex = -1,\n\t          leftLength = partials.length,\n\t          result = Array(argsLength + leftLength);\n\t\n\t      while (++leftIndex < leftLength) {\n\t        result[leftIndex] = partials[leftIndex];\n\t      }\n\t      while (++argsIndex < holdersLength) {\n\t        result[holders[argsIndex]] = args[argsIndex];\n\t      }\n\t      while (argsLength--) {\n\t        result[leftIndex++] = args[argsIndex++];\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * This function is like `composeArgs` except that the arguments composition\n\t     * is tailored for `_.partialRight`.\n\t     *\n\t     * @private\n\t     * @param {Array|Object} args The provided arguments.\n\t     * @param {Array} partials The arguments to append to those provided.\n\t     * @param {Array} holders The `partials` placeholder indexes.\n\t     * @returns {Array} Returns the new array of composed arguments.\n\t     */\n\t    function composeArgsRight(args, partials, holders) {\n\t      var holdersIndex = -1,\n\t          holdersLength = holders.length,\n\t          argsIndex = -1,\n\t          argsLength = nativeMax(args.length - holdersLength, 0),\n\t          rightIndex = -1,\n\t          rightLength = partials.length,\n\t          result = Array(argsLength + rightLength);\n\t\n\t      while (++argsIndex < argsLength) {\n\t        result[argsIndex] = args[argsIndex];\n\t      }\n\t      var offset = argsIndex;\n\t      while (++rightIndex < rightLength) {\n\t        result[offset + rightIndex] = partials[rightIndex];\n\t      }\n\t      while (++holdersIndex < holdersLength) {\n\t        result[offset + holders[holdersIndex]] = args[argsIndex++];\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Creates a function that aggregates a collection, creating an accumulator\n\t     * object composed from the results of running each element in the collection\n\t     * through an iteratee.\n\t     *\n\t     * **Note:** This function is used to create `_.countBy`, `_.groupBy`, `_.indexBy`,\n\t     * and `_.partition`.\n\t     *\n\t     * @private\n\t     * @param {Function} setter The function to set keys and values of the accumulator object.\n\t     * @param {Function} [initializer] The function to initialize the accumulator object.\n\t     * @returns {Function} Returns the new aggregator function.\n\t     */\n\t    function createAggregator(setter, initializer) {\n\t      return function(collection, iteratee, thisArg) {\n\t        var result = initializer ? initializer() : {};\n\t        iteratee = getCallback(iteratee, thisArg, 3);\n\t\n\t        if (isArray(collection)) {\n\t          var index = -1,\n\t              length = collection.length;\n\t\n\t          while (++index < length) {\n\t            var value = collection[index];\n\t            setter(result, value, iteratee(value, index, collection), collection);\n\t          }\n\t        } else {\n\t          baseEach(collection, function(value, key, collection) {\n\t            setter(result, value, iteratee(value, key, collection), collection);\n\t          });\n\t        }\n\t        return result;\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that assigns properties of source object(s) to a given\n\t     * destination object.\n\t     *\n\t     * **Note:** This function is used to create `_.assign`, `_.defaults`, and `_.merge`.\n\t     *\n\t     * @private\n\t     * @param {Function} assigner The function to assign values.\n\t     * @returns {Function} Returns the new assigner function.\n\t     */\n\t    function createAssigner(assigner) {\n\t      return restParam(function(object, sources) {\n\t        var index = -1,\n\t            length = object == null ? 0 : sources.length,\n\t            customizer = length > 2 && sources[length - 2],\n\t            guard = length > 2 && sources[2],\n\t            thisArg = length > 1 && sources[length - 1];\n\t\n\t        if (typeof customizer == 'function') {\n\t          customizer = bindCallback(customizer, thisArg, 5);\n\t          length -= 2;\n\t        } else {\n\t          customizer = typeof thisArg == 'function' ? thisArg : null;\n\t          length -= (customizer ? 1 : 0);\n\t        }\n\t        if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n\t          customizer = length < 3 ? null : customizer;\n\t          length = 1;\n\t        }\n\t        while (++index < length) {\n\t          var source = sources[index];\n\t          if (source) {\n\t            assigner(object, source, customizer);\n\t          }\n\t        }\n\t        return object;\n\t      });\n\t    }\n\t\n\t    /**\n\t     * Creates a `baseEach` or `baseEachRight` function.\n\t     *\n\t     * @private\n\t     * @param {Function} eachFunc The function to iterate over a collection.\n\t     * @param {boolean} [fromRight] Specify iterating from right to left.\n\t     * @returns {Function} Returns the new base function.\n\t     */\n\t    function createBaseEach(eachFunc, fromRight) {\n\t      return function(collection, iteratee) {\n\t        var length = collection ? getLength(collection) : 0;\n\t        if (!isLength(length)) {\n\t          return eachFunc(collection, iteratee);\n\t        }\n\t        var index = fromRight ? length : -1,\n\t            iterable = toObject(collection);\n\t\n\t        while ((fromRight ? index-- : ++index < length)) {\n\t          if (iteratee(iterable[index], index, iterable) === false) {\n\t            break;\n\t          }\n\t        }\n\t        return collection;\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a base function for `_.forIn` or `_.forInRight`.\n\t     *\n\t     * @private\n\t     * @param {boolean} [fromRight] Specify iterating from right to left.\n\t     * @returns {Function} Returns the new base function.\n\t     */\n\t    function createBaseFor(fromRight) {\n\t      return function(object, iteratee, keysFunc) {\n\t        var iterable = toObject(object),\n\t            props = keysFunc(object),\n\t            length = props.length,\n\t            index = fromRight ? length : -1;\n\t\n\t        while ((fromRight ? index-- : ++index < length)) {\n\t          var key = props[index];\n\t          if (iteratee(iterable[key], key, iterable) === false) {\n\t            break;\n\t          }\n\t        }\n\t        return object;\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that wraps `func` and invokes it with the `this`\n\t     * binding of `thisArg`.\n\t     *\n\t     * @private\n\t     * @param {Function} func The function to bind.\n\t     * @param {*} [thisArg] The `this` binding of `func`.\n\t     * @returns {Function} Returns the new bound function.\n\t     */\n\t    function createBindWrapper(func, thisArg) {\n\t      var Ctor = createCtorWrapper(func);\n\t\n\t      function wrapper() {\n\t        var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\t        return fn.apply(thisArg, arguments);\n\t      }\n\t      return wrapper;\n\t    }\n\t\n\t    /**\n\t     * Creates a `Set` cache object to optimize linear searches of large arrays.\n\t     *\n\t     * @private\n\t     * @param {Array} [values] The values to cache.\n\t     * @returns {null|Object} Returns the new cache object if `Set` is supported, else `null`.\n\t     */\n\t    var createCache = !(nativeCreate && Set) ? constant(null) : function(values) {\n\t      return new SetCache(values);\n\t    };\n\t\n\t    /**\n\t     * Creates a function that produces compound words out of the words in a\n\t     * given string.\n\t     *\n\t     * @private\n\t     * @param {Function} callback The function to combine each word.\n\t     * @returns {Function} Returns the new compounder function.\n\t     */\n\t    function createCompounder(callback) {\n\t      return function(string) {\n\t        var index = -1,\n\t            array = words(deburr(string)),\n\t            length = array.length,\n\t            result = '';\n\t\n\t        while (++index < length) {\n\t          result = callback(result, array[index], index);\n\t        }\n\t        return result;\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that produces an instance of `Ctor` regardless of\n\t     * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n\t     *\n\t     * @private\n\t     * @param {Function} Ctor The constructor to wrap.\n\t     * @returns {Function} Returns the new wrapped function.\n\t     */\n\t    function createCtorWrapper(Ctor) {\n\t      return function() {\n\t        var thisBinding = baseCreate(Ctor.prototype),\n\t            result = Ctor.apply(thisBinding, arguments);\n\t\n\t        // Mimic the constructor's `return` behavior.\n\t        // See https://es5.github.io/#x13.2.2 for more details.\n\t        return isObject(result) ? result : thisBinding;\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a `_.curry` or `_.curryRight` function.\n\t     *\n\t     * @private\n\t     * @param {boolean} flag The curry bit flag.\n\t     * @returns {Function} Returns the new curry function.\n\t     */\n\t    function createCurry(flag) {\n\t      function curryFunc(func, arity, guard) {\n\t        if (guard && isIterateeCall(func, arity, guard)) {\n\t          arity = null;\n\t        }\n\t        var result = createWrapper(func, flag, null, null, null, null, null, arity);\n\t        result.placeholder = curryFunc.placeholder;\n\t        return result;\n\t      }\n\t      return curryFunc;\n\t    }\n\t\n\t    /**\n\t     * Creates a `_.max` or `_.min` function.\n\t     *\n\t     * @private\n\t     * @param {Function} arrayFunc The function to get the extremum value from an array.\n\t     * @param {boolean} [isMin] Specify returning the minimum, instead of the maximum,\n\t     *  extremum value.\n\t     * @returns {Function} Returns the new extremum function.\n\t     */\n\t    function createExtremum(arrayFunc, isMin) {\n\t      return function(collection, iteratee, thisArg) {\n\t        if (thisArg && isIterateeCall(collection, iteratee, thisArg)) {\n\t          iteratee = null;\n\t        }\n\t        var func = getCallback(),\n\t            noIteratee = iteratee == null;\n\t\n\t        if (!(func === baseCallback && noIteratee)) {\n\t          noIteratee = false;\n\t          iteratee = func(iteratee, thisArg, 3);\n\t        }\n\t        if (noIteratee) {\n\t          var isArr = isArray(collection);\n\t          if (!isArr && isString(collection)) {\n\t            iteratee = charAtCallback;\n\t          } else {\n\t            return arrayFunc(isArr ? collection : toIterable(collection));\n\t          }\n\t        }\n\t        return extremumBy(collection, iteratee, isMin);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a `_.find` or `_.findLast` function.\n\t     *\n\t     * @private\n\t     * @param {Function} eachFunc The function to iterate over a collection.\n\t     * @param {boolean} [fromRight] Specify iterating from right to left.\n\t     * @returns {Function} Returns the new find function.\n\t     */\n\t    function createFind(eachFunc, fromRight) {\n\t      return function(collection, predicate, thisArg) {\n\t        predicate = getCallback(predicate, thisArg, 3);\n\t        if (isArray(collection)) {\n\t          var index = baseFindIndex(collection, predicate, fromRight);\n\t          return index > -1 ? collection[index] : undefined;\n\t        }\n\t        return baseFind(collection, predicate, eachFunc);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a `_.findIndex` or `_.findLastIndex` function.\n\t     *\n\t     * @private\n\t     * @param {boolean} [fromRight] Specify iterating from right to left.\n\t     * @returns {Function} Returns the new find function.\n\t     */\n\t    function createFindIndex(fromRight) {\n\t      return function(array, predicate, thisArg) {\n\t        if (!(array && array.length)) {\n\t          return -1;\n\t        }\n\t        predicate = getCallback(predicate, thisArg, 3);\n\t        return baseFindIndex(array, predicate, fromRight);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a `_.findKey` or `_.findLastKey` function.\n\t     *\n\t     * @private\n\t     * @param {Function} objectFunc The function to iterate over an object.\n\t     * @returns {Function} Returns the new find function.\n\t     */\n\t    function createFindKey(objectFunc) {\n\t      return function(object, predicate, thisArg) {\n\t        predicate = getCallback(predicate, thisArg, 3);\n\t        return baseFind(object, predicate, objectFunc, true);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a `_.flow` or `_.flowRight` function.\n\t     *\n\t     * @private\n\t     * @param {boolean} [fromRight] Specify iterating from right to left.\n\t     * @returns {Function} Returns the new flow function.\n\t     */\n\t    function createFlow(fromRight) {\n\t      return function() {\n\t        var length = arguments.length;\n\t        if (!length) {\n\t          return function() { return arguments[0]; };\n\t        }\n\t        var wrapper,\n\t            index = fromRight ? length : -1,\n\t            leftIndex = 0,\n\t            funcs = Array(length);\n\t\n\t        while ((fromRight ? index-- : ++index < length)) {\n\t          var func = funcs[leftIndex++] = arguments[index];\n\t          if (typeof func != 'function') {\n\t            throw new TypeError(FUNC_ERROR_TEXT);\n\t          }\n\t          var funcName = wrapper ? '' : getFuncName(func);\n\t          wrapper = funcName == 'wrapper' ? new LodashWrapper([]) : wrapper;\n\t        }\n\t        index = wrapper ? -1 : length;\n\t        while (++index < length) {\n\t          func = funcs[index];\n\t          funcName = getFuncName(func);\n\t\n\t          var data = funcName == 'wrapper' ? getData(func) : null;\n\t          if (data && isLaziable(data[0]) && data[1] == (ARY_FLAG | CURRY_FLAG | PARTIAL_FLAG | REARG_FLAG) && !data[4].length && data[9] == 1) {\n\t            wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n\t          } else {\n\t            wrapper = (func.length == 1 && isLaziable(func)) ? wrapper[funcName]() : wrapper.thru(func);\n\t          }\n\t        }\n\t        return function() {\n\t          var args = arguments;\n\t          if (wrapper && args.length == 1 && isArray(args[0])) {\n\t            return wrapper.plant(args[0]).value();\n\t          }\n\t          var index = 0,\n\t              result = funcs[index].apply(this, args);\n\t\n\t          while (++index < length) {\n\t            result = funcs[index].call(this, result);\n\t          }\n\t          return result;\n\t        };\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function for `_.forEach` or `_.forEachRight`.\n\t     *\n\t     * @private\n\t     * @param {Function} arrayFunc The function to iterate over an array.\n\t     * @param {Function} eachFunc The function to iterate over a collection.\n\t     * @returns {Function} Returns the new each function.\n\t     */\n\t    function createForEach(arrayFunc, eachFunc) {\n\t      return function(collection, iteratee, thisArg) {\n\t        return (typeof iteratee == 'function' && thisArg === undefined && isArray(collection))\n\t          ? arrayFunc(collection, iteratee)\n\t          : eachFunc(collection, bindCallback(iteratee, thisArg, 3));\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function for `_.forIn` or `_.forInRight`.\n\t     *\n\t     * @private\n\t     * @param {Function} objectFunc The function to iterate over an object.\n\t     * @returns {Function} Returns the new each function.\n\t     */\n\t    function createForIn(objectFunc) {\n\t      return function(object, iteratee, thisArg) {\n\t        if (typeof iteratee != 'function' || thisArg !== undefined) {\n\t          iteratee = bindCallback(iteratee, thisArg, 3);\n\t        }\n\t        return objectFunc(object, iteratee, keysIn);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function for `_.forOwn` or `_.forOwnRight`.\n\t     *\n\t     * @private\n\t     * @param {Function} objectFunc The function to iterate over an object.\n\t     * @returns {Function} Returns the new each function.\n\t     */\n\t    function createForOwn(objectFunc) {\n\t      return function(object, iteratee, thisArg) {\n\t        if (typeof iteratee != 'function' || thisArg !== undefined) {\n\t          iteratee = bindCallback(iteratee, thisArg, 3);\n\t        }\n\t        return objectFunc(object, iteratee);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function for `_.mapKeys` or `_.mapValues`.\n\t     *\n\t     * @private\n\t     * @param {boolean} [isMapKeys] Specify mapping keys instead of values.\n\t     * @returns {Function} Returns the new map function.\n\t     */\n\t    function createObjectMapper(isMapKeys) {\n\t      return function(object, iteratee, thisArg) {\n\t        var result = {};\n\t        iteratee = getCallback(iteratee, thisArg, 3);\n\t\n\t        baseForOwn(object, function(value, key, object) {\n\t          var mapped = iteratee(value, key, object);\n\t          key = isMapKeys ? mapped : key;\n\t          value = isMapKeys ? value : mapped;\n\t          result[key] = value;\n\t        });\n\t        return result;\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function for `_.padLeft` or `_.padRight`.\n\t     *\n\t     * @private\n\t     * @param {boolean} [fromRight] Specify padding from the right.\n\t     * @returns {Function} Returns the new pad function.\n\t     */\n\t    function createPadDir(fromRight) {\n\t      return function(string, length, chars) {\n\t        string = baseToString(string);\n\t        return (fromRight ? string : '') + createPadding(string, length, chars) + (fromRight ? '' : string);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a `_.partial` or `_.partialRight` function.\n\t     *\n\t     * @private\n\t     * @param {boolean} flag The partial bit flag.\n\t     * @returns {Function} Returns the new partial function.\n\t     */\n\t    function createPartial(flag) {\n\t      var partialFunc = restParam(function(func, partials) {\n\t        var holders = replaceHolders(partials, partialFunc.placeholder);\n\t        return createWrapper(func, flag, null, partials, holders);\n\t      });\n\t      return partialFunc;\n\t    }\n\t\n\t    /**\n\t     * Creates a function for `_.reduce` or `_.reduceRight`.\n\t     *\n\t     * @private\n\t     * @param {Function} arrayFunc The function to iterate over an array.\n\t     * @param {Function} eachFunc The function to iterate over a collection.\n\t     * @returns {Function} Returns the new each function.\n\t     */\n\t    function createReduce(arrayFunc, eachFunc) {\n\t      return function(collection, iteratee, accumulator, thisArg) {\n\t        var initFromArray = arguments.length < 3;\n\t        return (typeof iteratee == 'function' && thisArg === undefined && isArray(collection))\n\t          ? arrayFunc(collection, iteratee, accumulator, initFromArray)\n\t          : baseReduce(collection, getCallback(iteratee, thisArg, 4), accumulator, initFromArray, eachFunc);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that wraps `func` and invokes it with optional `this`\n\t     * binding of, partial application, and currying.\n\t     *\n\t     * @private\n\t     * @param {Function|string} func The function or method name to reference.\n\t     * @param {number} bitmask The bitmask of flags. See `createWrapper` for more details.\n\t     * @param {*} [thisArg] The `this` binding of `func`.\n\t     * @param {Array} [partials] The arguments to prepend to those provided to the new function.\n\t     * @param {Array} [holders] The `partials` placeholder indexes.\n\t     * @param {Array} [partialsRight] The arguments to append to those provided to the new function.\n\t     * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n\t     * @param {Array} [argPos] The argument positions of the new function.\n\t     * @param {number} [ary] The arity cap of `func`.\n\t     * @param {number} [arity] The arity of `func`.\n\t     * @returns {Function} Returns the new wrapped function.\n\t     */\n\t    function createHybridWrapper(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n\t      var isAry = bitmask & ARY_FLAG,\n\t          isBind = bitmask & BIND_FLAG,\n\t          isBindKey = bitmask & BIND_KEY_FLAG,\n\t          isCurry = bitmask & CURRY_FLAG,\n\t          isCurryBound = bitmask & CURRY_BOUND_FLAG,\n\t          isCurryRight = bitmask & CURRY_RIGHT_FLAG;\n\t\n\t      var Ctor = !isBindKey && createCtorWrapper(func),\n\t          key = func;\n\t\n\t      function wrapper() {\n\t        // Avoid `arguments` object use disqualifying optimizations by\n\t        // converting it to an array before providing it to other functions.\n\t        var length = arguments.length,\n\t            index = length,\n\t            args = Array(length);\n\t\n\t        while (index--) {\n\t          args[index] = arguments[index];\n\t        }\n\t        if (partials) {\n\t          args = composeArgs(args, partials, holders);\n\t        }\n\t        if (partialsRight) {\n\t          args = composeArgsRight(args, partialsRight, holdersRight);\n\t        }\n\t        if (isCurry || isCurryRight) {\n\t          var placeholder = wrapper.placeholder,\n\t              argsHolders = replaceHolders(args, placeholder);\n\t\n\t          length -= argsHolders.length;\n\t          if (length < arity) {\n\t            var newArgPos = argPos ? arrayCopy(argPos) : null,\n\t                newArity = nativeMax(arity - length, 0),\n\t                newsHolders = isCurry ? argsHolders : null,\n\t                newHoldersRight = isCurry ? null : argsHolders,\n\t                newPartials = isCurry ? args : null,\n\t                newPartialsRight = isCurry ? null : args;\n\t\n\t            bitmask |= (isCurry ? PARTIAL_FLAG : PARTIAL_RIGHT_FLAG);\n\t            bitmask &= ~(isCurry ? PARTIAL_RIGHT_FLAG : PARTIAL_FLAG);\n\t\n\t            if (!isCurryBound) {\n\t              bitmask &= ~(BIND_FLAG | BIND_KEY_FLAG);\n\t            }\n\t            var newData = [func, bitmask, thisArg, newPartials, newsHolders, newPartialsRight, newHoldersRight, newArgPos, ary, newArity],\n\t                result = createHybridWrapper.apply(undefined, newData);\n\t\n\t            if (isLaziable(func)) {\n\t              setData(result, newData);\n\t            }\n\t            result.placeholder = placeholder;\n\t            return result;\n\t          }\n\t        }\n\t        var thisBinding = isBind ? thisArg : this;\n\t        if (isBindKey) {\n\t          func = thisBinding[key];\n\t        }\n\t        if (argPos) {\n\t          args = reorder(args, argPos);\n\t        }\n\t        if (isAry && ary < args.length) {\n\t          args.length = ary;\n\t        }\n\t        var fn = (this && this !== root && this instanceof wrapper) ? (Ctor || createCtorWrapper(func)) : func;\n\t        return fn.apply(thisBinding, args);\n\t      }\n\t      return wrapper;\n\t    }\n\t\n\t    /**\n\t     * Creates the padding required for `string` based on the given `length`.\n\t     * The `chars` string is truncated if the number of characters exceeds `length`.\n\t     *\n\t     * @private\n\t     * @param {string} string The string to create padding for.\n\t     * @param {number} [length=0] The padding length.\n\t     * @param {string} [chars=' '] The string used as padding.\n\t     * @returns {string} Returns the pad for `string`.\n\t     */\n\t    function createPadding(string, length, chars) {\n\t      var strLength = string.length;\n\t      length = +length;\n\t\n\t      if (strLength >= length || !nativeIsFinite(length)) {\n\t        return '';\n\t      }\n\t      var padLength = length - strLength;\n\t      chars = chars == null ? ' ' : (chars + '');\n\t      return repeat(chars, ceil(padLength / chars.length)).slice(0, padLength);\n\t    }\n\t\n\t    /**\n\t     * Creates a function that wraps `func` and invokes it with the optional `this`\n\t     * binding of `thisArg` and the `partials` prepended to those provided to\n\t     * the wrapper.\n\t     *\n\t     * @private\n\t     * @param {Function} func The function to partially apply arguments to.\n\t     * @param {number} bitmask The bitmask of flags. See `createWrapper` for more details.\n\t     * @param {*} thisArg The `this` binding of `func`.\n\t     * @param {Array} partials The arguments to prepend to those provided to the new function.\n\t     * @returns {Function} Returns the new bound function.\n\t     */\n\t    function createPartialWrapper(func, bitmask, thisArg, partials) {\n\t      var isBind = bitmask & BIND_FLAG,\n\t          Ctor = createCtorWrapper(func);\n\t\n\t      function wrapper() {\n\t        // Avoid `arguments` object use disqualifying optimizations by\n\t        // converting it to an array before providing it `func`.\n\t        var argsIndex = -1,\n\t            argsLength = arguments.length,\n\t            leftIndex = -1,\n\t            leftLength = partials.length,\n\t            args = Array(argsLength + leftLength);\n\t\n\t        while (++leftIndex < leftLength) {\n\t          args[leftIndex] = partials[leftIndex];\n\t        }\n\t        while (argsLength--) {\n\t          args[leftIndex++] = arguments[++argsIndex];\n\t        }\n\t        var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\t        return fn.apply(isBind ? thisArg : this, args);\n\t      }\n\t      return wrapper;\n\t    }\n\t\n\t    /**\n\t     * Creates a `_.sortedIndex` or `_.sortedLastIndex` function.\n\t     *\n\t     * @private\n\t     * @param {boolean} [retHighest] Specify returning the highest qualified index.\n\t     * @returns {Function} Returns the new index function.\n\t     */\n\t    function createSortedIndex(retHighest) {\n\t      return function(array, value, iteratee, thisArg) {\n\t        var func = getCallback(iteratee);\n\t        return (func === baseCallback && iteratee == null)\n\t          ? binaryIndex(array, value, retHighest)\n\t          : binaryIndexBy(array, value, func(iteratee, thisArg, 1), retHighest);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that either curries or invokes `func` with optional\n\t     * `this` binding and partially applied arguments.\n\t     *\n\t     * @private\n\t     * @param {Function|string} func The function or method name to reference.\n\t     * @param {number} bitmask The bitmask of flags.\n\t     *  The bitmask may be composed of the following flags:\n\t     *     1 - `_.bind`\n\t     *     2 - `_.bindKey`\n\t     *     4 - `_.curry` or `_.curryRight` of a bound function\n\t     *     8 - `_.curry`\n\t     *    16 - `_.curryRight`\n\t     *    32 - `_.partial`\n\t     *    64 - `_.partialRight`\n\t     *   128 - `_.rearg`\n\t     *   256 - `_.ary`\n\t     * @param {*} [thisArg] The `this` binding of `func`.\n\t     * @param {Array} [partials] The arguments to be partially applied.\n\t     * @param {Array} [holders] The `partials` placeholder indexes.\n\t     * @param {Array} [argPos] The argument positions of the new function.\n\t     * @param {number} [ary] The arity cap of `func`.\n\t     * @param {number} [arity] The arity of `func`.\n\t     * @returns {Function} Returns the new wrapped function.\n\t     */\n\t    function createWrapper(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n\t      var isBindKey = bitmask & BIND_KEY_FLAG;\n\t      if (!isBindKey && typeof func != 'function') {\n\t        throw new TypeError(FUNC_ERROR_TEXT);\n\t      }\n\t      var length = partials ? partials.length : 0;\n\t      if (!length) {\n\t        bitmask &= ~(PARTIAL_FLAG | PARTIAL_RIGHT_FLAG);\n\t        partials = holders = null;\n\t      }\n\t      length -= (holders ? holders.length : 0);\n\t      if (bitmask & PARTIAL_RIGHT_FLAG) {\n\t        var partialsRight = partials,\n\t            holdersRight = holders;\n\t\n\t        partials = holders = null;\n\t      }\n\t      var data = isBindKey ? null : getData(func),\n\t          newData = [func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity];\n\t\n\t      if (data) {\n\t        mergeData(newData, data);\n\t        bitmask = newData[1];\n\t        arity = newData[9];\n\t      }\n\t      newData[9] = arity == null\n\t        ? (isBindKey ? 0 : func.length)\n\t        : (nativeMax(arity - length, 0) || 0);\n\t\n\t      if (bitmask == BIND_FLAG) {\n\t        var result = createBindWrapper(newData[0], newData[2]);\n\t      } else if ((bitmask == PARTIAL_FLAG || bitmask == (BIND_FLAG | PARTIAL_FLAG)) && !newData[4].length) {\n\t        result = createPartialWrapper.apply(undefined, newData);\n\t      } else {\n\t        result = createHybridWrapper.apply(undefined, newData);\n\t      }\n\t      var setter = data ? baseSetData : setData;\n\t      return setter(result, newData);\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `baseIsEqualDeep` for arrays with support for\n\t     * partial deep comparisons.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to compare.\n\t     * @param {Array} other The other array to compare.\n\t     * @param {Function} equalFunc The function to determine equivalents of values.\n\t     * @param {Function} [customizer] The function to customize comparing arrays.\n\t     * @param {boolean} [isLoose] Specify performing partial comparisons.\n\t     * @param {Array} [stackA] Tracks traversed `value` objects.\n\t     * @param {Array} [stackB] Tracks traversed `other` objects.\n\t     * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n\t     */\n\t    function equalArrays(array, other, equalFunc, customizer, isLoose, stackA, stackB) {\n\t      var index = -1,\n\t          arrLength = array.length,\n\t          othLength = other.length,\n\t          result = true;\n\t\n\t      if (arrLength != othLength && !(isLoose && othLength > arrLength)) {\n\t        return false;\n\t      }\n\t      // Deep compare the contents, ignoring non-numeric properties.\n\t      while (result && ++index < arrLength) {\n\t        var arrValue = array[index],\n\t            othValue = other[index];\n\t\n\t        result = undefined;\n\t        if (customizer) {\n\t          result = isLoose\n\t            ? customizer(othValue, arrValue, index)\n\t            : customizer(arrValue, othValue, index);\n\t        }\n\t        if (result === undefined) {\n\t          // Recursively compare arrays (susceptible to call stack limits).\n\t          if (isLoose) {\n\t            var othIndex = othLength;\n\t            while (othIndex--) {\n\t              othValue = other[othIndex];\n\t              result = (arrValue && arrValue === othValue) || equalFunc(arrValue, othValue, customizer, isLoose, stackA, stackB);\n\t              if (result) {\n\t                break;\n\t              }\n\t            }\n\t          } else {\n\t            result = (arrValue && arrValue === othValue) || equalFunc(arrValue, othValue, customizer, isLoose, stackA, stackB);\n\t          }\n\t        }\n\t      }\n\t      return !!result;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `baseIsEqualDeep` for comparing objects of\n\t     * the same `toStringTag`.\n\t     *\n\t     * **Note:** This function only supports comparing values with tags of\n\t     * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n\t     *\n\t     * @private\n\t     * @param {Object} value The object to compare.\n\t     * @param {Object} other The other object to compare.\n\t     * @param {string} tag The `toStringTag` of the objects to compare.\n\t     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n\t     */\n\t    function equalByTag(object, other, tag) {\n\t      switch (tag) {\n\t        case boolTag:\n\t        case dateTag:\n\t          // Coerce dates and booleans to numbers, dates to milliseconds and booleans\n\t          // to `1` or `0` treating invalid dates coerced to `NaN` as not equal.\n\t          return +object == +other;\n\t\n\t        case errorTag:\n\t          return object.name == other.name && object.message == other.message;\n\t\n\t        case numberTag:\n\t          // Treat `NaN` vs. `NaN` as equal.\n\t          return (object != +object)\n\t            ? other != +other\n\t            : object == +other;\n\t\n\t        case regexpTag:\n\t        case stringTag:\n\t          // Coerce regexes to strings and treat strings primitives and string\n\t          // objects as equal. See https://es5.github.io/#x15.10.6.4 for more details.\n\t          return object == (other + '');\n\t      }\n\t      return false;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `baseIsEqualDeep` for objects with support for\n\t     * partial deep comparisons.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to compare.\n\t     * @param {Object} other The other object to compare.\n\t     * @param {Function} equalFunc The function to determine equivalents of values.\n\t     * @param {Function} [customizer] The function to customize comparing values.\n\t     * @param {boolean} [isLoose] Specify performing partial comparisons.\n\t     * @param {Array} [stackA] Tracks traversed `value` objects.\n\t     * @param {Array} [stackB] Tracks traversed `other` objects.\n\t     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n\t     */\n\t    function equalObjects(object, other, equalFunc, customizer, isLoose, stackA, stackB) {\n\t      var objProps = keys(object),\n\t          objLength = objProps.length,\n\t          othProps = keys(other),\n\t          othLength = othProps.length;\n\t\n\t      if (objLength != othLength && !isLoose) {\n\t        return false;\n\t      }\n\t      var skipCtor = isLoose,\n\t          index = -1;\n\t\n\t      while (++index < objLength) {\n\t        var key = objProps[index],\n\t            result = isLoose ? key in other : hasOwnProperty.call(other, key);\n\t\n\t        if (result) {\n\t          var objValue = object[key],\n\t              othValue = other[key];\n\t\n\t          result = undefined;\n\t          if (customizer) {\n\t            result = isLoose\n\t              ? customizer(othValue, objValue, key)\n\t              : customizer(objValue, othValue, key);\n\t          }\n\t          if (result === undefined) {\n\t            // Recursively compare objects (susceptible to call stack limits).\n\t            result = (objValue && objValue === othValue) || equalFunc(objValue, othValue, customizer, isLoose, stackA, stackB);\n\t          }\n\t        }\n\t        if (!result) {\n\t          return false;\n\t        }\n\t        skipCtor || (skipCtor = key == 'constructor');\n\t      }\n\t      if (!skipCtor) {\n\t        var objCtor = object.constructor,\n\t            othCtor = other.constructor;\n\t\n\t        // Non `Object` object instances with different constructors are not equal.\n\t        if (objCtor != othCtor &&\n\t            ('constructor' in object && 'constructor' in other) &&\n\t            !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n\t              typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n\t          return false;\n\t        }\n\t      }\n\t      return true;\n\t    }\n\t\n\t    /**\n\t     * Gets the extremum value of `collection` invoking `iteratee` for each value\n\t     * in `collection` to generate the criterion by which the value is ranked.\n\t     * The `iteratee` is invoked with three arguments: (value, index, collection).\n\t     *\n\t     * @private\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} iteratee The function invoked per iteration.\n\t     * @param {boolean} [isMin] Specify returning the minimum, instead of the\n\t     *  maximum, extremum value.\n\t     * @returns {*} Returns the extremum value.\n\t     */\n\t    function extremumBy(collection, iteratee, isMin) {\n\t      var exValue = isMin ? POSITIVE_INFINITY : NEGATIVE_INFINITY,\n\t          computed = exValue,\n\t          result = computed;\n\t\n\t      baseEach(collection, function(value, index, collection) {\n\t        var current = iteratee(value, index, collection);\n\t        if ((isMin ? (current < computed) : (current > computed)) ||\n\t            (current === exValue && current === result)) {\n\t          computed = current;\n\t          result = value;\n\t        }\n\t      });\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Gets the appropriate \"callback\" function. If the `_.callback` method is\n\t     * customized this function returns the custom method, otherwise it returns\n\t     * the `baseCallback` function. If arguments are provided the chosen function\n\t     * is invoked with them and its result is returned.\n\t     *\n\t     * @private\n\t     * @returns {Function} Returns the chosen function or its result.\n\t     */\n\t    function getCallback(func, thisArg, argCount) {\n\t      var result = lodash.callback || callback;\n\t      result = result === callback ? baseCallback : result;\n\t      return argCount ? result(func, thisArg, argCount) : result;\n\t    }\n\t\n\t    /**\n\t     * Gets metadata for `func`.\n\t     *\n\t     * @private\n\t     * @param {Function} func The function to query.\n\t     * @returns {*} Returns the metadata for `func`.\n\t     */\n\t    var getData = !metaMap ? noop : function(func) {\n\t      return metaMap.get(func);\n\t    };\n\t\n\t    /**\n\t     * Gets the name of `func`.\n\t     *\n\t     * @private\n\t     * @param {Function} func The function to query.\n\t     * @returns {string} Returns the function name.\n\t     */\n\t    var getFuncName = (function() {\n\t      if (!support.funcNames) {\n\t        return constant('');\n\t      }\n\t      if (constant.name == 'constant') {\n\t        return baseProperty('name');\n\t      }\n\t      return function(func) {\n\t        var result = func.name,\n\t            array = realNames[result],\n\t            length = array ? array.length : 0;\n\t\n\t        while (length--) {\n\t          var data = array[length],\n\t              otherFunc = data.func;\n\t\n\t          if (otherFunc == null || otherFunc == func) {\n\t            return data.name;\n\t          }\n\t        }\n\t        return result;\n\t      };\n\t    }());\n\t\n\t    /**\n\t     * Gets the appropriate \"indexOf\" function. If the `_.indexOf` method is\n\t     * customized this function returns the custom method, otherwise it returns\n\t     * the `baseIndexOf` function. If arguments are provided the chosen function\n\t     * is invoked with them and its result is returned.\n\t     *\n\t     * @private\n\t     * @returns {Function|number} Returns the chosen function or its result.\n\t     */\n\t    function getIndexOf(collection, target, fromIndex) {\n\t      var result = lodash.indexOf || indexOf;\n\t      result = result === indexOf ? baseIndexOf : result;\n\t      return collection ? result(collection, target, fromIndex) : result;\n\t    }\n\t\n\t    /**\n\t     * Gets the \"length\" property value of `object`.\n\t     *\n\t     * **Note:** This function is used to avoid a [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792)\n\t     * that affects Safari on at least iOS 8.1-8.3 ARM64.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to query.\n\t     * @returns {*} Returns the \"length\" value.\n\t     */\n\t    var getLength = baseProperty('length');\n\t\n\t    /**\n\t     * Creates an array of the own symbols of `object`.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to query.\n\t     * @returns {Array} Returns the array of symbols.\n\t     */\n\t    var getSymbols = !getOwnPropertySymbols ? constant([]) : function(object) {\n\t      return getOwnPropertySymbols(toObject(object));\n\t    };\n\t\n\t    /**\n\t     * Gets the view, applying any `transforms` to the `start` and `end` positions.\n\t     *\n\t     * @private\n\t     * @param {number} start The start of the view.\n\t     * @param {number} end The end of the view.\n\t     * @param {Array} [transforms] The transformations to apply to the view.\n\t     * @returns {Object} Returns an object containing the `start` and `end`\n\t     *  positions of the view.\n\t     */\n\t    function getView(start, end, transforms) {\n\t      var index = -1,\n\t          length = transforms ? transforms.length : 0;\n\t\n\t      while (++index < length) {\n\t        var data = transforms[index],\n\t            size = data.size;\n\t\n\t        switch (data.type) {\n\t          case 'drop':      start += size; break;\n\t          case 'dropRight': end -= size; break;\n\t          case 'take':      end = nativeMin(end, start + size); break;\n\t          case 'takeRight': start = nativeMax(start, end - size); break;\n\t        }\n\t      }\n\t      return { 'start': start, 'end': end };\n\t    }\n\t\n\t    /**\n\t     * Initializes an array clone.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to clone.\n\t     * @returns {Array} Returns the initialized clone.\n\t     */\n\t    function initCloneArray(array) {\n\t      var length = array.length,\n\t          result = new array.constructor(length);\n\t\n\t      // Add array properties assigned by `RegExp#exec`.\n\t      if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n\t        result.index = array.index;\n\t        result.input = array.input;\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Initializes an object clone.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to clone.\n\t     * @returns {Object} Returns the initialized clone.\n\t     */\n\t    function initCloneObject(object) {\n\t      var Ctor = object.constructor;\n\t      if (!(typeof Ctor == 'function' && Ctor instanceof Ctor)) {\n\t        Ctor = Object;\n\t      }\n\t      return new Ctor;\n\t    }\n\t\n\t    /**\n\t     * Initializes an object clone based on its `toStringTag`.\n\t     *\n\t     * **Note:** This function only supports cloning values with tags of\n\t     * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to clone.\n\t     * @param {string} tag The `toStringTag` of the object to clone.\n\t     * @param {boolean} [isDeep] Specify a deep clone.\n\t     * @returns {Object} Returns the initialized clone.\n\t     */\n\t    function initCloneByTag(object, tag, isDeep) {\n\t      var Ctor = object.constructor;\n\t      switch (tag) {\n\t        case arrayBufferTag:\n\t          return bufferClone(object);\n\t\n\t        case boolTag:\n\t        case dateTag:\n\t          return new Ctor(+object);\n\t\n\t        case float32Tag: case float64Tag:\n\t        case int8Tag: case int16Tag: case int32Tag:\n\t        case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n\t          var buffer = object.buffer;\n\t          return new Ctor(isDeep ? bufferClone(buffer) : buffer, object.byteOffset, object.length);\n\t\n\t        case numberTag:\n\t        case stringTag:\n\t          return new Ctor(object);\n\t\n\t        case regexpTag:\n\t          var result = new Ctor(object.source, reFlags.exec(object));\n\t          result.lastIndex = object.lastIndex;\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Invokes the method at `path` on `object`.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to query.\n\t     * @param {Array|string} path The path of the method to invoke.\n\t     * @param {Array} args The arguments to invoke the method with.\n\t     * @returns {*} Returns the result of the invoked method.\n\t     */\n\t    function invokePath(object, path, args) {\n\t      if (object != null && !isKey(path, object)) {\n\t        path = toPath(path);\n\t        object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\n\t        path = last(path);\n\t      }\n\t      var func = object == null ? object : object[path];\n\t      return func == null ? undefined : func.apply(object, args);\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is array-like.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n\t     */\n\t    function isArrayLike(value) {\n\t      return value != null && isLength(getLength(value));\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is a valid array-like index.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to check.\n\t     * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n\t     * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n\t     */\n\t    function isIndex(value, length) {\n\t      value = +value;\n\t      length = length == null ? MAX_SAFE_INTEGER : length;\n\t      return value > -1 && value % 1 == 0 && value < length;\n\t    }\n\t\n\t    /**\n\t     * Checks if the provided arguments are from an iteratee call.\n\t     *\n\t     * @private\n\t     * @param {*} value The potential iteratee value argument.\n\t     * @param {*} index The potential iteratee index or key argument.\n\t     * @param {*} object The potential iteratee object argument.\n\t     * @returns {boolean} Returns `true` if the arguments are from an iteratee call, else `false`.\n\t     */\n\t    function isIterateeCall(value, index, object) {\n\t      if (!isObject(object)) {\n\t        return false;\n\t      }\n\t      var type = typeof index;\n\t      if (type == 'number'\n\t          ? (isArrayLike(object) && isIndex(index, object.length))\n\t          : (type == 'string' && index in object)) {\n\t        var other = object[index];\n\t        return value === value ? (value === other) : (other !== other);\n\t      }\n\t      return false;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is a property name and not a property path.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to check.\n\t     * @param {Object} [object] The object to query keys on.\n\t     * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n\t     */\n\t    function isKey(value, object) {\n\t      var type = typeof value;\n\t      if ((type == 'string' && reIsPlainProp.test(value)) || type == 'number') {\n\t        return true;\n\t      }\n\t      if (isArray(value)) {\n\t        return false;\n\t      }\n\t      var result = !reIsDeepProp.test(value);\n\t      return result || (object != null && value in toObject(object));\n\t    }\n\t\n\t    /**\n\t     * Checks if `func` has a lazy counterpart.\n\t     *\n\t     * @private\n\t     * @param {Function} func The function to check.\n\t     * @returns {boolean} Returns `true` if `func` has a lazy counterpart, else `false`.\n\t     */\n\t    function isLaziable(func) {\n\t      var funcName = getFuncName(func);\n\t      return !!funcName && func === lodash[funcName] && funcName in LazyWrapper.prototype;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is a valid array-like length.\n\t     *\n\t     * **Note:** This function is based on [`ToLength`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength).\n\t     *\n\t     * @private\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n\t     */\n\t    function isLength(value) {\n\t      return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` if suitable for strict\n\t     *  equality comparisons, else `false`.\n\t     */\n\t    function isStrictComparable(value) {\n\t      return value === value && !isObject(value);\n\t    }\n\t\n\t    /**\n\t     * Merges the function metadata of `source` into `data`.\n\t     *\n\t     * Merging metadata reduces the number of wrappers required to invoke a function.\n\t     * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n\t     * may be applied regardless of execution order. Methods like `_.ary` and `_.rearg`\n\t     * augment function arguments, making the order in which they are executed important,\n\t     * preventing the merging of metadata. However, we make an exception for a safe\n\t     * common case where curried functions have `_.ary` and or `_.rearg` applied.\n\t     *\n\t     * @private\n\t     * @param {Array} data The destination metadata.\n\t     * @param {Array} source The source metadata.\n\t     * @returns {Array} Returns `data`.\n\t     */\n\t    function mergeData(data, source) {\n\t      var bitmask = data[1],\n\t          srcBitmask = source[1],\n\t          newBitmask = bitmask | srcBitmask,\n\t          isCommon = newBitmask < ARY_FLAG;\n\t\n\t      var isCombo =\n\t        (srcBitmask == ARY_FLAG && bitmask == CURRY_FLAG) ||\n\t        (srcBitmask == ARY_FLAG && bitmask == REARG_FLAG && data[7].length <= source[8]) ||\n\t        (srcBitmask == (ARY_FLAG | REARG_FLAG) && bitmask == CURRY_FLAG);\n\t\n\t      // Exit early if metadata can't be merged.\n\t      if (!(isCommon || isCombo)) {\n\t        return data;\n\t      }\n\t      // Use source `thisArg` if available.\n\t      if (srcBitmask & BIND_FLAG) {\n\t        data[2] = source[2];\n\t        // Set when currying a bound function.\n\t        newBitmask |= (bitmask & BIND_FLAG) ? 0 : CURRY_BOUND_FLAG;\n\t      }\n\t      // Compose partial arguments.\n\t      var value = source[3];\n\t      if (value) {\n\t        var partials = data[3];\n\t        data[3] = partials ? composeArgs(partials, value, source[4]) : arrayCopy(value);\n\t        data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : arrayCopy(source[4]);\n\t      }\n\t      // Compose partial right arguments.\n\t      value = source[5];\n\t      if (value) {\n\t        partials = data[5];\n\t        data[5] = partials ? composeArgsRight(partials, value, source[6]) : arrayCopy(value);\n\t        data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : arrayCopy(source[6]);\n\t      }\n\t      // Use source `argPos` if available.\n\t      value = source[7];\n\t      if (value) {\n\t        data[7] = arrayCopy(value);\n\t      }\n\t      // Use source `ary` if it's smaller.\n\t      if (srcBitmask & ARY_FLAG) {\n\t        data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n\t      }\n\t      // Use source `arity` if one is not provided.\n\t      if (data[9] == null) {\n\t        data[9] = source[9];\n\t      }\n\t      // Use source `func` and merge bitmasks.\n\t      data[0] = source[0];\n\t      data[1] = newBitmask;\n\t\n\t      return data;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.pick` which picks `object` properties specified\n\t     * by `props`.\n\t     *\n\t     * @private\n\t     * @param {Object} object The source object.\n\t     * @param {string[]} props The property names to pick.\n\t     * @returns {Object} Returns the new object.\n\t     */\n\t    function pickByArray(object, props) {\n\t      object = toObject(object);\n\t\n\t      var index = -1,\n\t          length = props.length,\n\t          result = {};\n\t\n\t      while (++index < length) {\n\t        var key = props[index];\n\t        if (key in object) {\n\t          result[key] = object[key];\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * A specialized version of `_.pick` which picks `object` properties `predicate`\n\t     * returns truthy for.\n\t     *\n\t     * @private\n\t     * @param {Object} object The source object.\n\t     * @param {Function} predicate The function invoked per iteration.\n\t     * @returns {Object} Returns the new object.\n\t     */\n\t    function pickByCallback(object, predicate) {\n\t      var result = {};\n\t      baseForIn(object, function(value, key, object) {\n\t        if (predicate(value, key, object)) {\n\t          result[key] = value;\n\t        }\n\t      });\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Reorder `array` according to the specified indexes where the element at\n\t     * the first index is assigned as the first element, the element at\n\t     * the second index is assigned as the second element, and so on.\n\t     *\n\t     * @private\n\t     * @param {Array} array The array to reorder.\n\t     * @param {Array} indexes The arranged array indexes.\n\t     * @returns {Array} Returns `array`.\n\t     */\n\t    function reorder(array, indexes) {\n\t      var arrLength = array.length,\n\t          length = nativeMin(indexes.length, arrLength),\n\t          oldArray = arrayCopy(array);\n\t\n\t      while (length--) {\n\t        var index = indexes[length];\n\t        array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n\t      }\n\t      return array;\n\t    }\n\t\n\t    /**\n\t     * Sets metadata for `func`.\n\t     *\n\t     * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n\t     * period of time, it will trip its breaker and transition to an identity function\n\t     * to avoid garbage collection pauses in V8. See [V8 issue 2070](https://code.google.com/p/v8/issues/detail?id=2070)\n\t     * for more details.\n\t     *\n\t     * @private\n\t     * @param {Function} func The function to associate metadata with.\n\t     * @param {*} data The metadata.\n\t     * @returns {Function} Returns `func`.\n\t     */\n\t    var setData = (function() {\n\t      var count = 0,\n\t          lastCalled = 0;\n\t\n\t      return function(key, value) {\n\t        var stamp = now(),\n\t            remaining = HOT_SPAN - (stamp - lastCalled);\n\t\n\t        lastCalled = stamp;\n\t        if (remaining > 0) {\n\t          if (++count >= HOT_COUNT) {\n\t            return key;\n\t          }\n\t        } else {\n\t          count = 0;\n\t        }\n\t        return baseSetData(key, value);\n\t      };\n\t    }());\n\t\n\t    /**\n\t     * A fallback implementation of `_.isPlainObject` which checks if `value`\n\t     * is an object created by the `Object` constructor or has a `[[Prototype]]`\n\t     * of `null`.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n\t     */\n\t    function shimIsPlainObject(value) {\n\t      var Ctor,\n\t          support = lodash.support;\n\t\n\t      // Exit early for non `Object` objects.\n\t      if (!(isObjectLike(value) && objToString.call(value) == objectTag) ||\n\t          (!hasOwnProperty.call(value, 'constructor') &&\n\t            (Ctor = value.constructor, typeof Ctor == 'function' && !(Ctor instanceof Ctor)))) {\n\t        return false;\n\t      }\n\t      // IE < 9 iterates inherited properties before own properties. If the first\n\t      // iterated property is an object's own property then there are no inherited\n\t      // enumerable properties.\n\t      var result;\n\t      // In most environments an object's own properties are iterated before\n\t      // its inherited properties. If the last iterated property is an object's\n\t      // own property then there are no inherited enumerable properties.\n\t      baseForIn(value, function(subValue, key) {\n\t        result = key;\n\t      });\n\t      return result === undefined || hasOwnProperty.call(value, result);\n\t    }\n\t\n\t    /**\n\t     * A fallback implementation of `Object.keys` which creates an array of the\n\t     * own enumerable property names of `object`.\n\t     *\n\t     * @private\n\t     * @param {Object} object The object to query.\n\t     * @returns {Array} Returns the array of property names.\n\t     */\n\t    function shimKeys(object) {\n\t      var props = keysIn(object),\n\t          propsLength = props.length,\n\t          length = propsLength && object.length,\n\t          support = lodash.support;\n\t\n\t      var allowIndexes = length && isLength(length) &&\n\t        (isArray(object) || (support.nonEnumArgs && isArguments(object)));\n\t\n\t      var index = -1,\n\t          result = [];\n\t\n\t      while (++index < propsLength) {\n\t        var key = props[index];\n\t        if ((allowIndexes && isIndex(key, length)) || hasOwnProperty.call(object, key)) {\n\t          result.push(key);\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Converts `value` to an array-like object if it is not one.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to process.\n\t     * @returns {Array|Object} Returns the array-like object.\n\t     */\n\t    function toIterable(value) {\n\t      if (value == null) {\n\t        return [];\n\t      }\n\t      if (!isArrayLike(value)) {\n\t        return values(value);\n\t      }\n\t      return isObject(value) ? value : Object(value);\n\t    }\n\t\n\t    /**\n\t     * Converts `value` to an object if it is not one.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to process.\n\t     * @returns {Object} Returns the object.\n\t     */\n\t    function toObject(value) {\n\t      return isObject(value) ? value : Object(value);\n\t    }\n\t\n\t    /**\n\t     * Converts `value` to property path array if it is not one.\n\t     *\n\t     * @private\n\t     * @param {*} value The value to process.\n\t     * @returns {Array} Returns the property path array.\n\t     */\n\t    function toPath(value) {\n\t      if (isArray(value)) {\n\t        return value;\n\t      }\n\t      var result = [];\n\t      baseToString(value).replace(rePropName, function(match, number, quote, string) {\n\t        result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));\n\t      });\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Creates a clone of `wrapper`.\n\t     *\n\t     * @private\n\t     * @param {Object} wrapper The wrapper to clone.\n\t     * @returns {Object} Returns the cloned wrapper.\n\t     */\n\t    function wrapperClone(wrapper) {\n\t      return wrapper instanceof LazyWrapper\n\t        ? wrapper.clone()\n\t        : new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__, arrayCopy(wrapper.__actions__));\n\t    }\n\t\n\t    /**\n\t     * Creates an array of elements split into groups the length of `size`.\n\t     * If `collection` can't be split evenly, the final chunk will be the remaining\n\t     * elements.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to process.\n\t     * @param {number} [size=1] The length of each chunk.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Array} Returns the new array containing chunks.\n\t     * @example\n\t     *\n\t     * _.chunk(['a', 'b', 'c', 'd'], 2);\n\t     * // => [['a', 'b'], ['c', 'd']]\n\t     *\n\t     * _.chunk(['a', 'b', 'c', 'd'], 3);\n\t     * // => [['a', 'b', 'c'], ['d']]\n\t     */\n\t    function chunk(array, size, guard) {\n\t      if (guard ? isIterateeCall(array, size, guard) : size == null) {\n\t        size = 1;\n\t      } else {\n\t        size = nativeMax(+size || 1, 1);\n\t      }\n\t      var index = 0,\n\t          length = array ? array.length : 0,\n\t          resIndex = -1,\n\t          result = Array(ceil(length / size));\n\t\n\t      while (index < length) {\n\t        result[++resIndex] = baseSlice(array, index, (index += size));\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Creates an array with all falsey values removed. The values `false`, `null`,\n\t     * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to compact.\n\t     * @returns {Array} Returns the new array of filtered values.\n\t     * @example\n\t     *\n\t     * _.compact([0, 1, false, 2, '', 3]);\n\t     * // => [1, 2, 3]\n\t     */\n\t    function compact(array) {\n\t      var index = -1,\n\t          length = array ? array.length : 0,\n\t          resIndex = -1,\n\t          result = [];\n\t\n\t      while (++index < length) {\n\t        var value = array[index];\n\t        if (value) {\n\t          result[++resIndex] = value;\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Creates an array excluding all values of the provided arrays using\n\t     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\n\t     * for equality comparisons.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to inspect.\n\t     * @param {...Array} [values] The arrays of values to exclude.\n\t     * @returns {Array} Returns the new array of filtered values.\n\t     * @example\n\t     *\n\t     * _.difference([1, 2, 3], [4, 2]);\n\t     * // => [1, 3]\n\t     */\n\t    var difference = restParam(function(array, values) {\n\t      return isArrayLike(array)\n\t        ? baseDifference(array, baseFlatten(values, false, true))\n\t        : [];\n\t    });\n\t\n\t    /**\n\t     * Creates a slice of `array` with `n` elements dropped from the beginning.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @param {number} [n=1] The number of elements to drop.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.drop([1, 2, 3]);\n\t     * // => [2, 3]\n\t     *\n\t     * _.drop([1, 2, 3], 2);\n\t     * // => [3]\n\t     *\n\t     * _.drop([1, 2, 3], 5);\n\t     * // => []\n\t     *\n\t     * _.drop([1, 2, 3], 0);\n\t     * // => [1, 2, 3]\n\t     */\n\t    function drop(array, n, guard) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return [];\n\t      }\n\t      if (guard ? isIterateeCall(array, n, guard) : n == null) {\n\t        n = 1;\n\t      }\n\t      return baseSlice(array, n < 0 ? 0 : n);\n\t    }\n\t\n\t    /**\n\t     * Creates a slice of `array` with `n` elements dropped from the end.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @param {number} [n=1] The number of elements to drop.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.dropRight([1, 2, 3]);\n\t     * // => [1, 2]\n\t     *\n\t     * _.dropRight([1, 2, 3], 2);\n\t     * // => [1]\n\t     *\n\t     * _.dropRight([1, 2, 3], 5);\n\t     * // => []\n\t     *\n\t     * _.dropRight([1, 2, 3], 0);\n\t     * // => [1, 2, 3]\n\t     */\n\t    function dropRight(array, n, guard) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return [];\n\t      }\n\t      if (guard ? isIterateeCall(array, n, guard) : n == null) {\n\t        n = 1;\n\t      }\n\t      n = length - (+n || 0);\n\t      return baseSlice(array, 0, n < 0 ? 0 : n);\n\t    }\n\t\n\t    /**\n\t     * Creates a slice of `array` excluding elements dropped from the end.\n\t     * Elements are dropped until `predicate` returns falsey. The predicate is\n\t     * bound to `thisArg` and invoked with three arguments: (value, index, array).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that match the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.dropRightWhile([1, 2, 3], function(n) {\n\t     *   return n > 1;\n\t     * });\n\t     * // => [1]\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney',  'active': true },\n\t     *   { 'user': 'fred',    'active': false },\n\t     *   { 'user': 'pebbles', 'active': false }\n\t     * ];\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.pluck(_.dropRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user');\n\t     * // => ['barney', 'fred']\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.pluck(_.dropRightWhile(users, 'active', false), 'user');\n\t     * // => ['barney']\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.pluck(_.dropRightWhile(users, 'active'), 'user');\n\t     * // => ['barney', 'fred', 'pebbles']\n\t     */\n\t    function dropRightWhile(array, predicate, thisArg) {\n\t      return (array && array.length)\n\t        ? baseWhile(array, getCallback(predicate, thisArg, 3), true, true)\n\t        : [];\n\t    }\n\t\n\t    /**\n\t     * Creates a slice of `array` excluding elements dropped from the beginning.\n\t     * Elements are dropped until `predicate` returns falsey. The predicate is\n\t     * bound to `thisArg` and invoked with three arguments: (value, index, array).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.dropWhile([1, 2, 3], function(n) {\n\t     *   return n < 3;\n\t     * });\n\t     * // => [3]\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney',  'active': false },\n\t     *   { 'user': 'fred',    'active': false },\n\t     *   { 'user': 'pebbles', 'active': true }\n\t     * ];\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.pluck(_.dropWhile(users, { 'user': 'barney', 'active': false }), 'user');\n\t     * // => ['fred', 'pebbles']\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.pluck(_.dropWhile(users, 'active', false), 'user');\n\t     * // => ['pebbles']\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.pluck(_.dropWhile(users, 'active'), 'user');\n\t     * // => ['barney', 'fred', 'pebbles']\n\t     */\n\t    function dropWhile(array, predicate, thisArg) {\n\t      return (array && array.length)\n\t        ? baseWhile(array, getCallback(predicate, thisArg, 3), true)\n\t        : [];\n\t    }\n\t\n\t    /**\n\t     * Fills elements of `array` with `value` from `start` up to, but not\n\t     * including, `end`.\n\t     *\n\t     * **Note:** This method mutates `array`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to fill.\n\t     * @param {*} value The value to fill `array` with.\n\t     * @param {number} [start=0] The start position.\n\t     * @param {number} [end=array.length] The end position.\n\t     * @returns {Array} Returns `array`.\n\t     * @example\n\t     *\n\t     * var array = [1, 2, 3];\n\t     *\n\t     * _.fill(array, 'a');\n\t     * console.log(array);\n\t     * // => ['a', 'a', 'a']\n\t     *\n\t     * _.fill(Array(3), 2);\n\t     * // => [2, 2, 2]\n\t     *\n\t     * _.fill([4, 6, 8], '*', 1, 2);\n\t     * // => [4, '*', 8]\n\t     */\n\t    function fill(array, value, start, end) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return [];\n\t      }\n\t      if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n\t        start = 0;\n\t        end = length;\n\t      }\n\t      return baseFill(array, value, start, end);\n\t    }\n\t\n\t    /**\n\t     * This method is like `_.find` except that it returns the index of the first\n\t     * element `predicate` returns truthy for instead of the element itself.\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to search.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {number} Returns the index of the found element, else `-1`.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney',  'active': false },\n\t     *   { 'user': 'fred',    'active': false },\n\t     *   { 'user': 'pebbles', 'active': true }\n\t     * ];\n\t     *\n\t     * _.findIndex(users, function(chr) {\n\t     *   return chr.user == 'barney';\n\t     * });\n\t     * // => 0\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.findIndex(users, { 'user': 'fred', 'active': false });\n\t     * // => 1\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.findIndex(users, 'active', false);\n\t     * // => 0\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.findIndex(users, 'active');\n\t     * // => 2\n\t     */\n\t    var findIndex = createFindIndex();\n\t\n\t    /**\n\t     * This method is like `_.findIndex` except that it iterates over elements\n\t     * of `collection` from right to left.\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to search.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {number} Returns the index of the found element, else `-1`.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney',  'active': true },\n\t     *   { 'user': 'fred',    'active': false },\n\t     *   { 'user': 'pebbles', 'active': false }\n\t     * ];\n\t     *\n\t     * _.findLastIndex(users, function(chr) {\n\t     *   return chr.user == 'pebbles';\n\t     * });\n\t     * // => 2\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n\t     * // => 0\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.findLastIndex(users, 'active', false);\n\t     * // => 2\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.findLastIndex(users, 'active');\n\t     * // => 0\n\t     */\n\t    var findLastIndex = createFindIndex(true);\n\t\n\t    /**\n\t     * Gets the first element of `array`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias head\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @returns {*} Returns the first element of `array`.\n\t     * @example\n\t     *\n\t     * _.first([1, 2, 3]);\n\t     * // => 1\n\t     *\n\t     * _.first([]);\n\t     * // => undefined\n\t     */\n\t    function first(array) {\n\t      return array ? array[0] : undefined;\n\t    }\n\t\n\t    /**\n\t     * Flattens a nested array. If `isDeep` is `true` the array is recursively\n\t     * flattened, otherwise it is only flattened a single level.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to flatten.\n\t     * @param {boolean} [isDeep] Specify a deep flatten.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Array} Returns the new flattened array.\n\t     * @example\n\t     *\n\t     * _.flatten([1, [2, 3, [4]]]);\n\t     * // => [1, 2, 3, [4]]\n\t     *\n\t     * // using `isDeep`\n\t     * _.flatten([1, [2, 3, [4]]], true);\n\t     * // => [1, 2, 3, 4]\n\t     */\n\t    function flatten(array, isDeep, guard) {\n\t      var length = array ? array.length : 0;\n\t      if (guard && isIterateeCall(array, isDeep, guard)) {\n\t        isDeep = false;\n\t      }\n\t      return length ? baseFlatten(array, isDeep) : [];\n\t    }\n\t\n\t    /**\n\t     * Recursively flattens a nested array.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to recursively flatten.\n\t     * @returns {Array} Returns the new flattened array.\n\t     * @example\n\t     *\n\t     * _.flattenDeep([1, [2, 3, [4]]]);\n\t     * // => [1, 2, 3, 4]\n\t     */\n\t    function flattenDeep(array) {\n\t      var length = array ? array.length : 0;\n\t      return length ? baseFlatten(array, true) : [];\n\t    }\n\t\n\t    /**\n\t     * Gets the index at which the first occurrence of `value` is found in `array`\n\t     * using [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\n\t     * for equality comparisons. If `fromIndex` is negative, it is used as the offset\n\t     * from the end of `array`. If `array` is sorted providing `true` for `fromIndex`\n\t     * performs a faster binary search.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to search.\n\t     * @param {*} value The value to search for.\n\t     * @param {boolean|number} [fromIndex=0] The index to search from or `true`\n\t     *  to perform a binary search on a sorted array.\n\t     * @returns {number} Returns the index of the matched value, else `-1`.\n\t     * @example\n\t     *\n\t     * _.indexOf([1, 2, 1, 2], 2);\n\t     * // => 1\n\t     *\n\t     * // using `fromIndex`\n\t     * _.indexOf([1, 2, 1, 2], 2, 2);\n\t     * // => 3\n\t     *\n\t     * // performing a binary search\n\t     * _.indexOf([1, 1, 2, 2], 2, true);\n\t     * // => 2\n\t     */\n\t    function indexOf(array, value, fromIndex) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return -1;\n\t      }\n\t      if (typeof fromIndex == 'number') {\n\t        fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : fromIndex;\n\t      } else if (fromIndex) {\n\t        var index = binaryIndex(array, value),\n\t            other = array[index];\n\t\n\t        if (value === value ? (value === other) : (other !== other)) {\n\t          return index;\n\t        }\n\t        return -1;\n\t      }\n\t      return baseIndexOf(array, value, fromIndex || 0);\n\t    }\n\t\n\t    /**\n\t     * Gets all but the last element of `array`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.initial([1, 2, 3]);\n\t     * // => [1, 2]\n\t     */\n\t    function initial(array) {\n\t      return dropRight(array, 1);\n\t    }\n\t\n\t    /**\n\t     * Creates an array of unique values in all provided arrays using\n\t     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\n\t     * for equality comparisons.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {...Array} [arrays] The arrays to inspect.\n\t     * @returns {Array} Returns the new array of shared values.\n\t     * @example\n\t     * _.intersection([1, 2], [4, 2], [2, 1]);\n\t     * // => [2]\n\t     */\n\t    function intersection() {\n\t      var args = [],\n\t          argsIndex = -1,\n\t          argsLength = arguments.length,\n\t          caches = [],\n\t          indexOf = getIndexOf(),\n\t          isCommon = indexOf == baseIndexOf,\n\t          result = [];\n\t\n\t      while (++argsIndex < argsLength) {\n\t        var value = arguments[argsIndex];\n\t        if (isArrayLike(value)) {\n\t          args.push(value);\n\t          caches.push((isCommon && value.length >= 120) ? createCache(argsIndex && value) : null);\n\t        }\n\t      }\n\t      argsLength = args.length;\n\t      if (argsLength < 2) {\n\t        return result;\n\t      }\n\t      var array = args[0],\n\t          index = -1,\n\t          length = array ? array.length : 0,\n\t          seen = caches[0];\n\t\n\t      outer:\n\t      while (++index < length) {\n\t        value = array[index];\n\t        if ((seen ? cacheIndexOf(seen, value) : indexOf(result, value, 0)) < 0) {\n\t          argsIndex = argsLength;\n\t          while (--argsIndex) {\n\t            var cache = caches[argsIndex];\n\t            if ((cache ? cacheIndexOf(cache, value) : indexOf(args[argsIndex], value, 0)) < 0) {\n\t              continue outer;\n\t            }\n\t          }\n\t          if (seen) {\n\t            seen.push(value);\n\t          }\n\t          result.push(value);\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Gets the last element of `array`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @returns {*} Returns the last element of `array`.\n\t     * @example\n\t     *\n\t     * _.last([1, 2, 3]);\n\t     * // => 3\n\t     */\n\t    function last(array) {\n\t      var length = array ? array.length : 0;\n\t      return length ? array[length - 1] : undefined;\n\t    }\n\t\n\t    /**\n\t     * This method is like `_.indexOf` except that it iterates over elements of\n\t     * `array` from right to left.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to search.\n\t     * @param {*} value The value to search for.\n\t     * @param {boolean|number} [fromIndex=array.length-1] The index to search from\n\t     *  or `true` to perform a binary search on a sorted array.\n\t     * @returns {number} Returns the index of the matched value, else `-1`.\n\t     * @example\n\t     *\n\t     * _.lastIndexOf([1, 2, 1, 2], 2);\n\t     * // => 3\n\t     *\n\t     * // using `fromIndex`\n\t     * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n\t     * // => 1\n\t     *\n\t     * // performing a binary search\n\t     * _.lastIndexOf([1, 1, 2, 2], 2, true);\n\t     * // => 3\n\t     */\n\t    function lastIndexOf(array, value, fromIndex) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return -1;\n\t      }\n\t      var index = length;\n\t      if (typeof fromIndex == 'number') {\n\t        index = (fromIndex < 0 ? nativeMax(length + fromIndex, 0) : nativeMin(fromIndex || 0, length - 1)) + 1;\n\t      } else if (fromIndex) {\n\t        index = binaryIndex(array, value, true) - 1;\n\t        var other = array[index];\n\t        if (value === value ? (value === other) : (other !== other)) {\n\t          return index;\n\t        }\n\t        return -1;\n\t      }\n\t      if (value !== value) {\n\t        return indexOfNaN(array, index, true);\n\t      }\n\t      while (index--) {\n\t        if (array[index] === value) {\n\t          return index;\n\t        }\n\t      }\n\t      return -1;\n\t    }\n\t\n\t    /**\n\t     * Removes all provided values from `array` using\n\t     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\n\t     * for equality comparisons.\n\t     *\n\t     * **Note:** Unlike `_.without`, this method mutates `array`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to modify.\n\t     * @param {...*} [values] The values to remove.\n\t     * @returns {Array} Returns `array`.\n\t     * @example\n\t     *\n\t     * var array = [1, 2, 3, 1, 2, 3];\n\t     *\n\t     * _.pull(array, 2, 3);\n\t     * console.log(array);\n\t     * // => [1, 1]\n\t     */\n\t    function pull() {\n\t      var args = arguments,\n\t          array = args[0];\n\t\n\t      if (!(array && array.length)) {\n\t        return array;\n\t      }\n\t      var index = 0,\n\t          indexOf = getIndexOf(),\n\t          length = args.length;\n\t\n\t      while (++index < length) {\n\t        var fromIndex = 0,\n\t            value = args[index];\n\t\n\t        while ((fromIndex = indexOf(array, value, fromIndex)) > -1) {\n\t          splice.call(array, fromIndex, 1);\n\t        }\n\t      }\n\t      return array;\n\t    }\n\t\n\t    /**\n\t     * Removes elements from `array` corresponding to the given indexes and returns\n\t     * an array of the removed elements. Indexes may be specified as an array of\n\t     * indexes or as individual arguments.\n\t     *\n\t     * **Note:** Unlike `_.at`, this method mutates `array`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to modify.\n\t     * @param {...(number|number[])} [indexes] The indexes of elements to remove,\n\t     *  specified as individual indexes or arrays of indexes.\n\t     * @returns {Array} Returns the new array of removed elements.\n\t     * @example\n\t     *\n\t     * var array = [5, 10, 15, 20];\n\t     * var evens = _.pullAt(array, 1, 3);\n\t     *\n\t     * console.log(array);\n\t     * // => [5, 15]\n\t     *\n\t     * console.log(evens);\n\t     * // => [10, 20]\n\t     */\n\t    var pullAt = restParam(function(array, indexes) {\n\t      indexes = baseFlatten(indexes);\n\t\n\t      var result = baseAt(array, indexes);\n\t      basePullAt(array, indexes.sort(baseCompareAscending));\n\t      return result;\n\t    });\n\t\n\t    /**\n\t     * Removes all elements from `array` that `predicate` returns truthy for\n\t     * and returns an array of the removed elements. The predicate is bound to\n\t     * `thisArg` and invoked with three arguments: (value, index, array).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * **Note:** Unlike `_.filter`, this method mutates `array`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to modify.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Array} Returns the new array of removed elements.\n\t     * @example\n\t     *\n\t     * var array = [1, 2, 3, 4];\n\t     * var evens = _.remove(array, function(n) {\n\t     *   return n % 2 == 0;\n\t     * });\n\t     *\n\t     * console.log(array);\n\t     * // => [1, 3]\n\t     *\n\t     * console.log(evens);\n\t     * // => [2, 4]\n\t     */\n\t    function remove(array, predicate, thisArg) {\n\t      var result = [];\n\t      if (!(array && array.length)) {\n\t        return result;\n\t      }\n\t      var index = -1,\n\t          indexes = [],\n\t          length = array.length;\n\t\n\t      predicate = getCallback(predicate, thisArg, 3);\n\t      while (++index < length) {\n\t        var value = array[index];\n\t        if (predicate(value, index, array)) {\n\t          result.push(value);\n\t          indexes.push(index);\n\t        }\n\t      }\n\t      basePullAt(array, indexes);\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Gets all but the first element of `array`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias tail\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.rest([1, 2, 3]);\n\t     * // => [2, 3]\n\t     */\n\t    function rest(array) {\n\t      return drop(array, 1);\n\t    }\n\t\n\t    /**\n\t     * Creates a slice of `array` from `start` up to, but not including, `end`.\n\t     *\n\t     * **Note:** This method is used instead of `Array#slice` to support node\n\t     * lists in IE < 9 and to ensure dense arrays are returned.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to slice.\n\t     * @param {number} [start=0] The start position.\n\t     * @param {number} [end=array.length] The end position.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     */\n\t    function slice(array, start, end) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return [];\n\t      }\n\t      if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n\t        start = 0;\n\t        end = length;\n\t      }\n\t      return baseSlice(array, start, end);\n\t    }\n\t\n\t    /**\n\t     * Uses a binary search to determine the lowest index at which `value` should\n\t     * be inserted into `array` in order to maintain its sort order. If an iteratee\n\t     * function is provided it is invoked for `value` and each element of `array`\n\t     * to compute their sort ranking. The iteratee is bound to `thisArg` and\n\t     * invoked with one argument; (value).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The sorted array to inspect.\n\t     * @param {*} value The value to evaluate.\n\t     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {number} Returns the index at which `value` should be inserted\n\t     *  into `array`.\n\t     * @example\n\t     *\n\t     * _.sortedIndex([30, 50], 40);\n\t     * // => 1\n\t     *\n\t     * _.sortedIndex([4, 4, 5, 5], 5);\n\t     * // => 2\n\t     *\n\t     * var dict = { 'data': { 'thirty': 30, 'forty': 40, 'fifty': 50 } };\n\t     *\n\t     * // using an iteratee function\n\t     * _.sortedIndex(['thirty', 'fifty'], 'forty', function(word) {\n\t     *   return this.data[word];\n\t     * }, dict);\n\t     * // => 1\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.sortedIndex([{ 'x': 30 }, { 'x': 50 }], { 'x': 40 }, 'x');\n\t     * // => 1\n\t     */\n\t    var sortedIndex = createSortedIndex();\n\t\n\t    /**\n\t     * This method is like `_.sortedIndex` except that it returns the highest\n\t     * index at which `value` should be inserted into `array` in order to\n\t     * maintain its sort order.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The sorted array to inspect.\n\t     * @param {*} value The value to evaluate.\n\t     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {number} Returns the index at which `value` should be inserted\n\t     *  into `array`.\n\t     * @example\n\t     *\n\t     * _.sortedLastIndex([4, 4, 5, 5], 5);\n\t     * // => 4\n\t     */\n\t    var sortedLastIndex = createSortedIndex(true);\n\t\n\t    /**\n\t     * Creates a slice of `array` with `n` elements taken from the beginning.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @param {number} [n=1] The number of elements to take.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.take([1, 2, 3]);\n\t     * // => [1]\n\t     *\n\t     * _.take([1, 2, 3], 2);\n\t     * // => [1, 2]\n\t     *\n\t     * _.take([1, 2, 3], 5);\n\t     * // => [1, 2, 3]\n\t     *\n\t     * _.take([1, 2, 3], 0);\n\t     * // => []\n\t     */\n\t    function take(array, n, guard) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return [];\n\t      }\n\t      if (guard ? isIterateeCall(array, n, guard) : n == null) {\n\t        n = 1;\n\t      }\n\t      return baseSlice(array, 0, n < 0 ? 0 : n);\n\t    }\n\t\n\t    /**\n\t     * Creates a slice of `array` with `n` elements taken from the end.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @param {number} [n=1] The number of elements to take.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.takeRight([1, 2, 3]);\n\t     * // => [3]\n\t     *\n\t     * _.takeRight([1, 2, 3], 2);\n\t     * // => [2, 3]\n\t     *\n\t     * _.takeRight([1, 2, 3], 5);\n\t     * // => [1, 2, 3]\n\t     *\n\t     * _.takeRight([1, 2, 3], 0);\n\t     * // => []\n\t     */\n\t    function takeRight(array, n, guard) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return [];\n\t      }\n\t      if (guard ? isIterateeCall(array, n, guard) : n == null) {\n\t        n = 1;\n\t      }\n\t      n = length - (+n || 0);\n\t      return baseSlice(array, n < 0 ? 0 : n);\n\t    }\n\t\n\t    /**\n\t     * Creates a slice of `array` with elements taken from the end. Elements are\n\t     * taken until `predicate` returns falsey. The predicate is bound to `thisArg`\n\t     * and invoked with three arguments: (value, index, array).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.takeRightWhile([1, 2, 3], function(n) {\n\t     *   return n > 1;\n\t     * });\n\t     * // => [2, 3]\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney',  'active': true },\n\t     *   { 'user': 'fred',    'active': false },\n\t     *   { 'user': 'pebbles', 'active': false }\n\t     * ];\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.pluck(_.takeRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user');\n\t     * // => ['pebbles']\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.pluck(_.takeRightWhile(users, 'active', false), 'user');\n\t     * // => ['fred', 'pebbles']\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.pluck(_.takeRightWhile(users, 'active'), 'user');\n\t     * // => []\n\t     */\n\t    function takeRightWhile(array, predicate, thisArg) {\n\t      return (array && array.length)\n\t        ? baseWhile(array, getCallback(predicate, thisArg, 3), false, true)\n\t        : [];\n\t    }\n\t\n\t    /**\n\t     * Creates a slice of `array` with elements taken from the beginning. Elements\n\t     * are taken until `predicate` returns falsey. The predicate is bound to\n\t     * `thisArg` and invoked with three arguments: (value, index, array).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to query.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Array} Returns the slice of `array`.\n\t     * @example\n\t     *\n\t     * _.takeWhile([1, 2, 3], function(n) {\n\t     *   return n < 3;\n\t     * });\n\t     * // => [1, 2]\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney',  'active': false },\n\t     *   { 'user': 'fred',    'active': false},\n\t     *   { 'user': 'pebbles', 'active': true }\n\t     * ];\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.pluck(_.takeWhile(users, { 'user': 'barney', 'active': false }), 'user');\n\t     * // => ['barney']\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.pluck(_.takeWhile(users, 'active', false), 'user');\n\t     * // => ['barney', 'fred']\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.pluck(_.takeWhile(users, 'active'), 'user');\n\t     * // => []\n\t     */\n\t    function takeWhile(array, predicate, thisArg) {\n\t      return (array && array.length)\n\t        ? baseWhile(array, getCallback(predicate, thisArg, 3))\n\t        : [];\n\t    }\n\t\n\t    /**\n\t     * Creates an array of unique values, in order, of the provided arrays using\n\t     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\n\t     * for equality comparisons.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {...Array} [arrays] The arrays to inspect.\n\t     * @returns {Array} Returns the new array of combined values.\n\t     * @example\n\t     *\n\t     * _.union([1, 2], [4, 2], [2, 1]);\n\t     * // => [1, 2, 4]\n\t     */\n\t    var union = restParam(function(arrays) {\n\t      return baseUniq(baseFlatten(arrays, false, true));\n\t    });\n\t\n\t    /**\n\t     * Creates a duplicate-free version of an array, using\n\t     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\n\t     * for equality comparisons, in which only the first occurence of each element\n\t     * is kept. Providing `true` for `isSorted` performs a faster search algorithm\n\t     * for sorted arrays. If an iteratee function is provided it is invoked for\n\t     * each element in the array to generate the criterion by which uniqueness\n\t     * is computed. The `iteratee` is bound to `thisArg` and invoked with three\n\t     * arguments: (value, index, array).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias unique\n\t     * @category Array\n\t     * @param {Array} array The array to inspect.\n\t     * @param {boolean} [isSorted] Specify the array is sorted.\n\t     * @param {Function|Object|string} [iteratee] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Array} Returns the new duplicate-value-free array.\n\t     * @example\n\t     *\n\t     * _.uniq([2, 1, 2]);\n\t     * // => [2, 1]\n\t     *\n\t     * // using `isSorted`\n\t     * _.uniq([1, 1, 2], true);\n\t     * // => [1, 2]\n\t     *\n\t     * // using an iteratee function\n\t     * _.uniq([1, 2.5, 1.5, 2], function(n) {\n\t     *   return this.floor(n);\n\t     * }, Math);\n\t     * // => [1, 2.5]\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.uniq([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n\t     * // => [{ 'x': 1 }, { 'x': 2 }]\n\t     */\n\t    function uniq(array, isSorted, iteratee, thisArg) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return [];\n\t      }\n\t      if (isSorted != null && typeof isSorted != 'boolean') {\n\t        thisArg = iteratee;\n\t        iteratee = isIterateeCall(array, isSorted, thisArg) ? null : isSorted;\n\t        isSorted = false;\n\t      }\n\t      var func = getCallback();\n\t      if (!(func === baseCallback && iteratee == null)) {\n\t        iteratee = func(iteratee, thisArg, 3);\n\t      }\n\t      return (isSorted && getIndexOf() == baseIndexOf)\n\t        ? sortedUniq(array, iteratee)\n\t        : baseUniq(array, iteratee);\n\t    }\n\t\n\t    /**\n\t     * This method is like `_.zip` except that it accepts an array of grouped\n\t     * elements and creates an array regrouping the elements to their pre-zip\n\t     * configuration.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array of grouped elements to process.\n\t     * @returns {Array} Returns the new array of regrouped elements.\n\t     * @example\n\t     *\n\t     * var zipped = _.zip(['fred', 'barney'], [30, 40], [true, false]);\n\t     * // => [['fred', 30, true], ['barney', 40, false]]\n\t     *\n\t     * _.unzip(zipped);\n\t     * // => [['fred', 'barney'], [30, 40], [true, false]]\n\t     */\n\t    function unzip(array) {\n\t      if (!(array && array.length)) {\n\t        return [];\n\t      }\n\t      var index = -1,\n\t          length = 0;\n\t\n\t      array = arrayFilter(array, function(group) {\n\t        if (isArrayLike(group)) {\n\t          length = nativeMax(group.length, length);\n\t          return true;\n\t        }\n\t      });\n\t      var result = Array(length);\n\t      while (++index < length) {\n\t        result[index] = arrayMap(array, baseProperty(index));\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * This method is like `_.unzip` except that it accepts an iteratee to specify\n\t     * how regrouped values should be combined. The `iteratee` is bound to `thisArg`\n\t     * and invoked with four arguments: (accumulator, value, index, group).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array of grouped elements to process.\n\t     * @param {Function} [iteratee] The function to combine regrouped values.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Array} Returns the new array of regrouped elements.\n\t     * @example\n\t     *\n\t     * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n\t     * // => [[1, 10, 100], [2, 20, 200]]\n\t     *\n\t     * _.unzipWith(zipped, _.add);\n\t     * // => [3, 30, 300]\n\t     */\n\t    function unzipWith(array, iteratee, thisArg) {\n\t      var length = array ? array.length : 0;\n\t      if (!length) {\n\t        return [];\n\t      }\n\t      var result = unzip(array);\n\t      if (iteratee == null) {\n\t        return result;\n\t      }\n\t      iteratee = bindCallback(iteratee, thisArg, 4);\n\t      return arrayMap(result, function(group) {\n\t        return arrayReduce(group, iteratee, undefined, true);\n\t      });\n\t    }\n\t\n\t    /**\n\t     * Creates an array excluding all provided values using\n\t     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\n\t     * for equality comparisons.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {Array} array The array to filter.\n\t     * @param {...*} [values] The values to exclude.\n\t     * @returns {Array} Returns the new array of filtered values.\n\t     * @example\n\t     *\n\t     * _.without([1, 2, 1, 3], 1, 2);\n\t     * // => [3]\n\t     */\n\t    var without = restParam(function(array, values) {\n\t      return isArrayLike(array)\n\t        ? baseDifference(array, values)\n\t        : [];\n\t    });\n\t\n\t    /**\n\t     * Creates an array that is the [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n\t     * of the provided arrays.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {...Array} [arrays] The arrays to inspect.\n\t     * @returns {Array} Returns the new array of values.\n\t     * @example\n\t     *\n\t     * _.xor([1, 2], [4, 2]);\n\t     * // => [1, 4]\n\t     */\n\t    function xor() {\n\t      var index = -1,\n\t          length = arguments.length;\n\t\n\t      while (++index < length) {\n\t        var array = arguments[index];\n\t        if (isArrayLike(array)) {\n\t          var result = result\n\t            ? baseDifference(result, array).concat(baseDifference(array, result))\n\t            : array;\n\t        }\n\t      }\n\t      return result ? baseUniq(result) : [];\n\t    }\n\t\n\t    /**\n\t     * Creates an array of grouped elements, the first of which contains the first\n\t     * elements of the given arrays, the second of which contains the second elements\n\t     * of the given arrays, and so on.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {...Array} [arrays] The arrays to process.\n\t     * @returns {Array} Returns the new array of grouped elements.\n\t     * @example\n\t     *\n\t     * _.zip(['fred', 'barney'], [30, 40], [true, false]);\n\t     * // => [['fred', 30, true], ['barney', 40, false]]\n\t     */\n\t    var zip = restParam(unzip);\n\t\n\t    /**\n\t     * The inverse of `_.pairs`; this method returns an object composed from arrays\n\t     * of property names and values. Provide either a single two dimensional array,\n\t     * e.g. `[[key1, value1], [key2, value2]]` or two arrays, one of property names\n\t     * and one of corresponding values.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias object\n\t     * @category Array\n\t     * @param {Array} props The property names.\n\t     * @param {Array} [values=[]] The property values.\n\t     * @returns {Object} Returns the new object.\n\t     * @example\n\t     *\n\t     * _.zipObject([['fred', 30], ['barney', 40]]);\n\t     * // => { 'fred': 30, 'barney': 40 }\n\t     *\n\t     * _.zipObject(['fred', 'barney'], [30, 40]);\n\t     * // => { 'fred': 30, 'barney': 40 }\n\t     */\n\t    function zipObject(props, values) {\n\t      var index = -1,\n\t          length = props ? props.length : 0,\n\t          result = {};\n\t\n\t      if (length && !values && !isArray(props[0])) {\n\t        values = [];\n\t      }\n\t      while (++index < length) {\n\t        var key = props[index];\n\t        if (values) {\n\t          result[key] = values[index];\n\t        } else if (key) {\n\t          result[key[0]] = key[1];\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * This method is like `_.zip` except that it accepts an iteratee to specify\n\t     * how grouped values should be combined. The `iteratee` is bound to `thisArg`\n\t     * and invoked with four arguments: (accumulator, value, index, group).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Array\n\t     * @param {...Array} [arrays] The arrays to process.\n\t     * @param {Function} [iteratee] The function to combine grouped values.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Array} Returns the new array of grouped elements.\n\t     * @example\n\t     *\n\t     * _.zipWith([1, 2], [10, 20], [100, 200], _.add);\n\t     * // => [111, 222]\n\t     */\n\t    var zipWith = restParam(function(arrays) {\n\t      var length = arrays.length,\n\t          iteratee = arrays[length - 2],\n\t          thisArg = arrays[length - 1];\n\t\n\t      if (length > 2 && typeof iteratee == 'function') {\n\t        length -= 2;\n\t      } else {\n\t        iteratee = (length > 1 && typeof thisArg == 'function') ? (--length, thisArg) : undefined;\n\t        thisArg = undefined;\n\t      }\n\t      arrays.length = length;\n\t      return unzipWith(arrays, iteratee, thisArg);\n\t    });\n\t\n\t    /**\n\t     * Creates a `lodash` object that wraps `value` with explicit method\n\t     * chaining enabled.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Chain\n\t     * @param {*} value The value to wrap.\n\t     * @returns {Object} Returns the new `lodash` wrapper instance.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney',  'age': 36 },\n\t     *   { 'user': 'fred',    'age': 40 },\n\t     *   { 'user': 'pebbles', 'age': 1 }\n\t     * ];\n\t     *\n\t     * var youngest = _.chain(users)\n\t     *   .sortBy('age')\n\t     *   .map(function(chr) {\n\t     *     return chr.user + ' is ' + chr.age;\n\t     *   })\n\t     *   .first()\n\t     *   .value();\n\t     * // => 'pebbles is 1'\n\t     */\n\t    function chain(value) {\n\t      var result = lodash(value);\n\t      result.__chain__ = true;\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * This method invokes `interceptor` and returns `value`. The interceptor is\n\t     * bound to `thisArg` and invoked with one argument; (value). The purpose of\n\t     * this method is to \"tap into\" a method chain in order to perform operations\n\t     * on intermediate results within the chain.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Chain\n\t     * @param {*} value The value to provide to `interceptor`.\n\t     * @param {Function} interceptor The function to invoke.\n\t     * @param {*} [thisArg] The `this` binding of `interceptor`.\n\t     * @returns {*} Returns `value`.\n\t     * @example\n\t     *\n\t     * _([1, 2, 3])\n\t     *  .tap(function(array) {\n\t     *    array.pop();\n\t     *  })\n\t     *  .reverse()\n\t     *  .value();\n\t     * // => [2, 1]\n\t     */\n\t    function tap(value, interceptor, thisArg) {\n\t      interceptor.call(thisArg, value);\n\t      return value;\n\t    }\n\t\n\t    /**\n\t     * This method is like `_.tap` except that it returns the result of `interceptor`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Chain\n\t     * @param {*} value The value to provide to `interceptor`.\n\t     * @param {Function} interceptor The function to invoke.\n\t     * @param {*} [thisArg] The `this` binding of `interceptor`.\n\t     * @returns {*} Returns the result of `interceptor`.\n\t     * @example\n\t     *\n\t     * _('  abc  ')\n\t     *  .chain()\n\t     *  .trim()\n\t     *  .thru(function(value) {\n\t     *    return [value];\n\t     *  })\n\t     *  .value();\n\t     * // => ['abc']\n\t     */\n\t    function thru(value, interceptor, thisArg) {\n\t      return interceptor.call(thisArg, value);\n\t    }\n\t\n\t    /**\n\t     * Enables explicit method chaining on the wrapper object.\n\t     *\n\t     * @name chain\n\t     * @memberOf _\n\t     * @category Chain\n\t     * @returns {Object} Returns the new `lodash` wrapper instance.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36 },\n\t     *   { 'user': 'fred',   'age': 40 }\n\t     * ];\n\t     *\n\t     * // without explicit chaining\n\t     * _(users).first();\n\t     * // => { 'user': 'barney', 'age': 36 }\n\t     *\n\t     * // with explicit chaining\n\t     * _(users).chain()\n\t     *   .first()\n\t     *   .pick('user')\n\t     *   .value();\n\t     * // => { 'user': 'barney' }\n\t     */\n\t    function wrapperChain() {\n\t      return chain(this);\n\t    }\n\t\n\t    /**\n\t     * Executes the chained sequence and returns the wrapped result.\n\t     *\n\t     * @name commit\n\t     * @memberOf _\n\t     * @category Chain\n\t     * @returns {Object} Returns the new `lodash` wrapper instance.\n\t     * @example\n\t     *\n\t     * var array = [1, 2];\n\t     * var wrapper = _(array).push(3);\n\t     *\n\t     * console.log(array);\n\t     * // => [1, 2]\n\t     *\n\t     * wrapper = wrapper.commit();\n\t     * console.log(array);\n\t     * // => [1, 2, 3]\n\t     *\n\t     * wrapper.last();\n\t     * // => 3\n\t     *\n\t     * console.log(array);\n\t     * // => [1, 2, 3]\n\t     */\n\t    function wrapperCommit() {\n\t      return new LodashWrapper(this.value(), this.__chain__);\n\t    }\n\t\n\t    /**\n\t     * Creates a clone of the chained sequence planting `value` as the wrapped value.\n\t     *\n\t     * @name plant\n\t     * @memberOf _\n\t     * @category Chain\n\t     * @returns {Object} Returns the new `lodash` wrapper instance.\n\t     * @example\n\t     *\n\t     * var array = [1, 2];\n\t     * var wrapper = _(array).map(function(value) {\n\t     *   return Math.pow(value, 2);\n\t     * });\n\t     *\n\t     * var other = [3, 4];\n\t     * var otherWrapper = wrapper.plant(other);\n\t     *\n\t     * otherWrapper.value();\n\t     * // => [9, 16]\n\t     *\n\t     * wrapper.value();\n\t     * // => [1, 4]\n\t     */\n\t    function wrapperPlant(value) {\n\t      var result,\n\t          parent = this;\n\t\n\t      while (parent instanceof baseLodash) {\n\t        var clone = wrapperClone(parent);\n\t        if (result) {\n\t          previous.__wrapped__ = clone;\n\t        } else {\n\t          result = clone;\n\t        }\n\t        var previous = clone;\n\t        parent = parent.__wrapped__;\n\t      }\n\t      previous.__wrapped__ = value;\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Reverses the wrapped array so the first element becomes the last, the\n\t     * second element becomes the second to last, and so on.\n\t     *\n\t     * **Note:** This method mutates the wrapped array.\n\t     *\n\t     * @name reverse\n\t     * @memberOf _\n\t     * @category Chain\n\t     * @returns {Object} Returns the new reversed `lodash` wrapper instance.\n\t     * @example\n\t     *\n\t     * var array = [1, 2, 3];\n\t     *\n\t     * _(array).reverse().value()\n\t     * // => [3, 2, 1]\n\t     *\n\t     * console.log(array);\n\t     * // => [3, 2, 1]\n\t     */\n\t    function wrapperReverse() {\n\t      var value = this.__wrapped__;\n\t      if (value instanceof LazyWrapper) {\n\t        if (this.__actions__.length) {\n\t          value = new LazyWrapper(this);\n\t        }\n\t        return new LodashWrapper(value.reverse(), this.__chain__);\n\t      }\n\t      return this.thru(function(value) {\n\t        return value.reverse();\n\t      });\n\t    }\n\t\n\t    /**\n\t     * Produces the result of coercing the unwrapped value to a string.\n\t     *\n\t     * @name toString\n\t     * @memberOf _\n\t     * @category Chain\n\t     * @returns {string} Returns the coerced string value.\n\t     * @example\n\t     *\n\t     * _([1, 2, 3]).toString();\n\t     * // => '1,2,3'\n\t     */\n\t    function wrapperToString() {\n\t      return (this.value() + '');\n\t    }\n\t\n\t    /**\n\t     * Executes the chained sequence to extract the unwrapped value.\n\t     *\n\t     * @name value\n\t     * @memberOf _\n\t     * @alias run, toJSON, valueOf\n\t     * @category Chain\n\t     * @returns {*} Returns the resolved unwrapped value.\n\t     * @example\n\t     *\n\t     * _([1, 2, 3]).value();\n\t     * // => [1, 2, 3]\n\t     */\n\t    function wrapperValue() {\n\t      return baseWrapperValue(this.__wrapped__, this.__actions__);\n\t    }\n\t\n\t    /**\n\t     * Creates an array of elements corresponding to the given keys, or indexes,\n\t     * of `collection`. Keys may be specified as individual arguments or as arrays\n\t     * of keys.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {...(number|number[]|string|string[])} [props] The property names\n\t     *  or indexes of elements to pick, specified individually or in arrays.\n\t     * @returns {Array} Returns the new array of picked elements.\n\t     * @example\n\t     *\n\t     * _.at(['a', 'b', 'c'], [0, 2]);\n\t     * // => ['a', 'c']\n\t     *\n\t     * _.at(['barney', 'fred', 'pebbles'], 0, 2);\n\t     * // => ['barney', 'pebbles']\n\t     */\n\t    var at = restParam(function(collection, props) {\n\t      return baseAt(collection, baseFlatten(props));\n\t    });\n\t\n\t    /**\n\t     * Creates an object composed of keys generated from the results of running\n\t     * each element of `collection` through `iteratee`. The corresponding value\n\t     * of each key is the number of times the key was returned by `iteratee`.\n\t     * The `iteratee` is bound to `thisArg` and invoked with three arguments:\n\t     * (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Object} Returns the composed aggregate object.\n\t     * @example\n\t     *\n\t     * _.countBy([4.3, 6.1, 6.4], function(n) {\n\t     *   return Math.floor(n);\n\t     * });\n\t     * // => { '4': 1, '6': 2 }\n\t     *\n\t     * _.countBy([4.3, 6.1, 6.4], function(n) {\n\t     *   return this.floor(n);\n\t     * }, Math);\n\t     * // => { '4': 1, '6': 2 }\n\t     *\n\t     * _.countBy(['one', 'two', 'three'], 'length');\n\t     * // => { '3': 2, '5': 1 }\n\t     */\n\t    var countBy = createAggregator(function(result, value, key) {\n\t      hasOwnProperty.call(result, key) ? ++result[key] : (result[key] = 1);\n\t    });\n\t\n\t    /**\n\t     * Checks if `predicate` returns truthy for **all** elements of `collection`.\n\t     * The predicate is bound to `thisArg` and invoked with three arguments:\n\t     * (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias all\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {boolean} Returns `true` if all elements pass the predicate check,\n\t     *  else `false`.\n\t     * @example\n\t     *\n\t     * _.every([true, 1, null, 'yes'], Boolean);\n\t     * // => false\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'active': false },\n\t     *   { 'user': 'fred',   'active': false }\n\t     * ];\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.every(users, { 'user': 'barney', 'active': false });\n\t     * // => false\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.every(users, 'active', false);\n\t     * // => true\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.every(users, 'active');\n\t     * // => false\n\t     */\n\t    function every(collection, predicate, thisArg) {\n\t      var func = isArray(collection) ? arrayEvery : baseEvery;\n\t      if (thisArg && isIterateeCall(collection, predicate, thisArg)) {\n\t        predicate = null;\n\t      }\n\t      if (typeof predicate != 'function' || thisArg !== undefined) {\n\t        predicate = getCallback(predicate, thisArg, 3);\n\t      }\n\t      return func(collection, predicate);\n\t    }\n\t\n\t    /**\n\t     * Iterates over elements of `collection`, returning an array of all elements\n\t     * `predicate` returns truthy for. The predicate is bound to `thisArg` and\n\t     * invoked with three arguments: (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias select\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Array} Returns the new filtered array.\n\t     * @example\n\t     *\n\t     * _.filter([4, 5, 6], function(n) {\n\t     *   return n % 2 == 0;\n\t     * });\n\t     * // => [4, 6]\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36, 'active': true },\n\t     *   { 'user': 'fred',   'age': 40, 'active': false }\n\t     * ];\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.pluck(_.filter(users, { 'age': 36, 'active': true }), 'user');\n\t     * // => ['barney']\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.pluck(_.filter(users, 'active', false), 'user');\n\t     * // => ['fred']\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.pluck(_.filter(users, 'active'), 'user');\n\t     * // => ['barney']\n\t     */\n\t    function filter(collection, predicate, thisArg) {\n\t      var func = isArray(collection) ? arrayFilter : baseFilter;\n\t      predicate = getCallback(predicate, thisArg, 3);\n\t      return func(collection, predicate);\n\t    }\n\t\n\t    /**\n\t     * Iterates over elements of `collection`, returning the first element\n\t     * `predicate` returns truthy for. The predicate is bound to `thisArg` and\n\t     * invoked with three arguments: (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias detect\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to search.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {*} Returns the matched element, else `undefined`.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney',  'age': 36, 'active': true },\n\t     *   { 'user': 'fred',    'age': 40, 'active': false },\n\t     *   { 'user': 'pebbles', 'age': 1,  'active': true }\n\t     * ];\n\t     *\n\t     * _.result(_.find(users, function(chr) {\n\t     *   return chr.age < 40;\n\t     * }), 'user');\n\t     * // => 'barney'\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.result(_.find(users, { 'age': 1, 'active': true }), 'user');\n\t     * // => 'pebbles'\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.result(_.find(users, 'active', false), 'user');\n\t     * // => 'fred'\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.result(_.find(users, 'active'), 'user');\n\t     * // => 'barney'\n\t     */\n\t    var find = createFind(baseEach);\n\t\n\t    /**\n\t     * This method is like `_.find` except that it iterates over elements of\n\t     * `collection` from right to left.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to search.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {*} Returns the matched element, else `undefined`.\n\t     * @example\n\t     *\n\t     * _.findLast([1, 2, 3, 4], function(n) {\n\t     *   return n % 2 == 1;\n\t     * });\n\t     * // => 3\n\t     */\n\t    var findLast = createFind(baseEachRight, true);\n\t\n\t    /**\n\t     * Performs a deep comparison between each element in `collection` and the\n\t     * source object, returning the first element that has equivalent property\n\t     * values.\n\t     *\n\t     * **Note:** This method supports comparing arrays, booleans, `Date` objects,\n\t     * numbers, `Object` objects, regexes, and strings. Objects are compared by\n\t     * their own, not inherited, enumerable properties. For comparing a single\n\t     * own or inherited property value see `_.matchesProperty`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to search.\n\t     * @param {Object} source The object of property values to match.\n\t     * @returns {*} Returns the matched element, else `undefined`.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36, 'active': true },\n\t     *   { 'user': 'fred',   'age': 40, 'active': false }\n\t     * ];\n\t     *\n\t     * _.result(_.findWhere(users, { 'age': 36, 'active': true }), 'user');\n\t     * // => 'barney'\n\t     *\n\t     * _.result(_.findWhere(users, { 'age': 40, 'active': false }), 'user');\n\t     * // => 'fred'\n\t     */\n\t    function findWhere(collection, source) {\n\t      return find(collection, baseMatches(source));\n\t    }\n\t\n\t    /**\n\t     * Iterates over elements of `collection` invoking `iteratee` for each element.\n\t     * The `iteratee` is bound to `thisArg` and invoked with three arguments:\n\t     * (value, index|key, collection). Iteratee functions may exit iteration early\n\t     * by explicitly returning `false`.\n\t     *\n\t     * **Note:** As with other \"Collections\" methods, objects with a \"length\" property\n\t     * are iterated like arrays. To avoid this behavior `_.forIn` or `_.forOwn`\n\t     * may be used for object iteration.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias each\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Array|Object|string} Returns `collection`.\n\t     * @example\n\t     *\n\t     * _([1, 2]).forEach(function(n) {\n\t     *   console.log(n);\n\t     * }).value();\n\t     * // => logs each value from left to right and returns the array\n\t     *\n\t     * _.forEach({ 'a': 1, 'b': 2 }, function(n, key) {\n\t     *   console.log(n, key);\n\t     * });\n\t     * // => logs each value-key pair and returns the object (iteration order is not guaranteed)\n\t     */\n\t    var forEach = createForEach(arrayEach, baseEach);\n\t\n\t    /**\n\t     * This method is like `_.forEach` except that it iterates over elements of\n\t     * `collection` from right to left.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias eachRight\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Array|Object|string} Returns `collection`.\n\t     * @example\n\t     *\n\t     * _([1, 2]).forEachRight(function(n) {\n\t     *   console.log(n);\n\t     * }).value();\n\t     * // => logs each value from right to left and returns the array\n\t     */\n\t    var forEachRight = createForEach(arrayEachRight, baseEachRight);\n\t\n\t    /**\n\t     * Creates an object composed of keys generated from the results of running\n\t     * each element of `collection` through `iteratee`. The corresponding value\n\t     * of each key is an array of the elements responsible for generating the key.\n\t     * The `iteratee` is bound to `thisArg` and invoked with three arguments:\n\t     * (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Object} Returns the composed aggregate object.\n\t     * @example\n\t     *\n\t     * _.groupBy([4.2, 6.1, 6.4], function(n) {\n\t     *   return Math.floor(n);\n\t     * });\n\t     * // => { '4': [4.2], '6': [6.1, 6.4] }\n\t     *\n\t     * _.groupBy([4.2, 6.1, 6.4], function(n) {\n\t     *   return this.floor(n);\n\t     * }, Math);\n\t     * // => { '4': [4.2], '6': [6.1, 6.4] }\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.groupBy(['one', 'two', 'three'], 'length');\n\t     * // => { '3': ['one', 'two'], '5': ['three'] }\n\t     */\n\t    var groupBy = createAggregator(function(result, value, key) {\n\t      if (hasOwnProperty.call(result, key)) {\n\t        result[key].push(value);\n\t      } else {\n\t        result[key] = [value];\n\t      }\n\t    });\n\t\n\t    /**\n\t     * Checks if `value` is in `collection` using\n\t     * [`SameValueZero`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-samevaluezero)\n\t     * for equality comparisons. If `fromIndex` is negative, it is used as the offset\n\t     * from the end of `collection`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias contains, include\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to search.\n\t     * @param {*} target The value to search for.\n\t     * @param {number} [fromIndex=0] The index to search from.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.reduce`.\n\t     * @returns {boolean} Returns `true` if a matching element is found, else `false`.\n\t     * @example\n\t     *\n\t     * _.includes([1, 2, 3], 1);\n\t     * // => true\n\t     *\n\t     * _.includes([1, 2, 3], 1, 2);\n\t     * // => false\n\t     *\n\t     * _.includes({ 'user': 'fred', 'age': 40 }, 'fred');\n\t     * // => true\n\t     *\n\t     * _.includes('pebbles', 'eb');\n\t     * // => true\n\t     */\n\t    function includes(collection, target, fromIndex, guard) {\n\t      var length = collection ? getLength(collection) : 0;\n\t      if (!isLength(length)) {\n\t        collection = values(collection);\n\t        length = collection.length;\n\t      }\n\t      if (!length) {\n\t        return false;\n\t      }\n\t      if (typeof fromIndex != 'number' || (guard && isIterateeCall(target, fromIndex, guard))) {\n\t        fromIndex = 0;\n\t      } else {\n\t        fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : (fromIndex || 0);\n\t      }\n\t      return (typeof collection == 'string' || !isArray(collection) && isString(collection))\n\t        ? (fromIndex < length && collection.indexOf(target, fromIndex) > -1)\n\t        : (getIndexOf(collection, target, fromIndex) > -1);\n\t    }\n\t\n\t    /**\n\t     * Creates an object composed of keys generated from the results of running\n\t     * each element of `collection` through `iteratee`. The corresponding value\n\t     * of each key is the last element responsible for generating the key. The\n\t     * iteratee function is bound to `thisArg` and invoked with three arguments:\n\t     * (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Object} Returns the composed aggregate object.\n\t     * @example\n\t     *\n\t     * var keyData = [\n\t     *   { 'dir': 'left', 'code': 97 },\n\t     *   { 'dir': 'right', 'code': 100 }\n\t     * ];\n\t     *\n\t     * _.indexBy(keyData, 'dir');\n\t     * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n\t     *\n\t     * _.indexBy(keyData, function(object) {\n\t     *   return String.fromCharCode(object.code);\n\t     * });\n\t     * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n\t     *\n\t     * _.indexBy(keyData, function(object) {\n\t     *   return this.fromCharCode(object.code);\n\t     * }, String);\n\t     * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n\t     */\n\t    var indexBy = createAggregator(function(result, value, key) {\n\t      result[key] = value;\n\t    });\n\t\n\t    /**\n\t     * Invokes the method at `path` on each element in `collection`, returning\n\t     * an array of the results of each invoked method. Any additional arguments\n\t     * are provided to each invoked method. If `methodName` is a function it is\n\t     * invoked for, and `this` bound to, each element in `collection`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Array|Function|string} path The path of the method to invoke or\n\t     *  the function invoked per iteration.\n\t     * @param {...*} [args] The arguments to invoke the method with.\n\t     * @returns {Array} Returns the array of results.\n\t     * @example\n\t     *\n\t     * _.invoke([[5, 1, 7], [3, 2, 1]], 'sort');\n\t     * // => [[1, 5, 7], [1, 2, 3]]\n\t     *\n\t     * _.invoke([123, 456], String.prototype.split, '');\n\t     * // => [['1', '2', '3'], ['4', '5', '6']]\n\t     */\n\t    var invoke = restParam(function(collection, path, args) {\n\t      var index = -1,\n\t          isFunc = typeof path == 'function',\n\t          isProp = isKey(path),\n\t          result = isArrayLike(collection) ? Array(collection.length) : [];\n\t\n\t      baseEach(collection, function(value) {\n\t        var func = isFunc ? path : (isProp && value != null && value[path]);\n\t        result[++index] = func ? func.apply(value, args) : invokePath(value, path, args);\n\t      });\n\t      return result;\n\t    });\n\t\n\t    /**\n\t     * Creates an array of values by running each element in `collection` through\n\t     * `iteratee`. The `iteratee` is bound to `thisArg` and invoked with three\n\t     * arguments: (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * Many lodash methods are guarded to work as interatees for methods like\n\t     * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n\t     *\n\t     * The guarded methods are:\n\t     * `ary`, `callback`, `chunk`, `clone`, `create`, `curry`, `curryRight`,\n\t     * `drop`, `dropRight`, `every`, `fill`, `flatten`, `invert`, `max`, `min`,\n\t     * `parseInt`, `slice`, `sortBy`, `take`, `takeRight`, `template`, `trim`,\n\t     * `trimLeft`, `trimRight`, `trunc`, `random`, `range`, `sample`, `some`,\n\t     * `sum`, `uniq`, and `words`\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias collect\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Array} Returns the new mapped array.\n\t     * @example\n\t     *\n\t     * function timesThree(n) {\n\t     *   return n * 3;\n\t     * }\n\t     *\n\t     * _.map([1, 2], timesThree);\n\t     * // => [3, 6]\n\t     *\n\t     * _.map({ 'a': 1, 'b': 2 }, timesThree);\n\t     * // => [3, 6] (iteration order is not guaranteed)\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney' },\n\t     *   { 'user': 'fred' }\n\t     * ];\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.map(users, 'user');\n\t     * // => ['barney', 'fred']\n\t     */\n\t    function map(collection, iteratee, thisArg) {\n\t      var func = isArray(collection) ? arrayMap : baseMap;\n\t      iteratee = getCallback(iteratee, thisArg, 3);\n\t      return func(collection, iteratee);\n\t    }\n\t\n\t    /**\n\t     * Creates an array of elements split into two groups, the first of which\n\t     * contains elements `predicate` returns truthy for, while the second of which\n\t     * contains elements `predicate` returns falsey for. The predicate is bound\n\t     * to `thisArg` and invoked with three arguments: (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Array} Returns the array of grouped elements.\n\t     * @example\n\t     *\n\t     * _.partition([1, 2, 3], function(n) {\n\t     *   return n % 2;\n\t     * });\n\t     * // => [[1, 3], [2]]\n\t     *\n\t     * _.partition([1.2, 2.3, 3.4], function(n) {\n\t     *   return this.floor(n) % 2;\n\t     * }, Math);\n\t     * // => [[1.2, 3.4], [2.3]]\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney',  'age': 36, 'active': false },\n\t     *   { 'user': 'fred',    'age': 40, 'active': true },\n\t     *   { 'user': 'pebbles', 'age': 1,  'active': false }\n\t     * ];\n\t     *\n\t     * var mapper = function(array) {\n\t     *   return _.pluck(array, 'user');\n\t     * };\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.map(_.partition(users, { 'age': 1, 'active': false }), mapper);\n\t     * // => [['pebbles'], ['barney', 'fred']]\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.map(_.partition(users, 'active', false), mapper);\n\t     * // => [['barney', 'pebbles'], ['fred']]\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.map(_.partition(users, 'active'), mapper);\n\t     * // => [['fred'], ['barney', 'pebbles']]\n\t     */\n\t    var partition = createAggregator(function(result, value, key) {\n\t      result[key ? 0 : 1].push(value);\n\t    }, function() { return [[], []]; });\n\t\n\t    /**\n\t     * Gets the property value of `path` from all elements in `collection`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Array|string} path The path of the property to pluck.\n\t     * @returns {Array} Returns the property values.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36 },\n\t     *   { 'user': 'fred',   'age': 40 }\n\t     * ];\n\t     *\n\t     * _.pluck(users, 'user');\n\t     * // => ['barney', 'fred']\n\t     *\n\t     * var userIndex = _.indexBy(users, 'user');\n\t     * _.pluck(userIndex, 'age');\n\t     * // => [36, 40] (iteration order is not guaranteed)\n\t     */\n\t    function pluck(collection, path) {\n\t      return map(collection, property(path));\n\t    }\n\t\n\t    /**\n\t     * Reduces `collection` to a value which is the accumulated result of running\n\t     * each element in `collection` through `iteratee`, where each successive\n\t     * invocation is supplied the return value of the previous. If `accumulator`\n\t     * is not provided the first element of `collection` is used as the initial\n\t     * value. The `iteratee` is bound to `thisArg` and invoked with four arguments:\n\t     * (accumulator, value, index|key, collection).\n\t     *\n\t     * Many lodash methods are guarded to work as interatees for methods like\n\t     * `_.reduce`, `_.reduceRight`, and `_.transform`.\n\t     *\n\t     * The guarded methods are:\n\t     * `assign`, `defaults`, `includes`, `merge`, `sortByAll`, and `sortByOrder`\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias foldl, inject\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [accumulator] The initial value.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {*} Returns the accumulated value.\n\t     * @example\n\t     *\n\t     * _.reduce([1, 2], function(total, n) {\n\t     *   return total + n;\n\t     * });\n\t     * // => 3\n\t     *\n\t     * _.reduce({ 'a': 1, 'b': 2 }, function(result, n, key) {\n\t     *   result[key] = n * 3;\n\t     *   return result;\n\t     * }, {});\n\t     * // => { 'a': 3, 'b': 6 } (iteration order is not guaranteed)\n\t     */\n\t    var reduce = createReduce(arrayReduce, baseEach);\n\t\n\t    /**\n\t     * This method is like `_.reduce` except that it iterates over elements of\n\t     * `collection` from right to left.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias foldr\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [accumulator] The initial value.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {*} Returns the accumulated value.\n\t     * @example\n\t     *\n\t     * var array = [[0, 1], [2, 3], [4, 5]];\n\t     *\n\t     * _.reduceRight(array, function(flattened, other) {\n\t     *   return flattened.concat(other);\n\t     * }, []);\n\t     * // => [4, 5, 2, 3, 0, 1]\n\t     */\n\t    var reduceRight = createReduce(arrayReduceRight, baseEachRight);\n\t\n\t    /**\n\t     * The opposite of `_.filter`; this method returns the elements of `collection`\n\t     * that `predicate` does **not** return truthy for.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Array} Returns the new filtered array.\n\t     * @example\n\t     *\n\t     * _.reject([1, 2, 3, 4], function(n) {\n\t     *   return n % 2 == 0;\n\t     * });\n\t     * // => [1, 3]\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36, 'active': false },\n\t     *   { 'user': 'fred',   'age': 40, 'active': true }\n\t     * ];\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.pluck(_.reject(users, { 'age': 40, 'active': true }), 'user');\n\t     * // => ['barney']\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.pluck(_.reject(users, 'active', false), 'user');\n\t     * // => ['fred']\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.pluck(_.reject(users, 'active'), 'user');\n\t     * // => ['barney']\n\t     */\n\t    function reject(collection, predicate, thisArg) {\n\t      var func = isArray(collection) ? arrayFilter : baseFilter;\n\t      predicate = getCallback(predicate, thisArg, 3);\n\t      return func(collection, function(value, index, collection) {\n\t        return !predicate(value, index, collection);\n\t      });\n\t    }\n\t\n\t    /**\n\t     * Gets a random element or `n` random elements from a collection.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to sample.\n\t     * @param {number} [n] The number of elements to sample.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {*} Returns the random sample(s).\n\t     * @example\n\t     *\n\t     * _.sample([1, 2, 3, 4]);\n\t     * // => 2\n\t     *\n\t     * _.sample([1, 2, 3, 4], 2);\n\t     * // => [3, 1]\n\t     */\n\t    function sample(collection, n, guard) {\n\t      if (guard ? isIterateeCall(collection, n, guard) : n == null) {\n\t        collection = toIterable(collection);\n\t        var length = collection.length;\n\t        return length > 0 ? collection[baseRandom(0, length - 1)] : undefined;\n\t      }\n\t      var result = shuffle(collection);\n\t      result.length = nativeMin(n < 0 ? 0 : (+n || 0), result.length);\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Creates an array of shuffled values, using a version of the\n\t     * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to shuffle.\n\t     * @returns {Array} Returns the new shuffled array.\n\t     * @example\n\t     *\n\t     * _.shuffle([1, 2, 3, 4]);\n\t     * // => [4, 1, 3, 2]\n\t     */\n\t    function shuffle(collection) {\n\t      collection = toIterable(collection);\n\t\n\t      var index = -1,\n\t          length = collection.length,\n\t          result = Array(length);\n\t\n\t      while (++index < length) {\n\t        var rand = baseRandom(0, index);\n\t        if (index != rand) {\n\t          result[index] = result[rand];\n\t        }\n\t        result[rand] = collection[index];\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Gets the size of `collection` by returning its length for array-like\n\t     * values or the number of own enumerable properties for objects.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to inspect.\n\t     * @returns {number} Returns the size of `collection`.\n\t     * @example\n\t     *\n\t     * _.size([1, 2, 3]);\n\t     * // => 3\n\t     *\n\t     * _.size({ 'a': 1, 'b': 2 });\n\t     * // => 2\n\t     *\n\t     * _.size('pebbles');\n\t     * // => 7\n\t     */\n\t    function size(collection) {\n\t      var length = collection ? getLength(collection) : 0;\n\t      return isLength(length) ? length : keys(collection).length;\n\t    }\n\t\n\t    /**\n\t     * Checks if `predicate` returns truthy for **any** element of `collection`.\n\t     * The function returns as soon as it finds a passing value and does not iterate\n\t     * over the entire collection. The predicate is bound to `thisArg` and invoked\n\t     * with three arguments: (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias any\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {boolean} Returns `true` if any element passes the predicate check,\n\t     *  else `false`.\n\t     * @example\n\t     *\n\t     * _.some([null, 0, 'yes', false], Boolean);\n\t     * // => true\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'active': true },\n\t     *   { 'user': 'fred',   'active': false }\n\t     * ];\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.some(users, { 'user': 'barney', 'active': false });\n\t     * // => false\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.some(users, 'active', false);\n\t     * // => true\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.some(users, 'active');\n\t     * // => true\n\t     */\n\t    function some(collection, predicate, thisArg) {\n\t      var func = isArray(collection) ? arraySome : baseSome;\n\t      if (thisArg && isIterateeCall(collection, predicate, thisArg)) {\n\t        predicate = null;\n\t      }\n\t      if (typeof predicate != 'function' || thisArg !== undefined) {\n\t        predicate = getCallback(predicate, thisArg, 3);\n\t      }\n\t      return func(collection, predicate);\n\t    }\n\t\n\t    /**\n\t     * Creates an array of elements, sorted in ascending order by the results of\n\t     * running each element in a collection through `iteratee`. This method performs\n\t     * a stable sort, that is, it preserves the original sort order of equal elements.\n\t     * The `iteratee` is bound to `thisArg` and invoked with three arguments:\n\t     * (value, index|key, collection).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Array} Returns the new sorted array.\n\t     * @example\n\t     *\n\t     * _.sortBy([1, 2, 3], function(n) {\n\t     *   return Math.sin(n);\n\t     * });\n\t     * // => [3, 1, 2]\n\t     *\n\t     * _.sortBy([1, 2, 3], function(n) {\n\t     *   return this.sin(n);\n\t     * }, Math);\n\t     * // => [3, 1, 2]\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'fred' },\n\t     *   { 'user': 'pebbles' },\n\t     *   { 'user': 'barney' }\n\t     * ];\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.pluck(_.sortBy(users, 'user'), 'user');\n\t     * // => ['barney', 'fred', 'pebbles']\n\t     */\n\t    function sortBy(collection, iteratee, thisArg) {\n\t      if (collection == null) {\n\t        return [];\n\t      }\n\t      if (thisArg && isIterateeCall(collection, iteratee, thisArg)) {\n\t        iteratee = null;\n\t      }\n\t      var index = -1;\n\t      iteratee = getCallback(iteratee, thisArg, 3);\n\t\n\t      var result = baseMap(collection, function(value, key, collection) {\n\t        return { 'criteria': iteratee(value, key, collection), 'index': ++index, 'value': value };\n\t      });\n\t      return baseSortBy(result, compareAscending);\n\t    }\n\t\n\t    /**\n\t     * This method is like `_.sortBy` except that it can sort by multiple iteratees\n\t     * or property names.\n\t     *\n\t     * If a property name is provided for an iteratee the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If an object is provided for an iteratee the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {...(Function|Function[]|Object|Object[]|string|string[])} iteratees\n\t     *  The iteratees to sort by, specified as individual values or arrays of values.\n\t     * @returns {Array} Returns the new sorted array.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'fred',   'age': 48 },\n\t     *   { 'user': 'barney', 'age': 36 },\n\t     *   { 'user': 'fred',   'age': 42 },\n\t     *   { 'user': 'barney', 'age': 34 }\n\t     * ];\n\t     *\n\t     * _.map(_.sortByAll(users, ['user', 'age']), _.values);\n\t     * // => [['barney', 34], ['barney', 36], ['fred', 42], ['fred', 48]]\n\t     *\n\t     * _.map(_.sortByAll(users, 'user', function(chr) {\n\t     *   return Math.floor(chr.age / 10);\n\t     * }), _.values);\n\t     * // => [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]]\n\t     */\n\t    var sortByAll = restParam(function(collection, iteratees) {\n\t      if (collection == null) {\n\t        return [];\n\t      }\n\t      var guard = iteratees[2];\n\t      if (guard && isIterateeCall(iteratees[0], iteratees[1], guard)) {\n\t        iteratees.length = 1;\n\t      }\n\t      return baseSortByOrder(collection, baseFlatten(iteratees), []);\n\t    });\n\t\n\t    /**\n\t     * This method is like `_.sortByAll` except that it allows specifying the\n\t     * sort orders of the iteratees to sort by. A truthy value in `orders` will\n\t     * sort the corresponding property name in ascending order while a falsey\n\t     * value will sort it in descending order.\n\t     *\n\t     * If a property name is provided for an iteratee the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If an object is provided for an iteratee the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n\t     * @param {boolean[]} orders The sort orders of `iteratees`.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.reduce`.\n\t     * @returns {Array} Returns the new sorted array.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'fred',   'age': 48 },\n\t     *   { 'user': 'barney', 'age': 34 },\n\t     *   { 'user': 'fred',   'age': 42 },\n\t     *   { 'user': 'barney', 'age': 36 }\n\t     * ];\n\t     *\n\t     * // sort by `user` in ascending order and by `age` in descending order\n\t     * _.map(_.sortByOrder(users, ['user', 'age'], [true, false]), _.values);\n\t     * // => [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]]\n\t     */\n\t    function sortByOrder(collection, iteratees, orders, guard) {\n\t      if (collection == null) {\n\t        return [];\n\t      }\n\t      if (guard && isIterateeCall(iteratees, orders, guard)) {\n\t        orders = null;\n\t      }\n\t      if (!isArray(iteratees)) {\n\t        iteratees = iteratees == null ? [] : [iteratees];\n\t      }\n\t      if (!isArray(orders)) {\n\t        orders = orders == null ? [] : [orders];\n\t      }\n\t      return baseSortByOrder(collection, iteratees, orders);\n\t    }\n\t\n\t    /**\n\t     * Performs a deep comparison between each element in `collection` and the\n\t     * source object, returning an array of all elements that have equivalent\n\t     * property values.\n\t     *\n\t     * **Note:** This method supports comparing arrays, booleans, `Date` objects,\n\t     * numbers, `Object` objects, regexes, and strings. Objects are compared by\n\t     * their own, not inherited, enumerable properties. For comparing a single\n\t     * own or inherited property value see `_.matchesProperty`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Collection\n\t     * @param {Array|Object|string} collection The collection to search.\n\t     * @param {Object} source The object of property values to match.\n\t     * @returns {Array} Returns the new filtered array.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36, 'active': false, 'pets': ['hoppy'] },\n\t     *   { 'user': 'fred',   'age': 40, 'active': true, 'pets': ['baby puss', 'dino'] }\n\t     * ];\n\t     *\n\t     * _.pluck(_.where(users, { 'age': 36, 'active': false }), 'user');\n\t     * // => ['barney']\n\t     *\n\t     * _.pluck(_.where(users, { 'pets': ['dino'] }), 'user');\n\t     * // => ['fred']\n\t     */\n\t    function where(collection, source) {\n\t      return filter(collection, baseMatches(source));\n\t    }\n\t\n\t    /**\n\t     * Gets the number of milliseconds that have elapsed since the Unix epoch\n\t     * (1 January 1970 00:00:00 UTC).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Date\n\t     * @example\n\t     *\n\t     * _.defer(function(stamp) {\n\t     *   console.log(_.now() - stamp);\n\t     * }, _.now());\n\t     * // => logs the number of milliseconds it took for the deferred function to be invoked\n\t     */\n\t    var now = nativeNow || function() {\n\t      return new Date().getTime();\n\t    };\n\t\n\t    /**\n\t     * The opposite of `_.before`; this method creates a function that invokes\n\t     * `func` once it is called `n` or more times.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {number} n The number of calls before `func` is invoked.\n\t     * @param {Function} func The function to restrict.\n\t     * @returns {Function} Returns the new restricted function.\n\t     * @example\n\t     *\n\t     * var saves = ['profile', 'settings'];\n\t     *\n\t     * var done = _.after(saves.length, function() {\n\t     *   console.log('done saving!');\n\t     * });\n\t     *\n\t     * _.forEach(saves, function(type) {\n\t     *   asyncSave({ 'type': type, 'complete': done });\n\t     * });\n\t     * // => logs 'done saving!' after the two async saves have completed\n\t     */\n\t    function after(n, func) {\n\t      if (typeof func != 'function') {\n\t        if (typeof n == 'function') {\n\t          var temp = n;\n\t          n = func;\n\t          func = temp;\n\t        } else {\n\t          throw new TypeError(FUNC_ERROR_TEXT);\n\t        }\n\t      }\n\t      n = nativeIsFinite(n = +n) ? n : 0;\n\t      return function() {\n\t        if (--n < 1) {\n\t          return func.apply(this, arguments);\n\t        }\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that accepts up to `n` arguments ignoring any\n\t     * additional arguments.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to cap arguments for.\n\t     * @param {number} [n=func.length] The arity cap.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n\t     * // => [6, 8, 10]\n\t     */\n\t    function ary(func, n, guard) {\n\t      if (guard && isIterateeCall(func, n, guard)) {\n\t        n = null;\n\t      }\n\t      n = (func && n == null) ? func.length : nativeMax(+n || 0, 0);\n\t      return createWrapper(func, ARY_FLAG, null, null, null, null, n);\n\t    }\n\t\n\t    /**\n\t     * Creates a function that invokes `func`, with the `this` binding and arguments\n\t     * of the created function, while it is called less than `n` times. Subsequent\n\t     * calls to the created function return the result of the last `func` invocation.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {number} n The number of calls at which `func` is no longer invoked.\n\t     * @param {Function} func The function to restrict.\n\t     * @returns {Function} Returns the new restricted function.\n\t     * @example\n\t     *\n\t     * jQuery('#add').on('click', _.before(5, addContactToList));\n\t     * // => allows adding up to 4 contacts to the list\n\t     */\n\t    function before(n, func) {\n\t      var result;\n\t      if (typeof func != 'function') {\n\t        if (typeof n == 'function') {\n\t          var temp = n;\n\t          n = func;\n\t          func = temp;\n\t        } else {\n\t          throw new TypeError(FUNC_ERROR_TEXT);\n\t        }\n\t      }\n\t      return function() {\n\t        if (--n > 0) {\n\t          result = func.apply(this, arguments);\n\t        }\n\t        if (n <= 1) {\n\t          func = null;\n\t        }\n\t        return result;\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that invokes `func` with the `this` binding of `thisArg`\n\t     * and prepends any additional `_.bind` arguments to those provided to the\n\t     * bound function.\n\t     *\n\t     * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n\t     * may be used as a placeholder for partially applied arguments.\n\t     *\n\t     * **Note:** Unlike native `Function#bind` this method does not set the \"length\"\n\t     * property of bound functions.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to bind.\n\t     * @param {*} thisArg The `this` binding of `func`.\n\t     * @param {...*} [partials] The arguments to be partially applied.\n\t     * @returns {Function} Returns the new bound function.\n\t     * @example\n\t     *\n\t     * var greet = function(greeting, punctuation) {\n\t     *   return greeting + ' ' + this.user + punctuation;\n\t     * };\n\t     *\n\t     * var object = { 'user': 'fred' };\n\t     *\n\t     * var bound = _.bind(greet, object, 'hi');\n\t     * bound('!');\n\t     * // => 'hi fred!'\n\t     *\n\t     * // using placeholders\n\t     * var bound = _.bind(greet, object, _, '!');\n\t     * bound('hi');\n\t     * // => 'hi fred!'\n\t     */\n\t    var bind = restParam(function(func, thisArg, partials) {\n\t      var bitmask = BIND_FLAG;\n\t      if (partials.length) {\n\t        var holders = replaceHolders(partials, bind.placeholder);\n\t        bitmask |= PARTIAL_FLAG;\n\t      }\n\t      return createWrapper(func, bitmask, thisArg, partials, holders);\n\t    });\n\t\n\t    /**\n\t     * Binds methods of an object to the object itself, overwriting the existing\n\t     * method. Method names may be specified as individual arguments or as arrays\n\t     * of method names. If no method names are provided all enumerable function\n\t     * properties, own and inherited, of `object` are bound.\n\t     *\n\t     * **Note:** This method does not set the \"length\" property of bound functions.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Object} object The object to bind and assign the bound methods to.\n\t     * @param {...(string|string[])} [methodNames] The object method names to bind,\n\t     *  specified as individual method names or arrays of method names.\n\t     * @returns {Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * var view = {\n\t     *   'label': 'docs',\n\t     *   'onClick': function() {\n\t     *     console.log('clicked ' + this.label);\n\t     *   }\n\t     * };\n\t     *\n\t     * _.bindAll(view);\n\t     * jQuery('#docs').on('click', view.onClick);\n\t     * // => logs 'clicked docs' when the element is clicked\n\t     */\n\t    var bindAll = restParam(function(object, methodNames) {\n\t      methodNames = methodNames.length ? baseFlatten(methodNames) : functions(object);\n\t\n\t      var index = -1,\n\t          length = methodNames.length;\n\t\n\t      while (++index < length) {\n\t        var key = methodNames[index];\n\t        object[key] = createWrapper(object[key], BIND_FLAG, object);\n\t      }\n\t      return object;\n\t    });\n\t\n\t    /**\n\t     * Creates a function that invokes the method at `object[key]` and prepends\n\t     * any additional `_.bindKey` arguments to those provided to the bound function.\n\t     *\n\t     * This method differs from `_.bind` by allowing bound functions to reference\n\t     * methods that may be redefined or don't yet exist.\n\t     * See [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n\t     * for more details.\n\t     *\n\t     * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n\t     * builds, may be used as a placeholder for partially applied arguments.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Object} object The object the method belongs to.\n\t     * @param {string} key The key of the method.\n\t     * @param {...*} [partials] The arguments to be partially applied.\n\t     * @returns {Function} Returns the new bound function.\n\t     * @example\n\t     *\n\t     * var object = {\n\t     *   'user': 'fred',\n\t     *   'greet': function(greeting, punctuation) {\n\t     *     return greeting + ' ' + this.user + punctuation;\n\t     *   }\n\t     * };\n\t     *\n\t     * var bound = _.bindKey(object, 'greet', 'hi');\n\t     * bound('!');\n\t     * // => 'hi fred!'\n\t     *\n\t     * object.greet = function(greeting, punctuation) {\n\t     *   return greeting + 'ya ' + this.user + punctuation;\n\t     * };\n\t     *\n\t     * bound('!');\n\t     * // => 'hiya fred!'\n\t     *\n\t     * // using placeholders\n\t     * var bound = _.bindKey(object, 'greet', _, '!');\n\t     * bound('hi');\n\t     * // => 'hiya fred!'\n\t     */\n\t    var bindKey = restParam(function(object, key, partials) {\n\t      var bitmask = BIND_FLAG | BIND_KEY_FLAG;\n\t      if (partials.length) {\n\t        var holders = replaceHolders(partials, bindKey.placeholder);\n\t        bitmask |= PARTIAL_FLAG;\n\t      }\n\t      return createWrapper(key, bitmask, object, partials, holders);\n\t    });\n\t\n\t    /**\n\t     * Creates a function that accepts one or more arguments of `func` that when\n\t     * called either invokes `func` returning its result, if all `func` arguments\n\t     * have been provided, or returns a function that accepts one or more of the\n\t     * remaining `func` arguments, and so on. The arity of `func` may be specified\n\t     * if `func.length` is not sufficient.\n\t     *\n\t     * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n\t     * may be used as a placeholder for provided arguments.\n\t     *\n\t     * **Note:** This method does not set the \"length\" property of curried functions.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to curry.\n\t     * @param {number} [arity=func.length] The arity of `func`.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Function} Returns the new curried function.\n\t     * @example\n\t     *\n\t     * var abc = function(a, b, c) {\n\t     *   return [a, b, c];\n\t     * };\n\t     *\n\t     * var curried = _.curry(abc);\n\t     *\n\t     * curried(1)(2)(3);\n\t     * // => [1, 2, 3]\n\t     *\n\t     * curried(1, 2)(3);\n\t     * // => [1, 2, 3]\n\t     *\n\t     * curried(1, 2, 3);\n\t     * // => [1, 2, 3]\n\t     *\n\t     * // using placeholders\n\t     * curried(1)(_, 3)(2);\n\t     * // => [1, 2, 3]\n\t     */\n\t    var curry = createCurry(CURRY_FLAG);\n\t\n\t    /**\n\t     * This method is like `_.curry` except that arguments are applied to `func`\n\t     * in the manner of `_.partialRight` instead of `_.partial`.\n\t     *\n\t     * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n\t     * builds, may be used as a placeholder for provided arguments.\n\t     *\n\t     * **Note:** This method does not set the \"length\" property of curried functions.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to curry.\n\t     * @param {number} [arity=func.length] The arity of `func`.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Function} Returns the new curried function.\n\t     * @example\n\t     *\n\t     * var abc = function(a, b, c) {\n\t     *   return [a, b, c];\n\t     * };\n\t     *\n\t     * var curried = _.curryRight(abc);\n\t     *\n\t     * curried(3)(2)(1);\n\t     * // => [1, 2, 3]\n\t     *\n\t     * curried(2, 3)(1);\n\t     * // => [1, 2, 3]\n\t     *\n\t     * curried(1, 2, 3);\n\t     * // => [1, 2, 3]\n\t     *\n\t     * // using placeholders\n\t     * curried(3)(1, _)(2);\n\t     * // => [1, 2, 3]\n\t     */\n\t    var curryRight = createCurry(CURRY_RIGHT_FLAG);\n\t\n\t    /**\n\t     * Creates a function that delays invoking `func` until after `wait` milliseconds\n\t     * have elapsed since the last time it was invoked. The created function comes\n\t     * with a `cancel` method to cancel delayed invocations. Provide an options\n\t     * object to indicate that `func` should be invoked on the leading and/or\n\t     * trailing edge of the `wait` timeout. Subsequent calls to the debounced\n\t     * function return the result of the last `func` invocation.\n\t     *\n\t     * **Note:** If `leading` and `trailing` options are `true`, `func` is invoked\n\t     * on the trailing edge of the timeout only if the the debounced function is\n\t     * invoked more than once during the `wait` timeout.\n\t     *\n\t     * See [David Corbacho's article](http://drupalmotion.com/article/debounce-and-throttle-visual-explanation)\n\t     * for details over the differences between `_.debounce` and `_.throttle`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to debounce.\n\t     * @param {number} [wait=0] The number of milliseconds to delay.\n\t     * @param {Object} [options] The options object.\n\t     * @param {boolean} [options.leading=false] Specify invoking on the leading\n\t     *  edge of the timeout.\n\t     * @param {number} [options.maxWait] The maximum time `func` is allowed to be\n\t     *  delayed before it is invoked.\n\t     * @param {boolean} [options.trailing=true] Specify invoking on the trailing\n\t     *  edge of the timeout.\n\t     * @returns {Function} Returns the new debounced function.\n\t     * @example\n\t     *\n\t     * // avoid costly calculations while the window size is in flux\n\t     * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n\t     *\n\t     * // invoke `sendMail` when the click event is fired, debouncing subsequent calls\n\t     * jQuery('#postbox').on('click', _.debounce(sendMail, 300, {\n\t     *   'leading': true,\n\t     *   'trailing': false\n\t     * }));\n\t     *\n\t     * // ensure `batchLog` is invoked once after 1 second of debounced calls\n\t     * var source = new EventSource('/stream');\n\t     * jQuery(source).on('message', _.debounce(batchLog, 250, {\n\t     *   'maxWait': 1000\n\t     * }));\n\t     *\n\t     * // cancel a debounced call\n\t     * var todoChanges = _.debounce(batchLog, 1000);\n\t     * Object.observe(models.todo, todoChanges);\n\t     *\n\t     * Object.observe(models, function(changes) {\n\t     *   if (_.find(changes, { 'user': 'todo', 'type': 'delete'})) {\n\t     *     todoChanges.cancel();\n\t     *   }\n\t     * }, ['delete']);\n\t     *\n\t     * // ...at some point `models.todo` is changed\n\t     * models.todo.completed = true;\n\t     *\n\t     * // ...before 1 second has passed `models.todo` is deleted\n\t     * // which cancels the debounced `todoChanges` call\n\t     * delete models.todo;\n\t     */\n\t    function debounce(func, wait, options) {\n\t      var args,\n\t          maxTimeoutId,\n\t          result,\n\t          stamp,\n\t          thisArg,\n\t          timeoutId,\n\t          trailingCall,\n\t          lastCalled = 0,\n\t          maxWait = false,\n\t          trailing = true;\n\t\n\t      if (typeof func != 'function') {\n\t        throw new TypeError(FUNC_ERROR_TEXT);\n\t      }\n\t      wait = wait < 0 ? 0 : (+wait || 0);\n\t      if (options === true) {\n\t        var leading = true;\n\t        trailing = false;\n\t      } else if (isObject(options)) {\n\t        leading = options.leading;\n\t        maxWait = 'maxWait' in options && nativeMax(+options.maxWait || 0, wait);\n\t        trailing = 'trailing' in options ? options.trailing : trailing;\n\t      }\n\t\n\t      function cancel() {\n\t        if (timeoutId) {\n\t          clearTimeout(timeoutId);\n\t        }\n\t        if (maxTimeoutId) {\n\t          clearTimeout(maxTimeoutId);\n\t        }\n\t        maxTimeoutId = timeoutId = trailingCall = undefined;\n\t      }\n\t\n\t      function delayed() {\n\t        var remaining = wait - (now() - stamp);\n\t        if (remaining <= 0 || remaining > wait) {\n\t          if (maxTimeoutId) {\n\t            clearTimeout(maxTimeoutId);\n\t          }\n\t          var isCalled = trailingCall;\n\t          maxTimeoutId = timeoutId = trailingCall = undefined;\n\t          if (isCalled) {\n\t            lastCalled = now();\n\t            result = func.apply(thisArg, args);\n\t            if (!timeoutId && !maxTimeoutId) {\n\t              args = thisArg = null;\n\t            }\n\t          }\n\t        } else {\n\t          timeoutId = setTimeout(delayed, remaining);\n\t        }\n\t      }\n\t\n\t      function maxDelayed() {\n\t        if (timeoutId) {\n\t          clearTimeout(timeoutId);\n\t        }\n\t        maxTimeoutId = timeoutId = trailingCall = undefined;\n\t        if (trailing || (maxWait !== wait)) {\n\t          lastCalled = now();\n\t          result = func.apply(thisArg, args);\n\t          if (!timeoutId && !maxTimeoutId) {\n\t            args = thisArg = null;\n\t          }\n\t        }\n\t      }\n\t\n\t      function debounced() {\n\t        args = arguments;\n\t        stamp = now();\n\t        thisArg = this;\n\t        trailingCall = trailing && (timeoutId || !leading);\n\t\n\t        if (maxWait === false) {\n\t          var leadingCall = leading && !timeoutId;\n\t        } else {\n\t          if (!maxTimeoutId && !leading) {\n\t            lastCalled = stamp;\n\t          }\n\t          var remaining = maxWait - (stamp - lastCalled),\n\t              isCalled = remaining <= 0 || remaining > maxWait;\n\t\n\t          if (isCalled) {\n\t            if (maxTimeoutId) {\n\t              maxTimeoutId = clearTimeout(maxTimeoutId);\n\t            }\n\t            lastCalled = stamp;\n\t            result = func.apply(thisArg, args);\n\t          }\n\t          else if (!maxTimeoutId) {\n\t            maxTimeoutId = setTimeout(maxDelayed, remaining);\n\t          }\n\t        }\n\t        if (isCalled && timeoutId) {\n\t          timeoutId = clearTimeout(timeoutId);\n\t        }\n\t        else if (!timeoutId && wait !== maxWait) {\n\t          timeoutId = setTimeout(delayed, wait);\n\t        }\n\t        if (leadingCall) {\n\t          isCalled = true;\n\t          result = func.apply(thisArg, args);\n\t        }\n\t        if (isCalled && !timeoutId && !maxTimeoutId) {\n\t          args = thisArg = null;\n\t        }\n\t        return result;\n\t      }\n\t      debounced.cancel = cancel;\n\t      return debounced;\n\t    }\n\t\n\t    /**\n\t     * Defers invoking the `func` until the current call stack has cleared. Any\n\t     * additional arguments are provided to `func` when it is invoked.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to defer.\n\t     * @param {...*} [args] The arguments to invoke the function with.\n\t     * @returns {number} Returns the timer id.\n\t     * @example\n\t     *\n\t     * _.defer(function(text) {\n\t     *   console.log(text);\n\t     * }, 'deferred');\n\t     * // logs 'deferred' after one or more milliseconds\n\t     */\n\t    var defer = restParam(function(func, args) {\n\t      return baseDelay(func, 1, args);\n\t    });\n\t\n\t    /**\n\t     * Invokes `func` after `wait` milliseconds. Any additional arguments are\n\t     * provided to `func` when it is invoked.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to delay.\n\t     * @param {number} wait The number of milliseconds to delay invocation.\n\t     * @param {...*} [args] The arguments to invoke the function with.\n\t     * @returns {number} Returns the timer id.\n\t     * @example\n\t     *\n\t     * _.delay(function(text) {\n\t     *   console.log(text);\n\t     * }, 1000, 'later');\n\t     * // => logs 'later' after one second\n\t     */\n\t    var delay = restParam(function(func, wait, args) {\n\t      return baseDelay(func, wait, args);\n\t    });\n\t\n\t    /**\n\t     * Creates a function that returns the result of invoking the provided\n\t     * functions with the `this` binding of the created function, where each\n\t     * successive invocation is supplied the return value of the previous.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {...Function} [funcs] Functions to invoke.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * function square(n) {\n\t     *   return n * n;\n\t     * }\n\t     *\n\t     * var addSquare = _.flow(_.add, square);\n\t     * addSquare(1, 2);\n\t     * // => 9\n\t     */\n\t    var flow = createFlow();\n\t\n\t    /**\n\t     * This method is like `_.flow` except that it creates a function that\n\t     * invokes the provided functions from right to left.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias backflow, compose\n\t     * @category Function\n\t     * @param {...Function} [funcs] Functions to invoke.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * function square(n) {\n\t     *   return n * n;\n\t     * }\n\t     *\n\t     * var addSquare = _.flowRight(square, _.add);\n\t     * addSquare(1, 2);\n\t     * // => 9\n\t     */\n\t    var flowRight = createFlow(true);\n\t\n\t    /**\n\t     * Creates a function that memoizes the result of `func`. If `resolver` is\n\t     * provided it determines the cache key for storing the result based on the\n\t     * arguments provided to the memoized function. By default, the first argument\n\t     * provided to the memoized function is coerced to a string and used as the\n\t     * cache key. The `func` is invoked with the `this` binding of the memoized\n\t     * function.\n\t     *\n\t     * **Note:** The cache is exposed as the `cache` property on the memoized\n\t     * function. Its creation may be customized by replacing the `_.memoize.Cache`\n\t     * constructor with one whose instances implement the [`Map`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-properties-of-the-map-prototype-object)\n\t     * method interface of `get`, `has`, and `set`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to have its output memoized.\n\t     * @param {Function} [resolver] The function to resolve the cache key.\n\t     * @returns {Function} Returns the new memoizing function.\n\t     * @example\n\t     *\n\t     * var upperCase = _.memoize(function(string) {\n\t     *   return string.toUpperCase();\n\t     * });\n\t     *\n\t     * upperCase('fred');\n\t     * // => 'FRED'\n\t     *\n\t     * // modifying the result cache\n\t     * upperCase.cache.set('fred', 'BARNEY');\n\t     * upperCase('fred');\n\t     * // => 'BARNEY'\n\t     *\n\t     * // replacing `_.memoize.Cache`\n\t     * var object = { 'user': 'fred' };\n\t     * var other = { 'user': 'barney' };\n\t     * var identity = _.memoize(_.identity);\n\t     *\n\t     * identity(object);\n\t     * // => { 'user': 'fred' }\n\t     * identity(other);\n\t     * // => { 'user': 'fred' }\n\t     *\n\t     * _.memoize.Cache = WeakMap;\n\t     * var identity = _.memoize(_.identity);\n\t     *\n\t     * identity(object);\n\t     * // => { 'user': 'fred' }\n\t     * identity(other);\n\t     * // => { 'user': 'barney' }\n\t     */\n\t    function memoize(func, resolver) {\n\t      if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {\n\t        throw new TypeError(FUNC_ERROR_TEXT);\n\t      }\n\t      var memoized = function() {\n\t        var args = arguments,\n\t            cache = memoized.cache,\n\t            key = resolver ? resolver.apply(this, args) : args[0];\n\t\n\t        if (cache.has(key)) {\n\t          return cache.get(key);\n\t        }\n\t        var result = func.apply(this, args);\n\t        cache.set(key, result);\n\t        return result;\n\t      };\n\t      memoized.cache = new memoize.Cache;\n\t      return memoized;\n\t    }\n\t\n\t    /**\n\t     * Creates a function that negates the result of the predicate `func`. The\n\t     * `func` predicate is invoked with the `this` binding and arguments of the\n\t     * created function.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} predicate The predicate to negate.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * function isEven(n) {\n\t     *   return n % 2 == 0;\n\t     * }\n\t     *\n\t     * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n\t     * // => [1, 3, 5]\n\t     */\n\t    function negate(predicate) {\n\t      if (typeof predicate != 'function') {\n\t        throw new TypeError(FUNC_ERROR_TEXT);\n\t      }\n\t      return function() {\n\t        return !predicate.apply(this, arguments);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that is restricted to invoking `func` once. Repeat calls\n\t     * to the function return the value of the first call. The `func` is invoked\n\t     * with the `this` binding and arguments of the created function.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to restrict.\n\t     * @returns {Function} Returns the new restricted function.\n\t     * @example\n\t     *\n\t     * var initialize = _.once(createApplication);\n\t     * initialize();\n\t     * initialize();\n\t     * // `initialize` invokes `createApplication` once\n\t     */\n\t    function once(func) {\n\t      return before(2, func);\n\t    }\n\t\n\t    /**\n\t     * Creates a function that invokes `func` with `partial` arguments prepended\n\t     * to those provided to the new function. This method is like `_.bind` except\n\t     * it does **not** alter the `this` binding.\n\t     *\n\t     * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n\t     * builds, may be used as a placeholder for partially applied arguments.\n\t     *\n\t     * **Note:** This method does not set the \"length\" property of partially\n\t     * applied functions.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to partially apply arguments to.\n\t     * @param {...*} [partials] The arguments to be partially applied.\n\t     * @returns {Function} Returns the new partially applied function.\n\t     * @example\n\t     *\n\t     * var greet = function(greeting, name) {\n\t     *   return greeting + ' ' + name;\n\t     * };\n\t     *\n\t     * var sayHelloTo = _.partial(greet, 'hello');\n\t     * sayHelloTo('fred');\n\t     * // => 'hello fred'\n\t     *\n\t     * // using placeholders\n\t     * var greetFred = _.partial(greet, _, 'fred');\n\t     * greetFred('hi');\n\t     * // => 'hi fred'\n\t     */\n\t    var partial = createPartial(PARTIAL_FLAG);\n\t\n\t    /**\n\t     * This method is like `_.partial` except that partially applied arguments\n\t     * are appended to those provided to the new function.\n\t     *\n\t     * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n\t     * builds, may be used as a placeholder for partially applied arguments.\n\t     *\n\t     * **Note:** This method does not set the \"length\" property of partially\n\t     * applied functions.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to partially apply arguments to.\n\t     * @param {...*} [partials] The arguments to be partially applied.\n\t     * @returns {Function} Returns the new partially applied function.\n\t     * @example\n\t     *\n\t     * var greet = function(greeting, name) {\n\t     *   return greeting + ' ' + name;\n\t     * };\n\t     *\n\t     * var greetFred = _.partialRight(greet, 'fred');\n\t     * greetFred('hi');\n\t     * // => 'hi fred'\n\t     *\n\t     * // using placeholders\n\t     * var sayHelloTo = _.partialRight(greet, 'hello', _);\n\t     * sayHelloTo('fred');\n\t     * // => 'hello fred'\n\t     */\n\t    var partialRight = createPartial(PARTIAL_RIGHT_FLAG);\n\t\n\t    /**\n\t     * Creates a function that invokes `func` with arguments arranged according\n\t     * to the specified indexes where the argument value at the first index is\n\t     * provided as the first argument, the argument value at the second index is\n\t     * provided as the second argument, and so on.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to rearrange arguments for.\n\t     * @param {...(number|number[])} indexes The arranged argument indexes,\n\t     *  specified as individual indexes or arrays of indexes.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var rearged = _.rearg(function(a, b, c) {\n\t     *   return [a, b, c];\n\t     * }, 2, 0, 1);\n\t     *\n\t     * rearged('b', 'c', 'a')\n\t     * // => ['a', 'b', 'c']\n\t     *\n\t     * var map = _.rearg(_.map, [1, 0]);\n\t     * map(function(n) {\n\t     *   return n * 3;\n\t     * }, [1, 2, 3]);\n\t     * // => [3, 6, 9]\n\t     */\n\t    var rearg = restParam(function(func, indexes) {\n\t      return createWrapper(func, REARG_FLAG, null, null, null, baseFlatten(indexes));\n\t    });\n\t\n\t    /**\n\t     * Creates a function that invokes `func` with the `this` binding of the\n\t     * created function and arguments from `start` and beyond provided as an array.\n\t     *\n\t     * **Note:** This method is based on the [rest parameter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to apply a rest parameter to.\n\t     * @param {number} [start=func.length-1] The start position of the rest parameter.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var say = _.restParam(function(what, names) {\n\t     *   return what + ' ' + _.initial(names).join(', ') +\n\t     *     (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n\t     * });\n\t     *\n\t     * say('hello', 'fred', 'barney', 'pebbles');\n\t     * // => 'hello fred, barney, & pebbles'\n\t     */\n\t    function restParam(func, start) {\n\t      if (typeof func != 'function') {\n\t        throw new TypeError(FUNC_ERROR_TEXT);\n\t      }\n\t      start = nativeMax(start === undefined ? (func.length - 1) : (+start || 0), 0);\n\t      return function() {\n\t        var args = arguments,\n\t            index = -1,\n\t            length = nativeMax(args.length - start, 0),\n\t            rest = Array(length);\n\t\n\t        while (++index < length) {\n\t          rest[index] = args[start + index];\n\t        }\n\t        switch (start) {\n\t          case 0: return func.call(this, rest);\n\t          case 1: return func.call(this, args[0], rest);\n\t          case 2: return func.call(this, args[0], args[1], rest);\n\t        }\n\t        var otherArgs = Array(start + 1);\n\t        index = -1;\n\t        while (++index < start) {\n\t          otherArgs[index] = args[index];\n\t        }\n\t        otherArgs[start] = rest;\n\t        return func.apply(this, otherArgs);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that invokes `func` with the `this` binding of the created\n\t     * function and an array of arguments much like [`Function#apply`](https://es5.github.io/#x15.3.4.3).\n\t     *\n\t     * **Note:** This method is based on the [spread operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to spread arguments over.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var say = _.spread(function(who, what) {\n\t     *   return who + ' says ' + what;\n\t     * });\n\t     *\n\t     * say(['fred', 'hello']);\n\t     * // => 'fred says hello'\n\t     *\n\t     * // with a Promise\n\t     * var numbers = Promise.all([\n\t     *   Promise.resolve(40),\n\t     *   Promise.resolve(36)\n\t     * ]);\n\t     *\n\t     * numbers.then(_.spread(function(x, y) {\n\t     *   return x + y;\n\t     * }));\n\t     * // => a Promise of 76\n\t     */\n\t    function spread(func) {\n\t      if (typeof func != 'function') {\n\t        throw new TypeError(FUNC_ERROR_TEXT);\n\t      }\n\t      return function(array) {\n\t        return func.apply(this, array);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates a function that only invokes `func` at most once per every `wait`\n\t     * milliseconds. The created function comes with a `cancel` method to cancel\n\t     * delayed invocations. Provide an options object to indicate that `func`\n\t     * should be invoked on the leading and/or trailing edge of the `wait` timeout.\n\t     * Subsequent calls to the throttled function return the result of the last\n\t     * `func` call.\n\t     *\n\t     * **Note:** If `leading` and `trailing` options are `true`, `func` is invoked\n\t     * on the trailing edge of the timeout only if the the throttled function is\n\t     * invoked more than once during the `wait` timeout.\n\t     *\n\t     * See [David Corbacho's article](http://drupalmotion.com/article/debounce-and-throttle-visual-explanation)\n\t     * for details over the differences between `_.throttle` and `_.debounce`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {Function} func The function to throttle.\n\t     * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n\t     * @param {Object} [options] The options object.\n\t     * @param {boolean} [options.leading=true] Specify invoking on the leading\n\t     *  edge of the timeout.\n\t     * @param {boolean} [options.trailing=true] Specify invoking on the trailing\n\t     *  edge of the timeout.\n\t     * @returns {Function} Returns the new throttled function.\n\t     * @example\n\t     *\n\t     * // avoid excessively updating the position while scrolling\n\t     * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n\t     *\n\t     * // invoke `renewToken` when the click event is fired, but not more than once every 5 minutes\n\t     * jQuery('.interactive').on('click', _.throttle(renewToken, 300000, {\n\t     *   'trailing': false\n\t     * }));\n\t     *\n\t     * // cancel a trailing throttled call\n\t     * jQuery(window).on('popstate', throttled.cancel);\n\t     */\n\t    function throttle(func, wait, options) {\n\t      var leading = true,\n\t          trailing = true;\n\t\n\t      if (typeof func != 'function') {\n\t        throw new TypeError(FUNC_ERROR_TEXT);\n\t      }\n\t      if (options === false) {\n\t        leading = false;\n\t      } else if (isObject(options)) {\n\t        leading = 'leading' in options ? !!options.leading : leading;\n\t        trailing = 'trailing' in options ? !!options.trailing : trailing;\n\t      }\n\t      debounceOptions.leading = leading;\n\t      debounceOptions.maxWait = +wait;\n\t      debounceOptions.trailing = trailing;\n\t      return debounce(func, wait, debounceOptions);\n\t    }\n\t\n\t    /**\n\t     * Creates a function that provides `value` to the wrapper function as its\n\t     * first argument. Any additional arguments provided to the function are\n\t     * appended to those provided to the wrapper function. The wrapper is invoked\n\t     * with the `this` binding of the created function.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Function\n\t     * @param {*} value The value to wrap.\n\t     * @param {Function} wrapper The wrapper function.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var p = _.wrap(_.escape, function(func, text) {\n\t     *   return '<p>' + func(text) + '</p>';\n\t     * });\n\t     *\n\t     * p('fred, barney, & pebbles');\n\t     * // => '<p>fred, barney, &amp; pebbles</p>'\n\t     */\n\t    function wrap(value, wrapper) {\n\t      wrapper = wrapper == null ? identity : wrapper;\n\t      return createWrapper(wrapper, PARTIAL_FLAG, null, [value], []);\n\t    }\n\t\n\t    /**\n\t     * Creates a clone of `value`. If `isDeep` is `true` nested objects are cloned,\n\t     * otherwise they are assigned by reference. If `customizer` is provided it is\n\t     * invoked to produce the cloned values. If `customizer` returns `undefined`\n\t     * cloning is handled by the method instead. The `customizer` is bound to\n\t     * `thisArg` and invoked with two argument; (value [, index|key, object]).\n\t     *\n\t     * **Note:** This method is loosely based on the\n\t     * [structured clone algorithm](http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm).\n\t     * The enumerable properties of `arguments` objects and objects created by\n\t     * constructors other than `Object` are cloned to plain `Object` objects. An\n\t     * empty object is returned for uncloneable values such as functions, DOM nodes,\n\t     * Maps, Sets, and WeakMaps.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to clone.\n\t     * @param {boolean} [isDeep] Specify a deep clone.\n\t     * @param {Function} [customizer] The function to customize cloning values.\n\t     * @param {*} [thisArg] The `this` binding of `customizer`.\n\t     * @returns {*} Returns the cloned value.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney' },\n\t     *   { 'user': 'fred' }\n\t     * ];\n\t     *\n\t     * var shallow = _.clone(users);\n\t     * shallow[0] === users[0];\n\t     * // => true\n\t     *\n\t     * var deep = _.clone(users, true);\n\t     * deep[0] === users[0];\n\t     * // => false\n\t     *\n\t     * // using a customizer callback\n\t     * var el = _.clone(document.body, function(value) {\n\t     *   if (_.isElement(value)) {\n\t     *     return value.cloneNode(false);\n\t     *   }\n\t     * });\n\t     *\n\t     * el === document.body\n\t     * // => false\n\t     * el.nodeName\n\t     * // => BODY\n\t     * el.childNodes.length;\n\t     * // => 0\n\t     */\n\t    function clone(value, isDeep, customizer, thisArg) {\n\t      if (isDeep && typeof isDeep != 'boolean' && isIterateeCall(value, isDeep, customizer)) {\n\t        isDeep = false;\n\t      }\n\t      else if (typeof isDeep == 'function') {\n\t        thisArg = customizer;\n\t        customizer = isDeep;\n\t        isDeep = false;\n\t      }\n\t      customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 1);\n\t      return baseClone(value, isDeep, customizer);\n\t    }\n\t\n\t    /**\n\t     * Creates a deep clone of `value`. If `customizer` is provided it is invoked\n\t     * to produce the cloned values. If `customizer` returns `undefined` cloning\n\t     * is handled by the method instead. The `customizer` is bound to `thisArg`\n\t     * and invoked with two argument; (value [, index|key, object]).\n\t     *\n\t     * **Note:** This method is loosely based on the\n\t     * [structured clone algorithm](http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm).\n\t     * The enumerable properties of `arguments` objects and objects created by\n\t     * constructors other than `Object` are cloned to plain `Object` objects. An\n\t     * empty object is returned for uncloneable values such as functions, DOM nodes,\n\t     * Maps, Sets, and WeakMaps.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to deep clone.\n\t     * @param {Function} [customizer] The function to customize cloning values.\n\t     * @param {*} [thisArg] The `this` binding of `customizer`.\n\t     * @returns {*} Returns the deep cloned value.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney' },\n\t     *   { 'user': 'fred' }\n\t     * ];\n\t     *\n\t     * var deep = _.cloneDeep(users);\n\t     * deep[0] === users[0];\n\t     * // => false\n\t     *\n\t     * // using a customizer callback\n\t     * var el = _.cloneDeep(document.body, function(value) {\n\t     *   if (_.isElement(value)) {\n\t     *     return value.cloneNode(true);\n\t     *   }\n\t     * });\n\t     *\n\t     * el === document.body\n\t     * // => false\n\t     * el.nodeName\n\t     * // => BODY\n\t     * el.childNodes.length;\n\t     * // => 20\n\t     */\n\t    function cloneDeep(value, customizer, thisArg) {\n\t      customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 1);\n\t      return baseClone(value, true, customizer);\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is classified as an `arguments` object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t     * @example\n\t     *\n\t     * _.isArguments(function() { return arguments; }());\n\t     * // => true\n\t     *\n\t     * _.isArguments([1, 2, 3]);\n\t     * // => false\n\t     */\n\t    function isArguments(value) {\n\t      return isObjectLike(value) && isArrayLike(value) && objToString.call(value) == argsTag;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is classified as an `Array` object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t     * @example\n\t     *\n\t     * _.isArray([1, 2, 3]);\n\t     * // => true\n\t     *\n\t     * _.isArray(function() { return arguments; }());\n\t     * // => false\n\t     */\n\t    var isArray = nativeIsArray || function(value) {\n\t      return isObjectLike(value) && isLength(value.length) && objToString.call(value) == arrayTag;\n\t    };\n\t\n\t    /**\n\t     * Checks if `value` is classified as a boolean primitive or object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t     * @example\n\t     *\n\t     * _.isBoolean(false);\n\t     * // => true\n\t     *\n\t     * _.isBoolean(null);\n\t     * // => false\n\t     */\n\t    function isBoolean(value) {\n\t      return value === true || value === false || (isObjectLike(value) && objToString.call(value) == boolTag);\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is classified as a `Date` object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t     * @example\n\t     *\n\t     * _.isDate(new Date);\n\t     * // => true\n\t     *\n\t     * _.isDate('Mon April 23 2012');\n\t     * // => false\n\t     */\n\t    function isDate(value) {\n\t      return isObjectLike(value) && objToString.call(value) == dateTag;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is a DOM element.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n\t     * @example\n\t     *\n\t     * _.isElement(document.body);\n\t     * // => true\n\t     *\n\t     * _.isElement('<body>');\n\t     * // => false\n\t     */\n\t    function isElement(value) {\n\t      return !!value && value.nodeType === 1 && isObjectLike(value) &&\n\t        (objToString.call(value).indexOf('Element') > -1);\n\t    }\n\t    // Fallback for environments without DOM support.\n\t    if (!support.dom) {\n\t      isElement = function(value) {\n\t        return !!value && value.nodeType === 1 && isObjectLike(value) && !isPlainObject(value);\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is empty. A value is considered empty unless it is an\n\t     * `arguments` object, array, string, or jQuery-like collection with a length\n\t     * greater than `0` or an object with own enumerable properties.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {Array|Object|string} value The value to inspect.\n\t     * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n\t     * @example\n\t     *\n\t     * _.isEmpty(null);\n\t     * // => true\n\t     *\n\t     * _.isEmpty(true);\n\t     * // => true\n\t     *\n\t     * _.isEmpty(1);\n\t     * // => true\n\t     *\n\t     * _.isEmpty([1, 2, 3]);\n\t     * // => false\n\t     *\n\t     * _.isEmpty({ 'a': 1 });\n\t     * // => false\n\t     */\n\t    function isEmpty(value) {\n\t      if (value == null) {\n\t        return true;\n\t      }\n\t      if (isArrayLike(value) && (isArray(value) || isString(value) || isArguments(value) ||\n\t          (isObjectLike(value) && isFunction(value.splice)))) {\n\t        return !value.length;\n\t      }\n\t      return !keys(value).length;\n\t    }\n\t\n\t    /**\n\t     * Performs a deep comparison between two values to determine if they are\n\t     * equivalent. If `customizer` is provided it is invoked to compare values.\n\t     * If `customizer` returns `undefined` comparisons are handled by the method\n\t     * instead. The `customizer` is bound to `thisArg` and invoked with three\n\t     * arguments: (value, other [, index|key]).\n\t     *\n\t     * **Note:** This method supports comparing arrays, booleans, `Date` objects,\n\t     * numbers, `Object` objects, regexes, and strings. Objects are compared by\n\t     * their own, not inherited, enumerable properties. Functions and DOM nodes\n\t     * are **not** supported. Provide a customizer function to extend support\n\t     * for comparing other values.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to compare.\n\t     * @param {*} other The other value to compare.\n\t     * @param {Function} [customizer] The function to customize value comparisons.\n\t     * @param {*} [thisArg] The `this` binding of `customizer`.\n\t     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n\t     * @example\n\t     *\n\t     * var object = { 'user': 'fred' };\n\t     * var other = { 'user': 'fred' };\n\t     *\n\t     * object == other;\n\t     * // => false\n\t     *\n\t     * _.isEqual(object, other);\n\t     * // => true\n\t     *\n\t     * // using a customizer callback\n\t     * var array = ['hello', 'goodbye'];\n\t     * var other = ['hi', 'goodbye'];\n\t     *\n\t     * _.isEqual(array, other, function(value, other) {\n\t     *   if (_.every([value, other], RegExp.prototype.test, /^h(?:i|ello)$/)) {\n\t     *     return true;\n\t     *   }\n\t     * });\n\t     * // => true\n\t     */\n\t    function isEqual(value, other, customizer, thisArg) {\n\t      customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 3);\n\t      if (!customizer && isStrictComparable(value) && isStrictComparable(other)) {\n\t        return value === other;\n\t      }\n\t      var result = customizer ? customizer(value, other) : undefined;\n\t      return result === undefined ? baseIsEqual(value, other, customizer) : !!result;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n\t     * `SyntaxError`, `TypeError`, or `URIError` object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n\t     * @example\n\t     *\n\t     * _.isError(new Error);\n\t     * // => true\n\t     *\n\t     * _.isError(Error);\n\t     * // => false\n\t     */\n\t    function isError(value) {\n\t      return isObjectLike(value) && typeof value.message == 'string' && objToString.call(value) == errorTag;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is a finite primitive number.\n\t     *\n\t     * **Note:** This method is based on [`Number.isFinite`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.isfinite).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n\t     * @example\n\t     *\n\t     * _.isFinite(10);\n\t     * // => true\n\t     *\n\t     * _.isFinite('10');\n\t     * // => false\n\t     *\n\t     * _.isFinite(true);\n\t     * // => false\n\t     *\n\t     * _.isFinite(Object(10));\n\t     * // => false\n\t     *\n\t     * _.isFinite(Infinity);\n\t     * // => false\n\t     */\n\t    var isFinite = nativeNumIsFinite || function(value) {\n\t      return typeof value == 'number' && nativeIsFinite(value);\n\t    };\n\t\n\t    /**\n\t     * Checks if `value` is classified as a `Function` object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t     * @example\n\t     *\n\t     * _.isFunction(_);\n\t     * // => true\n\t     *\n\t     * _.isFunction(/abc/);\n\t     * // => false\n\t     */\n\t    var isFunction = !(baseIsFunction(/x/) || (Uint8Array && !baseIsFunction(Uint8Array))) ? baseIsFunction : function(value) {\n\t      // The use of `Object#toString` avoids issues with the `typeof` operator\n\t      // in older versions of Chrome and Safari which return 'function' for regexes\n\t      // and Safari 8 equivalents which return 'object' for typed array constructors.\n\t      return objToString.call(value) == funcTag;\n\t    };\n\t\n\t    /**\n\t     * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.\n\t     * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n\t     * @example\n\t     *\n\t     * _.isObject({});\n\t     * // => true\n\t     *\n\t     * _.isObject([1, 2, 3]);\n\t     * // => true\n\t     *\n\t     * _.isObject(1);\n\t     * // => false\n\t     */\n\t    function isObject(value) {\n\t      // Avoid a V8 JIT bug in Chrome 19-20.\n\t      // See https://code.google.com/p/v8/issues/detail?id=2291 for more details.\n\t      var type = typeof value;\n\t      return type == 'function' || (!!value && type == 'object');\n\t    }\n\t\n\t    /**\n\t     * Performs a deep comparison between `object` and `source` to determine if\n\t     * `object` contains equivalent property values. If `customizer` is provided\n\t     * it is invoked to compare values. If `customizer` returns `undefined`\n\t     * comparisons are handled by the method instead. The `customizer` is bound\n\t     * to `thisArg` and invoked with three arguments: (value, other, index|key).\n\t     *\n\t     * **Note:** This method supports comparing properties of arrays, booleans,\n\t     * `Date` objects, numbers, `Object` objects, regexes, and strings. Functions\n\t     * and DOM nodes are **not** supported. Provide a customizer function to extend\n\t     * support for comparing other values.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {Object} object The object to inspect.\n\t     * @param {Object} source The object of property values to match.\n\t     * @param {Function} [customizer] The function to customize value comparisons.\n\t     * @param {*} [thisArg] The `this` binding of `customizer`.\n\t     * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n\t     * @example\n\t     *\n\t     * var object = { 'user': 'fred', 'age': 40 };\n\t     *\n\t     * _.isMatch(object, { 'age': 40 });\n\t     * // => true\n\t     *\n\t     * _.isMatch(object, { 'age': 36 });\n\t     * // => false\n\t     *\n\t     * // using a customizer callback\n\t     * var object = { 'greeting': 'hello' };\n\t     * var source = { 'greeting': 'hi' };\n\t     *\n\t     * _.isMatch(object, source, function(value, other) {\n\t     *   return _.every([value, other], RegExp.prototype.test, /^h(?:i|ello)$/) || undefined;\n\t     * });\n\t     * // => true\n\t     */\n\t    function isMatch(object, source, customizer, thisArg) {\n\t      var props = keys(source),\n\t          length = props.length;\n\t\n\t      if (!length) {\n\t        return true;\n\t      }\n\t      if (object == null) {\n\t        return false;\n\t      }\n\t      customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 3);\n\t      object = toObject(object);\n\t      if (!customizer && length == 1) {\n\t        var key = props[0],\n\t            value = source[key];\n\t\n\t        if (isStrictComparable(value)) {\n\t          return value === object[key] && (value !== undefined || (key in object));\n\t        }\n\t      }\n\t      var values = Array(length),\n\t          strictCompareFlags = Array(length);\n\t\n\t      while (length--) {\n\t        value = values[length] = source[props[length]];\n\t        strictCompareFlags[length] = isStrictComparable(value);\n\t      }\n\t      return baseIsMatch(object, props, values, strictCompareFlags, customizer);\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is `NaN`.\n\t     *\n\t     * **Note:** This method is not the same as [`isNaN`](https://es5.github.io/#x15.1.2.4)\n\t     * which returns `true` for `undefined` and other non-numeric values.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n\t     * @example\n\t     *\n\t     * _.isNaN(NaN);\n\t     * // => true\n\t     *\n\t     * _.isNaN(new Number(NaN));\n\t     * // => true\n\t     *\n\t     * isNaN(undefined);\n\t     * // => true\n\t     *\n\t     * _.isNaN(undefined);\n\t     * // => false\n\t     */\n\t    function isNaN(value) {\n\t      // An `NaN` primitive is the only value that is not equal to itself.\n\t      // Perform the `toStringTag` check first to avoid errors with some host objects in IE.\n\t      return isNumber(value) && value != +value;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is a native function.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is a native function, else `false`.\n\t     * @example\n\t     *\n\t     * _.isNative(Array.prototype.push);\n\t     * // => true\n\t     *\n\t     * _.isNative(_);\n\t     * // => false\n\t     */\n\t    function isNative(value) {\n\t      if (value == null) {\n\t        return false;\n\t      }\n\t      if (objToString.call(value) == funcTag) {\n\t        return reIsNative.test(fnToString.call(value));\n\t      }\n\t      return isObjectLike(value) && reIsHostCtor.test(value);\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is `null`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n\t     * @example\n\t     *\n\t     * _.isNull(null);\n\t     * // => true\n\t     *\n\t     * _.isNull(void 0);\n\t     * // => false\n\t     */\n\t    function isNull(value) {\n\t      return value === null;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is classified as a `Number` primitive or object.\n\t     *\n\t     * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are classified\n\t     * as numbers, use the `_.isFinite` method.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t     * @example\n\t     *\n\t     * _.isNumber(8.4);\n\t     * // => true\n\t     *\n\t     * _.isNumber(NaN);\n\t     * // => true\n\t     *\n\t     * _.isNumber('8.4');\n\t     * // => false\n\t     */\n\t    function isNumber(value) {\n\t      return typeof value == 'number' || (isObjectLike(value) && objToString.call(value) == numberTag);\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is a plain object, that is, an object created by the\n\t     * `Object` constructor or one with a `[[Prototype]]` of `null`.\n\t     *\n\t     * **Note:** This method assumes objects created by the `Object` constructor\n\t     * have no inherited enumerable properties.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.a = 1;\n\t     * }\n\t     *\n\t     * _.isPlainObject(new Foo);\n\t     * // => false\n\t     *\n\t     * _.isPlainObject([1, 2, 3]);\n\t     * // => false\n\t     *\n\t     * _.isPlainObject({ 'x': 0, 'y': 0 });\n\t     * // => true\n\t     *\n\t     * _.isPlainObject(Object.create(null));\n\t     * // => true\n\t     */\n\t    var isPlainObject = !getPrototypeOf ? shimIsPlainObject : function(value) {\n\t      if (!(value && objToString.call(value) == objectTag)) {\n\t        return false;\n\t      }\n\t      var valueOf = value.valueOf,\n\t          objProto = isNative(valueOf) && (objProto = getPrototypeOf(valueOf)) && getPrototypeOf(objProto);\n\t\n\t      return objProto\n\t        ? (value == objProto || getPrototypeOf(value) == objProto)\n\t        : shimIsPlainObject(value);\n\t    };\n\t\n\t    /**\n\t     * Checks if `value` is classified as a `RegExp` object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t     * @example\n\t     *\n\t     * _.isRegExp(/abc/);\n\t     * // => true\n\t     *\n\t     * _.isRegExp('/abc/');\n\t     * // => false\n\t     */\n\t    function isRegExp(value) {\n\t      return isObjectLike(value) && objToString.call(value) == regexpTag;\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is classified as a `String` primitive or object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t     * @example\n\t     *\n\t     * _.isString('abc');\n\t     * // => true\n\t     *\n\t     * _.isString(1);\n\t     * // => false\n\t     */\n\t    function isString(value) {\n\t      return typeof value == 'string' || (isObjectLike(value) && objToString.call(value) == stringTag);\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is classified as a typed array.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t     * @example\n\t     *\n\t     * _.isTypedArray(new Uint8Array);\n\t     * // => true\n\t     *\n\t     * _.isTypedArray([]);\n\t     * // => false\n\t     */\n\t    function isTypedArray(value) {\n\t      return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[objToString.call(value)];\n\t    }\n\t\n\t    /**\n\t     * Checks if `value` is `undefined`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to check.\n\t     * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n\t     * @example\n\t     *\n\t     * _.isUndefined(void 0);\n\t     * // => true\n\t     *\n\t     * _.isUndefined(null);\n\t     * // => false\n\t     */\n\t    function isUndefined(value) {\n\t      return value === undefined;\n\t    }\n\t\n\t    /**\n\t     * Converts `value` to an array.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to convert.\n\t     * @returns {Array} Returns the converted array.\n\t     * @example\n\t     *\n\t     * (function() {\n\t     *   return _.toArray(arguments).slice(1);\n\t     * }(1, 2, 3));\n\t     * // => [2, 3]\n\t     */\n\t    function toArray(value) {\n\t      var length = value ? getLength(value) : 0;\n\t      if (!isLength(length)) {\n\t        return values(value);\n\t      }\n\t      if (!length) {\n\t        return [];\n\t      }\n\t      return arrayCopy(value);\n\t    }\n\t\n\t    /**\n\t     * Converts `value` to a plain object flattening inherited enumerable\n\t     * properties of `value` to own properties of the plain object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Lang\n\t     * @param {*} value The value to convert.\n\t     * @returns {Object} Returns the converted plain object.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.b = 2;\n\t     * }\n\t     *\n\t     * Foo.prototype.c = 3;\n\t     *\n\t     * _.assign({ 'a': 1 }, new Foo);\n\t     * // => { 'a': 1, 'b': 2 }\n\t     *\n\t     * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n\t     * // => { 'a': 1, 'b': 2, 'c': 3 }\n\t     */\n\t    function toPlainObject(value) {\n\t      return baseCopy(value, keysIn(value));\n\t    }\n\t\n\t    /**\n\t     * Assigns own enumerable properties of source object(s) to the destination\n\t     * object. Subsequent sources overwrite property assignments of previous sources.\n\t     * If `customizer` is provided it is invoked to produce the assigned values.\n\t     * The `customizer` is bound to `thisArg` and invoked with five arguments:\n\t     * (objectValue, sourceValue, key, object, source).\n\t     *\n\t     * **Note:** This method mutates `object` and is based on\n\t     * [`Object.assign`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.assign).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias extend\n\t     * @category Object\n\t     * @param {Object} object The destination object.\n\t     * @param {...Object} [sources] The source objects.\n\t     * @param {Function} [customizer] The function to customize assigned values.\n\t     * @param {*} [thisArg] The `this` binding of `customizer`.\n\t     * @returns {Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * _.assign({ 'user': 'barney' }, { 'age': 40 }, { 'user': 'fred' });\n\t     * // => { 'user': 'fred', 'age': 40 }\n\t     *\n\t     * // using a customizer callback\n\t     * var defaults = _.partialRight(_.assign, function(value, other) {\n\t     *   return _.isUndefined(value) ? other : value;\n\t     * });\n\t     *\n\t     * defaults({ 'user': 'barney' }, { 'age': 36 }, { 'user': 'fred' });\n\t     * // => { 'user': 'barney', 'age': 36 }\n\t     */\n\t    var assign = createAssigner(function(object, source, customizer) {\n\t      return customizer\n\t        ? assignWith(object, source, customizer)\n\t        : baseAssign(object, source);\n\t    });\n\t\n\t    /**\n\t     * Creates an object that inherits from the given `prototype` object. If a\n\t     * `properties` object is provided its own enumerable properties are assigned\n\t     * to the created object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} prototype The object to inherit from.\n\t     * @param {Object} [properties] The properties to assign to the object.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Object} Returns the new object.\n\t     * @example\n\t     *\n\t     * function Shape() {\n\t     *   this.x = 0;\n\t     *   this.y = 0;\n\t     * }\n\t     *\n\t     * function Circle() {\n\t     *   Shape.call(this);\n\t     * }\n\t     *\n\t     * Circle.prototype = _.create(Shape.prototype, {\n\t     *   'constructor': Circle\n\t     * });\n\t     *\n\t     * var circle = new Circle;\n\t     * circle instanceof Circle;\n\t     * // => true\n\t     *\n\t     * circle instanceof Shape;\n\t     * // => true\n\t     */\n\t    function create(prototype, properties, guard) {\n\t      var result = baseCreate(prototype);\n\t      if (guard && isIterateeCall(prototype, properties, guard)) {\n\t        properties = null;\n\t      }\n\t      return properties ? baseAssign(result, properties) : result;\n\t    }\n\t\n\t    /**\n\t     * Assigns own enumerable properties of source object(s) to the destination\n\t     * object for all destination properties that resolve to `undefined`. Once a\n\t     * property is set, additional values of the same property are ignored.\n\t     *\n\t     * **Note:** This method mutates `object`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The destination object.\n\t     * @param {...Object} [sources] The source objects.\n\t     * @returns {Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * _.defaults({ 'user': 'barney' }, { 'age': 36 }, { 'user': 'fred' });\n\t     * // => { 'user': 'barney', 'age': 36 }\n\t     */\n\t    var defaults = restParam(function(args) {\n\t      var object = args[0];\n\t      if (object == null) {\n\t        return object;\n\t      }\n\t      args.push(assignDefaults);\n\t      return assign.apply(undefined, args);\n\t    });\n\t\n\t    /**\n\t     * This method is like `_.find` except that it returns the key of the first\n\t     * element `predicate` returns truthy for instead of the element itself.\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to search.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {string|undefined} Returns the key of the matched element, else `undefined`.\n\t     * @example\n\t     *\n\t     * var users = {\n\t     *   'barney':  { 'age': 36, 'active': true },\n\t     *   'fred':    { 'age': 40, 'active': false },\n\t     *   'pebbles': { 'age': 1,  'active': true }\n\t     * };\n\t     *\n\t     * _.findKey(users, function(chr) {\n\t     *   return chr.age < 40;\n\t     * });\n\t     * // => 'barney' (iteration order is not guaranteed)\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.findKey(users, { 'age': 1, 'active': true });\n\t     * // => 'pebbles'\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.findKey(users, 'active', false);\n\t     * // => 'fred'\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.findKey(users, 'active');\n\t     * // => 'barney'\n\t     */\n\t    var findKey = createFindKey(baseForOwn);\n\t\n\t    /**\n\t     * This method is like `_.findKey` except that it iterates over elements of\n\t     * a collection in the opposite order.\n\t     *\n\t     * If a property name is provided for `predicate` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `predicate` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to search.\n\t     * @param {Function|Object|string} [predicate=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {string|undefined} Returns the key of the matched element, else `undefined`.\n\t     * @example\n\t     *\n\t     * var users = {\n\t     *   'barney':  { 'age': 36, 'active': true },\n\t     *   'fred':    { 'age': 40, 'active': false },\n\t     *   'pebbles': { 'age': 1,  'active': true }\n\t     * };\n\t     *\n\t     * _.findLastKey(users, function(chr) {\n\t     *   return chr.age < 40;\n\t     * });\n\t     * // => returns `pebbles` assuming `_.findKey` returns `barney`\n\t     *\n\t     * // using the `_.matches` callback shorthand\n\t     * _.findLastKey(users, { 'age': 36, 'active': true });\n\t     * // => 'barney'\n\t     *\n\t     * // using the `_.matchesProperty` callback shorthand\n\t     * _.findLastKey(users, 'active', false);\n\t     * // => 'fred'\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.findLastKey(users, 'active');\n\t     * // => 'pebbles'\n\t     */\n\t    var findLastKey = createFindKey(baseForOwnRight);\n\t\n\t    /**\n\t     * Iterates over own and inherited enumerable properties of an object invoking\n\t     * `iteratee` for each property. The `iteratee` is bound to `thisArg` and invoked\n\t     * with three arguments: (value, key, object). Iteratee functions may exit\n\t     * iteration early by explicitly returning `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.a = 1;\n\t     *   this.b = 2;\n\t     * }\n\t     *\n\t     * Foo.prototype.c = 3;\n\t     *\n\t     * _.forIn(new Foo, function(value, key) {\n\t     *   console.log(key);\n\t     * });\n\t     * // => logs 'a', 'b', and 'c' (iteration order is not guaranteed)\n\t     */\n\t    var forIn = createForIn(baseFor);\n\t\n\t    /**\n\t     * This method is like `_.forIn` except that it iterates over properties of\n\t     * `object` in the opposite order.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.a = 1;\n\t     *   this.b = 2;\n\t     * }\n\t     *\n\t     * Foo.prototype.c = 3;\n\t     *\n\t     * _.forInRight(new Foo, function(value, key) {\n\t     *   console.log(key);\n\t     * });\n\t     * // => logs 'c', 'b', and 'a' assuming `_.forIn ` logs 'a', 'b', and 'c'\n\t     */\n\t    var forInRight = createForIn(baseForRight);\n\t\n\t    /**\n\t     * Iterates over own enumerable properties of an object invoking `iteratee`\n\t     * for each property. The `iteratee` is bound to `thisArg` and invoked with\n\t     * three arguments: (value, key, object). Iteratee functions may exit iteration\n\t     * early by explicitly returning `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.a = 1;\n\t     *   this.b = 2;\n\t     * }\n\t     *\n\t     * Foo.prototype.c = 3;\n\t     *\n\t     * _.forOwn(new Foo, function(value, key) {\n\t     *   console.log(key);\n\t     * });\n\t     * // => logs 'a' and 'b' (iteration order is not guaranteed)\n\t     */\n\t    var forOwn = createForOwn(baseForOwn);\n\t\n\t    /**\n\t     * This method is like `_.forOwn` except that it iterates over properties of\n\t     * `object` in the opposite order.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.a = 1;\n\t     *   this.b = 2;\n\t     * }\n\t     *\n\t     * Foo.prototype.c = 3;\n\t     *\n\t     * _.forOwnRight(new Foo, function(value, key) {\n\t     *   console.log(key);\n\t     * });\n\t     * // => logs 'b' and 'a' assuming `_.forOwn` logs 'a' and 'b'\n\t     */\n\t    var forOwnRight = createForOwn(baseForOwnRight);\n\t\n\t    /**\n\t     * Creates an array of function property names from all enumerable properties,\n\t     * own and inherited, of `object`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias methods\n\t     * @category Object\n\t     * @param {Object} object The object to inspect.\n\t     * @returns {Array} Returns the new array of property names.\n\t     * @example\n\t     *\n\t     * _.functions(_);\n\t     * // => ['after', 'ary', 'assign', ...]\n\t     */\n\t    function functions(object) {\n\t      return baseFunctions(object, keysIn(object));\n\t    }\n\t\n\t    /**\n\t     * Gets the property value of `path` on `object`. If the resolved value is\n\t     * `undefined` the `defaultValue` is used in its place.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to query.\n\t     * @param {Array|string} path The path of the property to get.\n\t     * @param {*} [defaultValue] The value returned if the resolved value is `undefined`.\n\t     * @returns {*} Returns the resolved value.\n\t     * @example\n\t     *\n\t     * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n\t     *\n\t     * _.get(object, 'a[0].b.c');\n\t     * // => 3\n\t     *\n\t     * _.get(object, ['a', '0', 'b', 'c']);\n\t     * // => 3\n\t     *\n\t     * _.get(object, 'a.b.c', 'default');\n\t     * // => 'default'\n\t     */\n\t    function get(object, path, defaultValue) {\n\t      var result = object == null ? undefined : baseGet(object, toPath(path), path + '');\n\t      return result === undefined ? defaultValue : result;\n\t    }\n\t\n\t    /**\n\t     * Checks if `path` is a direct property.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to query.\n\t     * @param {Array|string} path The path to check.\n\t     * @returns {boolean} Returns `true` if `path` is a direct property, else `false`.\n\t     * @example\n\t     *\n\t     * var object = { 'a': { 'b': { 'c': 3 } } };\n\t     *\n\t     * _.has(object, 'a');\n\t     * // => true\n\t     *\n\t     * _.has(object, 'a.b.c');\n\t     * // => true\n\t     *\n\t     * _.has(object, ['a', 'b', 'c']);\n\t     * // => true\n\t     */\n\t    function has(object, path) {\n\t      if (object == null) {\n\t        return false;\n\t      }\n\t      var result = hasOwnProperty.call(object, path);\n\t      if (!result && !isKey(path)) {\n\t        path = toPath(path);\n\t        object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\n\t        path = last(path);\n\t        result = object != null && hasOwnProperty.call(object, path);\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Creates an object composed of the inverted keys and values of `object`.\n\t     * If `object` contains duplicate values, subsequent values overwrite property\n\t     * assignments of previous values unless `multiValue` is `true`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to invert.\n\t     * @param {boolean} [multiValue] Allow multiple values per key.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Object} Returns the new inverted object.\n\t     * @example\n\t     *\n\t     * var object = { 'a': 1, 'b': 2, 'c': 1 };\n\t     *\n\t     * _.invert(object);\n\t     * // => { '1': 'c', '2': 'b' }\n\t     *\n\t     * // with `multiValue`\n\t     * _.invert(object, true);\n\t     * // => { '1': ['a', 'c'], '2': ['b'] }\n\t     */\n\t    function invert(object, multiValue, guard) {\n\t      if (guard && isIterateeCall(object, multiValue, guard)) {\n\t        multiValue = null;\n\t      }\n\t      var index = -1,\n\t          props = keys(object),\n\t          length = props.length,\n\t          result = {};\n\t\n\t      while (++index < length) {\n\t        var key = props[index],\n\t            value = object[key];\n\t\n\t        if (multiValue) {\n\t          if (hasOwnProperty.call(result, value)) {\n\t            result[value].push(key);\n\t          } else {\n\t            result[value] = [key];\n\t          }\n\t        }\n\t        else {\n\t          result[value] = key;\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Creates an array of the own enumerable property names of `object`.\n\t     *\n\t     * **Note:** Non-object values are coerced to objects. See the\n\t     * [ES spec](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.keys)\n\t     * for more details.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to query.\n\t     * @returns {Array} Returns the array of property names.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.a = 1;\n\t     *   this.b = 2;\n\t     * }\n\t     *\n\t     * Foo.prototype.c = 3;\n\t     *\n\t     * _.keys(new Foo);\n\t     * // => ['a', 'b'] (iteration order is not guaranteed)\n\t     *\n\t     * _.keys('hi');\n\t     * // => ['0', '1']\n\t     */\n\t    var keys = !nativeKeys ? shimKeys : function(object) {\n\t      var Ctor = object != null && object.constructor;\n\t      if ((typeof Ctor == 'function' && Ctor.prototype === object) ||\n\t          (typeof object != 'function' && isArrayLike(object))) {\n\t        return shimKeys(object);\n\t      }\n\t      return isObject(object) ? nativeKeys(object) : [];\n\t    };\n\t\n\t    /**\n\t     * Creates an array of the own and inherited enumerable property names of `object`.\n\t     *\n\t     * **Note:** Non-object values are coerced to objects.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to query.\n\t     * @returns {Array} Returns the array of property names.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.a = 1;\n\t     *   this.b = 2;\n\t     * }\n\t     *\n\t     * Foo.prototype.c = 3;\n\t     *\n\t     * _.keysIn(new Foo);\n\t     * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n\t     */\n\t    function keysIn(object) {\n\t      if (object == null) {\n\t        return [];\n\t      }\n\t      if (!isObject(object)) {\n\t        object = Object(object);\n\t      }\n\t      var length = object.length;\n\t      length = (length && isLength(length) &&\n\t        (isArray(object) || (support.nonEnumArgs && isArguments(object))) && length) || 0;\n\t\n\t      var Ctor = object.constructor,\n\t          index = -1,\n\t          isProto = typeof Ctor == 'function' && Ctor.prototype === object,\n\t          result = Array(length),\n\t          skipIndexes = length > 0;\n\t\n\t      while (++index < length) {\n\t        result[index] = (index + '');\n\t      }\n\t      for (var key in object) {\n\t        if (!(skipIndexes && isIndex(key, length)) &&\n\t            !(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n\t          result.push(key);\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * The opposite of `_.mapValues`; this method creates an object with the\n\t     * same values as `object` and keys generated by running each own enumerable\n\t     * property of `object` through `iteratee`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Object} Returns the new mapped object.\n\t     * @example\n\t     *\n\t     * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n\t     *   return key + value;\n\t     * });\n\t     * // => { 'a1': 1, 'b2': 2 }\n\t     */\n\t    var mapKeys = createObjectMapper(true);\n\t\n\t    /**\n\t     * Creates an object with the same keys as `object` and values generated by\n\t     * running each own enumerable property of `object` through `iteratee`. The\n\t     * iteratee function is bound to `thisArg` and invoked with three arguments:\n\t     * (value, key, object).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to iterate over.\n\t     * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n\t     *  per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Object} Returns the new mapped object.\n\t     * @example\n\t     *\n\t     * _.mapValues({ 'a': 1, 'b': 2 }, function(n) {\n\t     *   return n * 3;\n\t     * });\n\t     * // => { 'a': 3, 'b': 6 }\n\t     *\n\t     * var users = {\n\t     *   'fred':    { 'user': 'fred',    'age': 40 },\n\t     *   'pebbles': { 'user': 'pebbles', 'age': 1 }\n\t     * };\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.mapValues(users, 'age');\n\t     * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n\t     */\n\t    var mapValues = createObjectMapper();\n\t\n\t    /**\n\t     * Recursively merges own enumerable properties of the source object(s), that\n\t     * don't resolve to `undefined` into the destination object. Subsequent sources\n\t     * overwrite property assignments of previous sources. If `customizer` is\n\t     * provided it is invoked to produce the merged values of the destination and\n\t     * source properties. If `customizer` returns `undefined` merging is handled\n\t     * by the method instead. The `customizer` is bound to `thisArg` and invoked\n\t     * with five arguments: (objectValue, sourceValue, key, object, source).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The destination object.\n\t     * @param {...Object} [sources] The source objects.\n\t     * @param {Function} [customizer] The function to customize assigned values.\n\t     * @param {*} [thisArg] The `this` binding of `customizer`.\n\t     * @returns {Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * var users = {\n\t     *   'data': [{ 'user': 'barney' }, { 'user': 'fred' }]\n\t     * };\n\t     *\n\t     * var ages = {\n\t     *   'data': [{ 'age': 36 }, { 'age': 40 }]\n\t     * };\n\t     *\n\t     * _.merge(users, ages);\n\t     * // => { 'data': [{ 'user': 'barney', 'age': 36 }, { 'user': 'fred', 'age': 40 }] }\n\t     *\n\t     * // using a customizer callback\n\t     * var object = {\n\t     *   'fruits': ['apple'],\n\t     *   'vegetables': ['beet']\n\t     * };\n\t     *\n\t     * var other = {\n\t     *   'fruits': ['banana'],\n\t     *   'vegetables': ['carrot']\n\t     * };\n\t     *\n\t     * _.merge(object, other, function(a, b) {\n\t     *   if (_.isArray(a)) {\n\t     *     return a.concat(b);\n\t     *   }\n\t     * });\n\t     * // => { 'fruits': ['apple', 'banana'], 'vegetables': ['beet', 'carrot'] }\n\t     */\n\t    var merge = createAssigner(baseMerge);\n\t\n\t    /**\n\t     * The opposite of `_.pick`; this method creates an object composed of the\n\t     * own and inherited enumerable properties of `object` that are not omitted.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The source object.\n\t     * @param {Function|...(string|string[])} [predicate] The function invoked per\n\t     *  iteration or property names to omit, specified as individual property\n\t     *  names or arrays of property names.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Object} Returns the new object.\n\t     * @example\n\t     *\n\t     * var object = { 'user': 'fred', 'age': 40 };\n\t     *\n\t     * _.omit(object, 'age');\n\t     * // => { 'user': 'fred' }\n\t     *\n\t     * _.omit(object, _.isNumber);\n\t     * // => { 'user': 'fred' }\n\t     */\n\t    var omit = restParam(function(object, props) {\n\t      if (object == null) {\n\t        return {};\n\t      }\n\t      if (typeof props[0] != 'function') {\n\t        var props = arrayMap(baseFlatten(props), String);\n\t        return pickByArray(object, baseDifference(keysIn(object), props));\n\t      }\n\t      var predicate = bindCallback(props[0], props[1], 3);\n\t      return pickByCallback(object, function(value, key, object) {\n\t        return !predicate(value, key, object);\n\t      });\n\t    });\n\t\n\t    /**\n\t     * Creates a two dimensional array of the key-value pairs for `object`,\n\t     * e.g. `[[key1, value1], [key2, value2]]`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to query.\n\t     * @returns {Array} Returns the new array of key-value pairs.\n\t     * @example\n\t     *\n\t     * _.pairs({ 'barney': 36, 'fred': 40 });\n\t     * // => [['barney', 36], ['fred', 40]] (iteration order is not guaranteed)\n\t     */\n\t    function pairs(object) {\n\t      var index = -1,\n\t          props = keys(object),\n\t          length = props.length,\n\t          result = Array(length);\n\t\n\t      while (++index < length) {\n\t        var key = props[index];\n\t        result[index] = [key, object[key]];\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Creates an object composed of the picked `object` properties. Property\n\t     * names may be specified as individual arguments or as arrays of property\n\t     * names. If `predicate` is provided it is invoked for each property of `object`\n\t     * picking the properties `predicate` returns truthy for. The predicate is\n\t     * bound to `thisArg` and invoked with three arguments: (value, key, object).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The source object.\n\t     * @param {Function|...(string|string[])} [predicate] The function invoked per\n\t     *  iteration or property names to pick, specified as individual property\n\t     *  names or arrays of property names.\n\t     * @param {*} [thisArg] The `this` binding of `predicate`.\n\t     * @returns {Object} Returns the new object.\n\t     * @example\n\t     *\n\t     * var object = { 'user': 'fred', 'age': 40 };\n\t     *\n\t     * _.pick(object, 'user');\n\t     * // => { 'user': 'fred' }\n\t     *\n\t     * _.pick(object, _.isString);\n\t     * // => { 'user': 'fred' }\n\t     */\n\t    var pick = restParam(function(object, props) {\n\t      if (object == null) {\n\t        return {};\n\t      }\n\t      return typeof props[0] == 'function'\n\t        ? pickByCallback(object, bindCallback(props[0], props[1], 3))\n\t        : pickByArray(object, baseFlatten(props));\n\t    });\n\t\n\t    /**\n\t     * This method is like `_.get` except that if the resolved value is a function\n\t     * it is invoked with the `this` binding of its parent object and its result\n\t     * is returned.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to query.\n\t     * @param {Array|string} path The path of the property to resolve.\n\t     * @param {*} [defaultValue] The value returned if the resolved value is `undefined`.\n\t     * @returns {*} Returns the resolved value.\n\t     * @example\n\t     *\n\t     * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n\t     *\n\t     * _.result(object, 'a[0].b.c1');\n\t     * // => 3\n\t     *\n\t     * _.result(object, 'a[0].b.c2');\n\t     * // => 4\n\t     *\n\t     * _.result(object, 'a.b.c', 'default');\n\t     * // => 'default'\n\t     *\n\t     * _.result(object, 'a.b.c', _.constant('default'));\n\t     * // => 'default'\n\t     */\n\t    function result(object, path, defaultValue) {\n\t      var result = object == null ? undefined : object[path];\n\t      if (result === undefined) {\n\t        if (object != null && !isKey(path, object)) {\n\t          path = toPath(path);\n\t          object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\n\t          result = object == null ? undefined : object[last(path)];\n\t        }\n\t        result = result === undefined ? defaultValue : result;\n\t      }\n\t      return isFunction(result) ? result.call(object) : result;\n\t    }\n\t\n\t    /**\n\t     * Sets the property value of `path` on `object`. If a portion of `path`\n\t     * does not exist it is created.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to augment.\n\t     * @param {Array|string} path The path of the property to set.\n\t     * @param {*} value The value to set.\n\t     * @returns {Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n\t     *\n\t     * _.set(object, 'a[0].b.c', 4);\n\t     * console.log(object.a[0].b.c);\n\t     * // => 4\n\t     *\n\t     * _.set(object, 'x[0].y.z', 5);\n\t     * console.log(object.x[0].y.z);\n\t     * // => 5\n\t     */\n\t    function set(object, path, value) {\n\t      if (object == null) {\n\t        return object;\n\t      }\n\t      var pathKey = (path + '');\n\t      path = (object[pathKey] != null || isKey(path, object)) ? [pathKey] : toPath(path);\n\t\n\t      var index = -1,\n\t          length = path.length,\n\t          endIndex = length - 1,\n\t          nested = object;\n\t\n\t      while (nested != null && ++index < length) {\n\t        var key = path[index];\n\t        if (isObject(nested)) {\n\t          if (index == endIndex) {\n\t            nested[key] = value;\n\t          } else if (nested[key] == null) {\n\t            nested[key] = isIndex(path[index + 1]) ? [] : {};\n\t          }\n\t        }\n\t        nested = nested[key];\n\t      }\n\t      return object;\n\t    }\n\t\n\t    /**\n\t     * An alternative to `_.reduce`; this method transforms `object` to a new\n\t     * `accumulator` object which is the result of running each of its own enumerable\n\t     * properties through `iteratee`, with each invocation potentially mutating\n\t     * the `accumulator` object. The `iteratee` is bound to `thisArg` and invoked\n\t     * with four arguments: (accumulator, value, key, object). Iteratee functions\n\t     * may exit iteration early by explicitly returning `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Array|Object} object The object to iterate over.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [accumulator] The custom accumulator value.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {*} Returns the accumulated value.\n\t     * @example\n\t     *\n\t     * _.transform([2, 3, 4], function(result, n) {\n\t     *   result.push(n *= n);\n\t     *   return n % 2 == 0;\n\t     * });\n\t     * // => [4, 9]\n\t     *\n\t     * _.transform({ 'a': 1, 'b': 2 }, function(result, n, key) {\n\t     *   result[key] = n * 3;\n\t     * });\n\t     * // => { 'a': 3, 'b': 6 }\n\t     */\n\t    function transform(object, iteratee, accumulator, thisArg) {\n\t      var isArr = isArray(object) || isTypedArray(object);\n\t      iteratee = getCallback(iteratee, thisArg, 4);\n\t\n\t      if (accumulator == null) {\n\t        if (isArr || isObject(object)) {\n\t          var Ctor = object.constructor;\n\t          if (isArr) {\n\t            accumulator = isArray(object) ? new Ctor : [];\n\t          } else {\n\t            accumulator = baseCreate(isFunction(Ctor) && Ctor.prototype);\n\t          }\n\t        } else {\n\t          accumulator = {};\n\t        }\n\t      }\n\t      (isArr ? arrayEach : baseForOwn)(object, function(value, index, object) {\n\t        return iteratee(accumulator, value, index, object);\n\t      });\n\t      return accumulator;\n\t    }\n\t\n\t    /**\n\t     * Creates an array of the own enumerable property values of `object`.\n\t     *\n\t     * **Note:** Non-object values are coerced to objects.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to query.\n\t     * @returns {Array} Returns the array of property values.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.a = 1;\n\t     *   this.b = 2;\n\t     * }\n\t     *\n\t     * Foo.prototype.c = 3;\n\t     *\n\t     * _.values(new Foo);\n\t     * // => [1, 2] (iteration order is not guaranteed)\n\t     *\n\t     * _.values('hi');\n\t     * // => ['h', 'i']\n\t     */\n\t    function values(object) {\n\t      return baseValues(object, keys(object));\n\t    }\n\t\n\t    /**\n\t     * Creates an array of the own and inherited enumerable property values\n\t     * of `object`.\n\t     *\n\t     * **Note:** Non-object values are coerced to objects.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Object\n\t     * @param {Object} object The object to query.\n\t     * @returns {Array} Returns the array of property values.\n\t     * @example\n\t     *\n\t     * function Foo() {\n\t     *   this.a = 1;\n\t     *   this.b = 2;\n\t     * }\n\t     *\n\t     * Foo.prototype.c = 3;\n\t     *\n\t     * _.valuesIn(new Foo);\n\t     * // => [1, 2, 3] (iteration order is not guaranteed)\n\t     */\n\t    function valuesIn(object) {\n\t      return baseValues(object, keysIn(object));\n\t    }\n\t\n\t    /**\n\t     * Checks if `n` is between `start` and up to but not including, `end`. If\n\t     * `end` is not specified it is set to `start` with `start` then set to `0`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Number\n\t     * @param {number} n The number to check.\n\t     * @param {number} [start=0] The start of the range.\n\t     * @param {number} end The end of the range.\n\t     * @returns {boolean} Returns `true` if `n` is in the range, else `false`.\n\t     * @example\n\t     *\n\t     * _.inRange(3, 2, 4);\n\t     * // => true\n\t     *\n\t     * _.inRange(4, 8);\n\t     * // => true\n\t     *\n\t     * _.inRange(4, 2);\n\t     * // => false\n\t     *\n\t     * _.inRange(2, 2);\n\t     * // => false\n\t     *\n\t     * _.inRange(1.2, 2);\n\t     * // => true\n\t     *\n\t     * _.inRange(5.2, 4);\n\t     * // => false\n\t     */\n\t    function inRange(value, start, end) {\n\t      start = +start || 0;\n\t      if (typeof end === 'undefined') {\n\t        end = start;\n\t        start = 0;\n\t      } else {\n\t        end = +end || 0;\n\t      }\n\t      return value >= nativeMin(start, end) && value < nativeMax(start, end);\n\t    }\n\t\n\t    /**\n\t     * Produces a random number between `min` and `max` (inclusive). If only one\n\t     * argument is provided a number between `0` and the given number is returned.\n\t     * If `floating` is `true`, or either `min` or `max` are floats, a floating-point\n\t     * number is returned instead of an integer.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Number\n\t     * @param {number} [min=0] The minimum possible value.\n\t     * @param {number} [max=1] The maximum possible value.\n\t     * @param {boolean} [floating] Specify returning a floating-point number.\n\t     * @returns {number} Returns the random number.\n\t     * @example\n\t     *\n\t     * _.random(0, 5);\n\t     * // => an integer between 0 and 5\n\t     *\n\t     * _.random(5);\n\t     * // => also an integer between 0 and 5\n\t     *\n\t     * _.random(5, true);\n\t     * // => a floating-point number between 0 and 5\n\t     *\n\t     * _.random(1.2, 5.2);\n\t     * // => a floating-point number between 1.2 and 5.2\n\t     */\n\t    function random(min, max, floating) {\n\t      if (floating && isIterateeCall(min, max, floating)) {\n\t        max = floating = null;\n\t      }\n\t      var noMin = min == null,\n\t          noMax = max == null;\n\t\n\t      if (floating == null) {\n\t        if (noMax && typeof min == 'boolean') {\n\t          floating = min;\n\t          min = 1;\n\t        }\n\t        else if (typeof max == 'boolean') {\n\t          floating = max;\n\t          noMax = true;\n\t        }\n\t      }\n\t      if (noMin && noMax) {\n\t        max = 1;\n\t        noMax = false;\n\t      }\n\t      min = +min || 0;\n\t      if (noMax) {\n\t        max = min;\n\t        min = 0;\n\t      } else {\n\t        max = +max || 0;\n\t      }\n\t      if (floating || min % 1 || max % 1) {\n\t        var rand = nativeRandom();\n\t        return nativeMin(min + (rand * (max - min + parseFloat('1e-' + ((rand + '').length - 1)))), max);\n\t      }\n\t      return baseRandom(min, max);\n\t    }\n\t\n\t    /**\n\t     * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to convert.\n\t     * @returns {string} Returns the camel cased string.\n\t     * @example\n\t     *\n\t     * _.camelCase('Foo Bar');\n\t     * // => 'fooBar'\n\t     *\n\t     * _.camelCase('--foo-bar');\n\t     * // => 'fooBar'\n\t     *\n\t     * _.camelCase('__foo_bar__');\n\t     * // => 'fooBar'\n\t     */\n\t    var camelCase = createCompounder(function(result, word, index) {\n\t      word = word.toLowerCase();\n\t      return result + (index ? (word.charAt(0).toUpperCase() + word.slice(1)) : word);\n\t    });\n\t\n\t    /**\n\t     * Capitalizes the first character of `string`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to capitalize.\n\t     * @returns {string} Returns the capitalized string.\n\t     * @example\n\t     *\n\t     * _.capitalize('fred');\n\t     * // => 'Fred'\n\t     */\n\t    function capitalize(string) {\n\t      string = baseToString(string);\n\t      return string && (string.charAt(0).toUpperCase() + string.slice(1));\n\t    }\n\t\n\t    /**\n\t     * Deburrs `string` by converting [latin-1 supplementary letters](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n\t     * to basic latin letters and removing [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to deburr.\n\t     * @returns {string} Returns the deburred string.\n\t     * @example\n\t     *\n\t     * _.deburr('déjà vu');\n\t     * // => 'deja vu'\n\t     */\n\t    function deburr(string) {\n\t      string = baseToString(string);\n\t      return string && string.replace(reLatin1, deburrLetter).replace(reComboMark, '');\n\t    }\n\t\n\t    /**\n\t     * Checks if `string` ends with the given target string.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to search.\n\t     * @param {string} [target] The string to search for.\n\t     * @param {number} [position=string.length] The position to search from.\n\t     * @returns {boolean} Returns `true` if `string` ends with `target`, else `false`.\n\t     * @example\n\t     *\n\t     * _.endsWith('abc', 'c');\n\t     * // => true\n\t     *\n\t     * _.endsWith('abc', 'b');\n\t     * // => false\n\t     *\n\t     * _.endsWith('abc', 'b', 2);\n\t     * // => true\n\t     */\n\t    function endsWith(string, target, position) {\n\t      string = baseToString(string);\n\t      target = (target + '');\n\t\n\t      var length = string.length;\n\t      position = position === undefined\n\t        ? length\n\t        : nativeMin(position < 0 ? 0 : (+position || 0), length);\n\t\n\t      position -= target.length;\n\t      return position >= 0 && string.indexOf(target, position) == position;\n\t    }\n\t\n\t    /**\n\t     * Converts the characters \"&\", \"<\", \">\", '\"', \"'\", and \"\\`\", in `string` to\n\t     * their corresponding HTML entities.\n\t     *\n\t     * **Note:** No other characters are escaped. To escape additional characters\n\t     * use a third-party library like [_he_](https://mths.be/he).\n\t     *\n\t     * Though the \">\" character is escaped for symmetry, characters like\n\t     * \">\" and \"/\" don't require escaping in HTML and have no special meaning\n\t     * unless they're part of a tag or unquoted attribute value.\n\t     * See [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n\t     * (under \"semi-related fun fact\") for more details.\n\t     *\n\t     * Backticks are escaped because in Internet Explorer < 9, they can break out\n\t     * of attribute values or HTML comments. See [#59](https://html5sec.org/#59),\n\t     * [#102](https://html5sec.org/#102), [#108](https://html5sec.org/#108), and\n\t     * [#133](https://html5sec.org/#133) of the [HTML5 Security Cheatsheet](https://html5sec.org/)\n\t     * for more details.\n\t     *\n\t     * When working with HTML you should always [quote attribute values](http://wonko.com/post/html-escaping)\n\t     * to reduce XSS vectors.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to escape.\n\t     * @returns {string} Returns the escaped string.\n\t     * @example\n\t     *\n\t     * _.escape('fred, barney, & pebbles');\n\t     * // => 'fred, barney, &amp; pebbles'\n\t     */\n\t    function escape(string) {\n\t      // Reset `lastIndex` because in IE < 9 `String#replace` does not.\n\t      string = baseToString(string);\n\t      return (string && reHasUnescapedHtml.test(string))\n\t        ? string.replace(reUnescapedHtml, escapeHtmlChar)\n\t        : string;\n\t    }\n\t\n\t    /**\n\t     * Escapes the `RegExp` special characters \"\\\", \"/\", \"^\", \"$\", \".\", \"|\", \"?\",\n\t     * \"*\", \"+\", \"(\", \")\", \"[\", \"]\", \"{\" and \"}\" in `string`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to escape.\n\t     * @returns {string} Returns the escaped string.\n\t     * @example\n\t     *\n\t     * _.escapeRegExp('[lodash](https://lodash.com/)');\n\t     * // => '\\[lodash\\]\\(https:\\/\\/lodash\\.com\\/\\)'\n\t     */\n\t    function escapeRegExp(string) {\n\t      string = baseToString(string);\n\t      return (string && reHasRegExpChars.test(string))\n\t        ? string.replace(reRegExpChars, '\\\\$&')\n\t        : string;\n\t    }\n\t\n\t    /**\n\t     * Converts `string` to [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to convert.\n\t     * @returns {string} Returns the kebab cased string.\n\t     * @example\n\t     *\n\t     * _.kebabCase('Foo Bar');\n\t     * // => 'foo-bar'\n\t     *\n\t     * _.kebabCase('fooBar');\n\t     * // => 'foo-bar'\n\t     *\n\t     * _.kebabCase('__foo_bar__');\n\t     * // => 'foo-bar'\n\t     */\n\t    var kebabCase = createCompounder(function(result, word, index) {\n\t      return result + (index ? '-' : '') + word.toLowerCase();\n\t    });\n\t\n\t    /**\n\t     * Pads `string` on the left and right sides if it is shorter than `length`.\n\t     * Padding characters are truncated if they can't be evenly divided by `length`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to pad.\n\t     * @param {number} [length=0] The padding length.\n\t     * @param {string} [chars=' '] The string used as padding.\n\t     * @returns {string} Returns the padded string.\n\t     * @example\n\t     *\n\t     * _.pad('abc', 8);\n\t     * // => '  abc   '\n\t     *\n\t     * _.pad('abc', 8, '_-');\n\t     * // => '_-abc_-_'\n\t     *\n\t     * _.pad('abc', 3);\n\t     * // => 'abc'\n\t     */\n\t    function pad(string, length, chars) {\n\t      string = baseToString(string);\n\t      length = +length;\n\t\n\t      var strLength = string.length;\n\t      if (strLength >= length || !nativeIsFinite(length)) {\n\t        return string;\n\t      }\n\t      var mid = (length - strLength) / 2,\n\t          leftLength = floor(mid),\n\t          rightLength = ceil(mid);\n\t\n\t      chars = createPadding('', rightLength, chars);\n\t      return chars.slice(0, leftLength) + string + chars;\n\t    }\n\t\n\t    /**\n\t     * Pads `string` on the left side if it is shorter than `length`. Padding\n\t     * characters are truncated if they exceed `length`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to pad.\n\t     * @param {number} [length=0] The padding length.\n\t     * @param {string} [chars=' '] The string used as padding.\n\t     * @returns {string} Returns the padded string.\n\t     * @example\n\t     *\n\t     * _.padLeft('abc', 6);\n\t     * // => '   abc'\n\t     *\n\t     * _.padLeft('abc', 6, '_-');\n\t     * // => '_-_abc'\n\t     *\n\t     * _.padLeft('abc', 3);\n\t     * // => 'abc'\n\t     */\n\t    var padLeft = createPadDir();\n\t\n\t    /**\n\t     * Pads `string` on the right side if it is shorter than `length`. Padding\n\t     * characters are truncated if they exceed `length`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to pad.\n\t     * @param {number} [length=0] The padding length.\n\t     * @param {string} [chars=' '] The string used as padding.\n\t     * @returns {string} Returns the padded string.\n\t     * @example\n\t     *\n\t     * _.padRight('abc', 6);\n\t     * // => 'abc   '\n\t     *\n\t     * _.padRight('abc', 6, '_-');\n\t     * // => 'abc_-_'\n\t     *\n\t     * _.padRight('abc', 3);\n\t     * // => 'abc'\n\t     */\n\t    var padRight = createPadDir(true);\n\t\n\t    /**\n\t     * Converts `string` to an integer of the specified radix. If `radix` is\n\t     * `undefined` or `0`, a `radix` of `10` is used unless `value` is a hexadecimal,\n\t     * in which case a `radix` of `16` is used.\n\t     *\n\t     * **Note:** This method aligns with the [ES5 implementation](https://es5.github.io/#E)\n\t     * of `parseInt`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} string The string to convert.\n\t     * @param {number} [radix] The radix to interpret `value` by.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {number} Returns the converted integer.\n\t     * @example\n\t     *\n\t     * _.parseInt('08');\n\t     * // => 8\n\t     *\n\t     * _.map(['6', '08', '10'], _.parseInt);\n\t     * // => [6, 8, 10]\n\t     */\n\t    function parseInt(string, radix, guard) {\n\t      if (guard && isIterateeCall(string, radix, guard)) {\n\t        radix = 0;\n\t      }\n\t      return nativeParseInt(string, radix);\n\t    }\n\t    // Fallback for environments with pre-ES5 implementations.\n\t    if (nativeParseInt(whitespace + '08') != 8) {\n\t      parseInt = function(string, radix, guard) {\n\t        // Firefox < 21 and Opera < 15 follow ES3 for `parseInt`.\n\t        // Chrome fails to trim leading <BOM> whitespace characters.\n\t        // See https://code.google.com/p/v8/issues/detail?id=3109 for more details.\n\t        if (guard ? isIterateeCall(string, radix, guard) : radix == null) {\n\t          radix = 0;\n\t        } else if (radix) {\n\t          radix = +radix;\n\t        }\n\t        string = trim(string);\n\t        return nativeParseInt(string, radix || (reHasHexPrefix.test(string) ? 16 : 10));\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Repeats the given string `n` times.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to repeat.\n\t     * @param {number} [n=0] The number of times to repeat the string.\n\t     * @returns {string} Returns the repeated string.\n\t     * @example\n\t     *\n\t     * _.repeat('*', 3);\n\t     * // => '***'\n\t     *\n\t     * _.repeat('abc', 2);\n\t     * // => 'abcabc'\n\t     *\n\t     * _.repeat('abc', 0);\n\t     * // => ''\n\t     */\n\t    function repeat(string, n) {\n\t      var result = '';\n\t      string = baseToString(string);\n\t      n = +n;\n\t      if (n < 1 || !string || !nativeIsFinite(n)) {\n\t        return result;\n\t      }\n\t      // Leverage the exponentiation by squaring algorithm for a faster repeat.\n\t      // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n\t      do {\n\t        if (n % 2) {\n\t          result += string;\n\t        }\n\t        n = floor(n / 2);\n\t        string += string;\n\t      } while (n);\n\t\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Converts `string` to [snake case](https://en.wikipedia.org/wiki/Snake_case).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to convert.\n\t     * @returns {string} Returns the snake cased string.\n\t     * @example\n\t     *\n\t     * _.snakeCase('Foo Bar');\n\t     * // => 'foo_bar'\n\t     *\n\t     * _.snakeCase('fooBar');\n\t     * // => 'foo_bar'\n\t     *\n\t     * _.snakeCase('--foo-bar');\n\t     * // => 'foo_bar'\n\t     */\n\t    var snakeCase = createCompounder(function(result, word, index) {\n\t      return result + (index ? '_' : '') + word.toLowerCase();\n\t    });\n\t\n\t    /**\n\t     * Converts `string` to [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to convert.\n\t     * @returns {string} Returns the start cased string.\n\t     * @example\n\t     *\n\t     * _.startCase('--foo-bar');\n\t     * // => 'Foo Bar'\n\t     *\n\t     * _.startCase('fooBar');\n\t     * // => 'Foo Bar'\n\t     *\n\t     * _.startCase('__foo_bar__');\n\t     * // => 'Foo Bar'\n\t     */\n\t    var startCase = createCompounder(function(result, word, index) {\n\t      return result + (index ? ' ' : '') + (word.charAt(0).toUpperCase() + word.slice(1));\n\t    });\n\t\n\t    /**\n\t     * Checks if `string` starts with the given target string.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to search.\n\t     * @param {string} [target] The string to search for.\n\t     * @param {number} [position=0] The position to search from.\n\t     * @returns {boolean} Returns `true` if `string` starts with `target`, else `false`.\n\t     * @example\n\t     *\n\t     * _.startsWith('abc', 'a');\n\t     * // => true\n\t     *\n\t     * _.startsWith('abc', 'b');\n\t     * // => false\n\t     *\n\t     * _.startsWith('abc', 'b', 1);\n\t     * // => true\n\t     */\n\t    function startsWith(string, target, position) {\n\t      string = baseToString(string);\n\t      position = position == null\n\t        ? 0\n\t        : nativeMin(position < 0 ? 0 : (+position || 0), string.length);\n\t\n\t      return string.lastIndexOf(target, position) == position;\n\t    }\n\t\n\t    /**\n\t     * Creates a compiled template function that can interpolate data properties\n\t     * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n\t     * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n\t     * properties may be accessed as free variables in the template. If a setting\n\t     * object is provided it takes precedence over `_.templateSettings` values.\n\t     *\n\t     * **Note:** In the development build `_.template` utilizes\n\t     * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n\t     * for easier debugging.\n\t     *\n\t     * For more information on precompiling templates see\n\t     * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n\t     *\n\t     * For more information on Chrome extension sandboxes see\n\t     * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The template string.\n\t     * @param {Object} [options] The options object.\n\t     * @param {RegExp} [options.escape] The HTML \"escape\" delimiter.\n\t     * @param {RegExp} [options.evaluate] The \"evaluate\" delimiter.\n\t     * @param {Object} [options.imports] An object to import into the template as free variables.\n\t     * @param {RegExp} [options.interpolate] The \"interpolate\" delimiter.\n\t     * @param {string} [options.sourceURL] The sourceURL of the template's compiled source.\n\t     * @param {string} [options.variable] The data object variable name.\n\t     * @param- {Object} [otherOptions] Enables the legacy `options` param signature.\n\t     * @returns {Function} Returns the compiled template function.\n\t     * @example\n\t     *\n\t     * // using the \"interpolate\" delimiter to create a compiled template\n\t     * var compiled = _.template('hello <%= user %>!');\n\t     * compiled({ 'user': 'fred' });\n\t     * // => 'hello fred!'\n\t     *\n\t     * // using the HTML \"escape\" delimiter to escape data property values\n\t     * var compiled = _.template('<b><%- value %></b>');\n\t     * compiled({ 'value': '<script>' });\n\t     * // => '<b>&lt;script&gt;</b>'\n\t     *\n\t     * // using the \"evaluate\" delimiter to execute JavaScript and generate HTML\n\t     * var compiled = _.template('<% _.forEach(users, function(user) { %><li><%- user %></li><% }); %>');\n\t     * compiled({ 'users': ['fred', 'barney'] });\n\t     * // => '<li>fred</li><li>barney</li>'\n\t     *\n\t     * // using the internal `print` function in \"evaluate\" delimiters\n\t     * var compiled = _.template('<% print(\"hello \" + user); %>!');\n\t     * compiled({ 'user': 'barney' });\n\t     * // => 'hello barney!'\n\t     *\n\t     * // using the ES delimiter as an alternative to the default \"interpolate\" delimiter\n\t     * var compiled = _.template('hello ${ user }!');\n\t     * compiled({ 'user': 'pebbles' });\n\t     * // => 'hello pebbles!'\n\t     *\n\t     * // using custom template delimiters\n\t     * _.templateSettings.interpolate = /{{([\\s\\S]+?)}}/g;\n\t     * var compiled = _.template('hello {{ user }}!');\n\t     * compiled({ 'user': 'mustache' });\n\t     * // => 'hello mustache!'\n\t     *\n\t     * // using backslashes to treat delimiters as plain text\n\t     * var compiled = _.template('<%= \"\\\\<%- value %\\\\>\" %>');\n\t     * compiled({ 'value': 'ignored' });\n\t     * // => '<%- value %>'\n\t     *\n\t     * // using the `imports` option to import `jQuery` as `jq`\n\t     * var text = '<% jq.each(users, function(user) { %><li><%- user %></li><% }); %>';\n\t     * var compiled = _.template(text, { 'imports': { 'jq': jQuery } });\n\t     * compiled({ 'users': ['fred', 'barney'] });\n\t     * // => '<li>fred</li><li>barney</li>'\n\t     *\n\t     * // using the `sourceURL` option to specify a custom sourceURL for the template\n\t     * var compiled = _.template('hello <%= user %>!', { 'sourceURL': '/basic/greeting.jst' });\n\t     * compiled(data);\n\t     * // => find the source of \"greeting.jst\" under the Sources tab or Resources panel of the web inspector\n\t     *\n\t     * // using the `variable` option to ensure a with-statement isn't used in the compiled template\n\t     * var compiled = _.template('hi <%= data.user %>!', { 'variable': 'data' });\n\t     * compiled.source;\n\t     * // => function(data) {\n\t     * //   var __t, __p = '';\n\t     * //   __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!';\n\t     * //   return __p;\n\t     * // }\n\t     *\n\t     * // using the `source` property to inline compiled templates for meaningful\n\t     * // line numbers in error messages and a stack trace\n\t     * fs.writeFileSync(path.join(cwd, 'jst.js'), '\\\n\t     *   var JST = {\\\n\t     *     \"main\": ' + _.template(mainText).source + '\\\n\t     *   };\\\n\t     * ');\n\t     */\n\t    function template(string, options, otherOptions) {\n\t      // Based on John Resig's `tmpl` implementation (http://ejohn.org/blog/javascript-micro-templating/)\n\t      // and Laura Doktorova's doT.js (https://github.com/olado/doT).\n\t      var settings = lodash.templateSettings;\n\t\n\t      if (otherOptions && isIterateeCall(string, options, otherOptions)) {\n\t        options = otherOptions = null;\n\t      }\n\t      string = baseToString(string);\n\t      options = assignWith(baseAssign({}, otherOptions || options), settings, assignOwnDefaults);\n\t\n\t      var imports = assignWith(baseAssign({}, options.imports), settings.imports, assignOwnDefaults),\n\t          importsKeys = keys(imports),\n\t          importsValues = baseValues(imports, importsKeys);\n\t\n\t      var isEscaping,\n\t          isEvaluating,\n\t          index = 0,\n\t          interpolate = options.interpolate || reNoMatch,\n\t          source = \"__p += '\";\n\t\n\t      // Compile the regexp to match each delimiter.\n\t      var reDelimiters = RegExp(\n\t        (options.escape || reNoMatch).source + '|' +\n\t        interpolate.source + '|' +\n\t        (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + '|' +\n\t        (options.evaluate || reNoMatch).source + '|$'\n\t      , 'g');\n\t\n\t      // Use a sourceURL for easier debugging.\n\t      var sourceURL = '//# sourceURL=' +\n\t        ('sourceURL' in options\n\t          ? options.sourceURL\n\t          : ('lodash.templateSources[' + (++templateCounter) + ']')\n\t        ) + '\\n';\n\t\n\t      string.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {\n\t        interpolateValue || (interpolateValue = esTemplateValue);\n\t\n\t        // Escape characters that can't be included in string literals.\n\t        source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);\n\t\n\t        // Replace delimiters with snippets.\n\t        if (escapeValue) {\n\t          isEscaping = true;\n\t          source += \"' +\\n__e(\" + escapeValue + \") +\\n'\";\n\t        }\n\t        if (evaluateValue) {\n\t          isEvaluating = true;\n\t          source += \"';\\n\" + evaluateValue + \";\\n__p += '\";\n\t        }\n\t        if (interpolateValue) {\n\t          source += \"' +\\n((__t = (\" + interpolateValue + \")) == null ? '' : __t) +\\n'\";\n\t        }\n\t        index = offset + match.length;\n\t\n\t        // The JS engine embedded in Adobe products requires returning the `match`\n\t        // string in order to produce the correct `offset` value.\n\t        return match;\n\t      });\n\t\n\t      source += \"';\\n\";\n\t\n\t      // If `variable` is not specified wrap a with-statement around the generated\n\t      // code to add the data object to the top of the scope chain.\n\t      var variable = options.variable;\n\t      if (!variable) {\n\t        source = 'with (obj) {\\n' + source + '\\n}\\n';\n\t      }\n\t      // Cleanup code by stripping empty strings.\n\t      source = (isEvaluating ? source.replace(reEmptyStringLeading, '') : source)\n\t        .replace(reEmptyStringMiddle, '$1')\n\t        .replace(reEmptyStringTrailing, '$1;');\n\t\n\t      // Frame code as the function body.\n\t      source = 'function(' + (variable || 'obj') + ') {\\n' +\n\t        (variable\n\t          ? ''\n\t          : 'obj || (obj = {});\\n'\n\t        ) +\n\t        \"var __t, __p = ''\" +\n\t        (isEscaping\n\t           ? ', __e = _.escape'\n\t           : ''\n\t        ) +\n\t        (isEvaluating\n\t          ? ', __j = Array.prototype.join;\\n' +\n\t            \"function print() { __p += __j.call(arguments, '') }\\n\"\n\t          : ';\\n'\n\t        ) +\n\t        source +\n\t        'return __p\\n}';\n\t\n\t      var result = attempt(function() {\n\t        return Function(importsKeys, sourceURL + 'return ' + source).apply(undefined, importsValues);\n\t      });\n\t\n\t      // Provide the compiled function's source by its `toString` method or\n\t      // the `source` property as a convenience for inlining compiled templates.\n\t      result.source = source;\n\t      if (isError(result)) {\n\t        throw result;\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Removes leading and trailing whitespace or specified characters from `string`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to trim.\n\t     * @param {string} [chars=whitespace] The characters to trim.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {string} Returns the trimmed string.\n\t     * @example\n\t     *\n\t     * _.trim('  abc  ');\n\t     * // => 'abc'\n\t     *\n\t     * _.trim('-_-abc-_-', '_-');\n\t     * // => 'abc'\n\t     *\n\t     * _.map(['  foo  ', '  bar  '], _.trim);\n\t     * // => ['foo', 'bar']\n\t     */\n\t    function trim(string, chars, guard) {\n\t      var value = string;\n\t      string = baseToString(string);\n\t      if (!string) {\n\t        return string;\n\t      }\n\t      if (guard ? isIterateeCall(value, chars, guard) : chars == null) {\n\t        return string.slice(trimmedLeftIndex(string), trimmedRightIndex(string) + 1);\n\t      }\n\t      chars = (chars + '');\n\t      return string.slice(charsLeftIndex(string, chars), charsRightIndex(string, chars) + 1);\n\t    }\n\t\n\t    /**\n\t     * Removes leading whitespace or specified characters from `string`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to trim.\n\t     * @param {string} [chars=whitespace] The characters to trim.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {string} Returns the trimmed string.\n\t     * @example\n\t     *\n\t     * _.trimLeft('  abc  ');\n\t     * // => 'abc  '\n\t     *\n\t     * _.trimLeft('-_-abc-_-', '_-');\n\t     * // => 'abc-_-'\n\t     */\n\t    function trimLeft(string, chars, guard) {\n\t      var value = string;\n\t      string = baseToString(string);\n\t      if (!string) {\n\t        return string;\n\t      }\n\t      if (guard ? isIterateeCall(value, chars, guard) : chars == null) {\n\t        return string.slice(trimmedLeftIndex(string));\n\t      }\n\t      return string.slice(charsLeftIndex(string, (chars + '')));\n\t    }\n\t\n\t    /**\n\t     * Removes trailing whitespace or specified characters from `string`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to trim.\n\t     * @param {string} [chars=whitespace] The characters to trim.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {string} Returns the trimmed string.\n\t     * @example\n\t     *\n\t     * _.trimRight('  abc  ');\n\t     * // => '  abc'\n\t     *\n\t     * _.trimRight('-_-abc-_-', '_-');\n\t     * // => '-_-abc'\n\t     */\n\t    function trimRight(string, chars, guard) {\n\t      var value = string;\n\t      string = baseToString(string);\n\t      if (!string) {\n\t        return string;\n\t      }\n\t      if (guard ? isIterateeCall(value, chars, guard) : chars == null) {\n\t        return string.slice(0, trimmedRightIndex(string) + 1);\n\t      }\n\t      return string.slice(0, charsRightIndex(string, (chars + '')) + 1);\n\t    }\n\t\n\t    /**\n\t     * Truncates `string` if it is longer than the given maximum string length.\n\t     * The last characters of the truncated string are replaced with the omission\n\t     * string which defaults to \"...\".\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to truncate.\n\t     * @param {Object|number} [options] The options object or maximum string length.\n\t     * @param {number} [options.length=30] The maximum string length.\n\t     * @param {string} [options.omission='...'] The string to indicate text is omitted.\n\t     * @param {RegExp|string} [options.separator] The separator pattern to truncate to.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {string} Returns the truncated string.\n\t     * @example\n\t     *\n\t     * _.trunc('hi-diddly-ho there, neighborino');\n\t     * // => 'hi-diddly-ho there, neighbo...'\n\t     *\n\t     * _.trunc('hi-diddly-ho there, neighborino', 24);\n\t     * // => 'hi-diddly-ho there, n...'\n\t     *\n\t     * _.trunc('hi-diddly-ho there, neighborino', {\n\t     *   'length': 24,\n\t     *   'separator': ' '\n\t     * });\n\t     * // => 'hi-diddly-ho there,...'\n\t     *\n\t     * _.trunc('hi-diddly-ho there, neighborino', {\n\t     *   'length': 24,\n\t     *   'separator': /,? +/\n\t     * });\n\t     * // => 'hi-diddly-ho there...'\n\t     *\n\t     * _.trunc('hi-diddly-ho there, neighborino', {\n\t     *   'omission': ' [...]'\n\t     * });\n\t     * // => 'hi-diddly-ho there, neig [...]'\n\t     */\n\t    function trunc(string, options, guard) {\n\t      if (guard && isIterateeCall(string, options, guard)) {\n\t        options = null;\n\t      }\n\t      var length = DEFAULT_TRUNC_LENGTH,\n\t          omission = DEFAULT_TRUNC_OMISSION;\n\t\n\t      if (options != null) {\n\t        if (isObject(options)) {\n\t          var separator = 'separator' in options ? options.separator : separator;\n\t          length = 'length' in options ? (+options.length || 0) : length;\n\t          omission = 'omission' in options ? baseToString(options.omission) : omission;\n\t        } else {\n\t          length = +options || 0;\n\t        }\n\t      }\n\t      string = baseToString(string);\n\t      if (length >= string.length) {\n\t        return string;\n\t      }\n\t      var end = length - omission.length;\n\t      if (end < 1) {\n\t        return omission;\n\t      }\n\t      var result = string.slice(0, end);\n\t      if (separator == null) {\n\t        return result + omission;\n\t      }\n\t      if (isRegExp(separator)) {\n\t        if (string.slice(end).search(separator)) {\n\t          var match,\n\t              newEnd,\n\t              substring = string.slice(0, end);\n\t\n\t          if (!separator.global) {\n\t            separator = RegExp(separator.source, (reFlags.exec(separator) || '') + 'g');\n\t          }\n\t          separator.lastIndex = 0;\n\t          while ((match = separator.exec(substring))) {\n\t            newEnd = match.index;\n\t          }\n\t          result = result.slice(0, newEnd == null ? end : newEnd);\n\t        }\n\t      } else if (string.indexOf(separator, end) != end) {\n\t        var index = result.lastIndexOf(separator);\n\t        if (index > -1) {\n\t          result = result.slice(0, index);\n\t        }\n\t      }\n\t      return result + omission;\n\t    }\n\t\n\t    /**\n\t     * The inverse of `_.escape`; this method converts the HTML entities\n\t     * `&amp;`, `&lt;`, `&gt;`, `&quot;`, `&#39;`, and `&#96;` in `string` to their\n\t     * corresponding characters.\n\t     *\n\t     * **Note:** No other HTML entities are unescaped. To unescape additional HTML\n\t     * entities use a third-party library like [_he_](https://mths.be/he).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to unescape.\n\t     * @returns {string} Returns the unescaped string.\n\t     * @example\n\t     *\n\t     * _.unescape('fred, barney, &amp; pebbles');\n\t     * // => 'fred, barney, & pebbles'\n\t     */\n\t    function unescape(string) {\n\t      string = baseToString(string);\n\t      return (string && reHasEscapedHtml.test(string))\n\t        ? string.replace(reEscapedHtml, unescapeHtmlChar)\n\t        : string;\n\t    }\n\t\n\t    /**\n\t     * Splits `string` into an array of its words.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category String\n\t     * @param {string} [string=''] The string to inspect.\n\t     * @param {RegExp|string} [pattern] The pattern to match words.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Array} Returns the words of `string`.\n\t     * @example\n\t     *\n\t     * _.words('fred, barney, & pebbles');\n\t     * // => ['fred', 'barney', 'pebbles']\n\t     *\n\t     * _.words('fred, barney, & pebbles', /[^, ]+/g);\n\t     * // => ['fred', 'barney', '&', 'pebbles']\n\t     */\n\t    function words(string, pattern, guard) {\n\t      if (guard && isIterateeCall(string, pattern, guard)) {\n\t        pattern = null;\n\t      }\n\t      string = baseToString(string);\n\t      return string.match(pattern || reWords) || [];\n\t    }\n\t\n\t    /**\n\t     * Attempts to invoke `func`, returning either the result or the caught error\n\t     * object. Any additional arguments are provided to `func` when it is invoked.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {Function} func The function to attempt.\n\t     * @returns {*} Returns the `func` result or error object.\n\t     * @example\n\t     *\n\t     * // avoid throwing errors for invalid selectors\n\t     * var elements = _.attempt(function(selector) {\n\t     *   return document.querySelectorAll(selector);\n\t     * }, '>_>');\n\t     *\n\t     * if (_.isError(elements)) {\n\t     *   elements = [];\n\t     * }\n\t     */\n\t    var attempt = restParam(function(func, args) {\n\t      try {\n\t        return func.apply(undefined, args);\n\t      } catch(e) {\n\t        return isError(e) ? e : new Error(e);\n\t      }\n\t    });\n\t\n\t    /**\n\t     * Creates a function that invokes `func` with the `this` binding of `thisArg`\n\t     * and arguments of the created function. If `func` is a property name the\n\t     * created callback returns the property value for a given element. If `func`\n\t     * is an object the created callback returns `true` for elements that contain\n\t     * the equivalent object properties, otherwise it returns `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @alias iteratee\n\t     * @category Utility\n\t     * @param {*} [func=_.identity] The value to convert to a callback.\n\t     * @param {*} [thisArg] The `this` binding of `func`.\n\t     * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n\t     * @returns {Function} Returns the callback.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36 },\n\t     *   { 'user': 'fred',   'age': 40 }\n\t     * ];\n\t     *\n\t     * // wrap to create custom callback shorthands\n\t     * _.callback = _.wrap(_.callback, function(callback, func, thisArg) {\n\t     *   var match = /^(.+?)__([gl]t)(.+)$/.exec(func);\n\t     *   if (!match) {\n\t     *     return callback(func, thisArg);\n\t     *   }\n\t     *   return function(object) {\n\t     *     return match[2] == 'gt'\n\t     *       ? object[match[1]] > match[3]\n\t     *       : object[match[1]] < match[3];\n\t     *   };\n\t     * });\n\t     *\n\t     * _.filter(users, 'age__gt36');\n\t     * // => [{ 'user': 'fred', 'age': 40 }]\n\t     */\n\t    function callback(func, thisArg, guard) {\n\t      if (guard && isIterateeCall(func, thisArg, guard)) {\n\t        thisArg = null;\n\t      }\n\t      return isObjectLike(func)\n\t        ? matches(func)\n\t        : baseCallback(func, thisArg);\n\t    }\n\t\n\t    /**\n\t     * Creates a function that returns `value`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {*} value The value to return from the new function.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var object = { 'user': 'fred' };\n\t     * var getter = _.constant(object);\n\t     *\n\t     * getter() === object;\n\t     * // => true\n\t     */\n\t    function constant(value) {\n\t      return function() {\n\t        return value;\n\t      };\n\t    }\n\t\n\t    /**\n\t     * This method returns the first argument provided to it.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {*} value Any value.\n\t     * @returns {*} Returns `value`.\n\t     * @example\n\t     *\n\t     * var object = { 'user': 'fred' };\n\t     *\n\t     * _.identity(object) === object;\n\t     * // => true\n\t     */\n\t    function identity(value) {\n\t      return value;\n\t    }\n\t\n\t    /**\n\t     * Creates a function which performs a deep comparison between a given object\n\t     * and `source`, returning `true` if the given object has equivalent property\n\t     * values, else `false`.\n\t     *\n\t     * **Note:** This method supports comparing arrays, booleans, `Date` objects,\n\t     * numbers, `Object` objects, regexes, and strings. Objects are compared by\n\t     * their own, not inherited, enumerable properties. For comparing a single\n\t     * own or inherited property value see `_.matchesProperty`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {Object} source The object of property values to match.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36, 'active': true },\n\t     *   { 'user': 'fred',   'age': 40, 'active': false }\n\t     * ];\n\t     *\n\t     * _.filter(users, _.matches({ 'age': 40, 'active': false }));\n\t     * // => [{ 'user': 'fred', 'age': 40, 'active': false }]\n\t     */\n\t    function matches(source) {\n\t      return baseMatches(baseClone(source, true));\n\t    }\n\t\n\t    /**\n\t     * Creates a function which compares the property value of `path` on a given\n\t     * object to `value`.\n\t     *\n\t     * **Note:** This method supports comparing arrays, booleans, `Date` objects,\n\t     * numbers, `Object` objects, regexes, and strings. Objects are compared by\n\t     * their own, not inherited, enumerable properties.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {Array|string} path The path of the property to get.\n\t     * @param {*} value The value to compare.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney' },\n\t     *   { 'user': 'fred' }\n\t     * ];\n\t     *\n\t     * _.find(users, _.matchesProperty('user', 'fred'));\n\t     * // => { 'user': 'fred' }\n\t     */\n\t    function matchesProperty(path, value) {\n\t      return baseMatchesProperty(path, baseClone(value, true));\n\t    }\n\t\n\t    /**\n\t     * Creates a function which invokes the method at `path` on a given object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {Array|string} path The path of the method to invoke.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var objects = [\n\t     *   { 'a': { 'b': { 'c': _.constant(2) } } },\n\t     *   { 'a': { 'b': { 'c': _.constant(1) } } }\n\t     * ];\n\t     *\n\t     * _.map(objects, _.method('a.b.c'));\n\t     * // => [2, 1]\n\t     *\n\t     * _.invoke(_.sortBy(objects, _.method(['a', 'b', 'c'])), 'a.b.c');\n\t     * // => [1, 2]\n\t     */\n\t    var method = restParam(function(path, args) {\n\t      return function(object) {\n\t        return invokePath(object, path, args);\n\t      };\n\t    });\n\t\n\t    /**\n\t     * The opposite of `_.method`; this method creates a function which invokes\n\t     * the method at a given path on `object`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {Object} object The object to query.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var array = _.times(3, _.constant),\n\t     *     object = { 'a': array, 'b': array, 'c': array };\n\t     *\n\t     * _.map(['a[2]', 'c[0]'], _.methodOf(object));\n\t     * // => [2, 0]\n\t     *\n\t     * _.map([['a', '2'], ['c', '0']], _.methodOf(object));\n\t     * // => [2, 0]\n\t     */\n\t    var methodOf = restParam(function(object, args) {\n\t      return function(path) {\n\t        return invokePath(object, path, args);\n\t      };\n\t    });\n\t\n\t    /**\n\t     * Adds all own enumerable function properties of a source object to the\n\t     * destination object. If `object` is a function then methods are added to\n\t     * its prototype as well.\n\t     *\n\t     * **Note:** Use `_.runInContext` to create a pristine `lodash` function to\n\t     * avoid conflicts caused by modifying the original.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {Function|Object} [object=lodash] The destination object.\n\t     * @param {Object} source The object of functions to add.\n\t     * @param {Object} [options] The options object.\n\t     * @param {boolean} [options.chain=true] Specify whether the functions added\n\t     *  are chainable.\n\t     * @returns {Function|Object} Returns `object`.\n\t     * @example\n\t     *\n\t     * function vowels(string) {\n\t     *   return _.filter(string, function(v) {\n\t     *     return /[aeiou]/i.test(v);\n\t     *   });\n\t     * }\n\t     *\n\t     * // use `_.runInContext` to avoid conflicts (esp. in Node.js)\n\t     * var _ = require('lodash').runInContext();\n\t     *\n\t     * _.mixin({ 'vowels': vowels });\n\t     * _.vowels('fred');\n\t     * // => ['e']\n\t     *\n\t     * _('fred').vowels().value();\n\t     * // => ['e']\n\t     *\n\t     * _.mixin({ 'vowels': vowels }, { 'chain': false });\n\t     * _('fred').vowels();\n\t     * // => ['e']\n\t     */\n\t    function mixin(object, source, options) {\n\t      if (options == null) {\n\t        var isObj = isObject(source),\n\t            props = isObj && keys(source),\n\t            methodNames = props && props.length && baseFunctions(source, props);\n\t\n\t        if (!(methodNames ? methodNames.length : isObj)) {\n\t          methodNames = false;\n\t          options = source;\n\t          source = object;\n\t          object = this;\n\t        }\n\t      }\n\t      if (!methodNames) {\n\t        methodNames = baseFunctions(source, keys(source));\n\t      }\n\t      var chain = true,\n\t          index = -1,\n\t          isFunc = isFunction(object),\n\t          length = methodNames.length;\n\t\n\t      if (options === false) {\n\t        chain = false;\n\t      } else if (isObject(options) && 'chain' in options) {\n\t        chain = options.chain;\n\t      }\n\t      while (++index < length) {\n\t        var methodName = methodNames[index],\n\t            func = source[methodName];\n\t\n\t        object[methodName] = func;\n\t        if (isFunc) {\n\t          object.prototype[methodName] = (function(func) {\n\t            return function() {\n\t              var chainAll = this.__chain__;\n\t              if (chain || chainAll) {\n\t                var result = object(this.__wrapped__),\n\t                    actions = result.__actions__ = arrayCopy(this.__actions__);\n\t\n\t                actions.push({ 'func': func, 'args': arguments, 'thisArg': object });\n\t                result.__chain__ = chainAll;\n\t                return result;\n\t              }\n\t              var args = [this.value()];\n\t              push.apply(args, arguments);\n\t              return func.apply(object, args);\n\t            };\n\t          }(func));\n\t        }\n\t      }\n\t      return object;\n\t    }\n\t\n\t    /**\n\t     * Reverts the `_` variable to its previous value and returns a reference to\n\t     * the `lodash` function.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @returns {Function} Returns the `lodash` function.\n\t     * @example\n\t     *\n\t     * var lodash = _.noConflict();\n\t     */\n\t    function noConflict() {\n\t      context._ = oldDash;\n\t      return this;\n\t    }\n\t\n\t    /**\n\t     * A no-operation function which returns `undefined` regardless of the\n\t     * arguments it receives.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @example\n\t     *\n\t     * var object = { 'user': 'fred' };\n\t     *\n\t     * _.noop(object) === undefined;\n\t     * // => true\n\t     */\n\t    function noop() {\n\t      // No operation performed.\n\t    }\n\t\n\t    /**\n\t     * Creates a function which returns the property value at `path` on a\n\t     * given object.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {Array|string} path The path of the property to get.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var objects = [\n\t     *   { 'a': { 'b': { 'c': 2 } } },\n\t     *   { 'a': { 'b': { 'c': 1 } } }\n\t     * ];\n\t     *\n\t     * _.map(objects, _.property('a.b.c'));\n\t     * // => [2, 1]\n\t     *\n\t     * _.pluck(_.sortBy(objects, _.property(['a', 'b', 'c'])), 'a.b.c');\n\t     * // => [1, 2]\n\t     */\n\t    function property(path) {\n\t      return isKey(path) ? baseProperty(path) : basePropertyDeep(path);\n\t    }\n\t\n\t    /**\n\t     * The opposite of `_.property`; this method creates a function which returns\n\t     * the property value at a given path on `object`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {Object} object The object to query.\n\t     * @returns {Function} Returns the new function.\n\t     * @example\n\t     *\n\t     * var array = [0, 1, 2],\n\t     *     object = { 'a': array, 'b': array, 'c': array };\n\t     *\n\t     * _.map(['a[2]', 'c[0]'], _.propertyOf(object));\n\t     * // => [2, 0]\n\t     *\n\t     * _.map([['a', '2'], ['c', '0']], _.propertyOf(object));\n\t     * // => [2, 0]\n\t     */\n\t    function propertyOf(object) {\n\t      return function(path) {\n\t        return baseGet(object, toPath(path), path + '');\n\t      };\n\t    }\n\t\n\t    /**\n\t     * Creates an array of numbers (positive and/or negative) progressing from\n\t     * `start` up to, but not including, `end`. If `end` is not specified it is\n\t     * set to `start` with `start` then set to `0`. If `end` is less than `start`\n\t     * a zero-length range is created unless a negative `step` is specified.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {number} [start=0] The start of the range.\n\t     * @param {number} end The end of the range.\n\t     * @param {number} [step=1] The value to increment or decrement by.\n\t     * @returns {Array} Returns the new array of numbers.\n\t     * @example\n\t     *\n\t     * _.range(4);\n\t     * // => [0, 1, 2, 3]\n\t     *\n\t     * _.range(1, 5);\n\t     * // => [1, 2, 3, 4]\n\t     *\n\t     * _.range(0, 20, 5);\n\t     * // => [0, 5, 10, 15]\n\t     *\n\t     * _.range(0, -4, -1);\n\t     * // => [0, -1, -2, -3]\n\t     *\n\t     * _.range(1, 4, 0);\n\t     * // => [1, 1, 1]\n\t     *\n\t     * _.range(0);\n\t     * // => []\n\t     */\n\t    function range(start, end, step) {\n\t      if (step && isIterateeCall(start, end, step)) {\n\t        end = step = null;\n\t      }\n\t      start = +start || 0;\n\t      step = step == null ? 1 : (+step || 0);\n\t\n\t      if (end == null) {\n\t        end = start;\n\t        start = 0;\n\t      } else {\n\t        end = +end || 0;\n\t      }\n\t      // Use `Array(length)` so engines like Chakra and V8 avoid slower modes.\n\t      // See https://youtu.be/XAqIpGU8ZZk#t=17m25s for more details.\n\t      var index = -1,\n\t          length = nativeMax(ceil((end - start) / (step || 1)), 0),\n\t          result = Array(length);\n\t\n\t      while (++index < length) {\n\t        result[index] = start;\n\t        start += step;\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Invokes the iteratee function `n` times, returning an array of the results\n\t     * of each invocation. The `iteratee` is bound to `thisArg` and invoked with\n\t     * one argument; (index).\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {number} n The number of times to invoke `iteratee`.\n\t     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {Array} Returns the array of results.\n\t     * @example\n\t     *\n\t     * var diceRolls = _.times(3, _.partial(_.random, 1, 6, false));\n\t     * // => [3, 6, 4]\n\t     *\n\t     * _.times(3, function(n) {\n\t     *   mage.castSpell(n);\n\t     * });\n\t     * // => invokes `mage.castSpell(n)` three times with `n` of `0`, `1`, and `2`\n\t     *\n\t     * _.times(3, function(n) {\n\t     *   this.cast(n);\n\t     * }, mage);\n\t     * // => also invokes `mage.castSpell(n)` three times\n\t     */\n\t    function times(n, iteratee, thisArg) {\n\t      n = floor(n);\n\t\n\t      // Exit early to avoid a JSC JIT bug in Safari 8\n\t      // where `Array(0)` is treated as `Array(1)`.\n\t      if (n < 1 || !nativeIsFinite(n)) {\n\t        return [];\n\t      }\n\t      var index = -1,\n\t          result = Array(nativeMin(n, MAX_ARRAY_LENGTH));\n\t\n\t      iteratee = bindCallback(iteratee, thisArg, 1);\n\t      while (++index < n) {\n\t        if (index < MAX_ARRAY_LENGTH) {\n\t          result[index] = iteratee(index);\n\t        } else {\n\t          iteratee(index);\n\t        }\n\t      }\n\t      return result;\n\t    }\n\t\n\t    /**\n\t     * Generates a unique ID. If `prefix` is provided the ID is appended to it.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Utility\n\t     * @param {string} [prefix] The value to prefix the ID with.\n\t     * @returns {string} Returns the unique ID.\n\t     * @example\n\t     *\n\t     * _.uniqueId('contact_');\n\t     * // => 'contact_104'\n\t     *\n\t     * _.uniqueId();\n\t     * // => '105'\n\t     */\n\t    function uniqueId(prefix) {\n\t      var id = ++idCounter;\n\t      return baseToString(prefix) + id;\n\t    }\n\t\n\t    /**\n\t     * Adds two numbers.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Math\n\t     * @param {number} augend The first number to add.\n\t     * @param {number} addend The second number to add.\n\t     * @returns {number} Returns the sum.\n\t     * @example\n\t     *\n\t     * _.add(6, 4);\n\t     * // => 10\n\t     */\n\t    function add(augend, addend) {\n\t      return (+augend || 0) + (+addend || 0);\n\t    }\n\t\n\t    /**\n\t     * Gets the maximum value of `collection`. If `collection` is empty or falsey\n\t     * `-Infinity` is returned. If an iteratee function is provided it is invoked\n\t     * for each value in `collection` to generate the criterion by which the value\n\t     * is ranked. The `iteratee` is bound to `thisArg` and invoked with three\n\t     * arguments: (value, index, collection).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Math\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [iteratee] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {*} Returns the maximum value.\n\t     * @example\n\t     *\n\t     * _.max([4, 2, 8, 6]);\n\t     * // => 8\n\t     *\n\t     * _.max([]);\n\t     * // => -Infinity\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36 },\n\t     *   { 'user': 'fred',   'age': 40 }\n\t     * ];\n\t     *\n\t     * _.max(users, function(chr) {\n\t     *   return chr.age;\n\t     * });\n\t     * // => { 'user': 'fred', 'age': 40 }\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.max(users, 'age');\n\t     * // => { 'user': 'fred', 'age': 40 }\n\t     */\n\t    var max = createExtremum(arrayMax);\n\t\n\t    /**\n\t     * Gets the minimum value of `collection`. If `collection` is empty or falsey\n\t     * `Infinity` is returned. If an iteratee function is provided it is invoked\n\t     * for each value in `collection` to generate the criterion by which the value\n\t     * is ranked. The `iteratee` is bound to `thisArg` and invoked with three\n\t     * arguments: (value, index, collection).\n\t     *\n\t     * If a property name is provided for `iteratee` the created `_.property`\n\t     * style callback returns the property value of the given element.\n\t     *\n\t     * If a value is also provided for `thisArg` the created `_.matchesProperty`\n\t     * style callback returns `true` for elements that have a matching property\n\t     * value, else `false`.\n\t     *\n\t     * If an object is provided for `iteratee` the created `_.matches` style\n\t     * callback returns `true` for elements that have the properties of the given\n\t     * object, else `false`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Math\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [iteratee] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {*} Returns the minimum value.\n\t     * @example\n\t     *\n\t     * _.min([4, 2, 8, 6]);\n\t     * // => 2\n\t     *\n\t     * _.min([]);\n\t     * // => Infinity\n\t     *\n\t     * var users = [\n\t     *   { 'user': 'barney', 'age': 36 },\n\t     *   { 'user': 'fred',   'age': 40 }\n\t     * ];\n\t     *\n\t     * _.min(users, function(chr) {\n\t     *   return chr.age;\n\t     * });\n\t     * // => { 'user': 'barney', 'age': 36 }\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.min(users, 'age');\n\t     * // => { 'user': 'barney', 'age': 36 }\n\t     */\n\t    var min = createExtremum(arrayMin, true);\n\t\n\t    /**\n\t     * Gets the sum of the values in `collection`.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @category Math\n\t     * @param {Array|Object|string} collection The collection to iterate over.\n\t     * @param {Function|Object|string} [iteratee] The function invoked per iteration.\n\t     * @param {*} [thisArg] The `this` binding of `iteratee`.\n\t     * @returns {number} Returns the sum.\n\t     * @example\n\t     *\n\t     * _.sum([4, 6]);\n\t     * // => 10\n\t     *\n\t     * _.sum({ 'a': 4, 'b': 6 });\n\t     * // => 10\n\t     *\n\t     * var objects = [\n\t     *   { 'n': 4 },\n\t     *   { 'n': 6 }\n\t     * ];\n\t     *\n\t     * _.sum(objects, function(object) {\n\t     *   return object.n;\n\t     * });\n\t     * // => 10\n\t     *\n\t     * // using the `_.property` callback shorthand\n\t     * _.sum(objects, 'n');\n\t     * // => 10\n\t     */\n\t    function sum(collection, iteratee, thisArg) {\n\t      if (thisArg && isIterateeCall(collection, iteratee, thisArg)) {\n\t        iteratee = null;\n\t      }\n\t      var func = getCallback(),\n\t          noIteratee = iteratee == null;\n\t\n\t      if (!(func === baseCallback && noIteratee)) {\n\t        noIteratee = false;\n\t        iteratee = func(iteratee, thisArg, 3);\n\t      }\n\t      return noIteratee\n\t        ? arraySum(isArray(collection) ? collection : toIterable(collection))\n\t        : baseSum(collection, iteratee);\n\t    }\n\t\n\t    // Ensure wrappers are instances of `baseLodash`.\n\t    lodash.prototype = baseLodash.prototype;\n\t\n\t    LodashWrapper.prototype = baseCreate(baseLodash.prototype);\n\t    LodashWrapper.prototype.constructor = LodashWrapper;\n\t\n\t    LazyWrapper.prototype = baseCreate(baseLodash.prototype);\n\t    LazyWrapper.prototype.constructor = LazyWrapper;\n\t\n\t    // Add functions to the `Map` cache.\n\t    MapCache.prototype['delete'] = mapDelete;\n\t    MapCache.prototype.get = mapGet;\n\t    MapCache.prototype.has = mapHas;\n\t    MapCache.prototype.set = mapSet;\n\t\n\t    // Add functions to the `Set` cache.\n\t    SetCache.prototype.push = cachePush;\n\t\n\t    // Assign cache to `_.memoize`.\n\t    memoize.Cache = MapCache;\n\t\n\t    // Add functions that return wrapped values when chaining.\n\t    lodash.after = after;\n\t    lodash.ary = ary;\n\t    lodash.assign = assign;\n\t    lodash.at = at;\n\t    lodash.before = before;\n\t    lodash.bind = bind;\n\t    lodash.bindAll = bindAll;\n\t    lodash.bindKey = bindKey;\n\t    lodash.callback = callback;\n\t    lodash.chain = chain;\n\t    lodash.chunk = chunk;\n\t    lodash.compact = compact;\n\t    lodash.constant = constant;\n\t    lodash.countBy = countBy;\n\t    lodash.create = create;\n\t    lodash.curry = curry;\n\t    lodash.curryRight = curryRight;\n\t    lodash.debounce = debounce;\n\t    lodash.defaults = defaults;\n\t    lodash.defer = defer;\n\t    lodash.delay = delay;\n\t    lodash.difference = difference;\n\t    lodash.drop = drop;\n\t    lodash.dropRight = dropRight;\n\t    lodash.dropRightWhile = dropRightWhile;\n\t    lodash.dropWhile = dropWhile;\n\t    lodash.fill = fill;\n\t    lodash.filter = filter;\n\t    lodash.flatten = flatten;\n\t    lodash.flattenDeep = flattenDeep;\n\t    lodash.flow = flow;\n\t    lodash.flowRight = flowRight;\n\t    lodash.forEach = forEach;\n\t    lodash.forEachRight = forEachRight;\n\t    lodash.forIn = forIn;\n\t    lodash.forInRight = forInRight;\n\t    lodash.forOwn = forOwn;\n\t    lodash.forOwnRight = forOwnRight;\n\t    lodash.functions = functions;\n\t    lodash.groupBy = groupBy;\n\t    lodash.indexBy = indexBy;\n\t    lodash.initial = initial;\n\t    lodash.intersection = intersection;\n\t    lodash.invert = invert;\n\t    lodash.invoke = invoke;\n\t    lodash.keys = keys;\n\t    lodash.keysIn = keysIn;\n\t    lodash.map = map;\n\t    lodash.mapKeys = mapKeys;\n\t    lodash.mapValues = mapValues;\n\t    lodash.matches = matches;\n\t    lodash.matchesProperty = matchesProperty;\n\t    lodash.memoize = memoize;\n\t    lodash.merge = merge;\n\t    lodash.method = method;\n\t    lodash.methodOf = methodOf;\n\t    lodash.mixin = mixin;\n\t    lodash.negate = negate;\n\t    lodash.omit = omit;\n\t    lodash.once = once;\n\t    lodash.pairs = pairs;\n\t    lodash.partial = partial;\n\t    lodash.partialRight = partialRight;\n\t    lodash.partition = partition;\n\t    lodash.pick = pick;\n\t    lodash.pluck = pluck;\n\t    lodash.property = property;\n\t    lodash.propertyOf = propertyOf;\n\t    lodash.pull = pull;\n\t    lodash.pullAt = pullAt;\n\t    lodash.range = range;\n\t    lodash.rearg = rearg;\n\t    lodash.reject = reject;\n\t    lodash.remove = remove;\n\t    lodash.rest = rest;\n\t    lodash.restParam = restParam;\n\t    lodash.set = set;\n\t    lodash.shuffle = shuffle;\n\t    lodash.slice = slice;\n\t    lodash.sortBy = sortBy;\n\t    lodash.sortByAll = sortByAll;\n\t    lodash.sortByOrder = sortByOrder;\n\t    lodash.spread = spread;\n\t    lodash.take = take;\n\t    lodash.takeRight = takeRight;\n\t    lodash.takeRightWhile = takeRightWhile;\n\t    lodash.takeWhile = takeWhile;\n\t    lodash.tap = tap;\n\t    lodash.throttle = throttle;\n\t    lodash.thru = thru;\n\t    lodash.times = times;\n\t    lodash.toArray = toArray;\n\t    lodash.toPlainObject = toPlainObject;\n\t    lodash.transform = transform;\n\t    lodash.union = union;\n\t    lodash.uniq = uniq;\n\t    lodash.unzip = unzip;\n\t    lodash.unzipWith = unzipWith;\n\t    lodash.values = values;\n\t    lodash.valuesIn = valuesIn;\n\t    lodash.where = where;\n\t    lodash.without = without;\n\t    lodash.wrap = wrap;\n\t    lodash.xor = xor;\n\t    lodash.zip = zip;\n\t    lodash.zipObject = zipObject;\n\t    lodash.zipWith = zipWith;\n\t\n\t    // Add aliases.\n\t    lodash.backflow = flowRight;\n\t    lodash.collect = map;\n\t    lodash.compose = flowRight;\n\t    lodash.each = forEach;\n\t    lodash.eachRight = forEachRight;\n\t    lodash.extend = assign;\n\t    lodash.iteratee = callback;\n\t    lodash.methods = functions;\n\t    lodash.object = zipObject;\n\t    lodash.select = filter;\n\t    lodash.tail = rest;\n\t    lodash.unique = uniq;\n\t\n\t    // Add functions to `lodash.prototype`.\n\t    mixin(lodash, lodash);\n\t\n\t    // Add functions that return unwrapped values when chaining.\n\t    lodash.add = add;\n\t    lodash.attempt = attempt;\n\t    lodash.camelCase = camelCase;\n\t    lodash.capitalize = capitalize;\n\t    lodash.clone = clone;\n\t    lodash.cloneDeep = cloneDeep;\n\t    lodash.deburr = deburr;\n\t    lodash.endsWith = endsWith;\n\t    lodash.escape = escape;\n\t    lodash.escapeRegExp = escapeRegExp;\n\t    lodash.every = every;\n\t    lodash.find = find;\n\t    lodash.findIndex = findIndex;\n\t    lodash.findKey = findKey;\n\t    lodash.findLast = findLast;\n\t    lodash.findLastIndex = findLastIndex;\n\t    lodash.findLastKey = findLastKey;\n\t    lodash.findWhere = findWhere;\n\t    lodash.first = first;\n\t    lodash.get = get;\n\t    lodash.has = has;\n\t    lodash.identity = identity;\n\t    lodash.includes = includes;\n\t    lodash.indexOf = indexOf;\n\t    lodash.inRange = inRange;\n\t    lodash.isArguments = isArguments;\n\t    lodash.isArray = isArray;\n\t    lodash.isBoolean = isBoolean;\n\t    lodash.isDate = isDate;\n\t    lodash.isElement = isElement;\n\t    lodash.isEmpty = isEmpty;\n\t    lodash.isEqual = isEqual;\n\t    lodash.isError = isError;\n\t    lodash.isFinite = isFinite;\n\t    lodash.isFunction = isFunction;\n\t    lodash.isMatch = isMatch;\n\t    lodash.isNaN = isNaN;\n\t    lodash.isNative = isNative;\n\t    lodash.isNull = isNull;\n\t    lodash.isNumber = isNumber;\n\t    lodash.isObject = isObject;\n\t    lodash.isPlainObject = isPlainObject;\n\t    lodash.isRegExp = isRegExp;\n\t    lodash.isString = isString;\n\t    lodash.isTypedArray = isTypedArray;\n\t    lodash.isUndefined = isUndefined;\n\t    lodash.kebabCase = kebabCase;\n\t    lodash.last = last;\n\t    lodash.lastIndexOf = lastIndexOf;\n\t    lodash.max = max;\n\t    lodash.min = min;\n\t    lodash.noConflict = noConflict;\n\t    lodash.noop = noop;\n\t    lodash.now = now;\n\t    lodash.pad = pad;\n\t    lodash.padLeft = padLeft;\n\t    lodash.padRight = padRight;\n\t    lodash.parseInt = parseInt;\n\t    lodash.random = random;\n\t    lodash.reduce = reduce;\n\t    lodash.reduceRight = reduceRight;\n\t    lodash.repeat = repeat;\n\t    lodash.result = result;\n\t    lodash.runInContext = runInContext;\n\t    lodash.size = size;\n\t    lodash.snakeCase = snakeCase;\n\t    lodash.some = some;\n\t    lodash.sortedIndex = sortedIndex;\n\t    lodash.sortedLastIndex = sortedLastIndex;\n\t    lodash.startCase = startCase;\n\t    lodash.startsWith = startsWith;\n\t    lodash.sum = sum;\n\t    lodash.template = template;\n\t    lodash.trim = trim;\n\t    lodash.trimLeft = trimLeft;\n\t    lodash.trimRight = trimRight;\n\t    lodash.trunc = trunc;\n\t    lodash.unescape = unescape;\n\t    lodash.uniqueId = uniqueId;\n\t    lodash.words = words;\n\t\n\t    // Add aliases.\n\t    lodash.all = every;\n\t    lodash.any = some;\n\t    lodash.contains = includes;\n\t    lodash.detect = find;\n\t    lodash.foldl = reduce;\n\t    lodash.foldr = reduceRight;\n\t    lodash.head = first;\n\t    lodash.include = includes;\n\t    lodash.inject = reduce;\n\t\n\t    mixin(lodash, (function() {\n\t      var source = {};\n\t      baseForOwn(lodash, function(func, methodName) {\n\t        if (!lodash.prototype[methodName]) {\n\t          source[methodName] = func;\n\t        }\n\t      });\n\t      return source;\n\t    }()), false);\n\t\n\t    // Add functions capable of returning wrapped and unwrapped values when chaining.\n\t    lodash.sample = sample;\n\t\n\t    lodash.prototype.sample = function(n) {\n\t      if (!this.__chain__ && n == null) {\n\t        return sample(this.value());\n\t      }\n\t      return this.thru(function(value) {\n\t        return sample(value, n);\n\t      });\n\t    };\n\t\n\t    /**\n\t     * The semantic version number.\n\t     *\n\t     * @static\n\t     * @memberOf _\n\t     * @type string\n\t     */\n\t    lodash.VERSION = VERSION;\n\t\n\t    // Assign default placeholders.\n\t    arrayEach(['bind', 'bindKey', 'curry', 'curryRight', 'partial', 'partialRight'], function(methodName) {\n\t      lodash[methodName].placeholder = lodash;\n\t    });\n\t\n\t    // Add `LazyWrapper` methods that accept an `iteratee` value.\n\t    arrayEach(['dropWhile', 'filter', 'map', 'takeWhile'], function(methodName, type) {\n\t      var isFilter = type != LAZY_MAP_FLAG,\n\t          isDropWhile = type == LAZY_DROP_WHILE_FLAG;\n\t\n\t      LazyWrapper.prototype[methodName] = function(iteratee, thisArg) {\n\t        var filtered = this.__filtered__,\n\t            result = (filtered && isDropWhile) ? new LazyWrapper(this) : this.clone(),\n\t            iteratees = result.__iteratees__ || (result.__iteratees__ = []);\n\t\n\t        iteratees.push({\n\t          'done': false,\n\t          'count': 0,\n\t          'index': 0,\n\t          'iteratee': getCallback(iteratee, thisArg, 1),\n\t          'limit': -1,\n\t          'type': type\n\t        });\n\t\n\t        result.__filtered__ = filtered || isFilter;\n\t        return result;\n\t      };\n\t    });\n\t\n\t    // Add `LazyWrapper` methods for `_.drop` and `_.take` variants.\n\t    arrayEach(['drop', 'take'], function(methodName, index) {\n\t      var whileName = methodName + 'While';\n\t\n\t      LazyWrapper.prototype[methodName] = function(n) {\n\t        var filtered = this.__filtered__,\n\t            result = (filtered && !index) ? this.dropWhile() : this.clone();\n\t\n\t        n = n == null ? 1 : nativeMax(floor(n) || 0, 0);\n\t        if (filtered) {\n\t          if (index) {\n\t            result.__takeCount__ = nativeMin(result.__takeCount__, n);\n\t          } else {\n\t            last(result.__iteratees__).limit = n;\n\t          }\n\t        } else {\n\t          var views = result.__views__ || (result.__views__ = []);\n\t          views.push({ 'size': n, 'type': methodName + (result.__dir__ < 0 ? 'Right' : '') });\n\t        }\n\t        return result;\n\t      };\n\t\n\t      LazyWrapper.prototype[methodName + 'Right'] = function(n) {\n\t        return this.reverse()[methodName](n).reverse();\n\t      };\n\t\n\t      LazyWrapper.prototype[methodName + 'RightWhile'] = function(predicate, thisArg) {\n\t        return this.reverse()[whileName](predicate, thisArg).reverse();\n\t      };\n\t    });\n\t\n\t    // Add `LazyWrapper` methods for `_.first` and `_.last`.\n\t    arrayEach(['first', 'last'], function(methodName, index) {\n\t      var takeName = 'take' + (index ? 'Right' : '');\n\t\n\t      LazyWrapper.prototype[methodName] = function() {\n\t        return this[takeName](1).value()[0];\n\t      };\n\t    });\n\t\n\t    // Add `LazyWrapper` methods for `_.initial` and `_.rest`.\n\t    arrayEach(['initial', 'rest'], function(methodName, index) {\n\t      var dropName = 'drop' + (index ? '' : 'Right');\n\t\n\t      LazyWrapper.prototype[methodName] = function() {\n\t        return this[dropName](1);\n\t      };\n\t    });\n\t\n\t    // Add `LazyWrapper` methods for `_.pluck` and `_.where`.\n\t    arrayEach(['pluck', 'where'], function(methodName, index) {\n\t      var operationName = index ? 'filter' : 'map',\n\t          createCallback = index ? baseMatches : property;\n\t\n\t      LazyWrapper.prototype[methodName] = function(value) {\n\t        return this[operationName](createCallback(value));\n\t      };\n\t    });\n\t\n\t    LazyWrapper.prototype.compact = function() {\n\t      return this.filter(identity);\n\t    };\n\t\n\t    LazyWrapper.prototype.reject = function(predicate, thisArg) {\n\t      predicate = getCallback(predicate, thisArg, 1);\n\t      return this.filter(function(value) {\n\t        return !predicate(value);\n\t      });\n\t    };\n\t\n\t    LazyWrapper.prototype.slice = function(start, end) {\n\t      start = start == null ? 0 : (+start || 0);\n\t\n\t      var result = this;\n\t      if (start < 0) {\n\t        result = this.takeRight(-start);\n\t      } else if (start) {\n\t        result = this.drop(start);\n\t      }\n\t      if (end !== undefined) {\n\t        end = (+end || 0);\n\t        result = end < 0 ? result.dropRight(-end) : result.take(end - start);\n\t      }\n\t      return result;\n\t    };\n\t\n\t    LazyWrapper.prototype.toArray = function() {\n\t      return this.drop(0);\n\t    };\n\t\n\t    // Add `LazyWrapper` methods to `lodash.prototype`.\n\t    baseForOwn(LazyWrapper.prototype, function(func, methodName) {\n\t      var lodashFunc = lodash[methodName];\n\t      if (!lodashFunc) {\n\t        return;\n\t      }\n\t      var checkIteratee = /^(?:filter|map|reject)|While$/.test(methodName),\n\t          retUnwrapped = /^(?:first|last)$/.test(methodName);\n\t\n\t      lodash.prototype[methodName] = function() {\n\t        var args = arguments,\n\t            chainAll = this.__chain__,\n\t            value = this.__wrapped__,\n\t            isHybrid = !!this.__actions__.length,\n\t            isLazy = value instanceof LazyWrapper,\n\t            iteratee = args[0],\n\t            useLazy = isLazy || isArray(value);\n\t\n\t        if (useLazy && checkIteratee && typeof iteratee == 'function' && iteratee.length != 1) {\n\t          // avoid lazy use if the iteratee has a \"length\" value other than `1`\n\t          isLazy = useLazy = false;\n\t        }\n\t        var onlyLazy = isLazy && !isHybrid;\n\t        if (retUnwrapped && !chainAll) {\n\t          return onlyLazy\n\t            ? func.call(value)\n\t            : lodashFunc.call(lodash, this.value());\n\t        }\n\t        var interceptor = function(value) {\n\t          var otherArgs = [value];\n\t          push.apply(otherArgs, args);\n\t          return lodashFunc.apply(lodash, otherArgs);\n\t        };\n\t        if (useLazy) {\n\t          var wrapper = onlyLazy ? value : new LazyWrapper(this),\n\t              result = func.apply(wrapper, args);\n\t\n\t          if (!retUnwrapped && (isHybrid || result.__actions__)) {\n\t            var actions = result.__actions__ || (result.__actions__ = []);\n\t            actions.push({ 'func': thru, 'args': [interceptor], 'thisArg': lodash });\n\t          }\n\t          return new LodashWrapper(result, chainAll);\n\t        }\n\t        return this.thru(interceptor);\n\t      };\n\t    });\n\t\n\t    // Add `Array` and `String` methods to `lodash.prototype`.\n\t    arrayEach(['concat', 'join', 'pop', 'push', 'replace', 'shift', 'sort', 'splice', 'split', 'unshift'], function(methodName) {\n\t      var func = (/^(?:replace|split)$/.test(methodName) ? stringProto : arrayProto)[methodName],\n\t          chainName = /^(?:push|sort|unshift)$/.test(methodName) ? 'tap' : 'thru',\n\t          retUnwrapped = /^(?:join|pop|replace|shift)$/.test(methodName);\n\t\n\t      lodash.prototype[methodName] = function() {\n\t        var args = arguments;\n\t        if (retUnwrapped && !this.__chain__) {\n\t          return func.apply(this.value(), args);\n\t        }\n\t        return this[chainName](function(value) {\n\t          return func.apply(value, args);\n\t        });\n\t      };\n\t    });\n\t\n\t    // Map minified function names to their real names.\n\t    baseForOwn(LazyWrapper.prototype, function(func, methodName) {\n\t      var lodashFunc = lodash[methodName];\n\t      if (lodashFunc) {\n\t        var key = lodashFunc.name,\n\t            names = realNames[key] || (realNames[key] = []);\n\t\n\t        names.push({ 'name': methodName, 'func': lodashFunc });\n\t      }\n\t    });\n\t\n\t    realNames[createHybridWrapper(null, BIND_KEY_FLAG).name] = [{ 'name': 'wrapper', 'func': null }];\n\t\n\t    // Add functions to the lazy wrapper.\n\t    LazyWrapper.prototype.clone = lazyClone;\n\t    LazyWrapper.prototype.reverse = lazyReverse;\n\t    LazyWrapper.prototype.value = lazyValue;\n\t\n\t    // Add chaining functions to the `lodash` wrapper.\n\t    lodash.prototype.chain = wrapperChain;\n\t    lodash.prototype.commit = wrapperCommit;\n\t    lodash.prototype.plant = wrapperPlant;\n\t    lodash.prototype.reverse = wrapperReverse;\n\t    lodash.prototype.toString = wrapperToString;\n\t    lodash.prototype.run = lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue;\n\t\n\t    // Add function aliases to the `lodash` wrapper.\n\t    lodash.prototype.collect = lodash.prototype.map;\n\t    lodash.prototype.head = lodash.prototype.first;\n\t    lodash.prototype.select = lodash.prototype.filter;\n\t    lodash.prototype.tail = lodash.prototype.rest;\n\t\n\t    return lodash;\n\t  }\n\t\n\t  // Export lodash.\n\t  var _ = runInContext();\n\t\n\t  // Some AMD build optimizers like r.js check for condition patterns like the following:\n\t  if (true) {\n\t    // Expose lodash to the global object when an AMD loader is present to avoid\n\t    // errors in cases where lodash is loaded by a script tag and not intended\n\t    // as an AMD module. See http://requirejs.org/docs/errors.html#mismatch for\n\t    // more details.\n\t    root._ = _;\n\t\n\t    // Define as an anonymous module so, through path mapping, it can be\n\t    // referenced as the \"underscore\" module.\n\t    !(__WEBPACK_AMD_DEFINE_RESULT__ = function() {\n\t      return _;\n\t    }.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t  }\n\t  // Check for `exports` after `define` in case a build optimizer adds an `exports` object.\n\t  else if (freeExports && freeModule) {\n\t    // Export for Node.js or RingoJS.\n\t    if (moduleExports) {\n\t      (freeModule.exports = _)._ = _;\n\t    }\n\t    // Export for Narwhal or Rhino -require.\n\t    else {\n\t      freeExports._ = _;\n\t    }\n\t  }\n\t  else {\n\t    // Export for a browser or Rhino.\n\t    root._ = _;\n\t  }\n\t}.call(this));\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(45)(module), (function() { return this; }())))\n\n/***/ },\n/* 40 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * Representation of a single EventEmitter function.\n\t *\n\t * @param {Function} fn Event handler to be called.\n\t * @param {Mixed} context Context for function execution.\n\t * @param {Boolean} once Only emit once\n\t * @api private\n\t */\n\tfunction EE(fn, context, once) {\n\t  this.fn = fn;\n\t  this.context = context;\n\t  this.once = once || false;\n\t}\n\t\n\t/**\n\t * Minimal EventEmitter interface that is molded against the Node.js\n\t * EventEmitter interface.\n\t *\n\t * @constructor\n\t * @api public\n\t */\n\tfunction EventEmitter() { /* Nothing to set */ }\n\t\n\t/**\n\t * Holds the assigned EventEmitters by name.\n\t *\n\t * @type {Object}\n\t * @private\n\t */\n\tEventEmitter.prototype._events = undefined;\n\t\n\t/**\n\t * Return a list of assigned event listeners.\n\t *\n\t * @param {String} event The events that should be listed.\n\t * @returns {Array}\n\t * @api public\n\t */\n\tEventEmitter.prototype.listeners = function listeners(event) {\n\t  if (!this._events || !this._events[event]) return [];\n\t  if (this._events[event].fn) return [this._events[event].fn];\n\t\n\t  for (var i = 0, l = this._events[event].length, ee = new Array(l); i < l; i++) {\n\t    ee[i] = this._events[event][i].fn;\n\t  }\n\t\n\t  return ee;\n\t};\n\t\n\t/**\n\t * Emit an event to all registered event listeners.\n\t *\n\t * @param {String} event The name of the event.\n\t * @returns {Boolean} Indication if we've emitted an event.\n\t * @api public\n\t */\n\tEventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {\n\t  if (!this._events || !this._events[event]) return false;\n\t\n\t  var listeners = this._events[event]\n\t    , len = arguments.length\n\t    , args\n\t    , i;\n\t\n\t  if ('function' === typeof listeners.fn) {\n\t    if (listeners.once) this.removeListener(event, listeners.fn, true);\n\t\n\t    switch (len) {\n\t      case 1: return listeners.fn.call(listeners.context), true;\n\t      case 2: return listeners.fn.call(listeners.context, a1), true;\n\t      case 3: return listeners.fn.call(listeners.context, a1, a2), true;\n\t      case 4: return listeners.fn.call(listeners.context, a1, a2, a3), true;\n\t      case 5: return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;\n\t      case 6: return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;\n\t    }\n\t\n\t    for (i = 1, args = new Array(len -1); i < len; i++) {\n\t      args[i - 1] = arguments[i];\n\t    }\n\t\n\t    listeners.fn.apply(listeners.context, args);\n\t  } else {\n\t    var length = listeners.length\n\t      , j;\n\t\n\t    for (i = 0; i < length; i++) {\n\t      if (listeners[i].once) this.removeListener(event, listeners[i].fn, true);\n\t\n\t      switch (len) {\n\t        case 1: listeners[i].fn.call(listeners[i].context); break;\n\t        case 2: listeners[i].fn.call(listeners[i].context, a1); break;\n\t        case 3: listeners[i].fn.call(listeners[i].context, a1, a2); break;\n\t        default:\n\t          if (!args) for (j = 1, args = new Array(len -1); j < len; j++) {\n\t            args[j - 1] = arguments[j];\n\t          }\n\t\n\t          listeners[i].fn.apply(listeners[i].context, args);\n\t      }\n\t    }\n\t  }\n\t\n\t  return true;\n\t};\n\t\n\t/**\n\t * Register a new EventListener for the given event.\n\t *\n\t * @param {String} event Name of the event.\n\t * @param {Functon} fn Callback function.\n\t * @param {Mixed} context The context of the function.\n\t * @api public\n\t */\n\tEventEmitter.prototype.on = function on(event, fn, context) {\n\t  var listener = new EE(fn, context || this);\n\t\n\t  if (!this._events) this._events = {};\n\t  if (!this._events[event]) this._events[event] = listener;\n\t  else {\n\t    if (!this._events[event].fn) this._events[event].push(listener);\n\t    else this._events[event] = [\n\t      this._events[event], listener\n\t    ];\n\t  }\n\t\n\t  return this;\n\t};\n\t\n\t/**\n\t * Add an EventListener that's only called once.\n\t *\n\t * @param {String} event Name of the event.\n\t * @param {Function} fn Callback function.\n\t * @param {Mixed} context The context of the function.\n\t * @api public\n\t */\n\tEventEmitter.prototype.once = function once(event, fn, context) {\n\t  var listener = new EE(fn, context || this, true);\n\t\n\t  if (!this._events) this._events = {};\n\t  if (!this._events[event]) this._events[event] = listener;\n\t  else {\n\t    if (!this._events[event].fn) this._events[event].push(listener);\n\t    else this._events[event] = [\n\t      this._events[event], listener\n\t    ];\n\t  }\n\t\n\t  return this;\n\t};\n\t\n\t/**\n\t * Remove event listeners.\n\t *\n\t * @param {String} event The event we want to remove.\n\t * @param {Function} fn The listener that we need to find.\n\t * @param {Boolean} once Only remove once listeners.\n\t * @api public\n\t */\n\tEventEmitter.prototype.removeListener = function removeListener(event, fn, once) {\n\t  if (!this._events || !this._events[event]) return this;\n\t\n\t  var listeners = this._events[event]\n\t    , events = [];\n\t\n\t  if (fn) {\n\t    if (listeners.fn && (listeners.fn !== fn || (once && !listeners.once))) {\n\t      events.push(listeners);\n\t    }\n\t    if (!listeners.fn) for (var i = 0, length = listeners.length; i < length; i++) {\n\t      if (listeners[i].fn !== fn || (once && !listeners[i].once)) {\n\t        events.push(listeners[i]);\n\t      }\n\t    }\n\t  }\n\t\n\t  //\n\t  // Reset the array, or remove it completely if we have no more listeners.\n\t  //\n\t  if (events.length) {\n\t    this._events[event] = events.length === 1 ? events[0] : events;\n\t  } else {\n\t    delete this._events[event];\n\t  }\n\t\n\t  return this;\n\t};\n\t\n\t/**\n\t * Remove all listeners or only the listeners for the specified event.\n\t *\n\t * @param {String} event The event want to remove all listeners for.\n\t * @api public\n\t */\n\tEventEmitter.prototype.removeAllListeners = function removeAllListeners(event) {\n\t  if (!this._events) return this;\n\t\n\t  if (event) delete this._events[event];\n\t  else this._events = {};\n\t\n\t  return this;\n\t};\n\t\n\t//\n\t// Alias methods names because people roll like that.\n\t//\n\tEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\tEventEmitter.prototype.addListener = EventEmitter.prototype.on;\n\t\n\t//\n\t// This function doesn't apply anymore.\n\t//\n\tEventEmitter.prototype.setMaxListeners = function setMaxListeners() {\n\t  return this;\n\t};\n\t\n\t//\n\t// Expose the module.\n\t//\n\tEventEmitter.EventEmitter = EventEmitter;\n\tEventEmitter.EventEmitter2 = EventEmitter;\n\tEventEmitter.EventEmitter3 = EventEmitter;\n\t\n\t//\n\t// Expose the module.\n\t//\n\tmodule.exports = EventEmitter;\n\n\n/***/ },\n/* 41 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Defaults, Integrator, Simulator, Utils,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tDefaults = __webpack_require__(30).Defaults;\n\t\n\tSimulator = __webpack_require__(44).Simulator;\n\t\n\tIntegrator = __webpack_require__(34).Integrator;\n\t\n\texports.SpringSimulator = (function(superClass) {\n\t  extend(SpringSimulator, superClass);\n\t\n\t  function SpringSimulator() {\n\t    this.finished = bind(this.finished, this);\n\t    return SpringSimulator.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  SpringSimulator.prototype.setup = function(options) {\n\t    this.options = Defaults.getDefaults(\"SpringSimulator\", options);\n\t    this.options = _.defaults(options, {\n\t      velocity: 0,\n\t      position: 0,\n\t      offset: 0\n\t    });\n\t    this._state = {\n\t      x: this.options.position,\n\t      v: this.options.velocity\n\t    };\n\t    return this._integrator = new Integrator((function(_this) {\n\t      return function(state) {\n\t        return -_this.options.tension * state.x - _this.options.friction * state.v;\n\t      };\n\t    })(this));\n\t  };\n\t\n\t  SpringSimulator.prototype.next = function(delta) {\n\t    this._state = this._integrator.integrateState(this._state, delta);\n\t    return this.getState();\n\t  };\n\t\n\t  SpringSimulator.prototype.finished = function() {\n\t    var positionNearZero, velocityNearZero;\n\t    positionNearZero = Math.abs(this._state.x) < this.options.tolerance;\n\t    velocityNearZero = Math.abs(this._state.v) < this.options.tolerance;\n\t    return positionNearZero && velocityNearZero;\n\t  };\n\t\n\t  SpringSimulator.prototype.setState = function(state) {\n\t    return this._state = {\n\t      x: state.x - this.options.offset,\n\t      v: state.v\n\t    };\n\t  };\n\t\n\t  SpringSimulator.prototype.getState = function() {\n\t    var state;\n\t    return state = {\n\t      x: this._state.x + this.options.offset,\n\t      v: this._state.v\n\t    };\n\t  };\n\t\n\t  return SpringSimulator;\n\t\n\t})(Simulator);\n\n\n/***/ },\n/* 42 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Defaults, Integrator, Simulator, Utils,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tDefaults = __webpack_require__(30).Defaults;\n\t\n\tSimulator = __webpack_require__(44).Simulator;\n\t\n\tIntegrator = __webpack_require__(34).Integrator;\n\t\n\texports.FrictionSimulator = (function(superClass) {\n\t  extend(FrictionSimulator, superClass);\n\t\n\t  function FrictionSimulator() {\n\t    this.finished = bind(this.finished, this);\n\t    return FrictionSimulator.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  FrictionSimulator.prototype.setup = function(options) {\n\t    this.options = Defaults.getDefaults(\"FrictionSimulator\", options);\n\t    this.options = _.defaults(options, {\n\t      velocity: 0,\n\t      position: 0\n\t    });\n\t    this._state = {\n\t      x: this.options.position,\n\t      v: this.options.velocity\n\t    };\n\t    return this._integrator = new Integrator((function(_this) {\n\t      return function(state) {\n\t        return -(_this.options.friction * state.v);\n\t      };\n\t    })(this));\n\t  };\n\t\n\t  FrictionSimulator.prototype.next = function(delta) {\n\t    this._state = this._integrator.integrateState(this._state, delta);\n\t    return this._state;\n\t  };\n\t\n\t  FrictionSimulator.prototype.finished = function() {\n\t    return Math.abs(this._state.v) < this.options.tolerance;\n\t  };\n\t\n\t  return FrictionSimulator;\n\t\n\t})(Simulator);\n\n\n/***/ },\n/* 43 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Defaults, FrictionSimulator, Simulator, SpringSimulator, Utils,\n\t  bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\tDefaults = __webpack_require__(30).Defaults;\n\t\n\tSimulator = __webpack_require__(44).Simulator;\n\t\n\tSpringSimulator = __webpack_require__(41).SpringSimulator;\n\t\n\tFrictionSimulator = __webpack_require__(42).FrictionSimulator;\n\t\n\texports.MomentumBounceSimulator = (function(superClass) {\n\t  extend(MomentumBounceSimulator, superClass);\n\t\n\t  function MomentumBounceSimulator() {\n\t    this.finished = bind(this.finished, this);\n\t    return MomentumBounceSimulator.__super__.constructor.apply(this, arguments);\n\t  }\n\t\n\t  MomentumBounceSimulator.prototype.setup = function(options) {\n\t    this.options = Defaults.getDefaults(\"MomentumBounceSimulator\", options);\n\t    this.options = _.defaults(options, {\n\t      velocity: 0,\n\t      position: 0,\n\t      min: 0,\n\t      max: 0\n\t    });\n\t    this._frictionSimulator = new FrictionSimulator({\n\t      friction: this.options.momentum.friction,\n\t      tolerance: this.options.momentum.tolerance,\n\t      velocity: this.options.velocity,\n\t      position: this.options.position\n\t    });\n\t    this._springSimulator = new SpringSimulator({\n\t      tension: this.options.bounce.tension,\n\t      friction: this.options.bounce.friction,\n\t      tolerance: this.options.bounce.tolerance,\n\t      velocity: this.options.velocity,\n\t      position: this.options.position\n\t    });\n\t    this._state = {\n\t      x: this.options.position,\n\t      v: this.options.velocity\n\t    };\n\t    return this._useSpring = false;\n\t  };\n\t\n\t  MomentumBounceSimulator.prototype.next = function(delta) {\n\t    if (this._useSpring) {\n\t      this._state = this._springSimulator.next(delta);\n\t    } else {\n\t      this._state = this._frictionSimulator.next(delta);\n\t      this._tryTransitionToSpring(this._state);\n\t    }\n\t    return this._state;\n\t  };\n\t\n\t  MomentumBounceSimulator.prototype.finished = function() {\n\t    if (this._useSpring) {\n\t      return this._springSimulator.finished();\n\t    }\n\t    return this._frictionSimulator.finished();\n\t  };\n\t\n\t  MomentumBounceSimulator.prototype.setState = function(state) {\n\t    var bound;\n\t    this._state = {\n\t      x: state.x,\n\t      v: state.v\n\t    };\n\t    this._frictionSimulator.setState(this._state);\n\t    if (this._isValidState()) {\n\t      return this._tryTransitionToSpring();\n\t    } else {\n\t      if (this._state.x <= this.options.min) {\n\t        bound = this.options.min;\n\t      }\n\t      if (this._state.x >= this.options.max) {\n\t        bound = this.options.max;\n\t      }\n\t      return this._transitionToSpring(bound);\n\t    }\n\t  };\n\t\n\t  MomentumBounceSimulator.prototype._tryTransitionToSpring = function(force) {\n\t    var aboveMaxWithVelocity, belowMinWithVelocity, bound;\n\t    belowMinWithVelocity = this._state.x < this.options.min && this._state.v <= 0;\n\t    aboveMaxWithVelocity = this._state.x > this.options.max && this._state.v >= 0;\n\t    if (belowMinWithVelocity || aboveMaxWithVelocity) {\n\t      if (belowMinWithVelocity) {\n\t        bound = this.options.min;\n\t      }\n\t      if (aboveMaxWithVelocity) {\n\t        bound = this.options.max;\n\t      }\n\t      return this._transitionToSpring(bound);\n\t    } else {\n\t      return this._useSpring = false;\n\t    }\n\t  };\n\t\n\t  MomentumBounceSimulator.prototype._transitionToSpring = function(bound) {\n\t    this._useSpring = true;\n\t    this._springSimulator.options.offset = bound;\n\t    return this._springSimulator.setState(this._state);\n\t  };\n\t\n\t  MomentumBounceSimulator.prototype._isValidState = function() {\n\t    var aboveMaxTravelingBack, belowMinTravelingBack, bound, check, friction, solution;\n\t    belowMinTravelingBack = this._state.x < this.options.min && this._state.v > 0;\n\t    aboveMaxTravelingBack = this._state.x > this.options.max && this._state.v < 0;\n\t    check = false;\n\t    if (belowMinTravelingBack) {\n\t      bound = this.options.min;\n\t      check = true;\n\t    } else if (aboveMaxTravelingBack) {\n\t      bound = this.options.max;\n\t      check = true;\n\t    }\n\t    if (check) {\n\t      friction = this._frictionSimulator.options.friction;\n\t      solution = 1 - (friction * (bound - this._state.x)) / this._state.v;\n\t      return solution > 0;\n\t    }\n\t    return true;\n\t  };\n\t\n\t  return MomentumBounceSimulator;\n\t\n\t})(Simulator);\n\n\n/***/ },\n/* 44 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar BaseClass, Config, Utils, _,\n\t  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },\n\t  hasProp = {}.hasOwnProperty;\n\t\n\tUtils = __webpack_require__(2);\n\t\n\t_ = __webpack_require__(1)._;\n\t\n\tConfig = __webpack_require__(17).Config;\n\t\n\tBaseClass = __webpack_require__(19).BaseClass;\n\t\n\texports.Simulator = (function(superClass) {\n\t  \"The simulator class runs a physics simulation based on a set of input values \\nat setup({input values}), and emits an output state {x, v}\";\n\t  extend(Simulator, superClass);\n\t\n\t  Simulator.define(\"state\", {\n\t    get: function() {\n\t      return _.clone(this._state);\n\t    },\n\t    set: function(state) {\n\t      return this._state = _.clone(state);\n\t    }\n\t  });\n\t\n\t  function Simulator(options) {\n\t    if (options == null) {\n\t      options = {};\n\t    }\n\t    this._state = {\n\t      x: 0,\n\t      v: 0\n\t    };\n\t    this.options = null;\n\t    this.setup(options);\n\t  }\n\t\n\t  Simulator.prototype.setup = function(options) {\n\t    throw Error(\"Not implemented\");\n\t  };\n\t\n\t  Simulator.prototype.next = function(delta) {\n\t    throw Error(\"Not implemented\");\n\t  };\n\t\n\t  Simulator.prototype.finished = function() {\n\t    throw Error(\"Not implemented\");\n\t  };\n\t\n\t  return Simulator;\n\t\n\t})(BaseClass);\n\n\n/***/ },\n/* 45 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = function(module) {\r\n\t\tif(!module.webpackPolyfill) {\r\n\t\t\tmodule.deprecate = function() {};\r\n\t\t\tmodule.paths = [];\r\n\t\t\t// module.parent = undefined by default\r\n\t\t\tmodule.children = [];\r\n\t\t\tmodule.webpackPolyfill = 1;\r\n\t\t}\r\n\t\treturn module;\r\n\t}\r\n\n\n/***/ }\n/******/ ]);\n//# sourceMappingURL=framer.js.map"
  },
  {
    "path": "Example Codes/Framer/Diary.framer/framer/framer.modules.js",
    "content": "require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==\"function\"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(\"Cannot find module '\"+o+\"'\");throw f.code=\"MODULE_NOT_FOUND\",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==\"function\"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({\"myModule\":[function(require,module,exports){\nexports.myVar = \"myVariable\";\n\nexports.myFunction = function() {\n  return print(\"myFunction is running\");\n};\n\nexports.myArray = [1, 2, 3];\n\n\n\n},{}]},{},[])\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyaWZ5L25vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCIvVXNlcnMva2V2aW4vTGlicmFyeS9Nb2JpbGUgRG9jdW1lbnRzL2NvbX5hcHBsZX5DbG91ZERvY3MvRnJhbWVyL0RpYXJ5LmZyYW1lci9tb2R1bGVzL215TW9kdWxlLmNvZmZlZSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtBQ0lBLE9BQU8sQ0FBQyxLQUFSLEdBQWdCLFlBQWhCLENBQUE7O0FBQUEsT0FFTyxDQUFDLFVBQVIsR0FBcUIsU0FBQSxHQUFBO1NBQ3BCLEtBQUEsQ0FBTSx1QkFBTixFQURvQjtBQUFBLENBRnJCLENBQUE7O0FBQUEsT0FLTyxDQUFDLE9BQVIsR0FBa0IsQ0FBQyxDQUFELEVBQUksQ0FBSixFQUFPLENBQVAsQ0FMbEIsQ0FBQSIsImZpbGUiOiJnZW5lcmF0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlc0NvbnRlbnQiOlsiKGZ1bmN0aW9uIGUodCxuLHIpe2Z1bmN0aW9uIHMobyx1KXtpZighbltvXSl7aWYoIXRbb10pe3ZhciBhPXR5cGVvZiByZXF1aXJlPT1cImZ1bmN0aW9uXCImJnJlcXVpcmU7aWYoIXUmJmEpcmV0dXJuIGEobywhMCk7aWYoaSlyZXR1cm4gaShvLCEwKTt2YXIgZj1uZXcgRXJyb3IoXCJDYW5ub3QgZmluZCBtb2R1bGUgJ1wiK28rXCInXCIpO3Rocm93IGYuY29kZT1cIk1PRFVMRV9OT1RfRk9VTkRcIixmfXZhciBsPW5bb109e2V4cG9ydHM6e319O3Rbb11bMF0uY2FsbChsLmV4cG9ydHMsZnVuY3Rpb24oZSl7dmFyIG49dFtvXVsxXVtlXTtyZXR1cm4gcyhuP246ZSl9LGwsbC5leHBvcnRzLGUsdCxuLHIpfXJldHVybiBuW29dLmV4cG9ydHN9dmFyIGk9dHlwZW9mIHJlcXVpcmU9PVwiZnVuY3Rpb25cIiYmcmVxdWlyZTtmb3IodmFyIG89MDtvPHIubGVuZ3RoO28rKylzKHJbb10pO3JldHVybiBzfSkiLCIjIEFkZCB0aGUgZm9sbG93aW5nIGxpbmUgdG8geW91ciBwcm9qZWN0IGluIEZyYW1lciBTdHVkaW8uIFxuIyBteU1vZHVsZSA9IHJlcXVpcmUgXCJteU1vZHVsZVwiXG4jIFJlZmVyZW5jZSB0aGUgY29udGVudHMgYnkgbmFtZSwgbGlrZSBteU1vZHVsZS5teUZ1bmN0aW9uKCkgb3IgbXlNb2R1bGUubXlWYXJcblxuZXhwb3J0cy5teVZhciA9IFwibXlWYXJpYWJsZVwiXG5cbmV4cG9ydHMubXlGdW5jdGlvbiA9IC0+XG5cdHByaW50IFwibXlGdW5jdGlvbiBpcyBydW5uaW5nXCJcblxuZXhwb3J0cy5teUFycmF5ID0gWzEsIDIsIDNdIl19\n"
  },
  {
    "path": "Example Codes/Framer/Diary.framer/framer/mirror.css",
    "content": "* {\n\tmargin: 0;\n\tpadding: 0;\n\tborder: none;\n\t-webkit-user-select: none;\n\t-webkit-tap-highlight-color: rgba(0,0,0,0);\n}\nhtml, body, .wrapper {\n\theight: 100%;\n}\nbody {\n\tbackground: #fff;\n\tfont: 300 20px \"Helvetica Neue\", Helvetica, sans-serif;\n\toverflow: hidden;\n\tcursor: url('images/cursor.png') 39 39, auto;\n\ttext-align: center;\n\tposition: relative;\n\t-webkit-font-smoothing: antialiased;\n\ttext-rendering: optimizeLegibility;\n\tcolor: #333740;\n}\na {\n\tcolor: gray;\n}\n.framerAlert {\n\tfont: 12px/1.6em Menlo;\n\tmargin: 10px;\n\tcolor: gray;\n}\n::-webkit-scrollbar {\n\tdisplay: none;\n}\n.wrapper {\n\twidth:100%;\n\tmax-width: 240px;\n\tmargin: 0 auto;\n\tpadding-top: 38%;\n\tposition: relative;\n}\n/* Text */\nh1 {\n\tfont-size: 22px;\n\tfont-weight: 400;\n\tmargin-top: 0px;\n\tline-height: 1.5;\n\tcolor: black;\n\t\n\tmargin-bottom: 8px;\n\tmargin-top: 16px;\n}\nh2 {\n\tfont-size: 14px;\n\tfont-weight: 400;\n\tcolor: #788594;\n}\nhr {\n\tborder: none;  width: 100%;\n\tborder-bottom: 1px solid #EFF1F3;\n\tdisplay: block; \n\tmargin: 40px auto 32px auto;\n}\np {\n\tdisplay: inline-block;\n\tline-height: 1.5;\n}\nfigure {\n\tdisplay: inline-block;\n}\n.share {\n\tcolor: #007AFF;\n\tdisplay: inline-block;\n\tmargin-left: 8px;\n}\n.icon-share {\n\tmargin-right: 0px;\n\tposition: relative;\n\ttop:0.5px;\n}\n.arrow {\n\tposition: absolute;\n\tmax-width: 240px;\n\twidth: 100%;\n\tleft:50%; margin-left:-120px;\n\tbottom: 24%;\n}\n.arrow figure {\n\t-webkit-animation: bounce 1.25s ease infinite; \n\t-moz-animation:    bounce 1.25s ease infinite; \n\t-o-animation:      bounce 1.25s ease infinite; \n\tanimation:         bounce 1.25s ease infinite; \n\t-webkit-transform-origin: center bottom;\n\t-ms-transform-origin: center bottom;\n\ttransform-origin: center bottom;\n}\n/* Arrow animation */\n@-webkit-keyframes bounce {\n  0%, 100% {\n    -webkit-transform: translate3d(0,0,0);\n    transform: translate3d(0,0,0);\n  }\n  50% {\n    -webkit-transform: translate3d(0, -16px, 0);\n    transform: translate3d(0, -16px, 0);\n  }\n}\n@keyframes bounce {\n  0%, 100% {\n    -webkit-transform: translate3d(0,0,0);\n    transform: translate3d(0,0,0);\n  }\n  50% {\n    -webkit-transform: translate3d(0, -16px, 0);\n    transform: translate3d(0, -16px, 0);\n  }\n}\n/* Icons */\n.icon-close,\n.icon-framer,\n.icon-share,\n.icon-arrow {\n\tbackground-size: cover;\n}\n.icon-close {\n\tbackground-image: url(\"images/icon-close.png\");\n\tposition: absolute;\n\ttop:16px;\n\tright:16px;\n\tcursor: pointer;\n\tcursor: hand;\n\twidth: 18px;\n\theight: 18px;\n}\n.icon-framer {\n\tbackground-image: url(\"images/icon-framer.png\");\n\twidth: 60px;\n\theight: 60px;\n}\n.icon-share {\n\tbackground-image: url(\"images/icon-share.png\");\n\twidth: 11px;\n  \theight: 18px; \n}\n.icon-arrow {\n\tbackground-image: url(\"images/icon-arrow.png\");\n\twidth: 18px;\n\theight: 30px; \n}\n/* Retina Icons */\n@media screen and (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {\n\t.icon-close {\n\t\tbackground-image: url(\"images/icon-close@2x.png\");\n\t}\n\t.icon-framer {\n\t\tbackground-image: url(\"images/icon-framer@2x.png\");\n\t}\n\t.icon-share {\n\t\tbackground-image: url(\"images/icon-share@2x.png\");\n\t}\n\t.icon-arrow {\n\t\tbackground-image: url(\"images/icon-arrow@2x.png\");\n\t}\n}\n/* Avoid overflow scrolling when viewing in Portrait */\n@media screen and (orientation:portrait) {\n\thtml, body, .wrapper {\n\t\toverflow: hidden;\n\t}\n}\n/* iPad share icon is positioned in the navigation bar */\n@media screen and (min-width: 576px){\n\t.arrow {\n\t\tdisplay: none;\n\t}\n\t.wrapper {\n\t\tpadding-bottom: 25%;\n\t}\n}\n/* When it landscape, hide arrow and adjust spacing */\n@media screen and (orientation:landscape) {\n\t.arrow {\n\t\tdisplay: none;\n\t}\n\t.wrapper {\n\t\tpadding-top: 10%;\n\t\tpadding-bottom: 0;\n\t}\n}\n/* iPhone 6 Portrait */\n@media screen and (min-device-width:375px) and (max-device-width:667px) and (-webkit-min-device-pixel-ratio:2) and (orientation:portrait) {\n\t.wrapper {\n\t\tpadding-top: 48%;\t\n\t}\n\t.arrow {\n\t\tbottom: 27%;\n\t}\n}"
  },
  {
    "path": "Example Codes/Framer/Diary.framer/framer/style.css",
    "content": "* {\n\tmargin: 0;\n\tpadding: 0;\n\tborder: none;\n\t-webkit-user-select: none;\n\t-webkit-tap-highlight-color: rgba(0,0,0,0);\n}\n\nbody {\n\tbackground-color: #fff;\n\tfont: 28px/1em \"Helvetica\";\n\tcolor: #FFF;\n\toverflow: hidden;\n\tcursor: url('images/cursor.png') 39 39, auto;\n}\n\na {\n\tcolor: gray;\n}\n\n.framerAlertBackground {\n \tposition: absolute; top:0px; left:0px; right:0px; bottom:0px;\n \tz-index: 1000;\n \tbackground-color: #fff;\n}\n\n.framerAlert {\n\tfont:400 14px/1.4 \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n\t-webkit-font-smoothing:antialiased;\n\tcolor:#616367; text-align:center;\n \tposition: absolute; top:40%; left:50%; width:260px; margin-left:-130px;\n}\n.framerAlert strong { font-weight:500; color:#000; margin-bottom:8px; display:block; }\n.framerAlert a { color:#28AFFA; }\n.framerAlert .btn {\n\tfont-weight:500; text-decoration:none; line-height:1;\n\tdisplay:inline-block; padding:6px 12px 7px 12px;\n\tborder-radius:3px; margin-top:12px;\n\tbackground:#28AFFA; color:#fff;\n}\n\n::-webkit-scrollbar {\n\tdisplay: none;\n}"
  },
  {
    "path": "Example Codes/Framer/Diary.framer/framer/version",
    "content": "1"
  },
  {
    "path": "Example Codes/Framer/Diary.framer/imported/Diary/layers.json",
    "content": "[\n  {\n    \"maskFrame\" : null,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"1DA83D77-6C6D-4D7B-B3D9-68BA4D6C2ECA\",\n        \"visible\" : true,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-Text-1DA83D77-6C6D-4D7B-B3D9-68BA4D6C2ECA.png\",\n          \"frame\" : {\n            \"y\" : 32,\n            \"x\" : 30,\n            \"width\" : 583,\n            \"height\" : 501\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 32,\n          \"x\" : 30,\n          \"width\" : 583,\n          \"height\" : 501\n        },\n        \"name\" : \"Text\"\n      }\n    ],\n    \"id\" : \"2412BB30-E502-4498-870B-D8F1AA55AD83\",\n    \"visible\" : true,\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"View\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"id\" : \"D44BFEE0-5289-4B72-8F59-4053667AF4CD\",\n    \"visible\" : false,\n    \"children\" : [\n\n    ],\n    \"image\" : {\n      \"path\" : \"images\\/Layer-Cover-D44BFEE0-5289-4B72-8F59-4053667AF4CD.png\",\n      \"frame\" : {\n        \"y\" : 0,\n        \"x\" : 0,\n        \"width\" : 640,\n        \"height\" : 1136\n      }\n    },\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"Cover\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"id\" : \"D67A9464-036A-4229-836C-F5A92782923A\",\n    \"visible\" : false,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"1E6D202E-B854-4CFD-8793-E2C8A8C074B2\",\n        \"visible\" : false,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-Progress-1E6D202E-B854-4CFD-8793-E2C8A8C074B2.png\",\n          \"frame\" : {\n            \"y\" : 654,\n            \"x\" : 90,\n            \"width\" : 461,\n            \"height\" : 215\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 654,\n          \"x\" : 90,\n          \"width\" : 461,\n          \"height\" : 215\n        },\n        \"name\" : \"Progress\"\n      },\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"9004E6E3-E73D-4B2D-AFE2-BADA20947D6B\",\n        \"visible\" : true,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-撰_2-9004E6E3-E73D-4B2D-AFE2-BADA20947D6B.png\",\n          \"frame\" : {\n            \"y\" : 249,\n            \"x\" : 553,\n            \"width\" : 69,\n            \"height\" : 69\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 249,\n          \"x\" : 553,\n          \"width\" : 69,\n          \"height\" : 69\n        },\n        \"name\" : \"撰_2\"\n      },\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"A3E208D9-2B37-4379-AAAE-C4D2EE147566\",\n        \"visible\" : true,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-Month_3-A3E208D9-2B37-4379-AAAE-C4D2EE147566.png\",\n          \"frame\" : {\n            \"y\" : 466,\n            \"x\" : 200,\n            \"width\" : 246,\n            \"height\" : 178\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 466,\n          \"x\" : 200,\n          \"width\" : 246,\n          \"height\" : 178\n        },\n        \"name\" : \"Month_3\"\n      }\n    ],\n    \"image\" : {\n      \"path\" : \"images\\/Layer-Month-D67A9464-036A-4229-836C-F5A92782923A.png\",\n      \"frame\" : {\n        \"y\" : 0,\n        \"x\" : 0,\n        \"width\" : 640,\n        \"height\" : 1136\n      }\n    },\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"Month\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"id\" : \"AABB1996-FED5-4126-88AE-33F5B11CEE7F\",\n    \"visible\" : false,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"967E343C-CCD3-46D9-8F11-0C9C3B8BEEAD\",\n        \"visible\" : false,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-撰_2-967E343C-CCD3-46D9-8F11-0C9C3B8BEEAD.png\",\n          \"frame\" : {\n            \"y\" : -67,\n            \"x\" : 443,\n            \"width\" : 260,\n            \"height\" : 260\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : -67,\n          \"x\" : 443,\n          \"width\" : 260,\n          \"height\" : 260\n        },\n        \"name\" : \"撰_2\"\n      }\n    ],\n    \"image\" : {\n      \"path\" : \"images\\/Layer-Home-AABB1996-FED5-4126-88AE-33F5B11CEE7F.png\",\n      \"frame\" : {\n        \"y\" : 0,\n        \"x\" : 0,\n        \"width\" : 640,\n        \"height\" : 1136\n      }\n    },\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"Home\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"id\" : \"5BDEC5C9-275A-411C-96EC-C955232D1973\",\n    \"visible\" : false,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"AD7F9CEB-8FBF-4B3E-B06E-1E3C3F3B693B\",\n        \"visible\" : false,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-终-AD7F9CEB-8FBF-4B3E-B06E-1E3C3F3B693B.png\",\n          \"frame\" : {\n            \"y\" : -83,\n            \"x\" : 463,\n            \"width\" : 252,\n            \"height\" : 252\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : -83,\n          \"x\" : 463,\n          \"width\" : 252,\n          \"height\" : 252\n        },\n        \"name\" : \"终\"\n      }\n    ],\n    \"image\" : {\n      \"path\" : \"images\\/Layer-New-5BDEC5C9-275A-411C-96EC-C955232D1973.png\",\n      \"frame\" : {\n        \"y\" : 0,\n        \"x\" : 0,\n        \"width\" : 640,\n        \"height\" : 1136\n      }\n    },\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"New\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"id\" : \"6BBC87DB-63EA-4449-B0DC-76CB150AA31A\",\n    \"visible\" : false,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"9C449D54-EACC-4578-AE0E-AE8A50CDA6C3\",\n        \"visible\" : false,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-终-9C449D54-EACC-4578-AE0E-AE8A50CDA6C3.png\",\n          \"frame\" : {\n            \"y\" : -83,\n            \"x\" : 463,\n            \"width\" : 252,\n            \"height\" : 252\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : -83,\n          \"x\" : 463,\n          \"width\" : 252,\n          \"height\" : 252\n        },\n        \"name\" : \"终\"\n      }\n    ],\n    \"image\" : {\n      \"path\" : \"images\\/Layer-New_Copy-6BBC87DB-63EA-4449-B0DC-76CB150AA31A.png\",\n      \"frame\" : {\n        \"y\" : 0,\n        \"x\" : 0,\n        \"width\" : 640,\n        \"height\" : 1136\n      }\n    },\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"New_Copy\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"8590BE93-36FE-430E-80A6-07A1FB386165\",\n        \"visible\" : true,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-日__记-8590BE93-36FE-430E-80A6-07A1FB386165.png\",\n          \"frame\" : {\n            \"y\" : 172,\n            \"x\" : 363,\n            \"width\" : 297,\n            \"height\" : 664\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 172,\n          \"x\" : 363,\n          \"width\" : 297,\n          \"height\" : 664\n        },\n        \"name\" : \"日__记\"\n      }\n    ],\n    \"id\" : \"5B09AEA1-E047-4C3E-9FD4-EF3278125572\",\n    \"visible\" : false,\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 1024,\n      \"height\" : 1024\n    },\n    \"name\" : \"Icon\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"id\" : \"847FC04B-0A07-4455-9F20-0BB6C4876EE7\",\n    \"visible\" : false,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"26E57A38-1116-4942-B185-0DD5B65A2EC0\",\n        \"visible\" : true,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-ovel2-26E57A38-1116-4942-B185-0DD5B65A2EC0.png\",\n          \"frame\" : {\n            \"y\" : 262,\n            \"x\" : 555,\n            \"width\" : 69,\n            \"height\" : 69\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 262,\n          \"x\" : 555,\n          \"width\" : 69,\n          \"height\" : 69\n        },\n        \"name\" : \"ovel2\"\n      }\n    ],\n    \"image\" : {\n      \"path\" : \"images\\/Layer-Year-847FC04B-0A07-4455-9F20-0BB6C4876EE7.png\",\n      \"frame\" : {\n        \"y\" : 0,\n        \"x\" : 0,\n        \"width\" : 640,\n        \"height\" : 1136\n      }\n    },\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"Year\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"children\" : [\n          {\n            \"maskFrame\" : null,\n            \"id\" : \"980149BA-2C3C-4E32-A36D-B5A6BFC595BE\",\n            \"visible\" : true,\n            \"children\" : [\n\n            ],\n            \"image\" : {\n              \"path\" : \"images\\/Layer-撰_2_copy-980149BA-2C3C-4E32-A36D-B5A6BFC595BE.png\",\n              \"frame\" : {\n                \"y\" : 491,\n                \"x\" : 473,\n                \"width\" : 54,\n                \"height\" : 53\n              }\n            },\n            \"imageType\" : \"png\",\n            \"layerFrame\" : {\n              \"y\" : 491,\n              \"x\" : 473,\n              \"width\" : 54,\n              \"height\" : 53\n            },\n            \"name\" : \"撰_2_copy\"\n          }\n        ],\n        \"id\" : \"E33F9719-4EF8-43B3-80B2-497BFFC8BECD\",\n        \"visible\" : true,\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 491,\n          \"x\" : 473,\n          \"width\" : 54,\n          \"height\" : 53\n        },\n        \"name\" : \"撰_2__撰_2_copy__撰_2_copy_2\"\n      },\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"B33431C3-0F1F-4599-9AEF-FD5965495BB1\",\n        \"visible\" : true,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-日__记-B33431C3-0F1F-4599-9AEF-FD5965495BB1.png\",\n          \"frame\" : {\n            \"y\" : 121,\n            \"x\" : 426,\n            \"width\" : 149,\n            \"height\" : 332\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 121,\n          \"x\" : 426,\n          \"width\" : 149,\n          \"height\" : 332\n        },\n        \"name\" : \"日__记\"\n      }\n    ],\n    \"id\" : \"FF250C42-8556-4082-88F3-D76C148BA50A\",\n    \"visible\" : false,\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 1000,\n      \"height\" : 625\n    },\n    \"name\" : \"Artboard_8\"\n  }\n]"
  },
  {
    "path": "Example Codes/Framer/Diary.framer/imported/Diary/layers.json.js",
    "content": "window.__imported__ = window.__imported__ || {};\nwindow.__imported__[\"Diary/layers.json.js\"] = [\n  {\n    \"maskFrame\" : null,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"1DA83D77-6C6D-4D7B-B3D9-68BA4D6C2ECA\",\n        \"visible\" : true,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-Text-1DA83D77-6C6D-4D7B-B3D9-68BA4D6C2ECA.png\",\n          \"frame\" : {\n            \"y\" : 32,\n            \"x\" : 30,\n            \"width\" : 583,\n            \"height\" : 501\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 32,\n          \"x\" : 30,\n          \"width\" : 583,\n          \"height\" : 501\n        },\n        \"name\" : \"Text\"\n      }\n    ],\n    \"id\" : \"2412BB30-E502-4498-870B-D8F1AA55AD83\",\n    \"visible\" : true,\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"View\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"id\" : \"D44BFEE0-5289-4B72-8F59-4053667AF4CD\",\n    \"visible\" : false,\n    \"children\" : [\n\n    ],\n    \"image\" : {\n      \"path\" : \"images\\/Layer-Cover-D44BFEE0-5289-4B72-8F59-4053667AF4CD.png\",\n      \"frame\" : {\n        \"y\" : 0,\n        \"x\" : 0,\n        \"width\" : 640,\n        \"height\" : 1136\n      }\n    },\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"Cover\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"id\" : \"D67A9464-036A-4229-836C-F5A92782923A\",\n    \"visible\" : false,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"1E6D202E-B854-4CFD-8793-E2C8A8C074B2\",\n        \"visible\" : false,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-Progress-1E6D202E-B854-4CFD-8793-E2C8A8C074B2.png\",\n          \"frame\" : {\n            \"y\" : 654,\n            \"x\" : 90,\n            \"width\" : 461,\n            \"height\" : 215\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 654,\n          \"x\" : 90,\n          \"width\" : 461,\n          \"height\" : 215\n        },\n        \"name\" : \"Progress\"\n      },\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"9004E6E3-E73D-4B2D-AFE2-BADA20947D6B\",\n        \"visible\" : true,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-撰_2-9004E6E3-E73D-4B2D-AFE2-BADA20947D6B.png\",\n          \"frame\" : {\n            \"y\" : 249,\n            \"x\" : 553,\n            \"width\" : 69,\n            \"height\" : 69\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 249,\n          \"x\" : 553,\n          \"width\" : 69,\n          \"height\" : 69\n        },\n        \"name\" : \"撰_2\"\n      },\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"A3E208D9-2B37-4379-AAAE-C4D2EE147566\",\n        \"visible\" : true,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-Month_3-A3E208D9-2B37-4379-AAAE-C4D2EE147566.png\",\n          \"frame\" : {\n            \"y\" : 466,\n            \"x\" : 200,\n            \"width\" : 246,\n            \"height\" : 178\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 466,\n          \"x\" : 200,\n          \"width\" : 246,\n          \"height\" : 178\n        },\n        \"name\" : \"Month_3\"\n      }\n    ],\n    \"image\" : {\n      \"path\" : \"images\\/Layer-Month-D67A9464-036A-4229-836C-F5A92782923A.png\",\n      \"frame\" : {\n        \"y\" : 0,\n        \"x\" : 0,\n        \"width\" : 640,\n        \"height\" : 1136\n      }\n    },\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"Month\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"id\" : \"AABB1996-FED5-4126-88AE-33F5B11CEE7F\",\n    \"visible\" : false,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"967E343C-CCD3-46D9-8F11-0C9C3B8BEEAD\",\n        \"visible\" : false,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-撰_2-967E343C-CCD3-46D9-8F11-0C9C3B8BEEAD.png\",\n          \"frame\" : {\n            \"y\" : -67,\n            \"x\" : 443,\n            \"width\" : 260,\n            \"height\" : 260\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : -67,\n          \"x\" : 443,\n          \"width\" : 260,\n          \"height\" : 260\n        },\n        \"name\" : \"撰_2\"\n      }\n    ],\n    \"image\" : {\n      \"path\" : \"images\\/Layer-Home-AABB1996-FED5-4126-88AE-33F5B11CEE7F.png\",\n      \"frame\" : {\n        \"y\" : 0,\n        \"x\" : 0,\n        \"width\" : 640,\n        \"height\" : 1136\n      }\n    },\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"Home\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"id\" : \"5BDEC5C9-275A-411C-96EC-C955232D1973\",\n    \"visible\" : false,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"AD7F9CEB-8FBF-4B3E-B06E-1E3C3F3B693B\",\n        \"visible\" : false,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-终-AD7F9CEB-8FBF-4B3E-B06E-1E3C3F3B693B.png\",\n          \"frame\" : {\n            \"y\" : -83,\n            \"x\" : 463,\n            \"width\" : 252,\n            \"height\" : 252\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : -83,\n          \"x\" : 463,\n          \"width\" : 252,\n          \"height\" : 252\n        },\n        \"name\" : \"终\"\n      }\n    ],\n    \"image\" : {\n      \"path\" : \"images\\/Layer-New-5BDEC5C9-275A-411C-96EC-C955232D1973.png\",\n      \"frame\" : {\n        \"y\" : 0,\n        \"x\" : 0,\n        \"width\" : 640,\n        \"height\" : 1136\n      }\n    },\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"New\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"id\" : \"6BBC87DB-63EA-4449-B0DC-76CB150AA31A\",\n    \"visible\" : false,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"9C449D54-EACC-4578-AE0E-AE8A50CDA6C3\",\n        \"visible\" : false,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-终-9C449D54-EACC-4578-AE0E-AE8A50CDA6C3.png\",\n          \"frame\" : {\n            \"y\" : -83,\n            \"x\" : 463,\n            \"width\" : 252,\n            \"height\" : 252\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : -83,\n          \"x\" : 463,\n          \"width\" : 252,\n          \"height\" : 252\n        },\n        \"name\" : \"终\"\n      }\n    ],\n    \"image\" : {\n      \"path\" : \"images\\/Layer-New_Copy-6BBC87DB-63EA-4449-B0DC-76CB150AA31A.png\",\n      \"frame\" : {\n        \"y\" : 0,\n        \"x\" : 0,\n        \"width\" : 640,\n        \"height\" : 1136\n      }\n    },\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"New_Copy\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"8590BE93-36FE-430E-80A6-07A1FB386165\",\n        \"visible\" : true,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-日__记-8590BE93-36FE-430E-80A6-07A1FB386165.png\",\n          \"frame\" : {\n            \"y\" : 172,\n            \"x\" : 363,\n            \"width\" : 297,\n            \"height\" : 664\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 172,\n          \"x\" : 363,\n          \"width\" : 297,\n          \"height\" : 664\n        },\n        \"name\" : \"日__记\"\n      }\n    ],\n    \"id\" : \"5B09AEA1-E047-4C3E-9FD4-EF3278125572\",\n    \"visible\" : false,\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 1024,\n      \"height\" : 1024\n    },\n    \"name\" : \"Icon\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"id\" : \"847FC04B-0A07-4455-9F20-0BB6C4876EE7\",\n    \"visible\" : false,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"26E57A38-1116-4942-B185-0DD5B65A2EC0\",\n        \"visible\" : true,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-ovel2-26E57A38-1116-4942-B185-0DD5B65A2EC0.png\",\n          \"frame\" : {\n            \"y\" : 262,\n            \"x\" : 555,\n            \"width\" : 69,\n            \"height\" : 69\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 262,\n          \"x\" : 555,\n          \"width\" : 69,\n          \"height\" : 69\n        },\n        \"name\" : \"ovel2\"\n      }\n    ],\n    \"image\" : {\n      \"path\" : \"images\\/Layer-Year-847FC04B-0A07-4455-9F20-0BB6C4876EE7.png\",\n      \"frame\" : {\n        \"y\" : 0,\n        \"x\" : 0,\n        \"width\" : 640,\n        \"height\" : 1136\n      }\n    },\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 640,\n      \"height\" : 1136\n    },\n    \"name\" : \"Year\"\n  },\n  {\n    \"maskFrame\" : null,\n    \"children\" : [\n      {\n        \"maskFrame\" : null,\n        \"children\" : [\n          {\n            \"maskFrame\" : null,\n            \"id\" : \"980149BA-2C3C-4E32-A36D-B5A6BFC595BE\",\n            \"visible\" : true,\n            \"children\" : [\n\n            ],\n            \"image\" : {\n              \"path\" : \"images\\/Layer-撰_2_copy-980149BA-2C3C-4E32-A36D-B5A6BFC595BE.png\",\n              \"frame\" : {\n                \"y\" : 491,\n                \"x\" : 473,\n                \"width\" : 54,\n                \"height\" : 53\n              }\n            },\n            \"imageType\" : \"png\",\n            \"layerFrame\" : {\n              \"y\" : 491,\n              \"x\" : 473,\n              \"width\" : 54,\n              \"height\" : 53\n            },\n            \"name\" : \"撰_2_copy\"\n          }\n        ],\n        \"id\" : \"E33F9719-4EF8-43B3-80B2-497BFFC8BECD\",\n        \"visible\" : true,\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 491,\n          \"x\" : 473,\n          \"width\" : 54,\n          \"height\" : 53\n        },\n        \"name\" : \"撰_2__撰_2_copy__撰_2_copy_2\"\n      },\n      {\n        \"maskFrame\" : null,\n        \"id\" : \"B33431C3-0F1F-4599-9AEF-FD5965495BB1\",\n        \"visible\" : true,\n        \"children\" : [\n\n        ],\n        \"image\" : {\n          \"path\" : \"images\\/Layer-日__记-B33431C3-0F1F-4599-9AEF-FD5965495BB1.png\",\n          \"frame\" : {\n            \"y\" : 121,\n            \"x\" : 426,\n            \"width\" : 149,\n            \"height\" : 332\n          }\n        },\n        \"imageType\" : \"png\",\n        \"layerFrame\" : {\n          \"y\" : 121,\n          \"x\" : 426,\n          \"width\" : 149,\n          \"height\" : 332\n        },\n        \"name\" : \"日__记\"\n      }\n    ],\n    \"id\" : \"FF250C42-8556-4082-88F3-D76C148BA50A\",\n    \"visible\" : false,\n    \"imageType\" : \"png\",\n    \"layerFrame\" : {\n      \"y\" : 0,\n      \"x\" : 0,\n      \"width\" : 1000,\n      \"height\" : 625\n    },\n    \"name\" : \"Artboard_8\"\n  }\n]"
  },
  {
    "path": "Example Codes/Framer/Diary.framer/index.html",
    "content": "<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<meta charset=\"utf-8\">\n\t\t\n\t\t<meta name=\"format-detection\" content=\"telephone=no\">\n\t\t<meta name=\"apple-mobile-web-app-capable\" content=\"yes\">\n\t\t<meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\">\n\n\t\t<script type=\"text/javascript\">\n\t\t// This automatically sets the right viewport scale on mobile devices\n\t\t(function() {\n \t\tvar scale = 1 / window.devicePixelRatio\n \t\tdocument.write(\"<meta name=\\\"viewport\\\" content=\\\"width=device-width, height=device-height, initial-scale=\" + scale + \", maximum-scale=\" + scale + \", user-scalable=no\\\">\")\n\t\t})()\n\t\t</script>\n\n\t\t<link rel=\"apple-touch-icon\" href=\"framer/images/icon-120.png\">\n\t\t<link rel=\"apple-touch-icon\" href=\"framer/images/icon-76.png\" sizes=\"76x76\">\n\t\t<link rel=\"apple-touch-icon\" href=\"framer/images/icon-120.png\" sizes=\"120x120\">\n\t\t<link rel=\"apple-touch-icon\" href=\"framer/images/icon-152.png\" sizes=\"152x152\">\n\t\t<link rel=\"apple-touch-icon\" href=\"framer/images/icon-180.png\" sizes=\"180x180\">\n\t\t<link rel=\"apple-touch-icon\" href=\"framer/images/icon-192.png\" sizes=\"192x192\">\n\n\t\t<link rel=\"stylesheet\" type=\"text/css\" href=\"framer/style.css\">\n\n\t\t<script src=\"framer/coffee-script.js\"></script>\n\t\t<script src=\"framer/framer.js\"></script>\n\t\t<script src=\"framer/framer.generated.js\"></script>\n\t\t<script src=\"framer/framer.modules.js\"></script>\n\t\t<script src=\"framer/framer.init.js\"></script>\n\n\t</head>\n\t<body>\n\t</body>\n</html>"
  },
  {
    "path": "Example Codes/Framer/Diary.framer/modules/myModule.coffee",
    "content": "# Add the following line to your project in Framer Studio. \n# myModule = require \"myModule\"\n# Reference the contents by name, like myModule.myFunction() or myModule.myVar\n\nexports.myVar = \"myVariable\"\n\nexports.myFunction = ->\n\tprint \"myFunction is running\"\n\nexports.myArray = [1, 2, 3]"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_0/SimpleHello/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  SimpleHello\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_0/SimpleHello/Base.lproj/LaunchScreen.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.XIB\" version=\"3.0\" toolsVersion=\"6214\" systemVersion=\"14A314h\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"6207\"/>\n        <capability name=\"Constraints with non-1.0 multipliers\" minToolsVersion=\"5.1\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\"/>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <view contentMode=\"scaleToFill\" id=\"iN0-l3-epB\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"480\" height=\"480\"/>\n            <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n            <subviews>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"  Copyright (c) 2015年 kevinzhow. All rights reserved.\" textAlignment=\"center\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"9\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"8ie-xW-0ye\">\n                    <rect key=\"frame\" x=\"20\" y=\"439\" width=\"441\" height=\"21\"/>\n                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"SimpleHello\" textAlignment=\"center\" lineBreakMode=\"middleTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"18\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"kId-c2-rCX\">\n                    <rect key=\"frame\" x=\"20\" y=\"140\" width=\"441\" height=\"43\"/>\n                    <fontDescription key=\"fontDescription\" type=\"boldSystem\" pointSize=\"36\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n            </subviews>\n            <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n            <constraints>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"centerY\" secondItem=\"iN0-l3-epB\" secondAttribute=\"bottom\" multiplier=\"1/3\" constant=\"1\" id=\"5cJ-9S-tgC\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"kId-c2-rCX\" secondAttribute=\"centerX\" id=\"Koa-jz-hwk\"/>\n                <constraint firstAttribute=\"bottom\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"bottom\" constant=\"20\" id=\"Kzo-t9-V3l\"/>\n                <constraint firstItem=\"8ie-xW-0ye\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"MfP-vx-nX0\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"centerX\" id=\"ZEH-qu-HZ9\"/>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"fvb-Df-36g\"/>\n            </constraints>\n            <nil key=\"simulatedStatusBarMetrics\"/>\n            <freeformSimulatedSizeMetrics key=\"simulatedDestinationMetrics\"/>\n            <point key=\"canvasLocation\" x=\"548\" y=\"455\"/>\n        </view>\n    </objects>\n</document>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_0/SimpleHello/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"BYZ-38-t0r\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"tne-QT-ifu\">\n            <objects>\n                <viewController id=\"BYZ-38-t0r\" customClass=\"ViewController\" customModule=\"SimpleHello\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"y3c-jy-aDJ\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"wfy-db-euE\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"8bC-Xf-vdC\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"dkx-z0-nzr\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_0/SimpleHello/Images.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_0/SimpleHello/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>kevinzhow.$(PRODUCT_NAME:rfc1034identifier)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_0/SimpleHello/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  SimpleHello\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_0/SimpleHello.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0AA102541B2883F500C0B299 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA102531B2883F500C0B299 /* AppDelegate.swift */; };\n\t\t0AA102561B2883F500C0B299 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA102551B2883F500C0B299 /* ViewController.swift */; };\n\t\t0AA102591B2883F500C0B299 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0AA102571B2883F500C0B299 /* Main.storyboard */; };\n\t\t0AA1025B1B2883F500C0B299 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0AA1025A1B2883F500C0B299 /* Images.xcassets */; };\n\t\t0AA1025E1B2883F500C0B299 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 0AA1025C1B2883F500C0B299 /* LaunchScreen.xib */; };\n\t\t0AA1026A1B2883F500C0B299 /* SimpleHelloTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA102691B2883F500C0B299 /* SimpleHelloTests.swift */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\t0AA102641B2883F500C0B299 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 0AA102461B2883F500C0B299 /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 0AA1024D1B2883F500C0B299;\n\t\t\tremoteInfo = SimpleHello;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXFileReference section */\n\t\t0AA1024E1B2883F500C0B299 /* SimpleHello.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SimpleHello.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0AA102521B2883F500C0B299 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0AA102531B2883F500C0B299 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0AA102551B2883F500C0B299 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0AA102581B2883F500C0B299 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0AA1025A1B2883F500C0B299 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = \"<group>\"; };\n\t\t0AA1025D1B2883F500C0B299 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = \"<group>\"; };\n\t\t0AA102631B2883F500C0B299 /* SimpleHelloTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SimpleHelloTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0AA102681B2883F500C0B299 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0AA102691B2883F500C0B299 /* SimpleHelloTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SimpleHelloTests.swift; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0AA1024B1B2883F500C0B299 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA102601B2883F500C0B299 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0AA102451B2883F500C0B299 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102501B2883F500C0B299 /* SimpleHello */,\n\t\t\t\t0AA102661B2883F500C0B299 /* SimpleHelloTests */,\n\t\t\t\t0AA1024F1B2883F500C0B299 /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA1024F1B2883F500C0B299 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1024E1B2883F500C0B299 /* SimpleHello.app */,\n\t\t\t\t0AA102631B2883F500C0B299 /* SimpleHelloTests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102501B2883F500C0B299 /* SimpleHello */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102531B2883F500C0B299 /* AppDelegate.swift */,\n\t\t\t\t0AA102551B2883F500C0B299 /* ViewController.swift */,\n\t\t\t\t0AA102571B2883F500C0B299 /* Main.storyboard */,\n\t\t\t\t0AA1025A1B2883F500C0B299 /* Images.xcassets */,\n\t\t\t\t0AA1025C1B2883F500C0B299 /* LaunchScreen.xib */,\n\t\t\t\t0AA102511B2883F500C0B299 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = SimpleHello;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102511B2883F500C0B299 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102521B2883F500C0B299 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102661B2883F500C0B299 /* SimpleHelloTests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102691B2883F500C0B299 /* SimpleHelloTests.swift */,\n\t\t\t\t0AA102671B2883F500C0B299 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = SimpleHelloTests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102671B2883F500C0B299 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102681B2883F500C0B299 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0AA1024D1B2883F500C0B299 /* SimpleHello */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0AA1026D1B2883F500C0B299 /* Build configuration list for PBXNativeTarget \"SimpleHello\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0AA1024A1B2883F500C0B299 /* Sources */,\n\t\t\t\t0AA1024B1B2883F500C0B299 /* Frameworks */,\n\t\t\t\t0AA1024C1B2883F500C0B299 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = SimpleHello;\n\t\t\tproductName = SimpleHello;\n\t\t\tproductReference = 0AA1024E1B2883F500C0B299 /* SimpleHello.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n\t\t0AA102621B2883F500C0B299 /* SimpleHelloTests */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0AA102701B2883F500C0B299 /* Build configuration list for PBXNativeTarget \"SimpleHelloTests\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0AA1025F1B2883F500C0B299 /* Sources */,\n\t\t\t\t0AA102601B2883F500C0B299 /* Frameworks */,\n\t\t\t\t0AA102611B2883F500C0B299 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\t0AA102651B2883F500C0B299 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = SimpleHelloTests;\n\t\t\tproductName = SimpleHelloTests;\n\t\t\tproductReference = 0AA102631B2883F500C0B299 /* SimpleHelloTests.xctest */;\n\t\t\tproductType = \"com.apple.product-type.bundle.unit-test\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0AA102461B2883F500C0B299 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0700;\n\t\t\t\tLastUpgradeCheck = 0630;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0AA1024D1B2883F500C0B299 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.3.2;\n\t\t\t\t\t\tLastSwiftMigration = 1010;\n\t\t\t\t\t};\n\t\t\t\t\t0AA102621B2883F500C0B299 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.3.2;\n\t\t\t\t\t\tLastSwiftMigration = 1010;\n\t\t\t\t\t\tTestTargetID = 0AA1024D1B2883F500C0B299;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0AA102491B2883F500C0B299 /* Build configuration list for PBXProject \"SimpleHello\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0AA102451B2883F500C0B299;\n\t\t\tproductRefGroup = 0AA1024F1B2883F500C0B299 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0AA1024D1B2883F500C0B299 /* SimpleHello */,\n\t\t\t\t0AA102621B2883F500C0B299 /* SimpleHelloTests */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0AA1024C1B2883F500C0B299 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA102591B2883F500C0B299 /* Main.storyboard in Resources */,\n\t\t\t\t0AA1025E1B2883F500C0B299 /* LaunchScreen.xib in Resources */,\n\t\t\t\t0AA1025B1B2883F500C0B299 /* Images.xcassets in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA102611B2883F500C0B299 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0AA1024A1B2883F500C0B299 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA102561B2883F500C0B299 /* ViewController.swift in Sources */,\n\t\t\t\t0AA102541B2883F500C0B299 /* AppDelegate.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA1025F1B2883F500C0B299 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA1026A1B2883F500C0B299 /* SimpleHelloTests.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\t0AA102651B2883F500C0B299 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = 0AA1024D1B2883F500C0B299 /* SimpleHello */;\n\t\t\ttargetProxy = 0AA102641B2883F500C0B299 /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin PBXVariantGroup section */\n\t\t0AA102571B2883F500C0B299 /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102581B2883F500C0B299 /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA1025C1B2883F500C0B299 /* LaunchScreen.xib */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1025D1B2883F500C0B299 /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.xib;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0AA1026B1B2883F500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_SYMBOLS_PRIVATE_EXTERN = NO;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.3;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA1026C1B2883F500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.3;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0AA1026E1B2883F500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = SimpleHello/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA1026F1B2883F500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = SimpleHello/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0AA102711B2883F500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = SimpleHelloTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/SimpleHello.app/SimpleHello\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA102721B2883F500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = SimpleHelloTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/SimpleHello.app/SimpleHello\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0AA102491B2883F500C0B299 /* Build configuration list for PBXProject \"SimpleHello\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA1026B1B2883F500C0B299 /* Debug */,\n\t\t\t\t0AA1026C1B2883F500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0AA1026D1B2883F500C0B299 /* Build configuration list for PBXNativeTarget \"SimpleHello\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA1026E1B2883F500C0B299 /* Debug */,\n\t\t\t\t0AA1026F1B2883F500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0AA102701B2883F500C0B299 /* Build configuration list for PBXNativeTarget \"SimpleHelloTests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA102711B2883F500C0B299 /* Debug */,\n\t\t\t\t0AA102721B2883F500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 0AA102461B2883F500C0B299 /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_0/SimpleHello.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:SimpleHello.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_0/SimpleHello.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_0/SimpleHello.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/SimpleHello.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0630\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n               BuildableName = \"SimpleHello.app\"\n               BlueprintName = \"SimpleHello\"\n               ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"NO\"\n            buildForArchiving = \"NO\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102621B2883F500C0B299\"\n               BuildableName = \"SimpleHelloTests.xctest\"\n               BlueprintName = \"SimpleHelloTests\"\n               ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      buildConfiguration = \"Debug\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102621B2883F500C0B299\"\n               BuildableName = \"SimpleHelloTests.xctest\"\n               BlueprintName = \"SimpleHelloTests\"\n               ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n            BuildableName = \"SimpleHello.app\"\n            BlueprintName = \"SimpleHello\"\n            ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n   </TestAction>\n   <LaunchAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Debug\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n            BuildableName = \"SimpleHello.app\"\n            BlueprintName = \"SimpleHello\"\n            ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Release\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n            BuildableName = \"SimpleHello.app\"\n            BlueprintName = \"SimpleHello\"\n            ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_0/SimpleHello.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>SimpleHello.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0AA1024D1B2883F500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t\t<key>0AA102621B2883F500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_0/SimpleHello.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>SimpleHello.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_0/SimpleHello.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/SimpleHello.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0700\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n               BuildableName = \"SimpleHello.app\"\n               BlueprintName = \"SimpleHello\"\n               ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102621B2883F500C0B299\"\n               BuildableName = \"SimpleHelloTests.xctest\"\n               BlueprintName = \"SimpleHelloTests\"\n               ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n            BuildableName = \"SimpleHello.app\"\n            BlueprintName = \"SimpleHello\"\n            ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n            BuildableName = \"SimpleHello.app\"\n            BlueprintName = \"SimpleHello\"\n            ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n            BuildableName = \"SimpleHello.app\"\n            BlueprintName = \"SimpleHello\"\n            ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_0/SimpleHello.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>SimpleHello.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0AA1024D1B2883F500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t\t<key>0AA102621B2883F500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_0/SimpleHelloTests/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>kevinzhow.$(PRODUCT_NAME:rfc1034identifier)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>BNDL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_0/SimpleHelloTests/SimpleHelloTests.swift",
    "content": "//\n//  SimpleHelloTests.swift\n//  SimpleHelloTests\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport XCTest\n\nclass SimpleHelloTests: XCTestCase {\n    \n    override func setUp() {\n        super.setUp()\n        // Put setup code here. This method is called before the invocation of each test method in the class.\n    }\n    \n    override func tearDown() {\n        // Put teardown code here. This method is called after the invocation of each test method in the class.\n        super.tearDown()\n    }\n    \n    func testExample() {\n        // This is an example of a functional test case.\n        XCTAssert(true, \"Pass\")\n    }\n    \n    func testPerformanceExample() {\n        // This is an example of a performance test case.\n        self.measure() {\n            // Put the code you want to measure the time of here.\n        }\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_1/SimpleHello/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  SimpleHello\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_1/SimpleHello/Base.lproj/LaunchScreen.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.XIB\" version=\"3.0\" toolsVersion=\"6214\" systemVersion=\"14A314h\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"6207\"/>\n        <capability name=\"Constraints with non-1.0 multipliers\" minToolsVersion=\"5.1\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\"/>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <view contentMode=\"scaleToFill\" id=\"iN0-l3-epB\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"480\" height=\"480\"/>\n            <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n            <subviews>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"  Copyright (c) 2015年 kevinzhow. All rights reserved.\" textAlignment=\"center\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"9\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"8ie-xW-0ye\">\n                    <rect key=\"frame\" x=\"20\" y=\"439\" width=\"441\" height=\"21\"/>\n                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"SimpleHello\" textAlignment=\"center\" lineBreakMode=\"middleTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"18\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"kId-c2-rCX\">\n                    <rect key=\"frame\" x=\"20\" y=\"140\" width=\"441\" height=\"43\"/>\n                    <fontDescription key=\"fontDescription\" type=\"boldSystem\" pointSize=\"36\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n            </subviews>\n            <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n            <constraints>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"centerY\" secondItem=\"iN0-l3-epB\" secondAttribute=\"bottom\" multiplier=\"1/3\" constant=\"1\" id=\"5cJ-9S-tgC\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"kId-c2-rCX\" secondAttribute=\"centerX\" id=\"Koa-jz-hwk\"/>\n                <constraint firstAttribute=\"bottom\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"bottom\" constant=\"20\" id=\"Kzo-t9-V3l\"/>\n                <constraint firstItem=\"8ie-xW-0ye\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"MfP-vx-nX0\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"centerX\" id=\"ZEH-qu-HZ9\"/>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"fvb-Df-36g\"/>\n            </constraints>\n            <nil key=\"simulatedStatusBarMetrics\"/>\n            <freeformSimulatedSizeMetrics key=\"simulatedDestinationMetrics\"/>\n            <point key=\"canvasLocation\" x=\"548\" y=\"455\"/>\n        </view>\n    </objects>\n</document>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_1/SimpleHello/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"BYZ-38-t0r\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"tne-QT-ifu\">\n            <objects>\n                <viewController id=\"BYZ-38-t0r\" customClass=\"ViewController\" customModule=\"SimpleHello\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"y3c-jy-aDJ\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"wfy-db-euE\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"8bC-Xf-vdC\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"dkx-z0-nzr\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_1/SimpleHello/Images.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_1/SimpleHello/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>kevinzhow.$(PRODUCT_NAME:rfc1034identifier)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_1/SimpleHello/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  SimpleHello\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nimport UIKit\n\nclass ViewController: UIViewController {\n    \n    var askButton: UIButton!\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let askButton = UIButton(type: UIButton.ButtonType.system)\n        \n        //创建一个 UIButton\n        \n        askButton.setTitle(\"你吃了吗\",\n            for: UIControl.State())\n        \n        //创建一个 设置默认状态下的文字，显示为 你吃了吗\n        \n        askButton.addTarget(self, action: #selector(ViewController.eatOrNot),\n            for: UIControl.Event.touchUpInside)\n\n        \n        //当点击这个 Button 的时候，执行 self （即 ViewController 这个类） 里面的 eatOrNot 方法\n        \n        askButton.frame = CGRect(\n            x: view.frame.width/2.0 - 50,\n            y: view.frame.height/2.0 - 20,\n            width: 100, height: 40)\n        \n        //通过计算 View 的高度和宽度，以及这个 Button 的宽度和高度，将 Button 放置在屏幕中间\n        \n        view.addSubview(askButton)\n        \n        //把 Button 添加到容器（即 View 里）\n        \n        // Do any additional setup after loading the view, typically from a nib.\n    }\n    \n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n    \n    @objc func eatOrNot() {\n        \n        let message = UIAlertView(title: \"Hi\",\n            message: \"我只吃电，不吃饭\",\n            delegate: nil, cancelButtonTitle: nil,\n            otherButtonTitles: \"好的\")\n        \n        //创建一个 UIAlertView 类\n        \n        message.show()\n        \n        //显示这个 AlertView\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_1/SimpleHello.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0AA102541B2883F500C0B299 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA102531B2883F500C0B299 /* AppDelegate.swift */; };\n\t\t0AA102561B2883F500C0B299 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA102551B2883F500C0B299 /* ViewController.swift */; };\n\t\t0AA102591B2883F500C0B299 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0AA102571B2883F500C0B299 /* Main.storyboard */; };\n\t\t0AA1025B1B2883F500C0B299 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0AA1025A1B2883F500C0B299 /* Images.xcassets */; };\n\t\t0AA1025E1B2883F500C0B299 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 0AA1025C1B2883F500C0B299 /* LaunchScreen.xib */; };\n\t\t0AA1026A1B2883F500C0B299 /* SimpleHelloTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA102691B2883F500C0B299 /* SimpleHelloTests.swift */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\t0AA102641B2883F500C0B299 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 0AA102461B2883F500C0B299 /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 0AA1024D1B2883F500C0B299;\n\t\t\tremoteInfo = SimpleHello;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXFileReference section */\n\t\t0AA1024E1B2883F500C0B299 /* SimpleHello.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SimpleHello.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0AA102521B2883F500C0B299 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0AA102531B2883F500C0B299 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0AA102551B2883F500C0B299 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0AA102581B2883F500C0B299 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0AA1025A1B2883F500C0B299 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = \"<group>\"; };\n\t\t0AA1025D1B2883F500C0B299 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = \"<group>\"; };\n\t\t0AA102631B2883F500C0B299 /* SimpleHelloTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SimpleHelloTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0AA102681B2883F500C0B299 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0AA102691B2883F500C0B299 /* SimpleHelloTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SimpleHelloTests.swift; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0AA1024B1B2883F500C0B299 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA102601B2883F500C0B299 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0AA102451B2883F500C0B299 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102501B2883F500C0B299 /* SimpleHello */,\n\t\t\t\t0AA102661B2883F500C0B299 /* SimpleHelloTests */,\n\t\t\t\t0AA1024F1B2883F500C0B299 /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA1024F1B2883F500C0B299 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1024E1B2883F500C0B299 /* SimpleHello.app */,\n\t\t\t\t0AA102631B2883F500C0B299 /* SimpleHelloTests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102501B2883F500C0B299 /* SimpleHello */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102531B2883F500C0B299 /* AppDelegate.swift */,\n\t\t\t\t0AA102551B2883F500C0B299 /* ViewController.swift */,\n\t\t\t\t0AA102571B2883F500C0B299 /* Main.storyboard */,\n\t\t\t\t0AA1025A1B2883F500C0B299 /* Images.xcassets */,\n\t\t\t\t0AA1025C1B2883F500C0B299 /* LaunchScreen.xib */,\n\t\t\t\t0AA102511B2883F500C0B299 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = SimpleHello;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102511B2883F500C0B299 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102521B2883F500C0B299 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102661B2883F500C0B299 /* SimpleHelloTests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102691B2883F500C0B299 /* SimpleHelloTests.swift */,\n\t\t\t\t0AA102671B2883F500C0B299 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = SimpleHelloTests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102671B2883F500C0B299 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102681B2883F500C0B299 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0AA1024D1B2883F500C0B299 /* SimpleHello */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0AA1026D1B2883F500C0B299 /* Build configuration list for PBXNativeTarget \"SimpleHello\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0AA1024A1B2883F500C0B299 /* Sources */,\n\t\t\t\t0AA1024B1B2883F500C0B299 /* Frameworks */,\n\t\t\t\t0AA1024C1B2883F500C0B299 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = SimpleHello;\n\t\t\tproductName = SimpleHello;\n\t\t\tproductReference = 0AA1024E1B2883F500C0B299 /* SimpleHello.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n\t\t0AA102621B2883F500C0B299 /* SimpleHelloTests */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0AA102701B2883F500C0B299 /* Build configuration list for PBXNativeTarget \"SimpleHelloTests\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0AA1025F1B2883F500C0B299 /* Sources */,\n\t\t\t\t0AA102601B2883F500C0B299 /* Frameworks */,\n\t\t\t\t0AA102611B2883F500C0B299 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\t0AA102651B2883F500C0B299 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = SimpleHelloTests;\n\t\t\tproductName = SimpleHelloTests;\n\t\t\tproductReference = 0AA102631B2883F500C0B299 /* SimpleHelloTests.xctest */;\n\t\t\tproductType = \"com.apple.product-type.bundle.unit-test\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0AA102461B2883F500C0B299 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0700;\n\t\t\t\tLastUpgradeCheck = 0630;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0AA1024D1B2883F500C0B299 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.3.2;\n\t\t\t\t\t\tLastSwiftMigration = 1010;\n\t\t\t\t\t};\n\t\t\t\t\t0AA102621B2883F500C0B299 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.3.2;\n\t\t\t\t\t\tLastSwiftMigration = 1010;\n\t\t\t\t\t\tTestTargetID = 0AA1024D1B2883F500C0B299;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0AA102491B2883F500C0B299 /* Build configuration list for PBXProject \"SimpleHello\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0AA102451B2883F500C0B299;\n\t\t\tproductRefGroup = 0AA1024F1B2883F500C0B299 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0AA1024D1B2883F500C0B299 /* SimpleHello */,\n\t\t\t\t0AA102621B2883F500C0B299 /* SimpleHelloTests */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0AA1024C1B2883F500C0B299 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA102591B2883F500C0B299 /* Main.storyboard in Resources */,\n\t\t\t\t0AA1025E1B2883F500C0B299 /* LaunchScreen.xib in Resources */,\n\t\t\t\t0AA1025B1B2883F500C0B299 /* Images.xcassets in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA102611B2883F500C0B299 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0AA1024A1B2883F500C0B299 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA102561B2883F500C0B299 /* ViewController.swift in Sources */,\n\t\t\t\t0AA102541B2883F500C0B299 /* AppDelegate.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA1025F1B2883F500C0B299 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA1026A1B2883F500C0B299 /* SimpleHelloTests.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\t0AA102651B2883F500C0B299 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = 0AA1024D1B2883F500C0B299 /* SimpleHello */;\n\t\t\ttargetProxy = 0AA102641B2883F500C0B299 /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin PBXVariantGroup section */\n\t\t0AA102571B2883F500C0B299 /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102581B2883F500C0B299 /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA1025C1B2883F500C0B299 /* LaunchScreen.xib */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1025D1B2883F500C0B299 /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.xib;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0AA1026B1B2883F500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_SYMBOLS_PRIVATE_EXTERN = NO;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.3;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA1026C1B2883F500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.3;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0AA1026E1B2883F500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = SimpleHello/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA1026F1B2883F500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = SimpleHello/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0AA102711B2883F500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = SimpleHelloTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/SimpleHello.app/SimpleHello\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA102721B2883F500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = SimpleHelloTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/SimpleHello.app/SimpleHello\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0AA102491B2883F500C0B299 /* Build configuration list for PBXProject \"SimpleHello\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA1026B1B2883F500C0B299 /* Debug */,\n\t\t\t\t0AA1026C1B2883F500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0AA1026D1B2883F500C0B299 /* Build configuration list for PBXNativeTarget \"SimpleHello\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA1026E1B2883F500C0B299 /* Debug */,\n\t\t\t\t0AA1026F1B2883F500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0AA102701B2883F500C0B299 /* Build configuration list for PBXNativeTarget \"SimpleHelloTests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA102711B2883F500C0B299 /* Debug */,\n\t\t\t\t0AA102721B2883F500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 0AA102461B2883F500C0B299 /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_1/SimpleHello.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:SimpleHello.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_1/SimpleHello.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_1/SimpleHello.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/SimpleHello.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0630\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n               BuildableName = \"SimpleHello.app\"\n               BlueprintName = \"SimpleHello\"\n               ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"NO\"\n            buildForArchiving = \"NO\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102621B2883F500C0B299\"\n               BuildableName = \"SimpleHelloTests.xctest\"\n               BlueprintName = \"SimpleHelloTests\"\n               ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      buildConfiguration = \"Debug\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102621B2883F500C0B299\"\n               BuildableName = \"SimpleHelloTests.xctest\"\n               BlueprintName = \"SimpleHelloTests\"\n               ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n            BuildableName = \"SimpleHello.app\"\n            BlueprintName = \"SimpleHello\"\n            ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n   </TestAction>\n   <LaunchAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Debug\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n            BuildableName = \"SimpleHello.app\"\n            BlueprintName = \"SimpleHello\"\n            ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Release\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n            BuildableName = \"SimpleHello.app\"\n            BlueprintName = \"SimpleHello\"\n            ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_1/SimpleHello.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>SimpleHello.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0AA1024D1B2883F500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t\t<key>0AA102621B2883F500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_1/SimpleHello.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>SimpleHello.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_1/SimpleHello.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/SimpleHello.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0700\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n               BuildableName = \"SimpleHello.app\"\n               BlueprintName = \"SimpleHello\"\n               ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102621B2883F500C0B299\"\n               BuildableName = \"SimpleHelloTests.xctest\"\n               BlueprintName = \"SimpleHelloTests\"\n               ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n            BuildableName = \"SimpleHello.app\"\n            BlueprintName = \"SimpleHello\"\n            ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n            BuildableName = \"SimpleHello.app\"\n            BlueprintName = \"SimpleHello\"\n            ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n            BuildableName = \"SimpleHello.app\"\n            BlueprintName = \"SimpleHello\"\n            ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_1/SimpleHello.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>SimpleHello.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0AA1024D1B2883F500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t\t<key>0AA102621B2883F500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_1/SimpleHelloTests/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>kevinzhow.$(PRODUCT_NAME:rfc1034identifier)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>BNDL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_1/SimpleHelloTests/SimpleHelloTests.swift",
    "content": "//\n//  SimpleHelloTests.swift\n//  SimpleHelloTests\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport XCTest\n\nclass SimpleHelloTests: XCTestCase {\n    \n    override func setUp() {\n        super.setUp()\n        // Put setup code here. This method is called before the invocation of each test method in the class.\n    }\n    \n    override func tearDown() {\n        // Put teardown code here. This method is called after the invocation of each test method in the class.\n        super.tearDown()\n    }\n    \n    func testExample() {\n        // This is an example of a functional test case.\n        XCTAssert(true, \"Pass\")\n    }\n    \n    func testPerformanceExample() {\n        // This is an example of a performance test case.\n        self.measure() {\n            // Put the code you want to measure the time of here.\n        }\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_final/SimpleHello/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  SimpleHello\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_final/SimpleHello/Base.lproj/LaunchScreen.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.XIB\" version=\"3.0\" toolsVersion=\"6214\" systemVersion=\"14A314h\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"6207\"/>\n        <capability name=\"Constraints with non-1.0 multipliers\" minToolsVersion=\"5.1\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\"/>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <view contentMode=\"scaleToFill\" id=\"iN0-l3-epB\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"480\" height=\"480\"/>\n            <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n            <subviews>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"  Copyright (c) 2015年 kevinzhow. All rights reserved.\" textAlignment=\"center\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"9\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"8ie-xW-0ye\">\n                    <rect key=\"frame\" x=\"20\" y=\"439\" width=\"441\" height=\"21\"/>\n                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"SimpleHello\" textAlignment=\"center\" lineBreakMode=\"middleTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"18\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"kId-c2-rCX\">\n                    <rect key=\"frame\" x=\"20\" y=\"140\" width=\"441\" height=\"43\"/>\n                    <fontDescription key=\"fontDescription\" type=\"boldSystem\" pointSize=\"36\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n            </subviews>\n            <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n            <constraints>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"centerY\" secondItem=\"iN0-l3-epB\" secondAttribute=\"bottom\" multiplier=\"1/3\" constant=\"1\" id=\"5cJ-9S-tgC\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"kId-c2-rCX\" secondAttribute=\"centerX\" id=\"Koa-jz-hwk\"/>\n                <constraint firstAttribute=\"bottom\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"bottom\" constant=\"20\" id=\"Kzo-t9-V3l\"/>\n                <constraint firstItem=\"8ie-xW-0ye\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"MfP-vx-nX0\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"centerX\" id=\"ZEH-qu-HZ9\"/>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"fvb-Df-36g\"/>\n            </constraints>\n            <nil key=\"simulatedStatusBarMetrics\"/>\n            <freeformSimulatedSizeMetrics key=\"simulatedDestinationMetrics\"/>\n            <point key=\"canvasLocation\" x=\"548\" y=\"455\"/>\n        </view>\n    </objects>\n</document>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_final/SimpleHello/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"BYZ-38-t0r\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"tne-QT-ifu\">\n            <objects>\n                <viewController id=\"BYZ-38-t0r\" customClass=\"ViewController\" customModule=\"SimpleHello\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"y3c-jy-aDJ\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"wfy-db-euE\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"8bC-Xf-vdC\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <subviews>\n                            <button opaque=\"NO\" contentMode=\"scaleToFill\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" buttonType=\"roundedRect\" lineBreakMode=\"middleTruncation\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"fIi-sb-55h\">\n                                <state key=\"normal\" title=\"你吃了吗？\">\n                                    <color key=\"titleShadowColor\" red=\"0.5\" green=\"0.5\" blue=\"0.5\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                </state>\n                                <connections>\n                                    <action selector=\"eatOrNot:\" destination=\"BYZ-38-t0r\" eventType=\"touchUpInside\" id=\"cwC-CX-mgh\"/>\n                                </connections>\n                            </button>\n                        </subviews>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <constraints>\n                            <constraint firstAttribute=\"centerX\" secondItem=\"fIi-sb-55h\" secondAttribute=\"centerX\" id=\"ncD-jn-7ml\"/>\n                            <constraint firstAttribute=\"centerY\" secondItem=\"fIi-sb-55h\" secondAttribute=\"centerY\" id=\"x5c-bn-Gys\"/>\n                        </constraints>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"dkx-z0-nzr\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_final/SimpleHello/Images.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_final/SimpleHello/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>kevinzhow.$(PRODUCT_NAME:rfc1034identifier)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_final/SimpleHello/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  SimpleHello\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        self.view.backgroundColor = UIColor.lightGray\n        \n        // Do any additional setup after loading the view, typically from a nib.\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n    @IBAction func eatOrNot(_ sender: AnyObject) {\n        let message = UIAlertView(title: \"Hi\", message: \"我只吃电，不吃饭\", delegate: nil, cancelButtonTitle: nil, otherButtonTitles: \"好的\")\n        message.show()\n    }\n\n    \n}\n\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_final/SimpleHello.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0AA102541B2883F500C0B299 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA102531B2883F500C0B299 /* AppDelegate.swift */; };\n\t\t0AA102561B2883F500C0B299 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA102551B2883F500C0B299 /* ViewController.swift */; };\n\t\t0AA102591B2883F500C0B299 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0AA102571B2883F500C0B299 /* Main.storyboard */; };\n\t\t0AA1025B1B2883F500C0B299 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0AA1025A1B2883F500C0B299 /* Images.xcassets */; };\n\t\t0AA1025E1B2883F500C0B299 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 0AA1025C1B2883F500C0B299 /* LaunchScreen.xib */; };\n\t\t0AA1026A1B2883F500C0B299 /* SimpleHelloTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA102691B2883F500C0B299 /* SimpleHelloTests.swift */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\t0AA102641B2883F500C0B299 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 0AA102461B2883F500C0B299 /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 0AA1024D1B2883F500C0B299;\n\t\t\tremoteInfo = SimpleHello;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXFileReference section */\n\t\t0AA1024E1B2883F500C0B299 /* SimpleHello.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SimpleHello.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0AA102521B2883F500C0B299 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0AA102531B2883F500C0B299 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t0AA102551B2883F500C0B299 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t0AA102581B2883F500C0B299 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0AA1025A1B2883F500C0B299 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = \"<group>\"; };\n\t\t0AA1025D1B2883F500C0B299 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = \"<group>\"; };\n\t\t0AA102631B2883F500C0B299 /* SimpleHelloTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SimpleHelloTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0AA102681B2883F500C0B299 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t0AA102691B2883F500C0B299 /* SimpleHelloTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SimpleHelloTests.swift; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0AA1024B1B2883F500C0B299 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA102601B2883F500C0B299 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0AA102451B2883F500C0B299 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102501B2883F500C0B299 /* SimpleHello */,\n\t\t\t\t0AA102661B2883F500C0B299 /* SimpleHelloTests */,\n\t\t\t\t0AA1024F1B2883F500C0B299 /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA1024F1B2883F500C0B299 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1024E1B2883F500C0B299 /* SimpleHello.app */,\n\t\t\t\t0AA102631B2883F500C0B299 /* SimpleHelloTests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102501B2883F500C0B299 /* SimpleHello */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102531B2883F500C0B299 /* AppDelegate.swift */,\n\t\t\t\t0AA102551B2883F500C0B299 /* ViewController.swift */,\n\t\t\t\t0AA102571B2883F500C0B299 /* Main.storyboard */,\n\t\t\t\t0AA1025A1B2883F500C0B299 /* Images.xcassets */,\n\t\t\t\t0AA1025C1B2883F500C0B299 /* LaunchScreen.xib */,\n\t\t\t\t0AA102511B2883F500C0B299 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = SimpleHello;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102511B2883F500C0B299 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102521B2883F500C0B299 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102661B2883F500C0B299 /* SimpleHelloTests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102691B2883F500C0B299 /* SimpleHelloTests.swift */,\n\t\t\t\t0AA102671B2883F500C0B299 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = SimpleHelloTests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA102671B2883F500C0B299 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102681B2883F500C0B299 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t0AA1024D1B2883F500C0B299 /* SimpleHello */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0AA1026D1B2883F500C0B299 /* Build configuration list for PBXNativeTarget \"SimpleHello\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0AA1024A1B2883F500C0B299 /* Sources */,\n\t\t\t\t0AA1024B1B2883F500C0B299 /* Frameworks */,\n\t\t\t\t0AA1024C1B2883F500C0B299 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = SimpleHello;\n\t\t\tproductName = SimpleHello;\n\t\t\tproductReference = 0AA1024E1B2883F500C0B299 /* SimpleHello.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n\t\t0AA102621B2883F500C0B299 /* SimpleHelloTests */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0AA102701B2883F500C0B299 /* Build configuration list for PBXNativeTarget \"SimpleHelloTests\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0AA1025F1B2883F500C0B299 /* Sources */,\n\t\t\t\t0AA102601B2883F500C0B299 /* Frameworks */,\n\t\t\t\t0AA102611B2883F500C0B299 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\t0AA102651B2883F500C0B299 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = SimpleHelloTests;\n\t\t\tproductName = SimpleHelloTests;\n\t\t\tproductReference = 0AA102631B2883F500C0B299 /* SimpleHelloTests.xctest */;\n\t\t\tproductType = \"com.apple.product-type.bundle.unit-test\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t0AA102461B2883F500C0B299 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftMigration = 0700;\n\t\t\t\tLastSwiftUpdateCheck = 0700;\n\t\t\t\tLastUpgradeCheck = 0630;\n\t\t\t\tORGANIZATIONNAME = kevinzhow;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0AA1024D1B2883F500C0B299 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.3.2;\n\t\t\t\t\t\tLastSwiftMigration = 1010;\n\t\t\t\t\t};\n\t\t\t\t\t0AA102621B2883F500C0B299 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.3.2;\n\t\t\t\t\t\tLastSwiftMigration = 1010;\n\t\t\t\t\t\tTestTargetID = 0AA1024D1B2883F500C0B299;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 0AA102491B2883F500C0B299 /* Build configuration list for PBXProject \"SimpleHello\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 0AA102451B2883F500C0B299;\n\t\t\tproductRefGroup = 0AA1024F1B2883F500C0B299 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t0AA1024D1B2883F500C0B299 /* SimpleHello */,\n\t\t\t\t0AA102621B2883F500C0B299 /* SimpleHelloTests */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0AA1024C1B2883F500C0B299 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA102591B2883F500C0B299 /* Main.storyboard in Resources */,\n\t\t\t\t0AA1025E1B2883F500C0B299 /* LaunchScreen.xib in Resources */,\n\t\t\t\t0AA1025B1B2883F500C0B299 /* Images.xcassets in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA102611B2883F500C0B299 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0AA1024A1B2883F500C0B299 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA102561B2883F500C0B299 /* ViewController.swift in Sources */,\n\t\t\t\t0AA102541B2883F500C0B299 /* AppDelegate.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t0AA1025F1B2883F500C0B299 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0AA1026A1B2883F500C0B299 /* SimpleHelloTests.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\t0AA102651B2883F500C0B299 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = 0AA1024D1B2883F500C0B299 /* SimpleHello */;\n\t\t\ttargetProxy = 0AA102641B2883F500C0B299 /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin PBXVariantGroup section */\n\t\t0AA102571B2883F500C0B299 /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA102581B2883F500C0B299 /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0AA1025C1B2883F500C0B299 /* LaunchScreen.xib */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0AA1025D1B2883F500C0B299 /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.xib;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0AA1026B1B2883F500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_SYMBOLS_PRIVATE_EXTERN = NO;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.3;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA1026C1B2883F500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.3;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0AA1026E1B2883F500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = SimpleHello/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA1026F1B2883F500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = SimpleHello/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t0AA102711B2883F500C0B299 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = SimpleHelloTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/SimpleHello.app/SimpleHello\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0AA102721B2883F500C0B299 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = SimpleHelloTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/SimpleHello.app/SimpleHello\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0AA102491B2883F500C0B299 /* Build configuration list for PBXProject \"SimpleHello\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA1026B1B2883F500C0B299 /* Debug */,\n\t\t\t\t0AA1026C1B2883F500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0AA1026D1B2883F500C0B299 /* Build configuration list for PBXNativeTarget \"SimpleHello\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA1026E1B2883F500C0B299 /* Debug */,\n\t\t\t\t0AA1026F1B2883F500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t0AA102701B2883F500C0B299 /* Build configuration list for PBXNativeTarget \"SimpleHelloTests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0AA102711B2883F500C0B299 /* Debug */,\n\t\t\t\t0AA102721B2883F500C0B299 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 0AA102461B2883F500C0B299 /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_final/SimpleHello.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:SimpleHello.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_final/SimpleHello.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_final/SimpleHello.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/SimpleHello.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0630\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n               BuildableName = \"SimpleHello.app\"\n               BlueprintName = \"SimpleHello\"\n               ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"NO\"\n            buildForArchiving = \"NO\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102621B2883F500C0B299\"\n               BuildableName = \"SimpleHelloTests.xctest\"\n               BlueprintName = \"SimpleHelloTests\"\n               ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      buildConfiguration = \"Debug\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102621B2883F500C0B299\"\n               BuildableName = \"SimpleHelloTests.xctest\"\n               BlueprintName = \"SimpleHelloTests\"\n               ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n            BuildableName = \"SimpleHello.app\"\n            BlueprintName = \"SimpleHello\"\n            ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n   </TestAction>\n   <LaunchAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Debug\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n            BuildableName = \"SimpleHello.app\"\n            BlueprintName = \"SimpleHello\"\n            ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Release\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n            BuildableName = \"SimpleHello.app\"\n            BlueprintName = \"SimpleHello\"\n            ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_final/SimpleHello.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>SimpleHello.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0AA1024D1B2883F500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t\t<key>0AA102621B2883F500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_final/SimpleHello.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>SimpleHello.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_final/SimpleHello.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/SimpleHello.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0700\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n               BuildableName = \"SimpleHello.app\"\n               BlueprintName = \"SimpleHello\"\n               ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"0AA102621B2883F500C0B299\"\n               BuildableName = \"SimpleHelloTests.xctest\"\n               BlueprintName = \"SimpleHelloTests\"\n               ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n            BuildableName = \"SimpleHello.app\"\n            BlueprintName = \"SimpleHello\"\n            ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n            BuildableName = \"SimpleHello.app\"\n            BlueprintName = \"SimpleHello\"\n            ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"0AA1024D1B2883F500C0B299\"\n            BuildableName = \"SimpleHello.app\"\n            BlueprintName = \"SimpleHello\"\n            ReferencedContainer = \"container:SimpleHello.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_final/SimpleHello.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>SimpleHello.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>0AA1024D1B2883F500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t\t<key>0AA102621B2883F500C0B299</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_final/SimpleHelloTests/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>kevinzhow.$(PRODUCT_NAME:rfc1034identifier)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>BNDL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Simple iOS App/SimpleHello_final/SimpleHelloTests/SimpleHelloTests.swift",
    "content": "//\n//  SimpleHelloTests.swift\n//  SimpleHelloTests\n//\n//  Created by kevinzhow on 15/6/10.\n//  Copyright (c) 2015年 kevinzhow. All rights reserved.\n//\n\nimport UIKit\nimport XCTest\n\nclass SimpleHelloTests: XCTestCase {\n    \n    override func setUp() {\n        super.setUp()\n        // Put setup code here. This method is called before the invocation of each test method in the class.\n    }\n    \n    override func tearDown() {\n        // Put teardown code here. This method is called after the invocation of each test method in the class.\n        super.tearDown()\n    }\n    \n    func testExample() {\n        // This is an example of a functional test case.\n        XCTAssert(true, \"Pass\")\n    }\n    \n    func testPerformanceExample() {\n        // This is an example of a performance test case.\n        self.measure() {\n            // Put the code you want to measure the time of here.\n        }\n    }\n    \n}\n"
  },
  {
    "path": "Example Codes/Swift/SwiftPlayground_1.playground/Contents.swift",
    "content": "//: Playground - noun: a place where people can play\n\nimport UIKit\n\n// 类\n\nclass NumberParser {\n    \n    func singleNumberToChinese(number: Character) -> String {\n        switch number {\n        case \"0\":\n            return \"零\"\n        case \"1\":\n            return \"一\"\n        case \"2\":\n            return \"二\"\n        case \"3\":\n            return \"三\"\n        case \"4\":\n            return \"四\"\n        case \"5\":\n            return \"五\"\n        case \"6\":\n            return \"六\"\n        case \"7\":\n            return \"七\"\n        case \"8\":\n            return \"八\"\n        case \"9\":\n            return \"九\"\n        default:\n            return \"\"\n        }\n    }\n    \n}\n\n// 类的实例化\n\nlet convertor = NumberParser()\nlet zeroString = convertor.singleNumberToChinese(number: \"0\")\nprint(zeroString)\n\n// 类的继承\n\nclass NumbersParser: NumberParser {\n    \n    func numberToChinese(number: Int) -> String {\n        let numbers = String(number)\n        var finalString = \"\"\n        for singleNumber in numbers{\n            let string = singleNumberToChinese(number: singleNumber)\n            finalString = \"\\(finalString)\\(string)\"\n        }\n        return finalString\n    }\n    \n}\n\nlet conventor = NumbersParser()\nlet yearString = conventor.numberToChinese(number: 2015)\nprint(yearString)\n"
  },
  {
    "path": "Example Codes/Swift/SwiftPlayground_1.playground/contents.xcplayground",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<playground version='5.0' target-platform='ios'>\n    <timeline fileName='timeline.xctimeline'/>\n</playground>"
  },
  {
    "path": "Example Codes/Swift/SwiftPlayground_1.playground/playground.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Swift/SwiftPlayground_1.playground/playground.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Swift/SwiftPlayground_2.playground/Contents.swift",
    "content": "//: Playground - noun: a place where people can play\n\nimport UIKit\n\nclass NumberParser {\n    \n    func singleNumberToChinese(number: Character) -> String {\n        switch number {\n        case \"0\":\n            return \"零\"\n        case \"1\":\n            return \"一\"\n        case \"2\":\n            return \"二\"\n        case \"3\":\n            return \"三\"\n        case \"4\":\n            return \"四\"\n        case \"5\":\n            return \"五\"\n        case \"6\":\n            return \"六\"\n        case \"7\":\n            return \"七\"\n        case \"8\":\n            return \"八\"\n        case \"9\":\n            return \"九\"\n        default:\n            return \"\"\n        }\n    }\n    \n}\n\n// 单例\n\nclass NumbersParser: NumberParser {\n    \n    static let sharedInstance = NumbersParser()\n    \n    func numberToChinese(number: Int) -> String {\n        let numbers = String(number)\n        var finalString = \"\"\n        for singleNumber in numbers{\n            let string = singleNumberToChinese(number: singleNumber)\n            finalString = \"\\(finalString)\\(string)\"\n        }\n        return finalString\n    }\n    \n}\n\nlet numbersString = NumbersParser.sharedInstance.numberToChinese(number: 2015)\n\nprint(numbersString)\n\n// 类的重载\n\nclass YearParser: NumbersParser {\n    static let sharedYearParserInstance = YearParser()\n    \n    override func numberToChinese(number:Int) -> String {\n        let numbersString = super.numberToChinese(number: number)\n        return \"\\(numbersString) 年\"\n    }\n    \n}\n\nlet yearString = YearParser.sharedYearParserInstance.numberToChinese(number: 2015)\n\nprint(yearString)\n\nlet numbersString2 = NumbersParser.sharedInstance.numberToChinese(number: 2015)\n\nprint(numbersString2)\n\n"
  },
  {
    "path": "Example Codes/Swift/SwiftPlayground_2.playground/contents.xcplayground",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<playground version='5.0' target-platform='ios'>\n    <timeline fileName='timeline.xctimeline'/>\n</playground>"
  },
  {
    "path": "Example Codes/Swift/SwiftPlayground_2.playground/playground.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Swift/SwiftPlayground_2.playground/playground.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Swift/SwiftPlayground_enum.playground/Contents.swift",
    "content": "//: Playground - noun: a place where people can play\n\nimport UIKit\n\nenum China: Int {\n    case Guangzhou = 0\n    case Beijing\n    \n    var description: String {\n        switch self {\n            case .Guangzhou:\n                return \"广州\"\n            case .Beijing:\n                return \"北京\"\n        }\n    }\n}\n\nclass City {\n    var name = China.Guangzhou\n}\n\nlet guangzhou = City()\n\nprint(guangzhou.name.description)\nprint(China.Guangzhou.description)\n"
  },
  {
    "path": "Example Codes/Swift/SwiftPlayground_enum.playground/contents.xcplayground",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<playground version='5.0' target-platform='ios'>\n    <timeline fileName='timeline.xctimeline'/>\n</playground>"
  },
  {
    "path": "Example Codes/Swift/SwiftPlayground_enum.playground/playground.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Swift/SwiftPlayground_enum.playground/playground.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Swift/SwiftPlayground_protocol.playground/Contents.swift",
    "content": "//: Playground - noun: a place where people can play\n\nimport UIKit\n\nprotocol SleepDelegate {\n    func canISleep() -> Bool\n}\n\nclass Human: SleepDelegate {\n    func canISleep() -> Bool {\n        return false\n    }\n}\n\nclass Cat {\n    var delegate: SleepDelegate?\n    \n    func wantsToSleep() {\n        if let master = delegate {\n            if master.canISleep() {\n                print(\"Go To Sleep\")\n            } else {\n                print(\"No\")\n            }\n        }\n    }\n}\n\n\nlet myCat = Cat()\nmyCat.delegate = Human()\n\nmyCat.wantsToSleep()"
  },
  {
    "path": "Example Codes/Swift/SwiftPlayground_protocol.playground/contents.xcplayground",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<playground version='5.0' target-platform='ios'>\n    <timeline fileName='timeline.xctimeline'/>\n</playground>"
  },
  {
    "path": "Example Codes/Swift/SwiftPlayground_protocol.playground/playground.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/Swift/SwiftPlayground_protocol.playground/playground.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/Swift/SwiftPlayground_protocol.playground/timeline.xctimeline",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Timeline\n   version = \"3.0\">\n   <TimelineItems>\n   </TimelineItems>\n</Timeline>\n"
  },
  {
    "path": "Example Codes/What is iOS App/What is iOS App/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  What is iOS App\n//\n//  Created by zhowkevin on 15/10/22.\n//  Copyright © 2015年 zhowkevin. All rights reserved.\n//\n\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/What is iOS App/What is iOS App/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/What is iOS App/What is iOS App/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"8150\" systemVersion=\"15A204g\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"8122\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"600\" height=\"600\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <animations/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/What is iOS App/What is iOS App/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"6211\" systemVersion=\"14A298i\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" initialViewController=\"BYZ-38-t0r\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"6204\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"tne-QT-ifu\">\n            <objects>\n                <viewController id=\"BYZ-38-t0r\" customClass=\"ViewController\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"y3c-jy-aDJ\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"wfy-db-euE\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"8bC-Xf-vdC\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"600\" height=\"600\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"dkx-z0-nzr\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/What is iOS App/What is iOS App/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/What is iOS App/What is iOS App/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  What is iOS App\n//\n//  Created by zhowkevin on 15/10/22.\n//  Copyright © 2015年 zhowkevin. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        print(\"viewDidLoad\")\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n    \n    override func viewWillAppear(_ animated: Bool) {\n        super.viewWillAppear(animated)\n        \n        print(\"viewWillAppear\")\n    }\n    \n    override func viewDidAppear(_ animated: Bool) {\n        super.viewDidAppear(animated)\n\n        print(\"viewDidAppear\")\n    }\n    \n    override func viewWillDisappear(_ animated: Bool) {\n        super.viewWillAppear(animated)\n        \n        print(\"viewWillDisappear\")\n    }\n    \n    override func viewDidDisappear(_ animated: Bool) {\n        super.viewDidDisappear(animated)\n        \n        print(\"viewDidDisappear\")\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/What is iOS App/What is iOS App.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t6A10DD811BD919200070252C /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A10DD801BD919200070252C /* AppDelegate.swift */; };\n\t\t6A10DD831BD919200070252C /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A10DD821BD919200070252C /* ViewController.swift */; };\n\t\t6A10DD861BD919200070252C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6A10DD841BD919200070252C /* Main.storyboard */; };\n\t\t6A10DD881BD919200070252C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6A10DD871BD919200070252C /* Assets.xcassets */; };\n\t\t6A10DD8B1BD919200070252C /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6A10DD891BD919200070252C /* LaunchScreen.storyboard */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t6A10DD7D1BD919200070252C /* What is iOS App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = \"What is iOS App.app\"; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t6A10DD801BD919200070252C /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t6A10DD821BD919200070252C /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t6A10DD851BD919200070252C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t6A10DD871BD919200070252C /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t6A10DD8A1BD919200070252C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t6A10DD8C1BD919200070252C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t6A10DD7A1BD919200070252C /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t6A10DD741BD919200070252C = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t6A10DD7F1BD919200070252C /* What is iOS App */,\n\t\t\t\t6A10DD7E1BD919200070252C /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t6A10DD7E1BD919200070252C /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t6A10DD7D1BD919200070252C /* What is iOS App.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t6A10DD7F1BD919200070252C /* What is iOS App */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t6A10DD801BD919200070252C /* AppDelegate.swift */,\n\t\t\t\t6A10DD821BD919200070252C /* ViewController.swift */,\n\t\t\t\t6A10DD841BD919200070252C /* Main.storyboard */,\n\t\t\t\t6A10DD871BD919200070252C /* Assets.xcassets */,\n\t\t\t\t6A10DD891BD919200070252C /* LaunchScreen.storyboard */,\n\t\t\t\t6A10DD8C1BD919200070252C /* Info.plist */,\n\t\t\t);\n\t\t\tpath = \"What is iOS App\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t6A10DD7C1BD919200070252C /* What is iOS App */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 6A10DD8F1BD919200070252C /* Build configuration list for PBXNativeTarget \"What is iOS App\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t6A10DD791BD919200070252C /* Sources */,\n\t\t\t\t6A10DD7A1BD919200070252C /* Frameworks */,\n\t\t\t\t6A10DD7B1BD919200070252C /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = \"What is iOS App\";\n\t\t\tproductName = \"What is iOS App\";\n\t\t\tproductReference = 6A10DD7D1BD919200070252C /* What is iOS App.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t6A10DD751BD919200070252C /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0710;\n\t\t\t\tLastUpgradeCheck = 0710;\n\t\t\t\tORGANIZATIONNAME = zhowkevin;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t6A10DD7C1BD919200070252C = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 7.1;\n\t\t\t\t\t\tLastSwiftMigration = 1010;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 6A10DD781BD919200070252C /* Build configuration list for PBXProject \"What is iOS App\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 6A10DD741BD919200070252C;\n\t\t\tproductRefGroup = 6A10DD7E1BD919200070252C /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t6A10DD7C1BD919200070252C /* What is iOS App */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t6A10DD7B1BD919200070252C /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t6A10DD8B1BD919200070252C /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t6A10DD881BD919200070252C /* Assets.xcassets in Resources */,\n\t\t\t\t6A10DD861BD919200070252C /* Main.storyboard in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t6A10DD791BD919200070252C /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t6A10DD831BD919200070252C /* ViewController.swift in Sources */,\n\t\t\t\t6A10DD811BD919200070252C /* AppDelegate.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t6A10DD841BD919200070252C /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t6A10DD851BD919200070252C /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t6A10DD891BD919200070252C /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t6A10DD8A1BD919200070252C /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t6A10DD8D1BD919200070252C /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 9.1;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t6A10DD8E1BD919200070252C /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 9.1;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t6A10DD901BD919200070252C /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = \"What is iOS App/Info.plist\";\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"kevinzhow.What-is-iOS-App\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t6A10DD911BD919200070252C /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = \"What is iOS App/Info.plist\";\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"kevinzhow.What-is-iOS-App\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t6A10DD781BD919200070252C /* Build configuration list for PBXProject \"What is iOS App\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t6A10DD8D1BD919200070252C /* Debug */,\n\t\t\t\t6A10DD8E1BD919200070252C /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t6A10DD8F1BD919200070252C /* Build configuration list for PBXNativeTarget \"What is iOS App\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t6A10DD901BD919200070252C /* Debug */,\n\t\t\t\t6A10DD911BD919200070252C /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 6A10DD751BD919200070252C /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/What is iOS App/What is iOS App.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:What is iOS App.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/What is iOS App/What is iOS App.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/What is iOS App/What is iOS App.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/What is iOS App.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"6A10DD7C1BD919200070252C\"\n               BuildableName = \"What is iOS App.app\"\n               BlueprintName = \"What is iOS App\"\n               ReferencedContainer = \"container:What is iOS App.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6A10DD7C1BD919200070252C\"\n            BuildableName = \"What is iOS App.app\"\n            BlueprintName = \"What is iOS App\"\n            ReferencedContainer = \"container:What is iOS App.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6A10DD7C1BD919200070252C\"\n            BuildableName = \"What is iOS App.app\"\n            BlueprintName = \"What is iOS App\"\n            ReferencedContainer = \"container:What is iOS App.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6A10DD7C1BD919200070252C\"\n            BuildableName = \"What is iOS App.app\"\n            BlueprintName = \"What is iOS App\"\n            ReferencedContainer = \"container:What is iOS App.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/What is iOS App/What is iOS App.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>What is iOS App.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>6A10DD7C1BD919200070252C</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/What is iOS App/What is iOS App.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcschemes/What is iOS App.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"6A10DD7C1BD919200070252C\"\n               BuildableName = \"What is iOS App.app\"\n               BlueprintName = \"What is iOS App\"\n               ReferencedContainer = \"container:What is iOS App.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6A10DD7C1BD919200070252C\"\n            BuildableName = \"What is iOS App.app\"\n            BlueprintName = \"What is iOS App\"\n            ReferencedContainer = \"container:What is iOS App.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6A10DD7C1BD919200070252C\"\n            BuildableName = \"What is iOS App.app\"\n            BlueprintName = \"What is iOS App\"\n            ReferencedContainer = \"container:What is iOS App.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6A10DD7C1BD919200070252C\"\n            BuildableName = \"What is iOS App.app\"\n            BlueprintName = \"What is iOS App\"\n            ReferencedContainer = \"container:What is iOS App.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/What is iOS App/What is iOS App.xcodeproj/xcuserdata/kevinzhow.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>What is iOS App.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>6A10DD7C1BD919200070252C</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/What is iOS App/What is iOS App.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>What is iOS App.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/What is iOS App/What is iOS App.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/What is iOS App.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0710\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"6A10DD7C1BD919200070252C\"\n               BuildableName = \"What is iOS App.app\"\n               BlueprintName = \"What is iOS App\"\n               ReferencedContainer = \"container:What is iOS App.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6A10DD7C1BD919200070252C\"\n            BuildableName = \"What is iOS App.app\"\n            BlueprintName = \"What is iOS App\"\n            ReferencedContainer = \"container:What is iOS App.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6A10DD7C1BD919200070252C\"\n            BuildableName = \"What is iOS App.app\"\n            BlueprintName = \"What is iOS App\"\n            ReferencedContainer = \"container:What is iOS App.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6A10DD7C1BD919200070252C\"\n            BuildableName = \"What is iOS App.app\"\n            BlueprintName = \"What is iOS App\"\n            ReferencedContainer = \"container:What is iOS App.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/What is iOS App/What is iOS App.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>What is iOS App.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>6A10DD7C1BD919200070252C</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/iOS Animation/iOS Animation/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  iOS Animation\n//\n//  Created by zhowkevin on 15/8/27.\n//  Copyright © 2015年 zhowkevin. All rights reserved.\n//\n\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate, UISplitViewControllerDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {\n        // Override point for customization after application launch.\n        let splitViewController = self.window!.rootViewController as! UISplitViewController\n        let navigationController = splitViewController.viewControllers[splitViewController.viewControllers.count-1] as! UINavigationController\n        navigationController.topViewController!.navigationItem.leftBarButtonItem = splitViewController.displayModeButtonItem\n        splitViewController.delegate = self\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n    // MARK: - Split view\n\n    func splitViewController(_ splitViewController: UISplitViewController, collapseSecondary secondaryViewController:UIViewController, onto primaryViewController:UIViewController) -> Bool {\n        guard let secondaryAsNavController = secondaryViewController as? UINavigationController else { return false }\n        guard let topAsDetailController = secondaryAsNavController.topViewController as? DetailViewController else { return false }\n        if topAsDetailController.detailItem == nil {\n            // Return true to indicate that we have handled the collapse by doing nothing; the secondary controller will be discarded.\n            return true\n        }\n        return false\n    }\n\n}\n\n"
  },
  {
    "path": "Example Codes/iOS Animation/iOS Animation/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Example Codes/iOS Animation/iOS Animation/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"8187.4\" systemVersion=\"14F27\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"8151.3\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"600\" height=\"600\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <animations/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Example Codes/iOS Animation/iOS Animation/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"H1p-Uh-vWS\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"Aspect ratio constraints\" minToolsVersion=\"5.1\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Master-->\n        <scene sceneID=\"pY4-Hu-kfo\">\n            <objects>\n                <navigationController title=\"Master\" id=\"RMx-3f-FxP\" sceneMemberID=\"viewController\">\n                    <navigationBar key=\"navigationBar\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" id=\"Pmd-2v-anx\">\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                    </navigationBar>\n                    <connections>\n                        <segue destination=\"7bK-jq-Zjz\" kind=\"relationship\" relationship=\"rootViewController\" id=\"tsl-Nk-0bq\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"8fS-aE-onr\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-38\" y=\"-630\"/>\n        </scene>\n        <!--Detail-->\n        <scene sceneID=\"yUG-lL-AsK\">\n            <objects>\n                <viewController title=\"Detail\" id=\"JEX-9P-axG\" customClass=\"DetailViewController\" customModule=\"iOS_Animation\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"SYR-Wa-9uf\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"GAO-Cl-Wes\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"svH-Pt-448\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <subviews>\n                            <label clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"scaleToFill\" text=\"Detail view content goes here\" textAlignment=\"center\" lineBreakMode=\"tailTruncation\" minimumFontSize=\"10\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"0XM-y9-sOw\">\n                                <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                <fontDescription key=\"fontDescription\" type=\"system\" size=\"system\"/>\n                                <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                                <nil key=\"highlightedColor\"/>\n                            </label>\n                            <view contentMode=\"scaleToFill\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"VDb-Vj-IJb\">\n                                <color key=\"backgroundColor\" red=\"0.55085055446988052\" green=\"0.85678405396607549\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                <constraints>\n                                    <constraint firstAttribute=\"width\" constant=\"100\" id=\"6Yr-wJ-Dcq\"/>\n                                    <constraint firstAttribute=\"height\" constant=\"100\" id=\"M6O-lx-KfZ\"/>\n                                    <constraint firstAttribute=\"width\" secondItem=\"VDb-Vj-IJb\" secondAttribute=\"height\" multiplier=\"1:1\" id=\"wIS-gp-tJx\"/>\n                                </constraints>\n                                <variation key=\"default\">\n                                    <mask key=\"constraints\">\n                                        <exclude reference=\"M6O-lx-KfZ\"/>\n                                    </mask>\n                                </variation>\n                            </view>\n                        </subviews>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <constraints>\n                            <constraint firstItem=\"VDb-Vj-IJb\" firstAttribute=\"centerX\" secondItem=\"svH-Pt-448\" secondAttribute=\"centerX\" id=\"Heb-bd-mw8\"/>\n                            <constraint firstItem=\"0XM-y9-sOw\" firstAttribute=\"leading\" secondItem=\"svH-Pt-448\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"Tsc-yG-G1q\"/>\n                            <constraint firstItem=\"0XM-y9-sOw\" firstAttribute=\"centerY\" secondItem=\"svH-Pt-448\" secondAttribute=\"centerY\" id=\"jWN-iV-94e\"/>\n                            <constraint firstAttribute=\"trailing\" secondItem=\"0XM-y9-sOw\" secondAttribute=\"trailing\" constant=\"20\" symbolic=\"YES\" id=\"tHV-ZD-HQj\"/>\n                            <constraint firstItem=\"VDb-Vj-IJb\" firstAttribute=\"centerY\" secondItem=\"svH-Pt-448\" secondAttribute=\"centerY\" id=\"xIZ-xz-oMj\"/>\n                            <constraint firstItem=\"GAO-Cl-Wes\" firstAttribute=\"top\" secondItem=\"0XM-y9-sOw\" secondAttribute=\"bottom\" constant=\"20\" id=\"yV6-G5-MYI\"/>\n                        </constraints>\n                        <variation key=\"default\">\n                            <mask key=\"constraints\">\n                                <exclude reference=\"jWN-iV-94e\"/>\n                            </mask>\n                        </variation>\n                    </view>\n                    <toolbarItems/>\n                    <navigationItem key=\"navigationItem\" title=\"Detail\" id=\"mOI-FS-AaM\"/>\n                    <connections>\n                        <outlet property=\"autoLayoutView\" destination=\"VDb-Vj-IJb\" id=\"kJ7-OV-kNo\"/>\n                        <outlet property=\"autoLayoutViewWidthConstraint\" destination=\"6Yr-wJ-Dcq\" id=\"7Dh-Os-reK\"/>\n                        <outlet property=\"detailDescriptionLabel\" destination=\"0XM-y9-sOw\" id=\"deQ-Na-JPF\"/>\n                    </connections>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"FJe-Yq-33r\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"709\" y=\"129\"/>\n        </scene>\n        <!--Split View Controller-->\n        <scene sceneID=\"Nki-YV-4Qg\">\n            <objects>\n                <splitViewController id=\"H1p-Uh-vWS\" sceneMemberID=\"viewController\">\n                    <toolbarItems/>\n                    <connections>\n                        <segue destination=\"RMx-3f-FxP\" kind=\"relationship\" relationship=\"masterViewController\" id=\"BlO-5A-QYV\"/>\n                        <segue destination=\"vC3-pB-5Vb\" kind=\"relationship\" relationship=\"detailViewController\" id=\"Tll-UG-LXB\"/>\n                    </connections>\n                </splitViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"cZU-Oi-B1e\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-856\" y=\"-330\"/>\n        </scene>\n        <!--Master-->\n        <scene sceneID=\"smW-Zh-WAh\">\n            <objects>\n                <tableViewController title=\"Master\" clearsSelectionOnViewWillAppear=\"NO\" id=\"7bK-jq-Zjz\" customClass=\"MasterViewController\" customModule=\"iOS_Animation\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <tableView key=\"view\" clipsSubviews=\"YES\" contentMode=\"scaleToFill\" alwaysBounceVertical=\"YES\" dataMode=\"prototypes\" style=\"plain\" separatorStyle=\"default\" rowHeight=\"44\" sectionHeaderHeight=\"22\" sectionFooterHeight=\"22\" id=\"r7i-6Z-zg0\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <prototypes>\n                            <tableViewCell contentMode=\"scaleToFill\" selectionStyle=\"blue\" hidesAccessoryWhenEditing=\"NO\" indentationLevel=\"1\" indentationWidth=\"0.0\" reuseIdentifier=\"Cell\" textLabel=\"Arm-wq-HPj\" style=\"IBUITableViewCellStyleDefault\" id=\"WCw-Qf-5nD\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"86\" width=\"375\" height=\"44\"/>\n                                <autoresizingMask key=\"autoresizingMask\"/>\n                                <tableViewCellContentView key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" tableViewCell=\"WCw-Qf-5nD\" id=\"37f-cq-3Eg\">\n                                    <frame key=\"frameInset\" width=\"375\" height=\"43\"/>\n                                    <autoresizingMask key=\"autoresizingMask\"/>\n                                    <subviews>\n                                        <label opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" text=\"Title\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" id=\"Arm-wq-HPj\">\n                                            <frame key=\"frameInset\" minX=\"15\" width=\"345\" height=\"43\"/>\n                                            <autoresizingMask key=\"autoresizingMask\"/>\n                                            <fontDescription key=\"fontDescription\" type=\"boldSystem\" pointSize=\"20\"/>\n                                            <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                                            <color key=\"highlightedColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                        </label>\n                                    </subviews>\n                                </tableViewCellContentView>\n                                <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                                <connections>\n                                    <segue destination=\"vC3-pB-5Vb\" kind=\"showDetail\" identifier=\"showDetail\" id=\"6S0-TO-JiA\"/>\n                                </connections>\n                            </tableViewCell>\n                        </prototypes>\n                        <sections/>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"7bK-jq-Zjz\" id=\"Gho-Na-rnu\"/>\n                            <outlet property=\"delegate\" destination=\"7bK-jq-Zjz\" id=\"RA6-mI-bju\"/>\n                        </connections>\n                    </tableView>\n                    <navigationItem key=\"navigationItem\" title=\"iOS  Animations\" id=\"Zdf-7t-Un8\"/>\n                </tableViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"Rux-fX-hf1\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"709\" y=\"-630\"/>\n        </scene>\n        <!--Navigation Controller-->\n        <scene sceneID=\"r7l-gg-dq7\">\n            <objects>\n                <navigationController id=\"vC3-pB-5Vb\" sceneMemberID=\"viewController\">\n                    <navigationBar key=\"navigationBar\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" id=\"DjV-YW-jjY\">\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                    </navigationBar>\n                    <connections>\n                        <segue destination=\"JEX-9P-axG\" kind=\"relationship\" relationship=\"rootViewController\" id=\"GKi-kA-LjT\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"SLD-UC-DBI\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-45\" y=\"129\"/>\n        </scene>\n    </scenes>\n    <inferredMetricsTieBreakers>\n        <segue reference=\"6S0-TO-JiA\"/>\n    </inferredMetricsTieBreakers>\n</document>\n"
  },
  {
    "path": "Example Codes/iOS Animation/iOS Animation/DetailViewController.swift",
    "content": "//\n//  DetailViewController.swift\n//  iOS Animation\n//\n//  Created by zhowkevin on 15/8/27.\n//  Copyright © 2015年 zhowkevin. All rights reserved.\n//\n\nimport UIKit\n\nclass DetailViewController: UIViewController {\n\n    @IBOutlet weak var detailDescriptionLabel: UILabel!\n    \n    var codeView = UIView(frame: CGRect(x: 0, y: 0, width: 100, height: 100))\n\n    @IBOutlet weak var autoLayoutView: UIView!\n    \n    @IBOutlet weak var autoLayoutViewWidthConstraint: NSLayoutConstraint!\n    \n    var detailItem: AnyObject?\n\n    func configureView() {\n        \n        // Update the user interface for the detail item.\n        if let detailItem = self.detailItem, let animation = AnimationType(rawValue: detailItem.intValue) {\n            \n            switch animation {\n            case AnimationType.sizeCode:\n                codeView.isHidden = false\n\n                UIView.animate(withDuration: 1.0, delay: 0, options: UIView.AnimationOptions(), animations: {\n                    \n                    self.codeView.frame = CGRect(x: self.codeView.frame.origin.x,y: self.codeView.frame.origin.y , width: 200, height: 200)\n                    self.codeView.center = self.view.center\n                    \n                }, completion: nil)\n\n            case AnimationType.sizeAutoLayout:\n                \n                autoLayoutView.isHidden = false\n                \n                UIView.animate(withDuration: 1.0, delay: 0, options: UIView.AnimationOptions(), animations: {\n                    \n                    self.autoLayoutViewWidthConstraint.constant = 200\n                    \n                    self.view.layoutIfNeeded()\n                }, completion: nil)\n            }\n            \n            \n            if let label = self.detailDescriptionLabel {\n                label.text = animation.description\n            }\n        }\n    }\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        autoLayoutView.isHidden = true\n        \n        codeView.backgroundColor = autoLayoutView.backgroundColor\n        \n        view.addSubview(codeView)\n        \n        codeView.center = view.center\n        \n        codeView.isHidden = true\n        // Do any additional setup after loading the view, typically from a nib.\n    }\n    \n    override func viewDidAppear(_ animated: Bool) {\n        super.viewDidAppear(animated)\n        self.configureView()\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/iOS Animation/iOS Animation/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UIStatusBarTintParameters</key>\n\t<dict>\n\t\t<key>UINavigationBar</key>\n\t\t<dict>\n\t\t\t<key>Style</key>\n\t\t\t<string>UIBarStyleDefault</string>\n\t\t\t<key>Translucent</key>\n\t\t\t<false/>\n\t\t</dict>\n\t</dict>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/iOS Animation/iOS Animation/MasterViewController.swift",
    "content": "//\n//  MasterViewController.swift\n//  iOS Animation\n//\n//  Created by zhowkevin on 15/8/27.\n//  Copyright © 2015年 zhowkevin. All rights reserved.\n//\n\nimport UIKit\n\nenum AnimationType: Int {\n    case sizeCode = 0\n    case sizeAutoLayout\n    \n    var description: String {\n        switch self {\n        case .sizeCode:\n            return \"Size Animation With Code\"\n        case .sizeAutoLayout:\n            return \"Size Animation With AutoLayout\"\n        }\n    }\n    \n}\n\nclass MasterViewController: UITableViewController {\n\n    var detailViewController: DetailViewController? = nil\n    \n    var objects = [AnimationType.sizeCode, AnimationType.sizeAutoLayout]\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n        if let split = self.splitViewController {\n            let controllers = split.viewControllers\n            self.detailViewController = (controllers[controllers.count-1] as! UINavigationController).topViewController as? DetailViewController\n        }\n    }\n\n    override func viewWillAppear(_ animated: Bool) {\n        self.clearsSelectionOnViewWillAppear = self.splitViewController!.isCollapsed\n        super.viewWillAppear(animated)\n    }\n\n    override func didReceiveMemoryWarning() {\n        super.didReceiveMemoryWarning()\n        // Dispose of any resources that can be recreated.\n    }\n\n    // MARK: - Segues\n\n    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {\n        if segue.identifier == \"showDetail\" {\n            if let indexPath = self.tableView.indexPathForSelectedRow {\n                let object = objects[(indexPath as NSIndexPath).row]\n                let controller = (segue.destination as! UINavigationController).topViewController as! DetailViewController\n                controller.detailItem = object.rawValue as AnyObject?\n                controller.navigationItem.leftBarButtonItem = self.splitViewController?.displayModeButtonItem\n                controller.navigationItem.leftItemsSupplementBackButton = true\n            }\n        }\n    }\n\n    // MARK: - Table View\n\n    override func numberOfSections(in tableView: UITableView) -> Int {\n        return 1\n    }\n\n    override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {\n        return objects.count\n    }\n\n    override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {\n        let cell = tableView.dequeueReusableCell(withIdentifier: \"Cell\", for: indexPath)\n\n        let object = objects[(indexPath as NSIndexPath).row]\n        cell.textLabel!.text = object.description\n        return cell\n    }\n\n    override func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool {\n        // Return false if you do not want the specified item to be editable.\n        return true\n    }\n\n    override func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath) {\n        if editingStyle == .delete {\n            objects.remove(at: (indexPath as NSIndexPath).row)\n            tableView.deleteRows(at: [indexPath], with: .fade)\n        } else if editingStyle == .insert {\n            // Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view.\n        }\n    }\n\n\n}\n\n"
  },
  {
    "path": "Example Codes/iOS Animation/iOS Animation.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t6AFEE5481B8E22D8001830D4 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6AFEE5471B8E22D8001830D4 /* AppDelegate.swift */; };\n\t\t6AFEE54A1B8E22D8001830D4 /* MasterViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6AFEE5491B8E22D8001830D4 /* MasterViewController.swift */; };\n\t\t6AFEE54C1B8E22D8001830D4 /* DetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6AFEE54B1B8E22D8001830D4 /* DetailViewController.swift */; };\n\t\t6AFEE54F1B8E22D8001830D4 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6AFEE54D1B8E22D8001830D4 /* Main.storyboard */; };\n\t\t6AFEE5511B8E22D8001830D4 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6AFEE5501B8E22D8001830D4 /* Assets.xcassets */; };\n\t\t6AFEE5541B8E22D8001830D4 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6AFEE5521B8E22D8001830D4 /* LaunchScreen.storyboard */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXFileReference section */\n\t\t6AFEE5441B8E22D8001830D4 /* iOS Animation.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = \"iOS Animation.app\"; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t6AFEE5471B8E22D8001830D4 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t6AFEE5491B8E22D8001830D4 /* MasterViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MasterViewController.swift; sourceTree = \"<group>\"; };\n\t\t6AFEE54B1B8E22D8001830D4 /* DetailViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DetailViewController.swift; sourceTree = \"<group>\"; };\n\t\t6AFEE54E1B8E22D8001830D4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t6AFEE5501B8E22D8001830D4 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t6AFEE5531B8E22D8001830D4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t6AFEE5551B8E22D8001830D4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t6AFEE5411B8E22D8001830D4 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t6AFEE53B1B8E22D8001830D4 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t6AFEE5461B8E22D8001830D4 /* iOS Animation */,\n\t\t\t\t6AFEE5451B8E22D8001830D4 /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t6AFEE5451B8E22D8001830D4 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t6AFEE5441B8E22D8001830D4 /* iOS Animation.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t6AFEE5461B8E22D8001830D4 /* iOS Animation */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t6AFEE5471B8E22D8001830D4 /* AppDelegate.swift */,\n\t\t\t\t6AFEE5491B8E22D8001830D4 /* MasterViewController.swift */,\n\t\t\t\t6AFEE54B1B8E22D8001830D4 /* DetailViewController.swift */,\n\t\t\t\t6AFEE54D1B8E22D8001830D4 /* Main.storyboard */,\n\t\t\t\t6AFEE5501B8E22D8001830D4 /* Assets.xcassets */,\n\t\t\t\t6AFEE5521B8E22D8001830D4 /* LaunchScreen.storyboard */,\n\t\t\t\t6AFEE5551B8E22D8001830D4 /* Info.plist */,\n\t\t\t);\n\t\t\tpath = \"iOS Animation\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t6AFEE5431B8E22D8001830D4 /* iOS Animation */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 6AFEE5581B8E22D8001830D4 /* Build configuration list for PBXNativeTarget \"iOS Animation\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t6AFEE5401B8E22D8001830D4 /* Sources */,\n\t\t\t\t6AFEE5411B8E22D8001830D4 /* Frameworks */,\n\t\t\t\t6AFEE5421B8E22D8001830D4 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = \"iOS Animation\";\n\t\t\tproductName = \"iOS Animation\";\n\t\t\tproductReference = 6AFEE5441B8E22D8001830D4 /* iOS Animation.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t6AFEE53C1B8E22D8001830D4 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastUpgradeCheck = 0700;\n\t\t\t\tORGANIZATIONNAME = zhowkevin;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t6AFEE5431B8E22D8001830D4 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 7.0;\n\t\t\t\t\t\tLastSwiftMigration = 1010;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 6AFEE53F1B8E22D8001830D4 /* Build configuration list for PBXProject \"iOS Animation\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 6AFEE53B1B8E22D8001830D4;\n\t\t\tproductRefGroup = 6AFEE5451B8E22D8001830D4 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t6AFEE5431B8E22D8001830D4 /* iOS Animation */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t6AFEE5421B8E22D8001830D4 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t6AFEE5541B8E22D8001830D4 /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t6AFEE5511B8E22D8001830D4 /* Assets.xcassets in Resources */,\n\t\t\t\t6AFEE54F1B8E22D8001830D4 /* Main.storyboard in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t6AFEE5401B8E22D8001830D4 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t6AFEE54C1B8E22D8001830D4 /* DetailViewController.swift in Sources */,\n\t\t\t\t6AFEE54A1B8E22D8001830D4 /* MasterViewController.swift in Sources */,\n\t\t\t\t6AFEE5481B8E22D8001830D4 /* AppDelegate.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t6AFEE54D1B8E22D8001830D4 /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t6AFEE54E1B8E22D8001830D4 /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t6AFEE5521B8E22D8001830D4 /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t6AFEE5531B8E22D8001830D4 /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t6AFEE5561B8E22D8001830D4 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 9.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t6AFEE5571B8E22D8001830D4 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 9.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t6AFEE5591B8E22D8001830D4 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = \"iOS Animation/Info.plist\";\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"kevinzhow.iOS-Animation\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t6AFEE55A1B8E22D8001830D4 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = \"iOS Animation/Info.plist\";\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"kevinzhow.iOS-Animation\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.2;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t6AFEE53F1B8E22D8001830D4 /* Build configuration list for PBXProject \"iOS Animation\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t6AFEE5561B8E22D8001830D4 /* Debug */,\n\t\t\t\t6AFEE5571B8E22D8001830D4 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t6AFEE5581B8E22D8001830D4 /* Build configuration list for PBXNativeTarget \"iOS Animation\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t6AFEE5591B8E22D8001830D4 /* Debug */,\n\t\t\t\t6AFEE55A1B8E22D8001830D4 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 6AFEE53C1B8E22D8001830D4 /* Project object */;\n}\n"
  },
  {
    "path": "Example Codes/iOS Animation/iOS Animation.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:iOS Animation.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Example Codes/iOS Animation/iOS Animation.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/iOS Animation/iOS Animation.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/iOS Animation.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0800\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"6AFEE5431B8E22D8001830D4\"\n               BuildableName = \"iOS Animation.app\"\n               BlueprintName = \"iOS Animation\"\n               ReferencedContainer = \"container:iOS Animation.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6AFEE5431B8E22D8001830D4\"\n            BuildableName = \"iOS Animation.app\"\n            BlueprintName = \"iOS Animation\"\n            ReferencedContainer = \"container:iOS Animation.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6AFEE5431B8E22D8001830D4\"\n            BuildableName = \"iOS Animation.app\"\n            BlueprintName = \"iOS Animation\"\n            ReferencedContainer = \"container:iOS Animation.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6AFEE5431B8E22D8001830D4\"\n            BuildableName = \"iOS Animation.app\"\n            BlueprintName = \"iOS Animation\"\n            ReferencedContainer = \"container:iOS Animation.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/iOS Animation/iOS Animation.xcodeproj/xcuserdata/kevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>iOS Animation.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>6AFEE5431B8E22D8001830D4</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/iOS Animation/iOS Animation.xcodeproj/xcuserdata/zhoukaiwen.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>iOS Animation.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Example Codes/iOS Animation/iOS Animation.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/iOS Animation.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0700\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"6AFEE5431B8E22D8001830D4\"\n               BuildableName = \"iOS Animation.app\"\n               BlueprintName = \"iOS Animation\"\n               ReferencedContainer = \"container:iOS Animation.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6AFEE5431B8E22D8001830D4\"\n            BuildableName = \"iOS Animation.app\"\n            BlueprintName = \"iOS Animation\"\n            ReferencedContainer = \"container:iOS Animation.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6AFEE5431B8E22D8001830D4\"\n            BuildableName = \"iOS Animation.app\"\n            BlueprintName = \"iOS Animation\"\n            ReferencedContainer = \"container:iOS Animation.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"6AFEE5431B8E22D8001830D4\"\n            BuildableName = \"iOS Animation.app\"\n            BlueprintName = \"iOS Animation\"\n            ReferencedContainer = \"container:iOS Animation.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Example Codes/iOS Animation/iOS Animation.xcodeproj/xcuserdata/zhowkevin.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>iOS Animation.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>6AFEE5431B8E22D8001830D4</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  }
]